The following procedure is used to prepare the Oracle Clusterware home for cloning:
- Install Oracle Clusterware on the first machine.
- Use the Oracle Universal Installer (OUI) GUI interactively.
- Install patches that are required (for example, 11.1.0.n).
- Apply one-off patches, if necessary.
- Shut down Oracle Clusterware.
- # crsctl stop crs -wait
- Make a copy of the Oracle Clusterware home.
- # mkdir /stagecrs
- # cp –prf /u01/app/11.2.0/grid /stagecrs
- Remove files that pertain only to the source node.
- # cd /stagecrs/grid
- # rm -rf /stagecrs/grid/log/<hostname>
- # rm -rf log/<hostname>
- # rm -rf gpnp/<hostname>
- # find gpnp -type f -exec rm -f {} \;
- # rm -rf root.sh*
- # rm -rf gpnp/*
- # rm -rf crs/init/*
- # rm -rf cdata/*
- # rm -rf crf/*
- # rm -rf network/admin/*.ora
- # find . -name '*.ouibak' -exec rm {} \;
- # find . -name '*.ouibak.1' -exec rm {} \;
- # find cfgtoollogs -type f -exec rm -f {} \;
- Create an archive of the source.
- # cd /stagecrs/grid
- # tar –zcvpf /tmp/crs111060.tgz .
- Restart Oracle Clusterware.
- # crsctl start crs
No comments:
Post a Comment