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 V300R010C00SPC200, 300, and 500 Local HA System Software Installation Guide (SUSE Linux + Oracle + Veritas) 11

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 Group

Managing Resource Group

Bringing a Resource Group Online

This section describes how to bring VCS resource groups online, ensuring the normal start of NMS and database resources.

Prerequisites

The resource group is enabled and not frozen.

Procedure

In the SUSE Linux OS:

Bring a resource group online:

hagrp -online <Resource group name> -sys <Server host name>

Run the following command to check the status of the resource group. Perform subsequent operations after ensuring that the resource is online:

hagrp -state <Resource group name> -sys <Server host name>

Command example:

Command for bringing a resource group online:

hagrp -online AppService -sys Primaster

Command for querying the status of a 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>

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

Download
Updated: 2019-12-13

Document ID: EDOC1100044372

Views: 38336

Downloads: 26

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next