Changeset : 6901
Deletion of node group should be allowed, if node group is in locked-instantiation state.
SOLO:/opt/goahead/tetware/opensaffire/suites/avsv/infra # immcfg -d safAmfNodeGroup=BasicNG2,safAmfCluster=myAmfCluster
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
OI reports: IMM: Validation abort: Completed validation fails (ERR_BAD_OPERATION)
OI reports: 'safAmfNodeGroup=BasicNG2,safAmfCluster=myAmfCluster' can be deleted in locked or unlocked admin state
SOLO:/opt/goahead/tetware/opensaffire/suites/avsv/infra # amf-state ng
safAmfNodeGroup=SCs,safAmfCluster=myAmfCluster
saAmfNGAdminState=UNLOCKED(1)
safAmfNodeGroup=PLs,safAmfCluster=myAmfCluster
saAmfNGAdminState=UNLOCKED(1)
safAmfNodeGroup=AllNodes,safAmfCluster=myAmfCluster
saAmfNGAdminState=UNLOCKED(1)
safAmfNodeGroup=BasicNG2,safAmfCluster=myAmfCluster
saAmfNGAdminState=LOCKED-INSTANTIATION(3)
In the AMF PR doc, it is documented in : 2.2.10 Support for admin operations on Nodegroup.
Delete CCB operation is allowed on node group in LOCKED or UNLOCKED admin state and when node group is not undergoing any admin operation. Also deletion will not be allowed if any SU is mapped using nodegroup which means a nodegroup is configured as value of SU attribute saAmfSUHostNodeOrNodeGroup and this nodegroup is being deleted. So it is suggested that create a temporary new nodegroup for performing lock, shutdown and unlock and after completion of operation delete the same nodegroup.
Making this ticket as enhancement.
https://sourceforge.net/p/opensaf/mailman/message/34780702/
changeset: 7352:6525925b30fa
parent: 7350:2ed474037be5
user: praveen.malviya@oracle.com
date: Thu Mar 24 10:25:07 2016 +0530
summary: amfd: allow deletion of locked-in nodegroup [#1533]
changeset: 7353:a4da7c1e90b9
tag: tip
user: praveen.malviya@oracle.com
date: Thu Mar 24 10:25:28 2016 +0530
summary: amfd: remove duplicate node_sus_termstate_set() and make it member [#1533]
Related
Tickets:
#1533Updated AMF PR doc in change set:
changeset: 171:2680e0bca0f4
tag: tip
user: praveen.malviya@oracle.com
date: Mon Apr 11 13:07:17 2016 +0530
summary: amf: updated for enhancement [#1533]
Related
Tickets:
#1533