cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

322
Views
10
Helpful
2
Replies
Highlighted
Beginner

Getting a processNode's database replication via AXL

Is there a way to get the DB replication(role) of a node in a CUCM cluster via AXL?  If so, which method would I use. I'm trying to determine if a node is a Publisher or a Subscriber.

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Getting a processNode's database replication via AXL

<listProcessNode> or <getProcessNode> will spell this out a little more clearly:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listProcessNode>
         <searchCriteria>
            <name>%</name>
         </searchCriteria>
         <returnedTags >
            <name></name>
            <description></description>
            <mac></mac>
            <ipv6Name></ipv6Name>
            <nodeUsage></nodeUsage>
            <lbmHubGroup></lbmHubGroup>
            <processNodeRole></processNodeRole>
         </returnedTags>
      </ns:listProcessNode>
   </soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <ns:listProcessNodeResponse xmlns:ns="http://www.cisco.com/AXL/API/11.5">
         <return>
            <processNode uuid="{00000000-1111-0000-0000-000000000000}">
               <name>EnterpriseWideData</name>
               <description/>
               <processNodeRole>CUCM Voice/Video</processNodeRole>
               <mac/>
               <ipv6Name/>
               <nodeUsage>Subscriber</nodeUsage>
               <lbmHubGroup/>
            </processNode>
            <processNode uuid="{CC39107B-A29F-4445-98A4-AE70D76CEC4C}">
               <name>DS-UCM115-1</name>
               <description/>
               <processNodeRole>CUCM Voice/Video</processNodeRole>
               <mac/>
               <ipv6Name/>
               <nodeUsage>Publisher</nodeUsage>
               <lbmHubGroup/>
            </processNode>
            <processNode uuid="{FD8EF6C3-4E51-82BE-1843-E50399F517E4}">
               <name>ds-cup11-5.cisco.com</name>
               <description/>
               <processNodeRole>CUCM IM and Presence</processNodeRole>
               <mac/>
               <ipv6Name/>
               <nodeUsage>Publisher</nodeUsage>
               <lbmHubGroup/>
            </processNode>
         </return>
      </ns:listProcessNodeResponse>
   </soapenv:Body>
</soapenv:Envelope>

View solution in original post

2 REPLIES 2
Cisco Employee

Re: Getting a processNode's database replication via AXL

Hi Adan,

 

If you request 'select * from processnode' using thin AXL, the nodeid with the lowest value is the publisher (assuming that your cluster have never been rebuild)

 

Regards,


David

Cisco Employee

Re: Getting a processNode's database replication via AXL

<listProcessNode> or <getProcessNode> will spell this out a little more clearly:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listProcessNode>
         <searchCriteria>
            <name>%</name>
         </searchCriteria>
         <returnedTags >
            <name></name>
            <description></description>
            <mac></mac>
            <ipv6Name></ipv6Name>
            <nodeUsage></nodeUsage>
            <lbmHubGroup></lbmHubGroup>
            <processNodeRole></processNodeRole>
         </returnedTags>
      </ns:listProcessNode>
   </soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <ns:listProcessNodeResponse xmlns:ns="http://www.cisco.com/AXL/API/11.5">
         <return>
            <processNode uuid="{00000000-1111-0000-0000-000000000000}">
               <name>EnterpriseWideData</name>
               <description/>
               <processNodeRole>CUCM Voice/Video</processNodeRole>
               <mac/>
               <ipv6Name/>
               <nodeUsage>Subscriber</nodeUsage>
               <lbmHubGroup/>
            </processNode>
            <processNode uuid="{CC39107B-A29F-4445-98A4-AE70D76CEC4C}">
               <name>DS-UCM115-1</name>
               <description/>
               <processNodeRole>CUCM Voice/Video</processNodeRole>
               <mac/>
               <ipv6Name/>
               <nodeUsage>Publisher</nodeUsage>
               <lbmHubGroup/>
            </processNode>
            <processNode uuid="{FD8EF6C3-4E51-82BE-1843-E50399F517E4}">
               <name>ds-cup11-5.cisco.com</name>
               <description/>
               <processNodeRole>CUCM IM and Presence</processNodeRole>
               <mac/>
               <ipv6Name/>
               <nodeUsage>Publisher</nodeUsage>
               <lbmHubGroup/>
            </processNode>
         </return>
      </ns:listProcessNodeResponse>
   </soapenv:Body>
</soapenv:Envelope>

View solution in original post

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here