round_stop.ogg rounddown是什么意思思

Redhat/Fedora/CentOS | 路由交换与linux备忘录
2016年八月
891011121314
15161718192021
22232425262728
Kdump is a kexec based crash dumping mechansim for Linux. Kdump functionality is broken mainly in two components, user space and kernel space. Kernel space patches are already part of main line kernel tree. User space component is nothing but a patch on top of existing kexec tools.
Currently i386, x86_64 and ppc64 ports of kdump are available.
This site has been designed to provide an easy access to kdump documentation, patches and test reports.
Documentation:
Following are few links which can help in understanding kexec/kdump.
5. Documentation/kdump.txt in kernel source tree
The latest kexec-tools tarball,
And kdump support is available in kexec-tools-testing git tree, available at
git://git.kernel.org/pub/scm/linux/kernel/git/horms/kexec-tools-testing.git
The older pre-git patches can be found
How to Test:
Please refer to
document for possbile steps to test kexec/kdump
Test Reports:
Please look at the various test reports
Automation Support:
A prototype is developed by
for providing ease of use for kdump. It is always helpful if user need not be bothered to manually load the dump capture kernel and save the kdump manually. These prototypes are done for various distros as below
The following set of patches made on mkinitrd (from initrd-tools package:version 0.1.82), forms a prototype for automation for kdump on Debian unstable. As these are not the only things needed for kdump integration, please refer the kdump documentations for more details about kdump setup.
This first patch (to be applied on the mkinitrd ver 0.1.82),
would enable the generation of a special initrd for the dump capture kernel. This allows the dump capture kernel to automatically save the dump to the specified disk filesystem before the root file system is mounted. After copying the kdump, it will reboot the system back to a regular kernel. Thus it can solve the problem of not able to access the login prompt because of corrupted root filesystem.
mkinitrd -c [dump_dev] -f [file_system] -o [out-file] [kernel-version]
The second patch
would enable the user to generate the initrd for the first or the regular kernel. This initrd will package the second kernel or the dump capture kernel along with its initrd, the kexec-tools user space application (needed to load the dump capture kernel).
mkinitrd -i [capture_initrd] -v [capture_kernel] -o [out_file] [kernel-version]
The user would then need to boot to the first kernel with this initrd. Incase of a panic/crash, the system will automatically boot to the capture kernel. The capture kernel’s initrd will copy the dump and reboot the system back to regular kernel.
This patch
can provide auto capture for kdump to the specified disk file system
mkinitrd [–dump-dev=] [–dump-fs=] image kernel-version
This patch
can provide auto capture for kdump to the specified disk file system
mkinitrd [–dump-dev=] [–dump-fs=] image kernel-version
This patch
can provide auto capture for kdump to the specified disk file system
mkinitrd [-v ] [-f ] -k kernel -i image
kexec是一个快速启动机制,允许通过已经运行的内核的上下文启动一个Linux内核,不需要经过BIOS。BIOS可能会消耗很多时间,特别是带有众多数量的外设的大型服务器。这种办法可以为经常启动机器的开发者节省很多时间。
kdump是一个新的,而且非常可信赖的内核崩溃转储机制。崩溃转储数据可以从一个新启动的内核的上下文中获取,而不是从已经崩溃的内核的上下文。当系统崩溃时,kdump使用kexec启动到第二个内核。第二个内核通常叫做捕获内核(capture kernel),以很小内存启动,并且捕获转储镜像。
第一个内核保留了内存的一部分,第二个内核可以用来启动。注意,在启动时,kdump保留了一定数量的重要的内存,这改变了紅帽企业Linux 5最小内存需求。为了计算系统需要的真正最小内存,可以参看
上列出的最小内存需求,加上kdump使用的内存数量,以决定真正的最小内存的需求。
因为第一个内核的内存内容已经被保留,所以kexec可以不经过BIOS,启动捕获内核。这是内核崩溃转储的根本。
怎样配置kdump
1.确认kexec-tools已经安装:
#rpm -q kexec-tools
2.配置/etc/kdump.conf文件,指定vmcore将被转储的路径。可以通过scp拷贝到另一个服务器,也可以是裸设备,或者本地的文件系统。
3.修改一些启动参数,为捕获很保留一块内存。对于i386和x86_64架构,编辑/etc/grub.conf,在内核行的末尾添加 crashkernel=128@16M。
下面是一个带有kdump选项的/etc/grub.conf文件:
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
You do not have a /boot partition.
This means that
all kernel and initrd paths are relative to /, eg.
root (hd0,0)
kernel /boot/vmlinuz-version ro root=/dev/hda1
initrd /boot/initrd-version.img
#boot=/dev/hda
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Client (2.6.17-1..el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-1..el5 ro root=LABEL=/ rhgb quiet crashkernel=128M@16M
initrd /boot/initrd-2.6.17-1..el5.img
4.修改之后,重启系统。128M内存(从16M开始)不被正常的系统使用,为捕获内核保留。注意,free -m的输出会显示内存比不加参数时少了128M,这就是我们所期望的。
注意:可以使用小于128M,但是只使用64M做测试被证实是不可靠的。
5.现在,保留内存已经设置了,打开kdump初始脚本,启动服务:
chkconfig kdump on
service kdump start
6.可以通过kexec加载内核镜像,让系统准备捕获一个崩溃时产生的vmcore。可以通过sysrq强制系统崩溃:
# echo "c" & /proc/sysrq-trigger
这造成kernel panic,紧跟着系统重启kdump内核。当启动进程进入到启动kdump服务器时,vmcore将会被拷贝到你在/etc/kdump.conf文件中指定的位置。
终端frame-buffer和X将运行不正常。在运行一些类似于在内核配置上添加了”vga=791″或者运行X的系统,在通过kexec启动内核时,终端显示将不清楚。记住,kdump内核仍旧能够创建转储。当系统重启,显示将会恢复到正常状态。
Xen虚拟机配置与应用
Xen虚拟机即Xen VMM(Virtual Machine Monitor),是剑桥大学计
算机实验室开发的一个开源项目,它能够使用户创建更多的虚拟机,而
每一个虚拟机都是运行在同一个操作系统上的实例。
Xen虚拟机有两种运行方式:完全虚拟化(full virtualization)和半
虚拟化(para virtualization)。完全虚拟化提供底层物理系统的全部抽
象化,且创建一个新的虚拟系统,客户机操作系统可以在里面运行。不
需要对客户机操作系统或者应用程序进行修改(客户机操作系统或者应
用程序像往常一样运行,意识不到虚拟环境的存在)。半虚拟化需要对
运行在虚拟机上的客户机操作系统进行修改(这些客户机操作系统会意
识到它们运行在虚拟环境里)并提供相近的性能,但半虚拟化的性能要
比完全虚拟化更优越。
如果硬件系统中有符合Intel VT和AMD SVM的CUP,
Xen虚拟化系统允许运行未经修改的客户机内核。在Intel
VT或AMD SVM系统里,不必移植操作系统来部署这个体
系结构。Xen虚拟化系统支持以下内容:
支持用于完全和半虚拟化的Intel VT-x,或AMD-V Pacifica、Vanderpool技术;
支持用于ia64的Intel VT-i;
支持Linux和UNIX操作系统,包括NetBSD、FreeBSD和Solaris;
支持作为应用Intel Vanderpool或AMD Pacifica技术的未经修改的Windows客户机操作系统。
可以使用下列方法检查真实系统硬件的
CPU是否支持完全虚拟化。
(1)如果真实系统硬件的CPU是Intel,可使用命令“grep vmx /proc/cpuinfo”检查CPU是否有用于Intel支持的CPU flags 。
(2)如果真实系统硬件的CPU是AMD,可使用命令“grep svm /proc/cpuinfo”检查CPU是否有用于AMD支持的CPU flags。
安装Xen服务
配置Xen系统
使用下面的命令检查系统是否已经安装了Xen或
查看已经安装了何种版本,以及Linux内核是否有
针对Xen的补丁。
rpm -qa |grep xen
如果系统还没有安装Xen虚拟机,可以使用下面
的命令安装Linux补丁、Xen虚拟机和virt-manager
虚拟机管理工具。但用户必须联入Internet,同时
拥有virtualization服务的订阅号码。
yum install kernel-xen xen virt-manager
配置Xen系统
1.编辑grub.conf文件
编辑/boot/grub/grub.conf文件,将grub.conf文件中的“default=1”改为“default=0”
2.编辑xend-config.sxp文件
启动和停止Xen服务
1.启动Xen服务
/etc/init.d/xend start
2.停止Xen服务
/etc/init.d/xend stop
3.重新启动Xen服务
/etc/init.d/xend restart
4.自动启动Xen服务
如果需要让Xen服务随系统启动而自动加载,可以执行“ntsysv”命令
启动服务配置程序,找到“xend”服务,在其前面加上星号(*),然后
选择“确定”即可 。
创建Xen虚拟系统安装树
在Xen虚拟机半虚拟环境中安装Linux虚拟系统时需要使用系
统的安装树。安装树是一个包含所有的系统安装文件及相关程序
的目录,这个目录可以使用HTTP、FTP或NFS等方式提供给
Xen虚拟机用于系统的安装。具体步骤如下。
① 安装Apache服务器,具体安装和设置方法参见第7章。
② 将Red Hat Enterprise Linux 5安装映像ISO文件复制到Linux系统中,这里以/tmp/iso目录为例。
③ 从网站下载RedHat公司提供的DVD ISO制作脚本,将它复制到Red Hat Enterprise Linux 5安装映像ISO文件所在的/tmp/iso目录内,使用命令“chmod +x /tmp/iso/mkdvdiso.sh”修改mkdvdiso.sh脚本权限。
④ 安装anaconda-runtime用于生成判断rpm安装包路径的文件,使用下面的命令检查系统是否已经安装了anaconda-runtime或查看已经安装了何种版本。
rpm -q anaconda-runtime
如果还没有安装anaconda-runtime
使用下面命令安装anaconda-runtime。
yum install anaconda-runtime
⑤ 在/tmp/iso目录中,使用命令“./mkdvdiso.sh . $(pwd)/RHEL5-i386-AS-dvd.iso”生成文件名为RHEL5-i386-AS-dvd.iso的DVD ISO文件 。
⑥ 使用命令“mount -o loop /tmp/iso/RHEL5-i386-AS-dvd.iso /var/www/html”挂载DVD ISO文件到/var/www/html目录中。这样就能使用“http://服务器IP地址或域名”的方式访问Red Hat Enterprise Linux 5的安装树了。
创建Xen虚拟系统
使用字符工具virt-install创建Xen虚拟系统
使用图形工具virt-manager创建Xen虚拟系统
使用字符工具virt-install创建Xen虚拟系统
① 执行下列命令,启动安装向导。
virt-install
② 在出现“Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified operating systems.”提示时输入“no”,表示不使用完全虚拟化方式,而采用半虚拟(如果真实硬件系统的CPU不支持完全虚拟的功能,该选项就不会出现)。
③ 在出现“What is the name of your virtual machine?”提示时输入Xen虚拟系统的名称,如“VMRHEL5”。
④ 在出现“How much RAM should be allocated (in megabytes)?”提示时输入要分配给虚拟系统的内存大小,如“128”(系统默认单位是MB)。
⑤ 在出现“What would you like to use as the disk (path)?”提示时,输入虚拟块设备路径“/root/vmrhel5”。
⑥ 在出现“How large would you like the disk (/root/vmrhel5) to be (in gigabytes)?”提示时输入“6”(系统默认单位是GB)。
⑦ 在出现“Would you like to enable graphics support? (yes or no)”提示时输入“no”,表示不使用图形安装界面。
⑧ 在出现“What is the install location?”提示时输入安装树路径“http://192.168.16.177”
⑨ 进入安装向导,选择安装向导语言。由于字符安装界面不支持中文,这里使用默认选项“English”,然后按回车键继续 。
⑩ 在配置TCP/IP选项中可以依据实际情况进行配置,这里只选择手动设置的IPv4网络,然后按回车键继续 。
(11)在手动设置TCP/IP选项中输入相应的数据,完成后按回车键继续 。
(12)启动Linux字符安装向导后,依据提示设置安装选项,并完成Linux虚拟系统安装。
(13)系统安装完成后,就可以使用SSH等远程管理软件对虚拟系统进行设置管理了。
使用图形工具virt-manager创建Xen虚拟系统
① 在X-Window中打开“应用程序”→“系统工具”→“Virtual Machine Manager”,选择“本地Xen宿主”后单击“连接”,启动虚拟化管理应用程序virt-manager 。
②在virt-manager中打开“文件”→“新系统”,启动创建新的虚拟系统向导,单击“前进”按钮 。
③ 在“为虚拟系统命名”界面中,输入虚拟系统的名称“VM5”,单击“前进”按钮 。
④ 在“选择虚拟化方式”界面中选中“半虚拟化”单选按钮,然后单击“前进”按钮
⑤ 在“定位安装介质”界面中输入安装介质路径“http://192.168.16.177”,单击“前进”按钮
⑥ 在“分配存储空间”界面中选择“普通磁盘分区”单选按钮,并输入分区参数“/dev/hdb1”,然后单击“前进”按钮 。
⑦ 在“分配内存及CPU”界面中,根据实际情况为虚拟系统分配相应的内存和CPU数量
⑧ 在“准备就绪,开始安装”界面中,创建向导列出以上步骤所设置的各个参数。如果没有需要修改的,就单击“结束”按钮,即可创建新的虚拟系统
⑨ 系统依照所设置的参数创建虚拟系统的配置文件/etc/xen/VM5,并自动开启虚拟系统终端 。
⑩ 依照提示安装虚拟系统,在安装完成后重新引导系统时虚拟系统会自动关闭,因此需要使用命令“xm creat /etc/xen/VM5”重新开启虚拟系统。
管理Xen虚拟机
使用字符工具xm管理Xen虚拟机
使用图形工具virt-manager管理Xen虚拟机
使用字符工具xm管理Xen虚拟机
1。显示虚拟机运行状态
2. 使用文本方式连接虚拟系统
xm console
3. 开启虚拟系统
4. 关闭虚拟系统
xm shutdown
xm destroy
5. 重新启动虚拟系统
6. 将虚拟系统当前状态保存到文件中
7. 恢复已保存的虚拟系统
xm restore
8. 暂停虚拟系统
9. 恢复被暂停的虚拟系统
使用图形工具virt-manager管理Xen虚拟机
在X-Window中打开“应用程序”→“系统工具”→“Virtual Machine
Manager”,选择“本地Xen宿主”后单击“连接”,启动虚拟化管理图形管
理工具virt-manager
① 在virt-manager中选择要管理的虚拟系统,然后单击“细节”按钮,打开“虚拟系统状态”窗口,在这里可以查看虚拟系统的名称、CPU占用情况和内存占用情况 。
② 选择“硬件”选项卡,在这里可以查看和修改虚拟系统内存等硬件的状态和参数 。
③ 在virt-manager中选择要管理的虚拟系统,然后单击“打开”按钮,启动虚拟系统终端。在这里可以使用暂停、运行、关闭和保存等功能 。
cat /etc/sysconfig/i18n
LANG=”zh_CN.UTF-8″
SUPPORTED=”zh_CN.UTF-8:zh_CN:zh:zh_TW.UTF-8:zh_TW:zh:en_US.UTF-8:en_US:en”
SYSFONT=”latarcyrheb-sun16″
大家可能经常会在网页上发现一些乱码,而且会认为那是浏览器不支持,其实不是这个原因,是你系统的问题!只要修改一个配置文件,就可以解决乱码问题!
解决方案如下:
sudo vim /etc/fonts/conf.d/49-sansserif.conf
将其内容中的一部分做这样的修改:
将这样三行
&edit name=”family” mode=”append_last”&
&string&sans-serif&/string&
中的sans-serif修改为Zhu Yuan就OK了!
修改后为:
&edit name=”family” mode=”append_last”&
&string&Zhu Yuan&/string&
CentOS5.4使用ntfs-3g挂载ntfs文件系统(转)
之前有记录过centos挂载ntfs的过程,不过现在CentOS已经更新到5.4了
回头看了一下之前写的仍然停留在5.2 且是没更新内核的版本上
2.6.18-128.el5PAE 昨晚花了一个晚上的时间更新到5.4
2.6.18-164.6.1.el5PAE
经过一番整理 安装了ntfs-3g 来挂载ntfs文件系统,记录过程如下
首先安装Priorities 插件:
yum install yum-priorities
编辑/etc/yum/pluginconf.d/priorities.conf 档 确认下列行存在,以确定yum-priorities插件被启用:
编辑/etc/yum.repos.d/ 内的CentOS-Base.repo 档 并加入 下列行:
priority=N
建议设定:
[base], [addons], [updates], [extras] … priority=1
[centosplus],[contrib] … priority=2
第二步 下载并安装RPMforge 套件
建议使用下列链接
安装DAG的GPG-KEY
rpm –import
审核下载的套件:
rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
安装套件:
rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
yum check-update(这个出现的内容不定)
也可以通过安装一个软件来测试:
yum install mplayer
安装NTFS-3G 软件
先确定正确安装了rpmforge 套件,然后安装下列套件:
yum install fuse fuse-ntfs-3g
若rpmforge的设置为停用,则使用如下命令:
yum –enablerepo=rpmforge install fuse fuse-ntfs-3g
最后 就开始挂载ntfs 档案系统了
1)建立挂载点,进入 /mnt 目录
建立 新目录 win
2)普通挂载:
#mount -t ntfs-3g /dev/sda5 /mnt/win
3)也可以编辑 /etc/fstab 后挂载:
a)只读:/dev/sda5
ro,umask=0222,defaults 0 0
b)读写:/dev/sda5
rw,umask=0000,defaults 0 0
然后进行挂载:
mount /mnt/win
umount /mnt/win
卸载文件系统
CentOS 5.3 php 装zendOptimizer 三大问题详解(转)
问题:Failed loading /usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so:
/usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
Failed loading /usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so:
/usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
后来又查了很多资料,结果发现是和selinux有关,去/etc/selinux/config下面selinux去掉disable后问题解决。
或是 selinux=disabled
#php -c /etc/ -v
//检查是否成功!
//////////////////////////////////(转载)
具体解决方法:
  1. 对于 php.ini文件路径有问题( 我的在 phpinfo()显示php.ini路径正确,我就不用这个方法 )
  解决方法
  php -i | grep php.ini 就可以找到当前php使用的php.ini文件
  比如, 编译安装时没有指定php.ini存放路径, 那么默认php.ini会放在/usr/local/lib下面
  最好是在编译PHP时指定PHP配置文件的路径 如: –with-config-file-path=/usr/local/etc
  而一般zend默认安装 php.ini在/etc/目录下面或/usr/local/Zend/etc 所以需要在安装的时候手工指定我们php.ini文件存放的位置
  如果, 不知道现在的PHP 的配置文件具体位置的话 可以查看一下:
  php -i | grep php.ini
  如果php optimizer安装好 却发现不能加载的话可以 手工指定读取php.ini文件的位置
  php -c /etc/ -v 如果可以看到zend opt正确加载
  那么做个连接就好 连接到php默认读取的php.ini路径下面
  ln -sf /etc/php.ini /usr/local/lib
  [root@localhost /]# php -v
HP 5.2.5 (cli) (built: Jan 22 :19)
  Copyright (c)
The PHP Group
  Zend Engine v1.3.0, Copyright (c)
Zend Technologies
  with Zend Extension Manager v1.0.9, Copyright (c) , by Zend Technologies
  with Zend Optimizer v3.3.2, Copyright (c) , by Zend Technologies
  Ok 正常 phpinfo()看到的当然也是一样的
  2. 调用库文件的问题
  有的时候还有一些情况下 php -i 或php -v 在控制台下可以看到zend opt,
  但是 apache 执行phpinfo的输出里面却看不到
  一般是因为 调用php的时候zend模块不能加载, 比如AS4里面 就是这样的
  如as4下面默认的php安装后读取库文件的路径 是在/usr/lib下面 ,
  而php.ini文件中加载zend模块是在zend安装路径的lib目录中
  比如/usr/local/Zend/lib 这时apache在执行php时 不能加载zend模块 所以 在控制台里php -v 可以正常
  但是apache 却没有加载zend。
  解决办法
  先把zend模块copy到
  /usr/lib里面 然后改一下php.ini里面zend加载模块部分
  ( 我在 php -i 中显示 Failed loading /usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
  看这个原来是权限问题)
  3. 最恶心的SElinux问题
  SElinux导致PHP不能使用zend/lib下的库文件。所以,即便是做link也不行。只能够拷贝库文件到有权限的目录。或者直接关掉SElinux
  但我已 在 /etc/selinux/config 的 SELINUX=disabled 关掉SElinux 还是不行, 再网络查询发现
  在你保证SElinux 被disable后.还执行下
  chcon -t texrel_shlib_t 命令
  如: chcon -t texrel_shlib_t /usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so (这个文件视具体执行文件.)
  就可以。
  我的解决的情况是:
  1. 关闭SElinux
  2. 运行 #chcon -t texrel_shlib_t /usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so
  就可以。
还有一个最终的解决办法,就是使用低版本的php源代码来编译安装php.
centos对桌面环境控制的脚本存放在:
/etc/X!!/xinit.d
首先阅读Xinitrc–&Xinit-comm–&Xinitrc.d/*
–&Xclients
查看脚本能控制桌面选择的是:
/etc/sysconfig/desktop文件
所以修改:
/etc/sysconfig/desktop如下:
DESKTOP=KDE(GNOME)就可以了。
一、设置GNOME或者KDE为默认的启动桌面环境
  方法1:修改/etc/sysconfig/desktop,根据需要将“DESKTOP”后面的内容改为KDE或GNOME。
  方法2:在当前用户目录下建立“.xinitrc”这个文件(注意文件名前有一个点号,代表建立的是一个隐藏文件),文件的内容就一行startkde或gnome-session,根据自己的需要选择KDE或GNOME。
二、GNOME和KDE的切换(“#”后面为输入命令)
  1.如果需要切换到GNOME:
  #switchdesk(需要安装)gnome
  2.如果需要切换到KDE:
  #switchdesk kde
最简单的办法 重启 到用户登录的 时候 选择左下的会话以上内容摘取自《上海大学多媒体管理系统毕业设计.doc》,若想查看原文格式,请如果您觉得不放心或未尽人意,请复制链接到电脑端访问(同时支持支付宝和微信支付)。博客访问: 285877
博文数量: 204
注册时间:
认证徽章:
我们兜兜转转一大圈,还是回到原来的位置.
IT168企业级官微
微信号:IT168qiye
系统架构师大会
微信号:SACC2013
分类: Oracle
实验-修改trail文件的大小
先看原文档:
Changing the size of trail files
更改trail 文件的大小
You can change the size of trail files with the MEGABYTES option of either the ALTER EXTTRAIL
or ALTER RMTTRAIL command, depending on whether the trail is local or remote. To change&
the file size, follow this procedure.
你可以通过alter 命令调整MEGABYTES 参数的值来改变trail 文件的大小,是使用ALTER EXTTRAIL
或者 ALTER RMTTRAIL要看trail 文件是在本地还是在其它地方
1. Issue one of the following commands, depending on the location of the trail,to view the&
path name of the trail you want to alter and the name of the associated Extract group.&
Use a wildcard to view all trails.
使用下面的命令获得你想修改trail 文件的存放地址,你的trail文件所属的组
(Remote trail)
INFO RMTTRAIL *
(Local trail)
INFO EXTTRAIL *
2. Issue one of the following commands, depending on the locationof the trail, to change&
the file size.
(Remote trail)
ALTER RMTTRAIL , EXTRACT , MEGABYTES
(Local trail)
ALTER EXTTRAIL , EXTRACT , MEGABYTES
3. Issue the following command tocause Extract to switch to the next file in the trail.
SEND EXTRACT , ROLLOVER
-------------------------------------------------------------------------分割线---------------------------------------------------------------------------------------------------------------
停止抽取进程
stop group_name
停止推送进程
stop group_name
停止复制进程
stop group_name
在源端查看信息
GGSCI (OGG1) 64> info exttrail *
& & & &Extract Trail: /u01/ogg/dirdat/kt
& & & & & & &Extract: GGEX
& & & & & & & &Seqno: 14
& & & & & & & & &RBA: 3822
& & & & & &File Size: 5M
& & & &Extract Trail: /u01/ogg/dirdat/kt
& & & & & & &Extract: GGPUMP
& & & & & & & &Seqno: 13
& & & & & & & & &RBA: 3956
& & & & & &File Size: 5M
运行命令:
1、ALTER RMTTRAIL /u01/ogg/dirdat/kt, EXTRACT ggex, MEGABYTES 60--改成60M
2、ALTER EXTTRAIL /u01/ogg/dirdat/kt, EXTRACT ggpump, MEGABYTES 60---改成60M
3、SEND EXTRACT ggex, ROLLOVER
4、SEND EXTRACT ggpump, ROLLOVER
查看是否发生改变:
GGSCI (OGG1) 91> info exttrail *
& & & &Extract Trail: /u01/ogg/dirdat/kt
& & & & & & &Extract: GGEX
& & & & & & & &Seqno: 17
& & & & & & & & &RBA: 1007
& & & & & &File Size: 60M
& & & &Extract Trail: /u01/ogg/dirdat/kt
& & & & & & &Extract: GGPUMP
& & & & & & & &Seqno: 16
& & & & & & & & &RBA: 1149
& & & & & &File Size: 60M
阅读(1654) | 评论(0) | 转发(0) |
相关热门文章
给主人留下些什么吧!~~
请登录后评论。}

我要回帖

更多关于 round什么意思 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信