Oracle Database Appliance provides a utility called "cleanupDeploy.pl" that is used to:
- If you encounter deployment issues and wants to cleanup to perform a fresh deployment.
- If you want to wipe out everything on you ODA
- If you want to redeploy the ODA base image
[root@odanode1 ~]# locate cleanupDeploy.pl
/opt/oracle/oak/onecmd/cleanupDeploy.pl
cleanupDeploy.pl utility wipes out everything on your ODA and you can rerun the deployment process again using oakcli utility.
Execute ODA cleanup utility:
For Bare-Metal setup execute the utility on first node (node 0) and in Virtualization setup on Dom0.
Connect to first node on ODA and execute the cleanupDeploy.pl utility as root user.
[root@odanode1 ~]# cd /opt/oracle/oak/onecmd
[root@odanode1 ~]# ./cleanupDeploy.pl
cleanupDeploy.pl utility performs a series of steps as below:
- SetupSSHroot
- SetupPrivSSHroot
- deinstallASR
- CleanupDBConsolefiles
- DeinstallGI
- resetmultipathconf
- resetstoragenickname
- deleteudevrulefile
- DropUsersGroups
- resetnetwork
- resetpassword
- reboot
Practical cleanupDeploy.pl session
- Connect as root user to ODA node 1 and navigate to /opt/oracle/oakcli/onecmd
[root@odanode1 ~]# ./cleanupDeploy.pl
Enter the root password and re-enter again
Conclusion:
In this article we have learned how to cleanup ODA setup using cleanupDeploy.pl. If you encounter issue on ODA or want to wipe out everything on ODA, this utility comes handy and you can rerun the deployment process again using oakcli utility.
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks... Viking Appliance Repair in Los Angeles
ReplyDelete