GPnP Profile Inside: pending.xml always creates, whether profile.xml exists or not:
Practical 1 : Stop and start crs after removing profile.xml:
Step1: Renamed profile.xml to profile.paw :
[grid@paw-racnode1 ~]$ cd /u01/app/11.2.0/grid/gpnp/paw-racnode1/profiles/peer/
[grid@paw-racnode1 peer]$ ll
total 12
-rw-r–r– 1 grid oinstall 1905 Aug 7 13:57 profile.old
-rw-r–r– 1 grid oinstall 1839 Aug 7 13:55 profile_orig.xml
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:14 profile.xml
[grid@paw-racnode1 peer]$ pwd
/u01/app/11.2.0/grid/gpnp/paw-racnode1/profiles/peer
[grid@paw-racnode1 peer]$ gpnptool get
Warning: some command line parameters were defaulted. Resulting command line:
/u01/app/11.2.0/grid/bin/gpnptool.bin get -o-
ClusterName=”paw-rac-cluster” PALocation=””> HIz8dOjUIFB32YPkmXW2HMVazoY=L6GOD0rB03Hp+NoKVcIHb9/Rp3xznBKpUJGfixN/27Qo6IL8/4HkjSnzsbHf1IuK1SQfqV5624tygB0x9HJfVcW+k6E6cQWwAgZOzpPR3ltctD7XeikkXtt5TOWQ6boMvCKJ5mOwzGzuj4S/qDu7lWPBHM9EPzHAEn/8NOlDcDo=
Success.
[grid@paw-racnode1 peer]$ mv profile.xml profile.paw
[grid@paw-racnode1 peer]$ ll
total 12
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:14 profile.paw
-rw-r–r– 1 grid oinstall 1905 Aug 7 13:57 profile.old
-rw-r–r– 1 grid oinstall 1839 Aug 7 13:55 profile_orig.xml
Step2: Stop crs after removing profile.xml:
[grid@paw-racnode1 peer]$ su –
Password:
[root@paw-racnode1 ~]# crsctl stop crs
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.crsd’ on ‘paw-racnode1’
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.OCR_DG.dg’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.orcl.db’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.racdb.db’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.registry.acfs’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.LISTENER.lsnr’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.LISTENER_SCAN3.lsnr’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.LISTENER_SCAN2.lsnr’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.LISTENER_SCAN3.lsnr’ on ‘paw-racnode1’ succeeded
CRS-2673: Attempting to stop ‘ora.scan3.vip’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.LISTENER.lsnr’ on ‘paw-racnode1’ succeeded
CRS-2673: Attempting to stop ‘ora.paw-racnode1.vip’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.scan3.vip’ on ‘paw-racnode1’ succeeded
CRS-2672: Attempting to start ‘ora.scan3.vip’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.paw-racnode1.vip’ on ‘paw-racnode1’ succeeded
CRS-2672: Attempting to start ‘ora.paw-racnode1.vip’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.LISTENER_SCAN2.lsnr’ on ‘paw-racnode1’ succeeded
CRS-2673: Attempting to stop ‘ora.scan2.vip’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.scan2.vip’ on ‘paw-racnode1’ succeeded
CRS-2672: Attempting to start ‘ora.scan2.vip’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.registry.acfs’ on ‘paw-racnode1’ succeeded
CRS-2676: Start of ‘ora.paw-racnode1.vip’ on ‘paw-racnode2’ succeeded
CRS-2676: Start of ‘ora.scan2.vip’ on ‘paw-racnode2’ succeeded
CRS-2676: Start of ‘ora.scan3.vip’ on ‘paw-racnode2’ succeeded
CRS-2672: Attempting to start ‘ora.LISTENER_SCAN2.lsnr’ on ‘paw-racnode2’
CRS-2672: Attempting to start ‘ora.LISTENER_SCAN3.lsnr’ on ‘paw-racnode2’
CRS-2676: Start of ‘ora.LISTENER_SCAN3.lsnr’ on ‘paw-racnode2’ succeeded
CRS-2676: Start of ‘ora.LISTENER_SCAN2.lsnr’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.OCR_DG.dg’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.racdb.db’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.orcl.db’ on ‘paw-racnode1’ succeeded
CRS-2673: Attempting to stop ‘ora.DATA.dg’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.FRA.dg’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.DATA.dg’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.FRA.dg’ on ‘paw-racnode1’ succeeded
CRS-2673: Attempting to stop ‘ora.asm’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.asm’ on ‘paw-racnode1’ succeeded
CRS-2673: Attempting to stop ‘ora.ons’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.eons’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.ons’ on ‘paw-racnode1’ succeeded
CRS-2673: Attempting to stop ‘ora.net1.network’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.net1.network’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.eons’ on ‘paw-racnode1’ succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on ‘paw-racnode1’ has completed
CRS-2677: Stop of ‘ora.crsd’ on ‘paw-racnode1’ succeeded
CRS-2673: Attempting to stop ‘ora.gpnpd’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.cssdmonitor’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.ctssd’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.evmd’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.asm’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.mdnsd’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.drivers.acfs’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.cssdmonitor’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.gpnpd’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.evmd’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.mdnsd’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.ctssd’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.drivers.acfs’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.asm’ on ‘paw-racnode1’ succeeded
CRS-2673: Attempting to stop ‘ora.cssd’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.cssd’ on ‘paw-racnode1’ succeeded
CRS-2673: Attempting to stop ‘ora.diskmon’ on ‘paw-racnode1’
CRS-2673: Attempting to stop ‘ora.gipcd’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.gipcd’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.diskmon’ on ‘paw-racnode1’ succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ‘paw-racnode1’ has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@paw-racnode1 ~]# cd /u01/app/11.2.0/grid/gpnp/paw-racnode1/profiles/peer/
[root@paw-racnode1 peer]# ll
total 12
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:14 profile.paw
-rw-r–r– 1 grid oinstall 1905 Aug 7 13:57 profile.old
-rw-r–r– 1 grid oinstall 1839 Aug 7 13:55 profile_orig.xml
Step3: Start the crs :
[root@paw-racnode1 peer]# crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
Step4: Check whether pending.xml created:
[root@paw-racnode1 peer]# ll
total 16
-rw-r–r– 1 grid oinstall 1905 Nov 28 16:23 pending.xml
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:14 profile.paw
-rw-r–r– 1 grid oinstall 1905 Aug 7 13:57 profile.old
-rw-r–r– 1 grid oinstall 1839 Aug 7 13:55 profile_orig.xml
[root@paw-racnode1 peer]# cat pending.xml
HIz8dOjUIFB32YPkmXW2HMVazoY=L6GOD0rB03Hp+NoKVcIHb9/Rp3xznBKpUJGfixN/27Qo6IL8/4HkjSnzsbHf1IuK1SQfqV5624tygB0x9HJfVcW+k6E6cQWwAgZOzpPR3ltctD7XeikkXtt5TOWQ6boMvCKJ5mOwzGzuj4S/qDu7lWPBHM9EPzHAEn/8NOlDcDo=
Step5: Check after some time, whether pending.xml exist:
[root@paw-racnode1 peer]# ll
total 16
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:14 profile.paw
-rw-r–r– 1 grid oinstall 1905 Aug 7 13:57 profile.old
-rw-r–r– 1 grid oinstall 1839 Aug 7 13:55 profile_orig.xml
Conclusion 1: Whenever GPnP profile is not present, it is automatically copied from existing nodes by GPnPd as pending.xml. As you can see entries are same as was in profile.xml. This pending.xml automatically disappears , when all services and resources of cluster comes up.
[root@paw-racnode1 peer]# crsctl check cluster -all
**************************************************************
paw-racnode1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
paw-racnode2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
Practical 2: Stop and start crs without removing profile.xml:
Step1: Check whether profile.xml exist:
[grid@paw-racnode2 ~]$ su –
Password:
[root@paw-racnode2 ~]# cd /u01/app/11.2.0/grid/gpnp/paw-racnode2/profiles/peer
[root@paw-racnode2 peer]# ll
total 12
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:05 profile.old
-rw-r–r– 1 grid oinstall 1839 Aug 7 14:05 profile_orig.xml
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:14 profile.xml
Step2: Stop the crs without removing profile.xml
[root@paw-racnode2 peer]# crsctl stop crs
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.crsd’ on ‘paw-racnode2’
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.OCR_DG.dg’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.VOTE_DG.dg’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.VOTE_EXT.dg’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.VOTE_HI.dg’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.racdb.db’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.registry.acfs’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.LISTENER.lsnr’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.LISTENER_SCAN2.lsnr’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.LISTENER_SCAN3.lsnr’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.LISTENER_SCAN3.lsnr’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.scan3.vip’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.LISTENER_SCAN2.lsnr’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.scan2.vip’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.scan3.vip’ on ‘paw-racnode2’ succeeded
CRS-2672: Attempting to start ‘ora.scan3.vip’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.scan2.vip’ on ‘paw-racnode2’ succeeded
CRS-2672: Attempting to start ‘ora.scan2.vip’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.LISTENER.lsnr’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.paw-racnode2.vip’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.paw-racnode2.vip’ on ‘paw-racnode2’ succeeded
CRS-2672: Attempting to start ‘ora.paw-racnode2.vip’ on ‘paw-racnode1’
CRS-2677: Stop of ‘ora.VOTE_EXT.dg’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.registry.acfs’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.VOTE_HI.dg’ on ‘paw-racnode2’ succeeded
CRS-2676: Start of ‘ora.paw-racnode2.vip’ on ‘paw-racnode1’ succeeded
CRS-2676: Start of ‘ora.scan2.vip’ on ‘paw-racnode1’ succeeded
CRS-2676: Start of ‘ora.scan3.vip’ on ‘paw-racnode1’ succeeded
CRS-2672: Attempting to start ‘ora.LISTENER_SCAN2.lsnr’ on ‘paw-racnode1’
CRS-2672: Attempting to start ‘ora.LISTENER_SCAN3.lsnr’ on ‘paw-racnode1’
CRS-2676: Start of ‘ora.LISTENER_SCAN3.lsnr’ on ‘paw-racnode1’ succeeded
CRS-2676: Start of ‘ora.LISTENER_SCAN2.lsnr’ on ‘paw-racnode1’ succeeded
CRS-2677: Stop of ‘ora.OCR_DG.dg’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.VOTE_DG.dg’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.racdb.db’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.DATA.dg’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.FRA.dg’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.FRA.dg’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.DATA.dg’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.asm’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.asm’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.eons’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.ons’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.ons’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.net1.network’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.net1.network’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.eons’ on ‘paw-racnode2’ succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on ‘paw-racnode2’ has completed
CRS-2677: Stop of ‘ora.crsd’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.cssdmonitor’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.ctssd’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.evmd’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.asm’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.drivers.acfs’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.mdnsd’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.cssdmonitor’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.mdnsd’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.ctssd’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.evmd’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.drivers.acfs’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.asm’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.cssd’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.cssd’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.gpnpd’ on ‘paw-racnode2’
CRS-2673: Attempting to stop ‘ora.diskmon’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.gpnpd’ on ‘paw-racnode2’ succeeded
CRS-2673: Attempting to stop ‘ora.gipcd’ on ‘paw-racnode2’
CRS-2677: Stop of ‘ora.gipcd’ on ‘paw-racnode2’ succeeded
CRS-2677: Stop of ‘ora.diskmon’ on ‘paw-racnode2’ succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ‘paw-racnode2’ has completed
CRS-4133: Oracle High Availability Services has been stopped.
Step 3: Start the crs:
[root@paw-racnode2 peer]# crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
Step 4: Check whether pending.xml created:
[root@paw-racnode2 peer]# ll
total 16
-rw-r–r– 1 grid oinstall 1905 Nov 28 17:14 pending.xml
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:05 profile.old
-rw-r–r– 1 grid oinstall 1839 Aug 7 14:05 profile_orig.xml
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:14 profile.xml
Step5: Check after some time, whether pending.xml exist:
[root@paw-racnode2 peer]# ll
total 12
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:05 profile.old
-rw-r–r– 1 grid oinstall 1839 Aug 7 14:05 profile_orig.xml
-rw-r–r– 1 grid oinstall 1905 Aug 7 14:14 profile.xml
Attached Image to justify My Practical:
Final Conclusion: GPnPd always creates pending.xml, whether profile.xml exist or not. This pending.xml automatically disappears, when all services and resources of cluster comes up.