Forum Discussion

latheefp's avatar
latheefp
Level 1
13 years ago

Unable to start CVM

 

When i tried to confgire cvm, i am getting error like its reunning, but status is showing as cvm is not running. Please help on this.
 
root@node1#  cfscluster status
  NODE         CLUSTER MANAGER STATE            CVM STATE
node1          running                        not-running
node2          running                        not-running
 
  Error: V-35-41: Cluster not configured for data sharing application
 
root@node1# cfscluster config
                ERROR: /usr/lib/vxvm/bin/vxcvmconfig: The local node is a member of CVM cluster.
                Shutdown the CVM Cluster before proceeding.

root@node1# cfscluster unconfig
  Warning: Cluster file system configuration already removed OR Cluster not configured
  Checking for Cluster volume manager configuration
  Error: V-35-146: Cluster configuration already removed OR Cluster not configured
  • Hi

    The cfscluster command appears to be failing as it thinks some of the components are already configured.

    Can you verify the state of CVM on both the nodes

    vxdctl -c mode

    Also what is the status of the cvm service group in VCS ?

    This info will be in "hastatus -sum"

     

3 Replies

  • Hi

    The cfscluster command appears to be failing as it thinks some of the components are already configured.

    Can you verify the state of CVM on both the nodes

    vxdctl -c mode

    Also what is the status of the cvm service group in VCS ?

    This info will be in "hastatus -sum"

     

  • Hi Tony

     

    I have the a similar kind of problem. The state of the CVM is not running. can you pls advise.

     

     

    [root@SGLABRHC01 ~]# cfscluster status
     
      Node             :  SGLABRHC01
      Cluster Manager  :  running
      CVM state        :  not-running
      No mount point registered with cluster configuration
     
     
      Node             :  SGLABRHC02
      Cluster Manager  :  running
      CVM state        :  not-running
      No mount point registered with cluster configuration
     
    [root@SGLABRHC01 ~]# vxdctl -c mode
    mode: enabled: cluster active - MASTER
    master: SGLABRHC01
    [root@SGLABRHC01 ~]# /etc/vx/bin/vxclustadm nidmap
    Name                             CVM Nid    CM Nid     State
    SGLABRHC01                       1          0          Joined: Master
    SGLABRHC02                       0          1          Joined: Slave
    [root@SGLABRHC01 ~]# /etc/vx/bin/vxclustadm -v nodestate
    state: cluster member
            nodeId=0
            masterId=0
            neighborId=1
            members[0]=0x3
            joiners[0]=0x0
            leavers[0]=0x0
            members[1]=0x0
            joiners[1]=0x0
            leavers[1]=0x0
            reconfig_seqnum=0x462a31
            vxfen=on
    [root@SGLABRHC01 ~]#  hastatus -sum
     
    -- SYSTEM STATE
    -- System               State                Frozen
     
    A  SGLABRHC01           RUNNING              0
    A  SGLABRHC02           RUNNING              0
     
    -- GROUP STATE
    -- Group           System               Probed     AutoDisabled    State
     
    B  cvm             SGLABRHC01           Y          N               ONLINE
    B  cvm             SGLABRHC02           Y          N               ONLINE
    [root@SGLABRHC01 ~]#
  • Hi Latheef,

    cfscluster is just a shell script which uses below commands to check on cluster manager and cvm status respectively.

    hasys -value <nodename> SysState

    ; if above is Running, cfscluster status shows running for that node, if not, status is not-running

     

    hares -value cvm_clus State <nodename>

    ; if above is ONLINE, cfscluster status shows running for that node, if not, status is not-running.

     

    Please check for above commands for both the nodes and let us know the status.

    Regards,

    ~Anoop