01.10.2015 Views

HP Operations Manager for UNIX Administrator’s Reference

HP Operations Manager for UNIX Administrator's Reference

HP Operations Manager for UNIX Administrator's Reference

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

About <strong>HP</strong>OM Language Support<br />

Configuration Upload in International Environments<br />

Be<strong>for</strong>e starting the download, you must ensure that the configuration<br />

data does not contain any data that cannot be represented in ASCII, <strong>for</strong><br />

example German umlauts or the Euro symbol (!). Use 7-bit ASCII in this<br />

case. 7-bit ASCII is a subset of all available character sets. 7-bit ASCII<br />

data transfers without data corruption.<br />

There are several methods to enable ASCII-en<strong>for</strong>ced upload:<br />

❏<br />

❏<br />

❏<br />

Passing a parameter to opcconfig<br />

When configuring <strong>HP</strong>OM <strong>for</strong> the first time, call opcconfig with the<br />

parameter -a to enable ASCII upload of the initial configuration.<br />

This is typically used together with the -c parameter. The -c<br />

parameter allows you to specify a database character set <strong>for</strong> use with<br />

opcconfig. See the man page opcconfig(1M) <strong>for</strong> more in<strong>for</strong>mation.<br />

The following example configures <strong>HP</strong>OM to use a character set of<br />

Simplified Chinese:<br />

export LANG=zh_CN.hp15CN<br />

/opt/OV/bin/OpC/install/opcconfig -a -c ZHSI6CGB231280<br />

Running opcdbsetup -a or opcdbinit -a also triggers opccfgupld<br />

to use the -ascii option.<br />

Passing a parameter to opccfgupld<br />

If you want to upload a third-party integration package or Smart<br />

Plug-in (SPI), or simply want to upload data that you have<br />

downloaded yourself, you can directly call the <strong>HP</strong>OM configuration<br />

upload tool opccfgupld with the parameter -ascii:<br />

/opt/OV/bin/OpC/opccfgupld [...] \<br />

-ascii <br />

Setting a variable on the server<br />

If you want to en<strong>for</strong>ce configuration upload in ASCII mode, set the<br />

following variable:<br />

ovconfchg -ovrg -ns opc -set \<br />

OPC_CFG_CHAR_SET_ASCII TRUE<br />

Where is the name of the management server<br />

resource group.<br />

Chapter 8 285

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!