Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cmgetpkgenv(1m) [hpux man page]

cmgetpkgenv(1m) 														   cmgetpkgenv(1m)

NAME
cmgetpkgenv - get the configured environment for a high availability package SYNOPSIS
cmgetpkgenv package_name DESCRIPTION
cmgetpkgenv retrieves configured attributes of the high availability Serviceguard package named by package_name and writes them to the standard output in form usable by the POSIX Shell. It is used by the package run and halt script to determine the packages's start and stop actions. The output for a pre-11.18 style non CVM Version 4.1 package does not display any configured attributes. The command will display an infor- mational message and return an error condition occurred. To use cmgetpkgenv, a user must either be a superuser with effective user ID of zero (see id(1) and su(1)), or have an access policy of MONITOR allowed in the cluster or package configuration file. See access policy in cmquerycl(1m) or cmmakepkg(1m) RETURN VALUE
cmgetpkgenv returns the following value: 0 Successful completion. >0 Error condition occurred. AUTHOR
cmgetpkgenv was developed by HP. SEE ALSO
cmhaltpkg(1m), cmmakepkg(1m), cmquerycl(1m), cmrunpkg(1m), cmviewcl(1m), sh(1). Requires Optional Serviceguard Software cmgetpkgenv(1m)

Check Out this Related Man Page

cm(5)								File Formats Manual							     cm(5)

NAME
cm - cluster monitor for high availability clusters Remarks Cluster operations require the installation of the optional Serviceguard or Serviceguard Extension for RAC software, which is not included in the standard HP-UX operating system. DESCRIPTION
Serviceguard and Serviceguard Extension for RAC are high availability products which provide an environment such that after a failure of a node, services (applications) can be up and running again on another node within a very short amount of time. In addition, Serviceguard Extension for RAC is the enabling software for the Real Application Clusters (RAC). Working with the basic Serviceguard product, Service- guard Extension for Faster Failover allows configuration of clusters for optimized failover. Commands The following set of commands is used to configure a high availability cluster: cmquerycl(1M) cmmakepkg(1M) cmcheckconf(1M) cmapplyconf(1M) The following commands are used to run or halt a cluster: cmruncl(1M) cmhaltcl(1M) cmrunnode(1M) cmhaltnode(1M) cmviewcl(1M) Once a cluster is formed, the following commands are provided for manual operation on high availability packages: cmrunpkg(1M) cmhaltpkg(1M) cmmodpkg(1M) The following commands are used within a package control script to control the services and networks configured for a package: cmrunserv(1M) cmhaltserv(1M) cmmodnet(1M) A command is provided to aid in migrating from a SwitchOver/UX configuration to a Serviceguard cluster: cmmigrate(1M) This command is not applicable with Serviceguard Extension for RAC. SEE ALSO
Managing Serviceguard. Configuring RAC Clusters with Serviceguard Extension for RAC. Requires Optional Serviceguard Software cm(5)
Man Page

9 More Discussions You Might Find Interesting

1. HP-UX

Problems restoring Ignite make_recovery DAT backups

Can anyone help with an HP Ignite problem please !! We currently have 2 servers running HP-UX B.11.00 connected together and using a high availability cluster (serviceguard) running one package. Each of the servers have 2 mirrored local disks. (also installed HP OpenviewDM B.05.03, Oracle 8.0.5,... (7 Replies)
Discussion started by: clivethegadget
7 Replies

2. HP-UX

narrow down reply from cmviewcl

Hi there all, I have a little problem I got a package called epdp and I got 1 called pd (wich is Data Protector) If I am writing a script to get the status of packages. how can I get only the reply from dp? Now if I do cmviewcl -v |grep pdI get epdp and pd. (2 Replies)
Discussion started by: draco
2 Replies

3. HP-UX

MC Serviceguard and WebSphere ND 6.1

I am a Lawson Software consultant assisting a client with a Lawson upgrade. One of our components is WebSphere Application Server ND 6.1. Our client is using MC Serviceguard for failover. When testing failover, my Websphere instance is trying to start, but generating this error, referencing the old... (4 Replies)
Discussion started by: mrvitas
4 Replies

4. Shell Programming and Scripting

Monitoring script to check if cm cluster is up or not.

hi guys have this little problem, need some help from script gurus. basically I'm running hpux cmviewcl command, cmviewcl command will produce db1pkg up running enabled box1 my script PSV='box1' STAT='up' check_db1pkg() { # assign cmviewcl output... (2 Replies)
Discussion started by: sparcguy
2 Replies

5. UNIX for Advanced & Expert Users

Unix high availability and scalability survey

we're in the process of reviewing of unix infrastructure main objective is to consolidate on the less versions possible key decision factors are scalability and high availability options given our multi-datacenter infrastructure, features like HP's continental cluster are top on our wish list... (9 Replies)
Discussion started by: iacopet
9 Replies

6. HP-UX

Serviceguard Extension for RAC

Dear All, From where to download freeware of Serviceguard Extension for RAC software for HP UNIX PA RISC B.11.11 OS. BR, Prasanth (3 Replies)
Discussion started by: prasanth438
3 Replies

7. UNIX for Dummies Questions & Answers

Too Many Arguments Error - shells script

Hi, I am getting the below error : error at the if condition start and when I print the value of TEST, it displays two values as below /home/xyz/out/file1.txt /home/xyz/out/file2.txt if ; then mv $TEST $TARGETDIR/ fi Tried by enclosing it in double quotes "$TEST",... (4 Replies)
Discussion started by: sudhagk
4 Replies

8. Solaris

High availability

hi guys I posted problem last time I didn't find answer to my issue. my problem is as below: I have two servers which work as an actif/standby in high availability system. but when i use command HASTAT -a i have the following message: couldn' find actif node. the servers are sun... (1 Reply)
Discussion started by: zineb06
1 Replies

9. UNIX for Beginners Questions & Answers

New to AIX: How do I setup high availability on an AIX System

I am new to AIX but not new to unix. I have an interview for an AIX systems admin position and I know they want someone who has knowledge of High Availability, Failover and LPARs From my research so far, It appear powerha is used to setup high availability and failover on Power systems but is... (2 Replies)
Discussion started by: mathisecure
2 Replies