Yes, that worked - thanks!! Here are the steps: 1. lock and lock-in the node PL-3: amf-adm lock safAmfNode=PL-3,safAmfCluster=myAmfCluster amf-adm lock-in safAmfNode=PL-3,safAmfCluster=myAmfCluster
2. delete the SU mapped to PL_3: immcfg -d safSu=PL-3,safSg=NoRed,safApp=OpenSAF 3. delete PL-3 from the node group AllNodes: immcfg -m -a saAmfNGNodeList-=safAmfNode=PL-3,safAmfCluster=myAmfCluster safAmfNodeGroup=AllNodes,safAmfCluster=myAmfCluster Now, I found that if there is more than one payload node in the cluster, then you can delete the node in question from the PLs node group. However, if it's the last node in the PLs node group, you need to delete the node group. So, if not the last node in the PLs node group: 4. delete PL-3 from the PLs node group: immcfg -m -a saAmfNGNodeList-=safAmfNode=PL-3,safAmfCluster=myAmfCluster safAmfNodeGroup=PLs,safAmfCluster=myAmfCluster If it is the last node in the PLs node group, then step 4 is replaced by the following: immcfg -d safAmfNodeGroup=PLs,safAmfCluster=myAmfCluster 5. delete the PL-3 node: immcfg -d safAmfNode=PL-3,safAmfCluster=myAmfCluster ------------------------------ Message: 2 Date: Thu, 10 Mar 2016 14:49:36 +0530 From: praveen malviya <[email protected]> Subject: Re: [users] payload node deletion in a running cluster To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=windows-1252; format=flowed Delete the nodegroup itself as there are no more payload nodes in the cluster. immcfg -d safAmfNodeGroup=PLs,safAmfCluster=myAmfCluster then payload immcfg -d safAmfNode=PL-3,safAmfCluster=myAmfCluster Thanks Praveen On 09-Mar-16 6:21 PM, David Hoyt wrote: > Hi all, > > There are instructions for dynamically adding payloads to a running cluster > without stopping opensaf on any of the existing nodes. > I have yet to find instructions for dynamically deleting nodes from a running > cluster. > Can this be done? > > I'm using opensaf 4.6.0 and experimenting with a simple 3 node system: > SC SC-1 SC-1 > SC SC-2 SC-2 > PL PL-3 PL-3 > > I've tried using several immcfg commands with some success but when it comes > to deleting the payload node from the PLs node group, I encounter the > following: > > immcfg -m -a saAmfNGNodeList-=safAmfNode=PL-3,safAmfCluster=myAmfCluster > safAmfNodeGroup=PLs,safAmfCluster=myAmfCluster > error - saImmOmCcbObjectModify_2 FAILED: SA_AIS_ERR_INVALID_PARAM (7) > > and the corresponding log is generated: > > osafimmnd[852]: NO ERR_INVALID_PARAM: attr 'saAmfNGNodeList' has flag > SA_IMM_ATTR_INITIALIZED cannot modify to zero values > > Any ideas? > > Regards, > David > ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
