Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

[AIX] HACMP dual configuration

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report