2.1.3 Operations after the installer finishes
This section describes tasks that must be performed after NNMi is installed. Perform these tasks no matter which OS you are using.
- Organization of this subsection
(1) Exclude NNMi files and directories from the scan target
Anti-virus software might trigger the exclusive control of files and directories used by NNMi. This might cause a startup failure or abnormal termination of the NNMi service, or delay command execution. To perform a virus scan while NNMi is running, exclude files and directories within the following directories from the scan target:
- Windows:
-
-
NNMi installation directory
-
NNMi data directory
-
drive:\Program Files\Hitachi\Cm2NNMi (this directory might not exist.)
- HA-mount-point\NNM (In the case of cluster configuration)
-
- Linux:
-
- /opt/OV
- /var/opt/OV
- HA-mount-point/NNM (In the case of cluster configuration)
If you perform a virus scan while NNMi is stopped, you need to restart NNMi after confirming that the virus scan for the above directories has been completed.
(2) Set the NNMi system account password
An account password is set for the initial sign-in to the NNMi console. Use the nnmchangesyspw.ovpl script to set the password. Run the nnmchangesyspw.ovpl script without arguments, and register a password as indicated by the displayed messages.
- Note
The system account is a special administrator account created by the installation process. It is used when you sign in to the NNMi console for the first time. It is not normally used after the creation of a user with the administrator role on the NNMi console. The system account remains enabled after the installation finishes, but it is used only to execute on the command line or for restoration purposes. For details about how to set or change the system password, see 1.5.5 Setting the system account password.
(3) Set the language environment (Linux only)
Depending on the OS settings, rebooting the machine might automatically invoke the ovstart command with the setting LANG=C. In such a case, background processes will output messages in English. To prevent output of messages in English, configure the following settings to invoke the ovstart command in the supported locale at system startup.
-
How to configure
- For distributions that uses systemd to manage
Make sure that of the following lines are entered before /opt/OV/bin/ovstart in the file /opt/OV/bin/netmgt, and before /opt/OV/bin/ovstart nnmtrapreceivermd in the file /opt/OV/bin/nettrap.
- Other distributions
Make sure that of the following lines are entered before /opt/OV/bin/ovstart in the file /etc/init.d/netmgt, and before /opt/OV/bin/ovstart nnmtrapreceivermd in the file /etc/init.d/nettrap.
How to configure
Make sure that of the following lines are entered before /opt/OV/bin/ovstart in the file /etc/init.d/netmgt, and before /opt/OV/bin/ovstart nnmtrapreceivermd in the file /etc/init.d/nettrap. If necessary, enter one of the following lines:
LANG=ja_JP.UTF-8 export LANG
or
LANG=zh_CN.utf8 export LANG
(4) Check the maximum Java heap size
During installation, the maximum Java heap size (-Xmx) is set automatically according to the physical memory. Review the -Xmx value after consulting Chapter 4. Memory and Disk Space Requirements and 9.1 Systems in the Release Notes. In addition, review the -Xmx value in the event of changes to the scale of the monitoring to be done with NNMi.
(5) Check the auto-trim configuration for incidents
Since NNMi 12-10, the auto-trim incidents is activated for new installations. Refer to 21.20 Configuring the auto-trim oldest SNMP trap incidents feature to review the presence of auto-trim configuration, the threshold for trimming, and the amount of deletions and settings to be deleted. If there is a change in the size of the object to be monitored, please review these configurations as well.
(6) Starting NNMi services
Execute the ovstart command to start NNMi services.
(7) Create an account to serve the administrator role
Sign in to the NNMi console and create an account to serve the administrator role.
A window for NNMi sign-in appears.
Enter the following URL in the window for entering the Web browser address.
http://fully-qualified-domain-name:port/nnm/
where fully-qualified-domain-name is the fully qualified domain name of the NNMi administrator server, and port is the HTTP port number of the NNMi Web server that was set during installation.
Enter the user name and password for the system account, and click the sign-in button.
User name: system
Password: The system account password created in (2) Set the NNMi system account password
Create the user accounts.
On the NNMi console, under Configuration workspace > Security > User Accounts, click the New icon. Enter a name and password and click the Save and Close icon to save the user account. For details, see Configure User Accounts (User Account Form) in NNMi Help.
- Important
Between 1 and 40 characters can be entered for the name. Alphanumeric characters (A to Z, a to z, 0 to 9), periods (.), underscores (_), at marks (@), and hyphens (-) can be used.
You can use one or more characters for the password. Supported characters include alphanumeric characters (A to Z, a to z, 0 to 9) and single-byte symbols.
Map the administrator role to the user account.
On the NNMi console, under Configuration workspace > Security > User Account Mappings, click the New icon, and then specify the following parameters.
User account: The user account created in step 3
User group: NNMi administrator
Click the Save and Close icon to save the mapping. For details, see User Account Mapping Tasks in NNMi Help.
- Important
Do not create a new user group. Instead, select from among the default user groups.