No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

eSight V300R010C00 Maintenance Guide 07

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Managing Resource Groups

Managing Resource Groups

This topic describes how to manage resource groups using commands for routine maintenance on resource groups.

Bringing a Resource Group Online

This topic describes how to bring a resource group on the VCS online to enable the NMS and database resources start properly.

Prerequisites

The resource group must be enabled and not be frozen.

NOTE:
Procedure

In the SUSE Linux OS:

Bringing a resource group online

hagrp -online <service_group_name> -sys <hostname>
NOTE:

Run the following commands to check the status of the AppService resource group. Perform the subsequent operations only when the resource group is in ONLINE state.

hagrp -state <service_group_name> -sys <hostname>

Command example:

Bringing a resource group online:

hagrp -online AppService -sys Primaster

Check the status of the AppService resource group:

hagrp -state AppService -sys Primaster

Taking a Resource Group Offline

This operation enables you to take all resources in a resource group offline.

Prerequisites

The resource group is not frozen.

Procedure

In the SUSE Linux OS:

Taking a resource group offline:

hagrp -offline <service_group_name> -sys <hostname>
NOTE:

Run the following commands to check the status of the AppService resource group. Perform the subsequent operations only when the resource group is in OFFLINE state.

hagrp -state <service_group_name> -sys <hostname>

Command example:

Taking a resource group offline:

hagrp -offline AppService -sys Primaster

Check the status of the AppService resource group:

hagrp -state AppService -sys Primaster

Locking a Resource Group

This operation enables you to lock a resource group of the VCS. That is, lock all resources in the resource group for routine maintenance on the system.

Context

You need to lock resource groups for system maintenance. If a resource group is locked, you cannot bring it online, take it offline, or carry out the switchover.

Procedure

Run the following command to lock a resource group:

hagrp -freeze <service_group_name> [-persistent]

Command example:

hagrp -freeze AppService

Unlocking a Resource Group

This operation enables you to unlock a locked resource group of the VCS.

Procedure

Run the following command to unlock a resource group:

hagrp -unfreeze <service_group_name> [-persistent]

Command example:

hagrp -unfreeze AppService

Enabling a Resource Group

This operation enables you to enable a resource group of the VCS.

Procedure
  1. haconf -makerw
  2. hagrp -enable <service_group_name> [-sys hostname]

    Command example:

    hagrp -enable AppService

  3. haconf -dump -makero

Disabling a Resource Group

This operation enables you to disable a resource group of the VCS.

Procedure
  1. haconf -makerw
  2. hagrp -disable <service_group_name> [-sys hostname]

    Command example:

    hagrp -disable AppService

  3. haconf -dump -makero

Clearing a Resource Group Fault Flag

This operation enables you to clear a resource group fault flag of the VCS.

Procedure

Run the following command to clear a resource group fault flag:

hagrp -clear <service_group_name> [-sys hostname]

Command example:

hagrp -clear AppService

Translation
Download
Updated: 2019-06-30

Document ID: EDOC1100044373

Views: 24619

Downloads: 74

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next