cmgr.1m (2011 09)
CMGR(1M) CMGR(1M)
name=value
name=’value’
name="value"
DIAGNOSTICS
Any errors found will be written to the standard error file (stderr). Appropriate diagnostic messages will
be logged via syslogd(1M) under the
LOG_LOCAL0 facility. Refer to the documentation for the subsystems
managed by cmgr for additional diagnostic operations.
RETURN VALUE
cmgr exits with a return value of zero on success and one on failure.
EXAMPLE
To perform a list operation using the srp101base template with the template variable compartment set
to mySRP:
cmgr -list -t /etc/opt/hpsrp/templates/srp101base.cst -batch \
compartment=mySRP
To perform an add operation using the srp101base template, passing template variable values for com-
partment, ipaddress, iface and admin-user:
cmgr -add -t /etc/opt/hpcmgr/templates/srp101base.cst -batch \
compartment=mySRP ipaddress=192.0.2.1 iface=lan1 \
admin-user=root
To perform the same operation, but let cmgr prompt for variables:
cmgr -add -t /etc/opt/hpcmgr/templates/srp101base.cst
FILES
/opt/hpcmgr/bin The directory where all cmgr executables are located.
/etc/opt/hpcmgr/templates Default location for the .cst template files.
/opt/hpcmgr/lib Module libraries used by cmgr for cst templates.
/opt/hpcmgr/man cmgr man pages.
AUTHOR
cmgr was developed by Hewlett-Packard Company.
SEE ALSO
prm(1), srp(1M), compartments(5), container(5), rbac(5), ipf(8).
HP-UX 11i Version 3: September 2011 − 3 − Hewlett-Packard Company 3