I am using opensaf 4.4.0.  I have a cluster running on two machines both 
controllers.  In this cluster there's an SG called amfHAFDSG1.  This SG has two 
SUs called amfHAFDSU1.1 and amfHAFDSU1.2.  Each of these SUs have one component 
amfHAFDComp1.1.1 and amfHAFDComp1.2.1.  When these SUs are unlocked, one HAFD 
process starts on each machine.  The redundancy model is no redundancy.

I have a need to dynamicly add an extra SU called amfHAFDSU1.3 to amfHAFDSG1.  
The objects for amfHAFDSU1.3 are in a file called hafd13.xml (see contents of 
this file below).
I executed the following steps to add amfHAFDSU1.3 to the configuration:

1)      immcfg -a saAmfSGNumPrefInserviceSUs=3 safSg=amfHAFDSG1,safApp=olcApp

2)      immcfg -v -f hafd13.xml

No errors were issued by the immcfg command, immdump shows the amfHAFDSU1.3 
objects were added correctly, and the amf-state su command shows the 
amfHAFDSU1.3 SU is locked for instantiation.  However, when I unlock 
amfHAFDSU1.3, the HAFD process bounces and issues this healthcheck start error:
   SA_AIS_ERR_NOT_EXIST = 12,

This is confusing to me because I can delete the existing SU amfHAFDSU1.2, and 
use the same exact input (see below xml) file with the exception that the 1.3 
is changed to 1.2 and everything works correctly.  I.e. the amfHAFDSU1.2 
objects are added to the configuration and amfHAFDSU1.2 unlocks with out 
errors.  This only happens when I'm dynamicly adding a new SU.

I would appreciate any help solving this problem.

Thanks

Here's the input file I'm using:
<?xml version="1.0" encoding="UTF-8"?>
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"; 
xsi:noNamespaceSchemaLocation="SAI-AIS-IMM-XSD-A.01.01.xsd" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <!--  AMF Service Instance amfHAFDSI1.3  -->
    <object class="SaAmfSI">
        <dn>safSi=amfHAFDSI1.3,safApp=olcApp</dn>
        <attr>
            <name>saAmfSIRank</name>
            <value>1</value>
        </attr>
        <attr>
            <name>saAmfSvcType</name>
            <value>safVersion=v1,safSvcType=siBaseTypeNRRedundancy</value>
        </attr>
        <attr>
            <name>saAmfSIProtectedbySG</name>
            <value>safSg=amfHAFDSG1,safApp=olcApp</value>
        </attr>
    </object>
    <!--  AMF Service Unit safSu=amfHAFDSU1.3  -->
    <object class="SaAmfSU">
        <dn>safSu=amfHAFDSU1.3,safSg=amfHAFDSG1,safApp=olcApp</dn>
        <attr>
            <name>saAmfSURank</name>
            <value>1</value>
        </attr>
        <attr>
            <name>saAmfSUFailover</name>
            <value>1</value>
        </attr>
        <attr>
            <name>saAmfSUAdminState</name>
            <value>3</value>
        </attr>
        <attr>
            <name>saAmfSUType</name>
            <value>safVersion=v1,safSuType=suBaseTypeNRRedundancy</value>
        </attr>
        <attr>
            <name>saAmfSUHostNodeOrNodeGroup</name>
            <value>safAmfNode=siamang.monkey.lab,safAmfCluster=PA2BE</value>
        </attr>
    </object>
   <!--  AMF Component Service Instance  amfHAFDCompCSI1.3.1-->
    <object class="SaAmfCSI">
        <dn>safCsi=amfHAFDCompCSI1.3.1,safSi=amfHAFDSI1.3,safApp=olcApp</dn>
        <attr>
            <name>saAmfCSType</name>
            <value>safVersion=v1,safCSType=amfHAFDCompCSType</value>
        </attr>
    </object>
    <!--  AMF Component amfHAFDComp1.3.1-->
    <object class="SaAmfComp">
        
<dn>safComp=amfHAFDComp1.3.1,safSu=amfHAFDSU1.3,safSg=amfHAFDSG1,safApp=olcApp</dn>
        <attr>
            <name>saAmfCompInstantiateTimeout</name>
            <value>45000000000</value>
        </attr>
        <attr>
            <name>saAmfCompNumMaxInstantiateWithoutDelay</name>
            <value>2</value>
        </attr>
        <attr>
            <name>saAmfCompNumMaxInstantiateWithDelay</name>
            <value>3</value>
        </attr>
        <attr>
            <name>saAmfCompDelayBetweenInstantiateAttempts</name>
            <value>2000000000</value>
        </attr>
        <attr>
            <name>saAmfCompCleanupTimeout</name>
            <value>15000000000</value>
        </attr>
        <attr>
            <name>saAmfCompNumMaxAmStartAttempts</name>
            <value>2</value>
        </attr>
        <attr>
            <name>saAmfCompNumMaxAmStopAttempts</name>
            <value>2</value>
        </attr>
        <attr>
            <name>saAmfCompCSISetCallbackTimeout</name>
            <value>8000000000</value>
        </attr>
        <attr>
            <name>saAmfCompCSIRmvCallbackTimeout</name>
            <value>8000000000</value>
        </attr>
        <attr>
            <name>saAmfCompInstantiateCmdArgv</name>
            <value>PA2BE</value>
        </attr>
        <attr>
            <name>saAmfCompType</name>
            <value>safVersion=v1,safCompType=amfHAFDCompBaseType</value>
        </attr>
    </object>
    <object class="SaAmfCompCsType">
        
<dn>safSupportedCsType=safVersion=v1\,safCSType=amfHAFDCompCSType,safComp=amfHAFDComp1.3.1,safSu=amfHAFDSU1.3,safSg=amfHAFDSG1,safApp=olcApp</dn>
        <attr>
            <name>saAmfCompNumMaxActiveCSIs</name>
            <value>1</value>
        </attr>
        <attr>
            <name>saAmfCompNumMaxStandbyCSIs</name>
            <value>1</value>
        </attr>
    </object>
    <!--  AMF Component HealthCheck amfHAFDComp1.3.1-->
    <object class="SaAmfHealthcheckType">
        
<dn>safHealthcheckKey=amfHAFDCompHCKey1.3.1,safVersion=v1,safCompType=amfHAFDCompBaseType</dn>
        <attr>
            <name>saAmfHctDefPeriod</name>
            <value>4000000000</value>
        </attr>
        <attr>
            <name>saAmfHctDefMaxDuration</name>
            <value>8000000000</value>
        </attr>
    </object>
</imm:IMM-contents>




________________________________
The information transmitted herein is intended only for the person or entity to 
which it is addressed and may contain confidential, proprietary and/or 
privileged material. Any review, retransmission, dissemination or other use of, 
or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
in error, please contact the sender and delete the material from any computer.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to