Topic
  • 4 replies
  • Latest Post - ‏2016-12-09T20:33:25Z by HermannSW
Martin_Langlois
Martin_Langlois
10 Posts

Pinned topic Request Soma quiesce

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

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

  • HermannSW
    HermannSW
    7303 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/>

     

  • 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

  • Sateeshkumar
    Sateeshkumar
    1 Post

    Re: Request Soma quiesce

    ‏2016-12-09T06:43:53Z  

    Could you please help me for below my client requirement.

     

    Datapower expose as service to send certificate from cert or sharedCert folder in datapower  when my client consumer request is triggered if certificate replace the certificate , expired or place a new certificate. Can I achieve this functionality using SOMA call.

     

     

  • HermannSW
    HermannSW
    7303 Posts

    Re: Request Soma quiesce

    ‏2016-12-09T20:33:25Z  

    Could you please help me for below my client requirement.

     

    Datapower expose as service to send certificate from cert or sharedCert folder in datapower  when my client consumer request is triggered if certificate replace the certificate , expired or place a new certificate. Can I achieve this functionality using SOMA call.

     

     

    Please stop hijacking very old threads with different questions, create a new thread instead.