Database Reference
In-Depth Information
Listing 3-11. The cleanupDeploy.pl script
/opt/oracle/oak/onecmd/cleanupDeploy.pl
Once this cleanupDeploy.pl script completes, you can rerun the deployment process using the Oracle Appliance
Manager utility discussed earlier. To execute the cleanupDeploy.pl and review the associated output, Listing 3-12
gives some insight into what you are looking at.
Listing 3-12. Execute and Associated Output of cleanupDeploy.pl (Partial)
[root@oak1 ~]# /opt/oracle/oak/onecmd/cleanupDeploy.pl
Please enter the root password for performing cleanup:
Re-enter root password:
About to clear up OAK deployment,public network connectivity will be lost,root password will be set
to default and both nodes will be rebooted
Do you want to continue(yes/no): yes
Setting up ssh for root
INFO : Logging all actions in /opt/oracle/oak/onecmd/tmp/ejb1-20130909181519.log and traces
in /opt/oracle/oak/onecmd/tmp/ejb1-20130909181519.trc
INFO : Loading configuration file /opt/oracle/oak/onecmd/onecommand.params...
INFO : Creating nodelist files...
==================================================================================
INFO : 2013-09-09 18:15:19
INFO : Step 1 SetupSSHroot
INFO : Setting up ssh for root...
INFO : Setting up ssh across the private network...
............done
INFO : Running as root: /usr/bin/ssh -l root 192.168.16.24 /root/DoAllcmds.sh
INFO : Background process 19630 (node: 192.168.16.24) gets done with the exit code 0
INFO : Running as root: /usr/bin/ssh -l root 192.168.16.25 /root/DoAllcmds.sh
INFO : Background process 19654 (node: 192.168.16.25) gets done with the exit code 0
INFO : Done setting up ssh
INFO : Running /usr/bin/rsync -tarvz /opt/oracle/oak/onecmd/ root@192.168.16.25:/opt/oracle/oak/
onecmd --exclude=*zip --exclude=*gz --exclude=*log --exclude=*trc --exclude=*rpm to sync directory</
opt/oracle/oak/onecmd> on node <192.168.16.25>
SUCCESS: Ran /usr/bin/rsync -tarvz /opt/oracle/oak/onecmd/ root@192.168.16.25:/opt/oracle/oak/onecmd
--exclude=*zip --exclude=*gz --exclude=*log --exclude=*trc --exclude=*rpm and it returned: RC=0
sending incremental file list
.
.
.
.
==================================================================================
INFO : 2013-09-09 18:19:49
INFO : Step 11 resetpasswd
INFO : Resetting root password
...
INFO : Running as root: /usr/bin/ssh -l root 192.168.16.24 /opt/oracle/oak/onecmd/tmp/secuser.sh
...
INFO : Running as root: /usr/bin/ssh -l root 192.168.16.25 /opt/oracle/oak/onecmd/tmp/secuser.sh
INFO : Running as root: /usr/bin/ssh -l root 192.168.16.24 /opt/oracle/oak/onecmd/tmp/
Search WWH ::




Custom Search