Pin and Unpin a node

Pin and Unpin a node

[root@grac42 ~]# olsnodes -n -i -s -t
grac42    1    192.168.1.223    Active    Pinned
grac43    2    192.168.1.225    Active    Unpinned
[root@grac42 ~]#  crsctl unpin  css -n grac42
CRS-4667: Node grac42 successfully unpinned.
[root@grac42 ~]#  olsnodes -n -i -s -t
grac42    1    192.168.1.223    Active    Unpinned
grac43    2    192.168.1.225    Active    Unpinned

Do not delete/reconfigure a node when the node is in  Unpinned status

[root@grac42 ~]# olsnodes -s -t
grac41    Inactive    Pinned
grac42    Active    Unpinned
grac43    Active    Unpinned

Trying to recover by running  crsctl delete node 
[root@grac43 app]#  crsctl delete node -n grac41
CRS-4661: Node grac41 successfully deleted.

[root@grac43 app]#  olsnodes -s -t
grac41    Inactive     Pinned
grac42    Active    Unpinned
grac43    Active    Unpinned

--> You can only UNPIN the Node if the CRS stack is up and running on that node

Summary

  • Node is still pinned and can’t be added to the cluster anymore
  • Even Delete Node doesn’t cleanup the Inactive and Pinned Node grac41
  • The only solution is to recreate  the OCR from scratch

Reference

  • Bug 16788764 : 12.1SH0506: UNABLE TO RUN ADDNODE OF AN INACTIVE/PINNED NODE
  • Bug 16971369 : ON OCCASIONS NODE DELETE FOLLOWING GRID DECONFIG CAUSES NODE TO BE PINNED

Leave a Reply

Your email address will not be published. Required fields are marked *