Operating System - HP-UX
1833894 Members
1582 Online
110063 Solutions
New Discussion

How to find scripts start/stop in one cluster's package

 
SOLVED
Go to solution
Carme Torca
Super Advisor

How to find scripts start/stop in one cluster's package

HI,

 

I would like to find the scripts that stops and starts the database that are in one cluster. But I cannot find it!!. Could someone help me?

 

 

The cluster is:

 

CLUSTER      STATUS
OPENVIEW     up

  NODE         STATUS       STATE
  hpov01      up           running

    PACKAGE      STATUS       STATE        AUTO_RUN     NODE
    pkg_OVO      up           running      enabled      hp9ov01

  NODE         STATUS       STATE
  hpov02     up           running


#cmviewcl -vp pkg_OVO

    PACKAGE      STATUS       STATE        AUTO_RUN     NODE
    pkg_OVO      up           running      enabled      hpov01

      Policy_Parameters:
      POLICY_NAME     CONFIGURED_VALUE
      Failover        configured_node
      Failback        manual

      Script_Parameters:
      ITEM       STATUS   MAX_RESTARTS  RESTARTS   NAME
      Service    uninitia            0         0   ov-server_service
      Subnet     up                                14.10.0.0

      Node_Switching_Parameters:
      NODE_TYPE    STATUS       SWITCHING    NAME
      Primary      up           enabled      hpov01      (current)
      Alternate    up           enabled      hpov02

 

In the /etc/cmcluster/pkg_OVO/ there is:

 

pkg_OVO.conf:# Package:                 pkg_OVO
pkg_OVO.conf:PACKAGE_NAME                       pkg_OVO
pkg_OVO.conf:RUN_SCRIPT                      /etc/cmcluster/pkg_OVO/pkg_OVO.cntl
pkg_OVO.conf:HALT_SCRIPT                     /etc/cmcluster/pkg_OVO/pkg_OVO.cntl


cat pkg_OVO.cntl

function customer_defined_run_cmds
{
        # Servidor OVO.
        /opt/OV/lbin/ovharg -start pkg_OVO
}

 

And what starts pkg_OVO with ovharg command?.

Thanks a lot of!

Carmen.

Users are not too bad ;-)
1 REPLY 1
Carme Torca
Super Advisor
Solution

Re: How to find scripts start/stop in one cluster's package

Is this:

 

/opt/OV/lbin/ovharg

 

I thought that it was a binary, but its one script. And its starts/stops all.

 

Thanks every one!

 

Users are not too bad ;-)