HP Systems Insight Manager 5.3 Technical Reference Guide

5. Click Apply.
6. Reboot the system.
7. Open a command prompt window.
8. Execute the chcp 932 (Japanese) and chcp 437 (English) commands to toggle between the two
languages.
Configuring HP-UX and Linux language settings
1. Ensure that support for the desired languages and character map encodings are installed on the managed
systems (for SSA tools) and execution systems (for MSA tools, usually the CMS).
2. To verify the language settings and see if the language and character map encodings you need are
listed, execute:
locale -a
3. To run command tools of the
x-window
command type, ensure that the X Display you select to display
the X-window application has been configured to use the font lists required for that application and the
requested language. For Motif X Window applications (X clients), it might be enough to have the
Common Desktop Environment (CDE) configured for the language you want to display. It should have
all the X11 resource file properties for X11 Motif or Gnome widget set font lists configured with fonts
that support the language and encoding you want to use (for example, Japanese and SJIS), or you must
configure the X resource file of your X clients to set the specific font lists you want to use for each
application. To find out what fonts are installed, knowing what languages the X application supports,
seeing how the application sets fonts in its app-default file, run:
xlsfonts
4. Edit the X Resource file properties on the X clients to configure the application font list properties.
Configuring HP SIM
HP SIM has a configuration file that you can be modify to override locale settings that control:
CMS locale The
locale
of the CMS, which affects the language used in the CMS logs and e-mails sent
by Automatic Event Handling tasks
Target locale The
locale
,
character map encoding
,
code page
, and
LANG
variables used when
executing a command on a remote system through SSH
This configuration file is globalsettings.props and is located:
On Windows C:\Program Files\HP\Systems Insight
Manager\config\globalsettings.props.
On HP-UX and Linux /etc/opt/mx/config/globalsettings.props.
CMS locale
By default, the CMS Locale is determined by the environment. On an HP-UX CMS, it looks for "LANG="
in "/etc/rc.config.d/LANG" and uses that setting. On a Linux CMS, it looks for "LANG=" in
"/etc/sysconfig/i18n" and "/etc/sysconfig/language" and uses that setting. On a Windows
CMS, it uses the default locale setting of the Java™ Virtual Machine, which is based on the locale setting
of the user account used to install HP SIM.
If the locale used by the CMS is not the desired locale, you can manually edit globalsettings.props
and add a line, such as CMSLocale=en_US, or whatever locale you want to override the CMS locale.
Target locale
For HP SIM, the character map encoding for a locale might be different for each target operating system
and each language. To enable HP SIM to select the encoding to use for each target system (for SSA tools)
or each execution system (for MSA tools, usually the CMS), HP has defined the format of some properties
you can add to the globalsettings.props file. These properties provide the character map encoding
to use for each language on each operating system, what Code Page code to use for each language on a
Windows target and execution system, and the string that defines that encoding in the
LANG
environment
82 Getting started