Operating System - HP-UX
1836639 Members
1768 Online
110102 Solutions
New Discussion

Format of cmviewconf output

 
RAMAKRISHNA B.K.
Regular Visitor

Format of cmviewconf output

Hi,
I have a requirement to get the cluster nodes for a given package using "cmviewconf". (There is a command named "cmgetconf" but I am not supposed to use that).
For a n-node cluster, which contains a package configured with more than 1 alternate nodes what will be the output.
Will it be something like:
package primary node:node1
package alternate node: node2, node3, node4
or
package primary node: node1
package alternate node: node2
package alternate node: node3
package alternate node: node4

It would be of great help if somebody clarifies this.

TIA,
Ramki
1 REPLY 1
G. Vrijhoeven
Honored Contributor

Re: Format of cmviewconf output

THi,

I do not know the -n flag works but the cmviewconf output on a test server localy.

package ID 15365:
package name: lr006q13
package global flags: 4
(Package Local Switch Enabled)
(Configured Node Failover)
(Manual Failback)
package run script: /etc/cmcluster/lr006q13/lr006q13.cntl
package run timeout: (No Timeout)
package halt script: /etc/cmcluster/lr006q13/lr006q13.cntl
package halt timeout: (No Timeout)
package primary node: lr006b04
package alternate node: lr006b05
package subnet: 145.78.73.0

package services: (Not Defined)

HTH,

Gideon