HP StorageWorks XP Replication Monitor software installation and configuration guide (T1784-96008, November 2006)
Maintaining and tuning the system 87
NOTE: To enter a line break at a particular place in the message to be displayed, use the HTML tag <br>.
Line breaks are ignored when the message is registered.
Supplementary explanation:
Sample message files in English (bannermsg.txt) and Japanese (bannermsg_ja.txt) can be found in
the following locations.
Common-Component-installation-folder\sample\resource
As these sample files are overwritten at installation, copy and edit the file you wish to use.
6-7-2 Registering a message
Use the hcmdsbanner command to register an edited message.
To register a message:
1. Execute the following command:
Common-Component-installation-folder\bin\hcmdsbanner /add /file file-name
[/locale locale-name]
An example of command execution is shown below:
C:\Program Files\HiCommand\Base\bin\hcmdsbanner /add /file
C:\W_Banner\wbfile1 /locale en
file-name: Specify by absolute path the file containing the message.
locale-name: Specify the locale name of the language in which the message is written (en for English, or ja
for Japanese). When this argument is omitted, the default locale is assumed.
Return values
0: Normal termination
253: Message length exceeds 1,000 characters.
255: Failed
NOTE: The registered message replaces any previously registered message for the same locale.
Supplementary explanation:
The execution result of the hcmdsbanner command is also output to hcmdsbanner[n].log.
2. Restart Common Component for the message registration to take effect.
In Windows:
Common-Component-installation-folder\bin\hcmdssrv /stop
Common-Component-installation-folder\bin\hcmdssrv /-start
6-7-3 Deleting a message
Use the hcmdsbanner command to delete a registered message.
To delete a message:
1. Execute the following command:
Common-Component-installation-folder\bin\hcmdsbanner /delete [/locale locale-
name]
An example of command execution is shown below:
C:\Program Files\HiCommand\Base\bin\hcmdsbanner /delete /locale en
locale-name: Specify the locale of the message to be deleted (en for English, or ja for Japanese). When
this argument is omitted, the default locale is assumed.
Return values
0: Normal termination