How do I display the status of the service groups in VCS?



  • To display the status of the service groups on the command line without updating the status:

    # hastatus -sum
    

    To display the status of the service groups on the command line with continual updating:

    # hastatus
    
    attempting to connect....connected
    
    
    
    group           resource             system               message
    
                                         mars1             RUNNING
    
                                         mars2             RUNNING
    
                                         mars3             RUNNING
    
                                         mars4             RUNNING
    
    ClusterService                       mars3             ONLINE
    
    ClusterService                       mars4             OFFLINE
    
    ClusterService                       mars1             OFFLINE
    
    ClusterService                       mars2             OFFLINE
    
    Network                              mars3             ONLINE
    
    Network                              mars4             ONLINE
    
    Network                              mars1             ONLINE
    
    Network                              mars2             ONLINE
    
    cvm                                  mars3             ONLINE
    
    cvm                                  mars4             ONLINE
    
    cvm                                  mars1             ONLINE
    
    cvm                                  mars2             ONLINE
    
    space_admin                      mars4             ONLINE
    
    space_admin                      mars3             OFFLINE
    
    space_cfscommon                      mars3             ONLINE
    
    space_cfscommon                      mars4             ONLINE
    
    space_cfscommon                      mars1             ONLINE
    
    space_cfscommon                      mars2             ONLINE
    
    space_ms01                      mars3             ONLINE
    
    space_ms01                      mars4             OFFLINE
    
    space_ms02                      mars4             ONLINE
    
    space_ms02                      mars3             OFFLINE
    
    spacef1_admin                      mars3             ONLINE
    
    spacef1_admin                      mars4             OFFLINE
    
    spacef1_cfscommon                      mars3             ONLINE
    
    spacef1_cfscommon                      mars4             ONLINE
    
    spacef1_cfscommon                      mars1             ONLINE
    
    spacef1_cfscommon                      mars2             ONLINE
    
    spacef1_ms01                      mars3             ONLINE
    
    spacef1_ms01                      mars4             OFFLINE
    
    spacef1_ms02                      mars4             ONLINE
    
    spacef1_ms02                      mars3             OFFLINE
    
    spacef2_admin                      mars3             ONLINE
    
    spacef2_admin                      mars4             OFFLINE
    
    spacef2_cfscommon                      mars3             ONLINE
    
    spacef2_cfscommon                      mars4             ONLINE
    
    spacef2_cfscommon                      mars1             ONLINE
    
    spacef2_cfscommon                      mars2             ONLINE
    
    spacef2_ms01                      mars3             ONLINE
    
    spacef2_ms01                      mars4             OFFLINE
    

Log in to reply
 

© Lightnetics 2024