1、AIX61+HACMP61+ORACL10gRAC安装配置文档Cat /etc/hosts127.0.0.1 loopback localhost # loopback (lo0) name/address192.168.0.14 localhost#HA#192.168.20.4 racap01boot1192.168.10.4 racap01boot2192.168.20.5 racap02boot1192.168.10.5 racap02boot2#RAC10.2.2.10 racap0110.2.2.11 racap02192.168.30.5 racap02priv192.168.3
2、0.4 racap01priv10.2.2.14 racap01vip10.2.2.15 racap02vipCRS卸载:在安装clusterware时如果出现报错现象,需要重新安装时,必须先清除已经安装的cluserware,否则可能会影响到下次安装。一般情况下,只需要在各节点上依次运行目录$ORA_CRS_HOME/install/下的脚本rootdelete.sh和 rootdeinstall.sh即可。 我们也可以采用手工删除: 1、在所有节点停止nodeapps srvctl stop nodeapps -n nodename 2、检查一个有则删除要仔细查看crs自动启动程序 Sun
3、:rm /etc/init.d/init.cssdrm /etc/init.d/init.crsrm /etc/init.d/init.crsdrm /etc/init.d/init.evmdrm /etc/rc3.d/K96init.crsrm /etc/rc3.d/S96init.crsrm -Rf /var/opt/oracle/scls_scrrm -Rf /var/opt/oracle/oprocdrm /etc/inittab.crscp /etc/inittab.orig Linux:rm /etc/oracle/*rm -f /etc/init.d/init.cssdrm -f
4、 /etc/init.d/init.crsrm -f /etc/init.d/init.crsdrm -f /etc/init.d/init.evmdrm -f /etc/rc2.d/K96init.crsrm -f /etc/rc2.d/S96init.crsrm -f /etc/rc3.d/K96init.crsrm -f /etc/rc3.d/S96init.crsrm -f /etc/rc5.d/K96init.crsrm -f /etc/rc5.d/S96init.crsrm -Rf /etc/oracle/scls_scrrm -f /etc/inittab.crscp /etc/
5、inittab.orig HP-UX:rm /sbin/init.d/init.cssdrm /sbin/init.d/init.crsrm /sbin/init.d/init.crsdrm /sbin/init.d/init.evmdrm /sbin/rc2.d/K960init.crsrm /sbin/rc2.d/K001init.crsrm /sbin/rc3.d/K960init.crsrm /sbin/rc3.d/S960init.crsrm -Rf /var/opt/oracle/scls_scrrm -Rf /var/opt/oracle/oprocdrm /etc/initta
6、b.crscp /etc/inittab.orig /etc/inittabHP Tru64:rm /sbin/init.d/init.cssdrm /sbin/init.d/init.crsrm /sbin/init.d/init.crsdrm /sbin/init.d/init.evmdrm /sbin/rc3.d/K96init.crsrm /sbin/rc3.d/S96init.crsrm -Rf /var/opt/oracle/scls_scrrm -Rf /var/opt/oracle/oprocdrm /etc/inittab.crscp /etc/inittab.orig IB
7、M AIX: rm -Rf oraInventoryrm /etc/init.cssdrm /etc/init.crsrm /etc/init.crsdrm /etc/init.evmdrm /etc/rc.d/rc2.d/K96init.crsrm /etc/rc.d/rc2.d/S96init.crsrm -Rf /etc/oracle/scls_scrrm -Rf /etc/oracle/oprocdrm /etc/inittab.crscp /etc/inittab.orig 误删除/etc/inittab惨案:后只能进入单用户模式:用vi直接编辑此文件! init:2:initdef
8、ault:brc:sysinit:/sbin/rc.boot 3 /dev/console 2&1srcmstr:23456789:respawn:/usr/sbin/srcmstrrctcpip:2:wait:/etc/rc.tcpipcons:0123456789:respawn:/usr/sbin/getty /dev/console启动双机时: execute /usr/bin/startsrc -s clcomdESERROR: HACMP requires /etc/inittab entry:hacmp:2:once:/usr/es/sbin/cluster/etc/rc.ini
9、t /dev/console 2&13、kill css/crs/evm进程,并reboot节点ps -ef | grep css/crs/evmkill -9 processid 4、删除/tmp/.oracle或/var/tmp/.oracle rm -f /tmp/.oracle 或rm -f /var/tmp/.oracle 5、删除ocr.loc rm -f /etc/oracle/orc.loc 6、用oracle universal installer卸载crs 7、删除crs安装目录 rm -Rf crs_install_dir 8、使用dd清除vote disk和ocr(裸设
10、备) dd if=/dev/zero of=/dev/votedisk_device bs=8192 count=2560dd if=/dev/zero of=/dev/ocr_device bs=8192 count=12800两个节点上都运行:/tmp/soft/crs/Disk1/rootpre/rootpre.sh./rootpre.sh output will be logged in /tmp/rootpre.out_11-06-25.12:46:52Saving the original files in /etc/ora_save_11-06-25.12:46:52.Copyi
11、ng new kernel extension to /etc.Loading the kernel extension from /etc Oracle Kernel Extension Loader for AIX Copyright (c) 1998,1999 Oracle Corporation Kernel Extension /etc/pw-syscall.64bit_kernel already loaded, unloading it Unconfigured the kernel extension successfully Unloaded the kernel exten
12、sion successfully Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x50d82000 Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x50d82000The kernel extension was successfuly loaded.Configuring Asynchronous I/O.Asynchronous I/O is not installed on this system.You will need t
13、o install it, and either configure it yourself usingsmit aio or rerun the Oracle root installation procedure.Configuring POSIX Asynchronous I/O.Posix Asynchronous I/O is not installed on this system.You will need to install it, and either configure it yourself usingsmit aio or rerun the Oracle root
14、installation procedure.Checking if group services should be configured.Nothing to configureracap01:/tmp/soft/crs/Disk1./runInstaller*Your platform requires the root user to perform certain pre-installationOS preparation. The root user should run the shell script rootpre.sh beforeyou proceed with Ora
15、cle installation. rootpre.sh can be found at the toplevel of the CD or the stage area.Answer y if root has run rootpre.sh so you can proceed with Oracle installation.Answer n to abort installation and then ask root to run rootpre.sh.*Has rootpre.sh been run by root? y/n (n)yStarting Oracle Universal
16、 Installer.在安装数据库之前先打补丁p6718715_10203_AIX64-5L:再用root运行rootpre.sh就OKChecking operating system requirements .Expected result: One of 5200.004,5300.002Actual Result: 6100.06Check complete. The overall result of this check is: Failed Problem: Oracle Database 10g is not certified on the current operatin
17、g system.Recommendation: Make sure you are installing the software on the correct platform.=Checking operating system package requirements .Check complete. The overall result of this check is: Not executed OUI-18001: The operating system AIX Version 6100.06 is not supported.Recommendation: Install t
18、he required packages before continuing with the installation.=Checking recommended operating system patchesCheck complete. The overall result of this check is: Not executed OUI-18001: The operating system AIX Version 6100.06 is not supported.Recommendation: You may actually have installed patches wh
19、ich have obsoleted these, in which case you can successfully continue with the install. If you have not, it is recommended that you do not continue. Refer to the readme to find out how to get the missing patches.=Checking for Oracle Home incompatibilities .Actual Result: NEW_HOMECheck complete. The
20、overall result of this check is: Passed=Checking Oracle Home path for spaces.Check complete. The overall result of this check is: Passed=Checking local Cluster Synchronization Services (CSS) status .Check complete. The overall result of this check is: Passed=Checking whether Oracle 9.2 RAC is availa
21、ble on all selected nodesCheck complete. The overall result of this check is: Passed=YES# /lc_oracle/crs/root.shWARNING: directory /lc_oracle is not owned by rootChecking to see if Oracle CRS stack is already configuredChecking to see if any 9i GSD is upSetting the permissions on OCR backup director
22、ySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory /lc_oracle is not owned by rootSuccessfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node : node 1: racap01 racap01priv racap01node 2: racap02 raca
23、p02priv racap02Creating OCR keys for user root, privgrp system.Operation successful.Now formatting voting device: /dev/rr_all_vote01Now formatting voting device: /dev/rr_all_vote02Now formatting voting device: /dev/rr_all_vote03Format of 3 voting devices complete.Startup will be queued to init withi
24、n 30 seconds.Adding daemons to inittabAdding daemons to inittabExpecting the CRS daemons to be up within 600 seconds.CSS is active on these nodes. racap01CSS is inactive on these nodes. racap02Local node checking complete.Run root.sh on remaining nodes to start CRS daemons.在另一个节点上:# /lc_oracle/crs/r
25、oot.shWARNING: directory /lc_oracle is not owned by rootChecking to see if Oracle CRS stack is already configuredChecking to see if any 9i GSD is up/etc/oracle does not exist. Creating it now.Setting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuratio
26、n upgraded successfullyWARNING: directory /lc_oracle is not owned by rootclscfg: EXISTING configuration version 3 detected.clscfg: version 3 is 10G Release 2.Successfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node : node 1: racap01 racap01priv raca
27、p01node 2: racap02 racap02priv racap02clscfg: Arguments check out successfully.NO KEYS WERE WRITTEN. Supply -force parameter to override.-force is destructive and will destroy any previous clusterconfiguration.Oracle Cluster Registry for cluster has already been initializedStartup will be queued to
28、init within 30 seconds.Adding daemons to inittabAdding daemons to inittabExpecting the CRS daemons to be up within 600 seconds.CSS is active on these nodes. racap01 racap02CSS is active on all nodes.Waiting for the Oracle CRSD and EVMD to startOracle CRS stack installed and running under init(1M)Running vipca(silent) for configuring nodeappsThe given interface(s), en16 is not public. Public interfaces should be used to configure virtual IP安装最后的界面不要点OK,先配置vipca!使用root用户执行在安装节点上运行crs/bin/vipca:点OK:出现三个推荐配置都成功!在两个节点上分别运行
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1