./sshUserSetup.sh -user grid -hosts “TEST1 TEST2” -advanced -noPromptPassphrase
Set up ORACLE SSH:
./sshUserSetup.sh -user oracle -hosts “TEST1 TEST2” -advanced ñnoPromptPassphrase
###Node 1 is executed as follows:
ssh TEST1date
ssh TEST2 date
ssh TEST2-priv date
ssh TEST2-priv date
##Node 2 execution
ssh TEST1date
ssh TEST2 date
ssh TEST2-priv date
ssh PCPROD-ORA1-priv date
————————————————————-
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/12.2.0/grid
export ORACLE_SID=+ASM1
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/12.2.0/grid
export ORACLE_SID=+ASM2
export PATH=$PATH:$ORACLE_HOME/bin
>> Oracle user: Add the following parameters to the /home/oracle/.bash_profile file:
export GRID_HOME=/u01/app/12.2.0/grid
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/12.2.0/dbhome_1
export ORACLE_SID=TEST1
export PATH=$PATH:$ORACLE_HOME/bin:$GRID_HOME/bin
export GRID_HOME=/u01/app/12.2.0/grid
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/12.2.0/dbhome_1
export ORACLE_SID=TEST2
export PATH=$PATH:$ORACLE_HOME/bin:$GRID_HOME/bin
————————————————–
./runcluvfy.sh stage -pre crsinst -n TEST11,TEST2 -verbose > /home/grid/grid_check.log