반응형
Oracle GI S/W addnode
[oracle@datarac1 addnode]$ id
uid=54321(oracle) gid=54322(dba) groups=54322(dba) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[oracle@datarac1 addnode]$
[oracle@datarac1 addnode]$ env | grep SID
ORACLE_SID=+ASM1
[oracle@datarac1 addnode]$
[oracle@datarac1 addnode]$ ls
addnode_oraparam.ini addnode_oraparam.ini.sbs addnode.pl addnode.sh
[oracle@datarac1 addnode]$
[oracle@datarac1 addnode]$ ./addnode.sh -silent -ignoreSysPrereqs -ignorePrereqFailure \
> -waitForCompletion CLUSTER_NEW_NODES=datarac3 CLUSTER_NEW_VIRTUAL_HOSTNAMES=datarac3-vip
[WARNING] [INS-40111] The specified Oracle Base location is not empty on following nodes: [datarac3].
ACTION: Specify an empty location for Oracle Base.
[WARNING] [INS-13013] Target environment does not meet some mandatory requirements.
CAUSE: Some of the mandatory prerequisites are not met. See logs for details. /u01/app/oraInventory/logs/addNodeActions2023-05-22_05-03-32PM.log
ACTION: Identify the list of failed prerequisite checks from the log: /u01/app/oraInventory/logs/addNodeActions2023-05-22_05-03-32PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
Copy Files to Remote Nodes in progress.
.................................................. 6% Done.
.................................................. 11% Done.
....................
Copy Files to Remote Nodes successful.
Prepare Configuration in progress.
Prepare Configuration successful.
.................................................. 21% Done.
You can find the log of this install session at:
/u01/app/oraInventory/logs/addNodeActions2023-05-22_05-03-32PM.log
Instantiate files in progress.
Instantiate files successful.
.................................................. 49% Done.
Saving cluster inventory in progress.
.................................................. 83% Done.
Saving cluster inventory successful.
The Cluster Node Addition of /u01/app/19.0.0/grid was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2023-05-22_05-03-32PM.log' for more details.
Setup Oracle Base in progress.
Setup Oracle Base successful.
.................................................. 90% Done.
Update Inventory in progress.
You can find the log of this install session at:
/u01/app/oraInventory/logs/addNodeActions2023-05-22_05-03-32PM.log
Update Inventory successful.
.................................................. 97% Done.
As a root user, execute the following script(s):
1. /u01/app/oraInventory/orainstRoot.sh
2. /u01/app/19.0.0/grid/root.sh
Execute /u01/app/oraInventory/orainstRoot.sh on the following nodes:
[datarac3]
Execute /u01/app/19.0.0/grid/root.sh on the following nodes:
[datarac3]
The scripts can be executed in parallel on all the nodes.
Successfully Setup Software with warning(s).
.................................................. 100% Done.
[oracle@datarac1 addnode]$
추가 Node에서 root.sh 실행
[root@datarac3 ~]# id
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[root@datarac3 ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to dba.
The execution of the script is complete.
[root@datarac3 ~]#
[root@datarac3 ~]#
[root@datarac3 ~]# /u01/app/19.0.0/grid/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/19.0.0/grid
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/19.0.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/oracle/crsdata/datarac3/crsconfig/rootcrs_datarac3_2023-05-22_05-36-54PM.log
2023/05/22 17:37:01 CLSRSC-594: Executing installation step 1 of 19: 'ValidateEnv'.
2023/05/22 17:37:01 CLSRSC-363: User ignored prerequisites during installation
2023/05/22 17:37:01 CLSRSC-594: Executing installation step 2 of 19: 'CheckFirstNode'.
2023/05/22 17:37:02 CLSRSC-594: Executing installation step 3 of 19: 'GenSiteGUIDs'.
2023/05/22 17:37:09 CLSRSC-594: Executing installation step 4 of 19: 'SetupOSD'.
Redirecting to /bin/systemctl restart rsyslog.service
2023/05/22 17:37:10 CLSRSC-594: Executing installation step 5 of 19: 'CheckCRSConfig'.
2023/05/22 17:37:13 CLSRSC-594: Executing installation step 6 of 19: 'SetupLocalGPNP'.
2023/05/22 17:37:16 CLSRSC-594: Executing installation step 7 of 19: 'CreateRootCert'.
2023/05/22 17:37:16 CLSRSC-594: Executing installation step 8 of 19: 'ConfigOLR'.
2023/05/22 17:37:32 CLSRSC-594: Executing installation step 9 of 19: 'ConfigCHMOS'.
2023/05/22 17:37:32 CLSRSC-594: Executing installation step 10 of 19: 'CreateOHASD'.
2023/05/22 17:37:35 CLSRSC-594: Executing installation step 11 of 19: 'ConfigOHASD'.
2023/05/22 17:37:48 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2023/05/22 17:38:19 CLSRSC-594: Executing installation step 12 of 19: 'SetupTFA'.
2023/05/22 17:38:19 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2023/05/22 17:38:20 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
2023/05/22 17:39:12 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2023/05/22 17:39:14 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
2023/05/22 17:39:26 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'.
2023/05/22 17:41:34 CLSRSC-343: Successfully started Oracle Clusterware stack
2023/05/22 17:41:34 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'.
clscfg: EXISTING configuration version 19 detected.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
2023/05/22 17:42:21 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'.
2023/05/22 17:42:39 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded
[root@datarac3 ~]#
Node 추가 상태 확인
[oracle@datarac1 ~]$ id
uid=54321(oracle) gid=54322(dba) groups=54322(dba) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[oracle@datarac1 ~]$ env | grep SID
ORACLE_SID=+ASM1
[oracle@datarac1 ~]$ crsctl status res -t
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
ONLINE ONLINE datarac1 STABLE
ONLINE ONLINE datarac2 STABLE
ONLINE ONLINE datarac3 STABLE
ora.chad
ONLINE ONLINE datarac1 STABLE
ONLINE ONLINE datarac2 STABLE
ONLINE ONLINE datarac3 STABLE
ora.net1.network
ONLINE ONLINE datarac1 STABLE
ONLINE ONLINE datarac2 STABLE
ONLINE ONLINE datarac3 STABLE
ora.ons
ONLINE ONLINE datarac1 STABLE
ONLINE ONLINE datarac2 STABLE
ONLINE ONLINE datarac3 STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup)
1 ONLINE ONLINE datarac1 STABLE
2 ONLINE ONLINE datarac2 STABLE
3 ONLINE ONLINE datarac3 STABLE
ora.DATA1.dg(ora.asmgroup)
1 ONLINE ONLINE datarac1 STABLE
2 ONLINE ONLINE datarac2 STABLE
3 ONLINE ONLINE datarac3 STABLE
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE datarac1 STABLE
ora.OCRVOTE.dg(ora.asmgroup)
1 ONLINE ONLINE datarac1 STABLE
2 ONLINE ONLINE datarac2 STABLE
3 ONLINE ONLINE datarac3 STABLE
ora.asm(ora.asmgroup)
1 ONLINE ONLINE datarac1 Started,STABLE
2 ONLINE ONLINE datarac2 Started,STABLE
3 ONLINE ONLINE datarac3 Started,STABLE
ora.asmnet1.asmnetwork(ora.asmgroup)
1 ONLINE ONLINE datarac1 STABLE
2 ONLINE ONLINE datarac2 STABLE
3 ONLINE ONLINE datarac3 STABLE
ora.cvu
1 ONLINE ONLINE datarac1 STABLE
ora.datarac.db
1 ONLINE ONLINE datarac1 Open,HOME=/u01/app/o
racle/product/19.0.0
/db_1,STABLE
2 ONLINE ONLINE datarac2 Open,HOME=/u01/app/o
racle/product/19.0.0
/db_1,STABLE
ora.datarac1.vip
1 ONLINE ONLINE datarac1 STABLE
ora.datarac2.vip
1 ONLINE ONLINE datarac2 STABLE
ora.datarac3.vip
1 ONLINE ONLINE datarac3 STABLE
ora.qosmserver
1 ONLINE ONLINE datarac1 STABLE
ora.scan1.vip
1 ONLINE ONLINE datarac1 STABLE
--------------------------------------------------------------------------------
[oracle@datarac1 ~]$
반응형