CLI Support on OpenVMS

OpenVMS provides a CLI (command-line interface) to the Instant Capacity software. The HP-UX command syntax can be implemented using foreign command symbols. The DCL ICAP command provides DCL command support.

HP-UX Style Commands

The HP-UX command syntax can be used on OpenVMS systems by defining foreign command symbols to the iCAP images. Add the following three symbol declarations to your LOGIN.COM file or to the SYLOGIN file to define commands that use the HP-UX syntax:

$ icapmodify :== $ICAP_MODIFY $ icapnotify :== $ICAP_NOTIFY $ icapstatus :== $ICAP_STAT

Command options are specified as described in the HP-UX manpages for each command.

OpenVMS Command Mapping

Table B-1shows the HP-UX iCAP commands and their OpenVMS equivalents.

Table B-1 HP-UX and OpenVMS Command Equivalents

HP-UX Style

OpenVMS Style

icapstatus

icap show status

icapstatus -s

icap show status/snapshot

icapmodify -C <codeword>

icap apply "codeword"

icapmodify -c <address>

icap set email/contact="address"

icapmodify -f <address>

icap set email/from="address"

icapmodify -i <id>

icap set system_id "id"

icapmodify -r

icap reconcile

icapmodify -w <days>

icap set warning_days "days"

icapmodify -a

icap activate /cpu=/defer/ticap

icapmodify -d

icap deactivate /cpu/defer

icapmodify -s

icap set active_cpus n

icapnotify -a

icap set asset/state=onoff

icapnotify -n

icap set notification/state=onoff

icapmanage -i -u <rule_file>

icap manage install <rule_file>

icapmanage -C <codeword>

icap manage codeword <codeword>

icapmanage -a -g <group_name>

icap manage add group <group_name>

icapmanage -r -g <group_name>

icap manage remove group <group_name>

icapmanage -T <host>[,<host>]...[-g

icap manage test <host,host,...>

<group_name>]

[/group=<group_name>]

icapmanage -a -m

icap manage add member <member_name>

<member_name>:<host>[,<host>]...

/host_list=(host,host,...) [/group=<group_name>]

-g<group_name>

 

icapmanage -r -m <member_name>

icap manage remove member <member_name>

icapmanage -s -g <group_name> [-b]

icap manage status <group_name> [/BRIEF] [/FULL]

[-v]

 

210 Considerations for OpenVMS Systems

Page 210
Image 210
HP Instant Capacity (iCAP) manual CLI Support on OpenVMS, HP-UX Style Commands, OpenVMS Command Mapping