Topic
  • 2 replies
  • Latest Post - ‏2013-08-08T05:27:33Z by 9XPM_Renato_Zancoper
Martin_Langlois
Martin_Langlois
9 Posts

Pinned topic Request Soma quiesce

‏2013-06-13T13:58:21Z |

Hi, I use a resquest soma to deploy my domain and i would like to put the domain in a quiesce mode before import my domain and unquiesce but I can not find the soap request to quiesce and unquiesce a domain

 

Can anybody help me?

 

Thank

Updated on 2013-06-13T13:58:32Z at 2013-06-13T13:58:32Z by Martin_Langlois
  • HermannSW
    HermannSW
    6128 Posts

    Re: Request Soma quiesce

    ‏2013-06-14T22:28:11Z  

    Hi,

    posting XML Management sample requests talks on how to get all sample requests:
    https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/xml_management_sample_requests36

    The link at posting bottom gives all sample requests for a Böblingen lab XI52 at 5.0.0 firmware:
    http://www.stamm-wilbrandt.de/en/blog/firestar-xml-mgmt-wsdl-soapui-requests.xml

    From that file:

    ...
             <man:do-action>
    ...
                <DomainQuiesce>
                   <name>?</name>
                   <timeout>?</timeout>
                </DomainQuiesce>

                <DomainUnquiesce>
                   <name>?</name>
                </DomainUnquiesce>
    ...

                <Quiesce>
                   <Interface class="?">?</Interface>
                </Quiesce>

                <QuiesceDP>
                   <timeout>?</timeout>
                </QuiesceDP>
    ...
                <ServiceQuiesce>
                   <type>?</type>
                   <name>?</name>
                   <timeout>?</timeout>
                </ServiceQuiesce>

                <ServiceStatusQuiesce>
                   <type>?</type>
                   <name>?</name>
                   <fehtype>?</fehtype>
                   <fehname>?</fehname>
                   <timeout>?</timeout>
                </ServiceStatusQuiesce>

                <ServiceStatusUnquiesce>
                   <type>?</type>
                   <name>?</name>
                   <fehtype>?</fehtype>
                   <fehname>?</fehname>
                </ServiceStatusUnquiesce>

                <ServiceUnquiesce>
                   <type>?</type>
                   <name>?</name>
                </ServiceUnquiesce>

    ...
                <Unquiesce>
                   <Interface class="?">?</Interface>
                </Unquiesce>

                <UnquiesceDP/>
    ...
         </man:do-action>...


     

    For details see "store:///xml-mgmt.xsd", eg. "ActionDomainQuiesce". 

    Sample:

    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
      <env:Body>
        <dp:request domain="default"
          xmlns:dp="http://www.datapower.com/schemas/management"
        >
          <dp:do-action>
            <UnquiesceDP/>
          </dp:do-action>
        </dp:request>
      </env:Body>
    </env:Envelope>

     

    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>

     

    Updated on 2013-06-14T22:39:14Z at 2013-06-14T22:39:14Z by HermannSW
  • 9XPM_Renato_Zancoper
    6 Posts

    Re: Request Soma quiesce

    ‏2013-08-08T05:27:33Z  
    • HermannSW
    • ‏2013-06-14T22:28:11Z

    Hi,

    posting XML Management sample requests talks on how to get all sample requests:
    https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/xml_management_sample_requests36

    The link at posting bottom gives all sample requests for a Böblingen lab XI52 at 5.0.0 firmware:
    http://www.stamm-wilbrandt.de/en/blog/firestar-xml-mgmt-wsdl-soapui-requests.xml

    From that file:

    ...
             <man:do-action>
    ...
                <DomainQuiesce>
                   <name>?</name>
                   <timeout>?</timeout>
                </DomainQuiesce>

                <DomainUnquiesce>
                   <name>?</name>
                </DomainUnquiesce>
    ...

                <Quiesce>
                   <Interface class="?">?</Interface>
                </Quiesce>

                <QuiesceDP>
                   <timeout>?</timeout>
                </QuiesceDP>
    ...
                <ServiceQuiesce>
                   <type>?</type>
                   <name>?</name>
                   <timeout>?</timeout>
                </ServiceQuiesce>

                <ServiceStatusQuiesce>
                   <type>?</type>
                   <name>?</name>
                   <fehtype>?</fehtype>
                   <fehname>?</fehname>
                   <timeout>?</timeout>
                </ServiceStatusQuiesce>

                <ServiceStatusUnquiesce>
                   <type>?</type>
                   <name>?</name>
                   <fehtype>?</fehtype>
                   <fehname>?</fehname>
                </ServiceStatusUnquiesce>

                <ServiceUnquiesce>
                   <type>?</type>
                   <name>?</name>
                </ServiceUnquiesce>

    ...
                <Unquiesce>
                   <Interface class="?">?</Interface>
                </Unquiesce>

                <UnquiesceDP/>
    ...
         </man:do-action>...


     

    For details see "store:///xml-mgmt.xsd", eg. "ActionDomainQuiesce". 

    Sample:

    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
      <env:Body>
        <dp:request domain="default"
          xmlns:dp="http://www.datapower.com/schemas/management"
        >
          <dp:do-action>
            <UnquiesceDP/>
          </dp:do-action>
        </dp:request>
      </env:Body>
    </env:Envelope>

     

    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>

     

    Hey Herman,

    looking to your post I was able to quiesce/unquiesce an xmlfw service using:

                <ServiceQuiesce>
                   <type>?</type>
                   <name>?</name>
                   <timeout>?</timeout>
                </ServiceQuiesce>

                <ServiceUnquiesce>
                   <type>?</type>
                   <name>?</name>
                </ServiceUnquiesce>

    however, I didn't realize how to check the current status ... on both, <ServiceStatusQuiesce> and<ServiceStatusUnquiesce> there are 2 additional fields that I did not got what they mean (<fehtype> and <fehname>) and on <ServiceStatusQuiesce> it also ask for a time-out, what does not make much sense when we are just asking for the current status.

    What I am looking for is something equivalent then the CLI command show xmlfirewall-quiesce-status, where I can easily see the xmlfw quiesce status. How can I achieve that?

     

    Regards

    Renato