Configuring windows 2000 locale settings, Configuring hp-ux and linux language settings, Configuring hp sim – HP Systems Insight Manager User Manual

Page 78: Cms locale, Target locale, Cms locale target locale, Configuring windows 2000 locale, Settings

Advertising
background image

Configuring Windows 2000 locale settings

1.

Select Start

SettingsControl PanelRegional OptionsGeneral.

2.

Click Set default. The Select System Locale window appears.

3.

From the dropdown list, select Japanese.

4.

Click OK.

5.

Click Apply.

6.

Reboot the system.

After rebooting the system, open a command prompt window and execute the chcp 932 (Japanese) and
chcp 437

(English) to toggle between the two languages. The HP SIM CLI commands use the Code page

to determine what locale and encoding to output, as do the Command Prompt commands, such as dir.

Configuring HP-UX and Linux language settings

Ensure that support for the desired languages and character map encodings are installed on the managed
systems (for SSA tools) and execution system (for MSA tools, usually the CMS). To verify the language settings,
execute:

locale -a

to see if the language and character map encodings you need are listed. Furthermore, if you want 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. This process usually means running xlsfonts
to find out what fonts are installed, knowing what languages the X application supports, seeing how the
application sets fonts in its app-defaults file, and then editing 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 can be modified 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

It is located at C:\Program Files\HP\Systems Insight

Manager\config\globalsettings.props

.

On HP-UX and Linux

It is located at /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 the HP SIM to select the encoding to use for each target system (for SSA

78

Getting started

Advertising