Get the App
SLTechnology News&Howtos  ›  Servers  › 

[AIX] HACMP dual configuration

Shulou Source: shulou.com Published: 2022-06-02 00:42:43 10月01日 Update

1 、 smitty clstart

Start the HA dual computer

2 、 smitty clstop

Stop HA dual computers

3. Stopsrc-s dual-machine process name

Stop a single HA dual process

4. Startsrc-s dual-machine process name

Start a single HA dual process

Debug HACMP Command reference

In order to test, you may need to suspend the monitoring function of HACMP, or perform similar operations without stopping HACMP. HACMP5.2 has provided similar functions, which can be used in both computers.

Online activates the running resource group.

# smitty hacmp

Select "System Management (C-SPOC) > HACMP Resource Group and Application Management > Bring a Resource Group Online".

Offline stops running the resource group.

# smitty hacmp

Select "System Management (C-SPOC) > HACMP Resource Group and Application Management > Bring a Resource Group Offline".

Move switches the resource group to another node.

# smitty hacmp

Select "System Management (C-SPOC) > HACMP Resource Group and Application Management > Move a Resource Group to Another Node".

For a single resource group, it is equivalent to the so-called dual-machine spontaneous handover, which is equivalent to the switchflag function.

Suspend/Resume suspends / resumes application monitoring.

# smitty hacmp

Select "System Management (C-SPOC) > HACMP Resource Group and Application Management > Move a Resource Group to Another Node > Suspend/ Resume Application Monitoring".

For the system, it is equivalent to haltflag function.

Analysis application availability.

# smitty hacmp

Select "System Management (C-SPOC) > HACMP Resource Group and Application Management > Application Availability Analysis".

This feature is used to see if there is a problem with the application after a period of time.

Backup restores the HACMP configuration.

Back up the HACMP configuration

# smitty hacmp

Select "Extended Configuration > Snapshot Configuration > Add a Cluster Snapshot".

Enter the file name after the backup in the "Cluster Snapshot Name" field, enter the backup description in the "Cluster Snapshot Description" field, and press "Enter".

Restore HACMP configuration

# smitty hacmp

Select "Extended Configuration > Snapshot Configuration > Apply a Cluster Snapshot".

Select the name of the file to be restored, confirm the description of the file at the time of backup, and press "Enter".

Other common commands.

The remaining functional menu items provided by HACMP5.2 are not repeated here, and the following common viewing commands are given, as shown in Table 1.

Table 1 Common commands

Meaning

# / usr/sbin/cluster/utilities/clfindres

Check the dual-computer resource status of the system.

# / usr/sbin/cluster/utilities/cllscf

Check the dual network configuration of the system.

# / usr/es/sbin/cluster/utilities/clshowres-nasty flrdbsrv2'

Check the configuration of a node for the dual-computer resources of the system.

# / usr/es/sbin/cluster/utilities/clshowres-GroupPress'

Check the configuration of the dual-computer resources of the system and the configuration of a resource group.

# clshowres

Check the configuration of all system dual-computer resources.

Tags: Dual computer resource configuration selection function system command backup situation process run common file resource configuration switch application single field file name node Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi OPPO Reno Huawei Redmi Docker