Common Operation steps and related commands for HP UNIX

Source: Internet
Author: User
Activate the lock: vgchange-A y/dev/vglock
Activate the lock Disk: vgchange-a n/dev/vglock
Compile and generate a binary configuration file: # cmapplyconf-v-C/etc/cmcluster. ASC configure the dual-host software package to modify the following main files: scupkg. ASC control. Sh spy. Sh
Synchronize the PKG configuration file on both nodes
Compile and generate PKG: cmapplyconf-v-P/etc/cmcluster/scupkg. ASC to start the dual-host system: perform the following operations on scu_a as the root user: SCU % Su-Root
# Cmruncl-v-F-N scu_a
# Cmviewcl
Confirm that the cluster is started on scu_a and then perform the following operations: # cmrunnode-V scu_ B
# Cmviewcl-vcluster starts to run normally and scu_ B is added to the cluster. The following figure shows the cluster status.
Hpcluster up
Node status
Scu_a up running
Scu_ B up running
Package status state pkg_switch Node
Scupkg up running enabled scu_a if all goes well, the status of each node should be running, and the package status should be up. Common commands for HP dual-Host: 1. cmruncl-F-v-N node_name (for example, scp1) // start cluster2, cmhaltcl-V // stop cluster3, cmrunnode-V node_name // Add the node to cluster4, cmhaltnode-V node_name // The Node exits cluster5, cmrunpkg-V package_name (such as scppkg)) // run the Software Package 6 and cmmodpkg-e-v package_name (the package can be switched) // modify the software package switch flag 7, cmhaltpkg-V package_name // stop the software package 8, cmviewcl-v-P package_name (smppkg) // check the dual-host status 9, cmcheckconf [-V] [-C cluster_ascii_file] [-P pkg_ascii_file] // check the dual-host configuration and package Configuration
10. cmapplyconf [-V] [-C cluster_ascii_file] [-P pkg_ascii_file] // compile and generate a dual-host configuration file, including the configuration file 11 and ,. /spy. sh auto_recover standby)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.