Sponsored Content
Top Forums UNIX for Advanced & Expert Users UNIX/Linux inventory - Open Source Post 303000260 by RudiC on Friday 7th of July 2017 01:13:54 PM
Old 07-07-2017
Usually your package manager (e.g. synaptic for Ubuntu) does exactly this, albeit for the node only that it manages.
 

3 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

need open source KB software for UNIX

Anyone know of a good open source Knowledge Base software for UNIX that can connect to an Oracle back end? (0 Replies)
Discussion started by: RJ45
0 Replies

2. Linux

Linux open source for admin

Hi, I have created my VM lab on redhat linux, but giving me error after updating new yum repository, its asking me for subscription. I want want switch my redhat linux lab from VM, which linux open source will be best to perform admin commands and tasks?? If possible , please provide iso file... (2 Replies)
Discussion started by: Nats
2 Replies

3. Fedora

Is UNIX an open source OS ?

Hi everyone, I know the following questions are noobish questions but I am asking them because I am confused about the basics of history behind UNIX and LINUX. Ok onto business, my questions are-: Was/Is UNIX ever an open source operating system ? If UNIX was... (21 Replies)
Discussion started by: sreyan32
21 Replies
cmhaltpkg(1m)															     cmhaltpkg(1m)

NAME
cmhaltpkg - halt a high availability package SYNOPSIS
cmhaltpkg [-v] [-t] [-n node_name]... package_name... cmhaltpkg [-v] [-s] [-n node_name]... package_name... DESCRIPTION
cmhaltpkg connects to the Serviceguard cluster manager and halts the specified package(s) or multi-node package instance(s). When a package or package instance is halted, global switching (AUTO_RUN) is disabled for that package. cmhaltpkg may be run on any node within the cluster and may operate on any package within the cluster. To halt a package, 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 PACKAGE_ADMIN allowed in the cluster or package configuration file. See access policy in cmquerycl(1m) or cmmakepkg(1m). If no node_name arguments are supplied, each package will be halted on any and all nodes where it is running. If the package is not running on any nodes, the command will fail. cmhaltpkg should not be used to halt SYSTEM_MULTI_NODE packages (HP-UX only). Use cmhaltnode or cmhaltcl to halt SYSTEM_MULTI_NODE packages instead. Packages of other types may be halted on a subset of the configured nodes by specifying one or more node_name arguments. cmhaltpkg will fail if each specified package is not running on all the specified nodes. Packages are halted in the order required by their configured dependencies. Packages without configured dependencies are halted in the order specified on the command line. To successfully halt a package, all required dependent packages must either be previously halted or specified as a package_name argument in the cmhaltpkg command. Packages configured with STORAGE_GROUP are implicitly dependent on the cor- responding multi-node cluster volume manager (CVM) package. (HP-UX only) cmhaltpkg validates its command line prior to halting any package and returns an error if the user does not have correct access to complete the operation or if illegal combinations of node_name and package_name arguments are encountered. If a problem is detected while halting a package, cmhaltpkg exits with an error indication and remaining package_name arguments are not processed. A package in maintenance mode that was start up to and including a specified module can be halted from that specified module. Only those modules which were started are halted. Options cmhaltpkg supports the following options: -n node_name Acts only on a specific node. If the package is not running on the specified node, it will not be halted. -v Verbose output will be displayed. -t Test only. Provide an assessment of the package placement without affecting the current state of the nodes or pack- ages. This option validates the node's eligibility with respect to the package dependencies as well as the external dependencies such as EMS resources, package subnets, and storage before predicting any package placement decisions. This option is not legal for package in maintenance mode. -s Symmetric halt is only for packages in maintenance mode. If a package in maintenance mode has been started up to a module as specified by cmrunpkg -m, then cmhaltpkg -s will halt the package up to that module. Otherwise, cmhaltpkg -s will halt the package for all the modules specified in its configuration file. RETURN VALUE
cmhaltpkg returns the following value: 0 Successful completion. 1 Command failed. 2 Command failed due to a transient condition. EXAMPLES
A sequence of cmhaltpkg and cmrunpkg commands may be used to move a package from one node to another. For example, the package may be halted on one node and then run on a new node, provided that the package is enabled for the new node. To move package package1 to node node2, do the following: cmhaltpkg package1 cmrunpkg -n node2 package1 cmmodpkg -e package1 (to enable package switching, if desired) AUTHOR
cmhaltpkg was developed by HP. SEE ALSO
cmmakepkg(1m), cmquerycl(1m), cmmodpkg(1m), cmrunpkg(1m), cmviewcl(1m), cmeval(1m). Requires Optional Serviceguard Software cmhaltpkg(1m)
All times are GMT -4. The time now is 10:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy