HP StorageWorks XP Command View Advanced Edition Software 6.4 Server Administrator Guide for Device Manager and Provisioning Manager (web) (T1780-96341, July 2010)

Table Of Contents
Security settings for Device Manager
81
In Windows:
installation-folder-for-Common-Component\bin\hcmdsbanner /add /file
file-name [/locale locale-name]
The following shows an example of executing the command:
C:\Program Files\CVXPAE\Base\bin\hcmdsbanner /add /file
C:\W_Banner\wbfile1 /locale en
In Linux:
installation-directory-for-Common-Component/bin/hcmdsbanner -add -file
file-name [-locale locale-name]
The following shows an example of executing the command:
# /opt/CVXPAE/Base/bin/hcmdsbanner -add -file /opt/W_Banner/wbfile1 -
locale en
file-name
Using an absolute path, specify the file that stores the message. In Linux, do not specify a path
that includes a space.
locale-name
Specify the locale of the language used for the message (for example, en for English, or ja for
Japanese). If omitted, the default locale will be specified.
When you use web client on multiple locales, if you register a message with the same contents
in a different language for each locale, the message can be automatically switched to match
the locale of the web browser.
The locale for a warning banner displayed in web client is set, according to the priority of the
language set for the web browser that is used.
If the locale option is omitted, you can edit the registered contents from web client also.
However, available HTML tags are limited when you edit from web client.
Return values
0: Normal termination
253: The number of characters in the message exceeds 1,000 characters.
255: Failure
For details about errors, see the contents of the following log files.
In Windows:
installation-folder-for-Common-Component\log\hcmdsbannern.log
In Linux:
/var/installation-directory-for-Common-
Component/log/hcmdsbannern.log
4-1-3 Deleting the message
You use the hcmdsbanner command to delete a registered message. Execute a following
command:
In Windows:
installation-folder-for-Common-Component\bin\hcmdsbanner /delete
[/locale locale-name]
The following shows an example of executing the command:
C:\Program Files\CVXPAE\Base\bin\hcmdsbanner /delete /locale en