Hp-ux cluster, Memory note, hp-ux note

Source: Internet
Author: User

Hp-ux cluster, Memory note, hp-ux note

----- View hp Cluster status information

# Cmviewcl-v

CLUSTER STATUS
Dbsvr up

NODE STATUS STATE
Db01 up running

Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/Dev/vglock/dev/dsk/c6t0d1 up

Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/0/6/1/0 lan3
PRIMARY up 0/0/12/1/0 lan4
STANDBY up 0/0/14/1/0 lan5

Package status state AUTO_RUN NODE
Pkg1 up running enabled db01

Policy_Parameters:
Yy_name CONFIGURED_VALUE
Failover configured_node
Failback manual

Script_Parameters:
Item status MAX_RESTARTS RESTARTS NAME
Service unknown 0 0 dbservice
Subnet up 10.100.1.0

Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled db01 (current)
Alternate up enabled db02

NODE STATUS STATE
Db02 up running

Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/Dev/vglock/dev/dsk/c6t0d1 up

Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/0/6/1/0 lan3
PRIMARY up 0/0/12/1/0 lan4
STANDBY up 0/0/14/1/0 lan5
#

------ Stop package

Cmhaltpkg pkg1

 

----- Mount the package to another node:

Cmrunpkg pkg1-n db01


------ How to view the memory size in hpux:

 

#/Opt/ignite/binpa/print_manifest | grep Memory
NOTE: cocould not read the/etc/resolv. conf file.
Main Memory: 1024 MB

 

#/Opt/ignite/binpa/print_manifest | grep Memory | awk '{print $3 }'
NOTE: cocould not read the/etc/resolv. conf file.
1024
#

Machinfo for anteng host

Machinfo | grep Memory


# Echo "selall; info; wait; infolog; view; done" |/usr/sbin/cstm | grep "Total Configured Memory"
Total Configured Memory: 1024 MB
#

 

# Echo 'dmesg | grep Physical | awk' {print $2} ''/1024 | bc


How does hp-ux obtain the total memory?

To view the memory usage information. That is, the ratio of the host memory usage to the total memory. Let's take a look. Thank you !~ How to view memory usage in hp-ux

How does hp-ux view idle memory?

Vmstat or download the glance tool for the HP-UX.

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.