【转】hacmp 的版本
我自己查看SG246187,里面有一段这么说的:To show the clstrmgr version,type the command: snmpinfo -m dump -0 /usr/sbin/cluster/hacmp.defs clstrmgr。 但我输入后,无任何提示,直接进入下一行命令提示符。或者lslpp -l |grep cluster[@more@]
【转】 在aix里面查看实际的磁盘空间
http://bbs.chinaunix.net/viewthread.php?tid=282444在aix里面查看实际的磁盘空间 lspv :查看系统硬盘 lspv hdisk# :查看硬盘hdisk#的空间分配情况 lsvg :查看系统VG lsvg vg_name : 查看VG的空间分配情况 lsvg -l vg_name: 查看VG中LV分配情况以及对应的文件系统 df -k :查看文件系统使用情况。[@more@]
【转】AIX 53新特性--动态减小JFS2文件系统
http://www.loveunix.net/thread-37224-1-1.html在AIX 5.3版本以前,用户只能动态增加文件系统的大小,如果需要缩小文件系统的大小,只能重新创建一个文件系统,再将数据拷贝到其中。AIX 5.3版本中增加了一个新特性:即动态减小JFS2类型的文件系统的大小。方法如下:通过smit菜单:# smit chjfs2: 在字段“Number of units”中直接填入缩小或增大后的文件系统大小即可。通过命令行:chfs -a size=new_size filesystem_name注:“new_size”前面不加前缀表示将文件系统的空间改为“new_size”。如果“new_size”前面加前缀“+”,表示将该
aix中查看文件系统的类型
老农说过:你lsfs的显示是对的。 lsvg -l里显示的type是标签而已,可以和实际不一样。 http://bbs.loveunix.net/thread-75259-1-1.html[@more@]
【转】 AIX系统中可否动态缩小文件系统大小
http://blog.csdn.net/bingzhuan/archive/2009/03/23/4016734.aspx若AIX 是 version 5.3 之前的版本,则不论文件系统是jfs 的,还是jfs2的,都不可以动态的缩小。若AIX 的版本是 AIX 5.3以后的版本,文件系统类型是jfs,则此文件系统不可动态的缩小。若AIX 的版本是 AIX 5.3以后的版本,文件系统类型是jfs2,则此文件系统是可动态缩小的。下面在AIX 5.3系统创建了两个文件系统:/usr/test(jfs2)和/wzktest(jfs),如下:testterm1:/#lsvg rootvg | grep "PP SIZE"VG STATE: active PP SIZE:
【转】jfs和jfs2动态调整文件系统大小问题
http://www.aixchina.net/club/viewthread.php?tid=4957 . 若AIX 是 version 5.3 之前的版本,则不论文件系统是jfs 的, 还是 jfs2的 都不可以动态的缩小。 . 若AIX 的版本是 AIX 5.3以后的版本,文件系统类型是jfs, 则此文件系统不可动态的缩小。 . 若AIX 的版本是 AIX 5.3以后的版本,文件系统类型是jfs2, 则此文件系统是可动态缩小的。[@more@]
hacmp时的主机名要求
Valid HACMP names must be at least one character long and can contain characters ([A-Z, a-z]), numbers ([0-9]) and '_' (underscore). A name cannot begin with a number and a HACMP reserved word cannot be a valid name.[@more@]
配置hacmp时出错
hacmp5.3加入节点时出错信息如下ERROR: Unable to use communication interface 'rac2'.For each of the above invalid communication interfaces listed,please check that the owning node is running the clcomdES subsystem,and that the /usr/es/sbin/cluster/etc/rhosts file is properly configured.解决方法:/usr/es/sbin/cluster/etc/rhosts 文件中修改为本机的ip地址。[@more@]
[转]AIX 5L网卡管理与配置
原文来自:http://www.ningoo.net/html/2007/aix_5l_network_interface.htmlPiner写过一篇文章介绍AIX中网卡的管理和配置,这里想补充一些相关的信息。本文中所有试验都基于AIX 5.3。 AIX中查看系统中的网卡设备 #lsdev -Cc adapter | grep ent ent0 Available 00-08 10/100/1000 Base-TX PCI-X Adapter (14106902) ent1 Available 07-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902) ent2 Available 07-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902) ent3 Available 0B-08 10/100/1
goldengate 的 COMPRESSUPDATES 参数
Valid for ExtractUse the COMPRESSUPDATES and NOCOMPRESSUPDATES parameters for Extract to control the waycolumns are written to the trail record for update operations.COMPRESSUPDATES, the default, causes Extract to write only the primary key and thechanged columns of a row to the trail for update operations. This provides enoughinformation to update the correct target record, while restricting the amount of data thatmust be processed.NOCOMPRESSUPDATES sends all of the columns to the trail. This b
关于goldengate无主键表的update的同步(源端和目的端列数不一样多)
关于goldengate无主键表的update的同步源端:windows 2003 sql2005 sp3目的端:rhel5.3 x64bit, db2 v9.7 x64bit源端表结构:(无主键无唯一索引)CREATE TABLE [lc0019999].[KCCKD2]( [KCCKD2_PJLX] [char](1) NOT NULL, [KCCKD2_LSBH] [varchar](10) NOT NULL, [KCCKD2_FLBH] [varchar](10) NOT NULL, [KCCKD2_WLBH] [varchar](30) NOT NULL, [KCCKD2_TSKC] [char](1) NOT NULL DEFAULT (' '), [KCCKD2_XGDX] [varchar](30) NOT NULL DEFAULT (' '), [KCCKD2_DDLS] [varchar](20) NULL DEFAULT (' '), [KCCKD2_
reperror()的格式有严格要求
************************************************************************* Running with the following parameters *************************************************************************replicat msstargetdb BASE4, userid gg, password ******discardfile /db2/ggv11db2/dirrpt/rep.dsc, append, MEGABYTES 2147SOURCEDEFS /db2/ggv11db2/dirdef/source_defs.defreperror ( 100, IGNORE )--注意:(后有一个空格,)前也有一个空格。Source Context : SourceModule : [er.main]
gg在目的端添加标示字段
1.在目的数据库的相关表中,添加字段。注意字段的数据类型。2. rep.prm中进行如下的添加map 'lc0019999.KCCKD2', target gguser.KCCKD2, COLMAP (USEDEFAULTS, ETL_FL_NM = "gg_online", BUSI_DATE = @COLSTAT (NULL), PPN_TMSTAMP = @COLSTAT (NULL), OPERATION_TYPE = @GETENV ("GGHEADER", "OPTYPE") , MODIFY_DATETIME = @GETENV ("GGHEADER", "COMMITTIMESTAMP"));值得注意的是:OPERATION_TYPE = @GETENV ("GGHEADER", "OPTYPE") 这一个列,在数据库表中,请
goldengate for oracle 92 当源端的表的列数超过32列时,add trandata报错
add trandata报错的前提条件:1.oracle 92 数据库2.源端的表没有主键,没有唯一键。3.源端的表的列数超过32个列。如下的例子:GGSCI (rhel41) 2> add trandata GYHT.GY_CLHTK2011-04-26 21:20:20 WARNING OGG-00869 No unique key is defined for table GY_CLHTK. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.2011-04-26 21:20:20 WARNING OGG-00706 Failed to add supplemental log group on table GYHT.GY_CLHTK due to ORA-02257: maxim
oracle 11.2.0.2的组成
1,2 database3 grid4 client5 gateways6 examples7 deinstall[@more@]
goldengate 的ALLOWNOOPUPDATES 参数
How to use NOALLOWNOOPUPDATES/ALLOWNOOPUPDATES Replicat parameter [ID 1144303.1] 修改时间 27-JUL-2010 类型 HOWTO 状态 PUBLISHED In this Document Goal Solution Applies to: Oracle GoldenGate - Version: 10.0.0.0 and later [Release: 10.0.0 and later ]Information in this document applies to any platform. Goal Describes the usage of NOALLOWNOOPUPDATES/ALLOWNOOPUPDATES parameter Solution 1.Use ALLOWNOOPUPDATE
【转帖】Oracle客户端NLS_LANG设置
本文转自http://dbajun.iteye.com/blog/137996感谢原作者:dbajunOracle客户端NLS_LANG设置1. NLS_LANG 参数组成NLS_LANG参数由以下部分组成:NLS_LANG=<Language>_<Territory>.<Clients Characterset>NLS_LANG各部分含义如下:LANGUAGE指定:-Oracle消息使用的语言-日期中月份和日显示TERRITORY指定-货币和数字格式-地区和计算星期及日期的习惯CHARACTERSET:-控制客户端应用程序使用的字符集通常设置或者等于客户端(如Windows)代码页 或者对于unicode应用设置为UTF8在Windows上查看当前系统的代码页可以使用chcp命令:E:&g
How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]
How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1] 修改时间 16-FEB-2011 类型 HOWTO 状态 PUBLISHED In this Document Goal Solution Deconfigure and Reconfigure of Standalone Server (Oracle Restart): Deinstall of Grid Infrastructure Standalone Server: Deconfigure and Reconfigure of Grid Infrastructure Cluster: Deinstall of Grid Infrastructure Cluster: Comple
How to Clean Up After a Failed 10g or 11.1 Oracle Clusterware Installation [ID 239998.1]
How to Clean Up After a Failed 10g or 11.1 Oracle Clusterware Installation [ID 239998.1] 修改时间 28-OCT-2010 类型 BULLETIN 状态 PUBLISHED Applies to: Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.8 - Release: 10.1 to 11.1Generic UNIX Purpose The purpose of this document is to help DBA's and support analysts understand howto clean up a failed CRS (Cluster Ready Services) install for 10g and 11.1
windows 下使用goldengate的前提
安装:Microsoft Visual C ++ 2005 SP1 Redistributable Package.这里边有几点需要注意:1.只要是在windows下部署goldengate,就需要安装此补丁。不管数据库是oracle还是sqlserver。。2.此补丁区分x86 和x64,请注意注意bit数的差异3.是要下载Microsoft Visual C ++ 2005 SP1 Redistributable Package. 而不是Microsoft Visual C ++ 2005 Redistributable Package.若是安装了Microsoft Visual C ++ 2005 Redistributable Package, cmd下的ggsci界面是进不去的。goldengate 的ggsci报错为“系统无法执行指定的程序”[@more@]