campaign example:

          <softwareBundle name="safSmfBundle=BundleA">
            <removal>
              <offline command="/hostfs/smf-bundle-cmd" 
args="BundleA_offline_remove" saSmfBundleRemoveOfflineScope="1" />
              <online command="/hostfs/smf-bundle-cmd" 
args="BundleA_online_remove" />
            </removal>
            <installation>
              <offline command="/hostfs/smf-bundle-cmd" 
args="BundleA_offline_install" saSmfBundleInstallOfflineScope="1" />
              <online command="/hostfs/smf-bundle-cmd" 
args="BundleA_online_install" />
            </installation>
            <defaultCliTimeout saSmfBundleDefaultCmdTimeout="60000000000" />
          </softwareBundle>
          
.... same for all BundleB and so on ...

     <upgradeProcedure safSmfProcedure="safSmfProc=SwInstall_PL_2_3" 
saSmfExecLevel="2020">
        <outageInfo>
          <acceptableServiceOutage>
            <all/>
          </acceptableServiceOutage>
          <procedurePeriod saSmfProcPeriod="1200000000000"/>
        </outageInfo>
        <upgradeMethod>
          <singleStepUpgrade>
            <upgradeScope>
              <forAddRemove>
                <deactivationUnit/>
                <activationUnit>
                  <swAdd bundleDN="safSmfBundle=BundleA" pathnamePrefix="/opt">
                    <plmExecEnv 
amfNode="safAmfNode=PL-3,safAmfCluster=myAmfCluster"/>
                  </swAdd>
                  <swAdd bundleDN="safSmfBundle=BundleB" pathnamePrefix="/opt">
                    <plmExecEnv 
amfNode="safAmfNode=PL-3,safAmfCluster=myAmfCluster"/>
                  </swAdd>
....

               </activationUnit>
              </forAddRemove>
            </upgradeScope>
            <upgradeStep/>
          </singleStepUpgrade>
        </upgradeMethod>
      </upgradeProcedure>
      
... same for other procedures just change safAmfNode but keep execLevel ...




---

** [tickets:#2288] smf: admin owner err_exist on parallel procedures**

**Status:** assigned
**Milestone:** 5.2.FC
**Created:** Fri Feb 03, 2017 01:42 PM UTC by Rafael
**Last Updated:** Fri Feb 03, 2017 01:42 PM UTC
**Owner:** Rafael


Create a campaign containing several single step procedures that install 
several bundles. If the procedures are on the same saSmfExecLevel the campaign 
will sometimes fail because of conflicting admin owner on IMM object. 

[SmfImmOperation.cc:0445] TR 
SmfImmCreateOperation::execute:saImmOmAdminOwnerSet failed SA_AIS_ERR_EXIST




---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to