To install the
Analyzer server and
Analyzer detail view server, run the installer and follow the prompts. You can install the
Analyzer server and
the
Analyzer detail view server at the same time by using the installer
(
analytics_install.sh), or you can choose to install only one of the
components.
The installer starts and stops the crond service. Therefore, do
not run any operations that use the crond service when the installer is
running.
Verify the following
prerequisites before installing the Analyzer server and Analyzer detail view server.
Common
prerequisites for the Analyzer server and the Analyzer detail view server:
- Review the Analyzer server and the Analyzer detail view server requirements (hardware
and software).
- Verify that you have root permission to run the installer and the
precheck tool.
- Verify that the console and clock properties are set to the same
time zone.
- Verify that the times and time zones of the following servers are
synchronized:
- Analyzer server
- Analyzer detail view server
- Do not include any symbolic links in the installation path.
- Do not set the COLUMNS environment variable.
- If firewalld is enabled during installation,
settings will be changed for all active zones. If necessary, revise the settings
after the installation finishes.
Analyzer server
requirements:
Analyzer detail view server requirements:
- Prepare an unformatted device (physical device or logical device
such as an LVM) specifically for installing the Analyzer detail view server. For details, see the Analyzer detail view server requirements .
- Verify that the ports you specify are available for communication.
The default port is 8443.
- Verify that group and other users have read and execute permissions
(755) for the installation path directories.
- Do not change the time zone after installing Analyzer detail view server.
- During installation, when prompted to specify the installation
directory for the Analyzer detail view server, follow these rules:
- Check the kernel and system limits on the number of open files and
processes. For more information, see Increasing the maximum number of open files (Linux OS).
- Make sure that the time on the Analyzer detail view server machine is
synchronized with the UTC time. For example, when the time in UTC is 23:00, then
time in the Analyzer detail view server machine in the PST time zone must be
15:00.
-
Stop any security monitoring software, antivirus software, and process monitoring software.
-
Mount the Hitachi Ops Center installation media and copy the
directories and files in the ANALYTICS
directory on the installation media to a directory on the Linux host.
Note:
- You must use only the following characters in the directory path to which the
installer is copied: A-Z
a-z
0-9 -
. _
- Do not use spaces.
In the following example, if the /root/ANALYTICS directory already exists, create a new directory, and then perform the subsequent steps in the new directory.
mkdir /media/OpsImage
mount /dev/cdrom /media/OpsImage
cp -rT /media/OpsImage/ANALYTICS /root/ANALYTICS
-
Move to the /root/ANALYTICS directory.
-
Run the precheck tool as a root user to check whether the Analyzer server and Analyzer detail view server
can be installed.
sh ./analytics_precheck.sh
If OK is displayed in [ Check
results ], you can start the installation. If
NG is displayed, make sure the system requirements have been
met.
Output example when the Ops Center Analyzer
version is
10.0.0:
============================================================
Analytics Precheck ver. 10.0.0-00
============================================================
[ Check results ]
Ops Center Analyzer detail view server [10.0.0-00] [OK]
Ops Center Analyzer server [10.0.0-00] [OK]
[ Details ]
Check premise OS version. [OK]
If
the following message is shown, refer to the release notes.
An Analyzer server earlier than v10.7.0, Hitachi Ops Center Automator earlier than v10.8.0, or Hitachi Command Suite earlier than v8.8.3 is already installed on this server. Make sure to upgrade the relevant products by referring to the Release Notes.
Note:
- When you run the precheck tool, it checks the static
information of the system environment.
- If the -v option is specified, information
such as the host name and the OS name is also displayed.
-
Run the following command as a root user to
start the installation:
sh ./analytics_install.sh NEW
A message is displayed, confirming that you want to install the
Analyzer detail view server and
Analyzer server.
Do not change the size of the device window
while the command is running. If you change the size of the window, the
installation fails.
-
Enter y, and then specify the components that you want to
install.
Tip: The prompt displays the default value. To use the default value, simply press the Enter key.
Do you want to install the Ops Center Analyzer detail view server? (y/n) [n]: y
Do you want to install the Ops Center Analyzer server? (y/n) [n]: y
[Confirmation]
------------------------------------------------------------
Installation Product
(1) Ops Center Analyzer detail view server
(2) Ops Center Analyzer server
------------------------------------------------------------
Do you want to install the server listed above? (y/n) [n]: y
-
You are prompted for a drive and directory
to install the Analyzer detail view server.
The following describes how to specify a device as the installation
destination:
- To specify a physical
device The device file name (Example:
sdb)
- To specify a logical device that uses
the device-mapper functionality (devices in a configuration such as LVM,
multipath, or RAID) The device name of the terminal (with a
TYPE of lvm, mpath, or
raid) as displayed in the tree in <System device
information> (Example:
DCAvg-DCAlv00)
If you select a partition or a volume group of LVM, all the
free disk space is used to create a logical volume for the
LVM.
[INFO] Analytics installer started
============================================================
Installation of the Ops Center Analyzer detail view server
============================================================
[INFO] Installation of the Ops Center Analyzer detail view server started.
[Partition parameter]
------------------------------------------------------------
<System device information>
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 200G 0 disk
sr0 11:0 1 1024M 0 rom
fd0 2:0 1 4K 0 disk
sda 8:0 0 80G 0 disk
|-sda2 8:2 0 79G 0 part
| |-ol-swap 252:1 0 2G 0 lvm [SWAP]
| |-ol-home 252:2 0 27G 0 lvm /home
| `-ol-root 252:0 0 50G 0 lvm /
`-sda1 8:1 0 1G 0 part /boot
Specify the device name in which to store application data. [sdb]:
Specify the directory in which to store application data.
File permissions for all files in the top-level directory and below will be changed to 'megha:megha'. [/data]:
-
When prompted, enter y to configure the
firewall settings. Specify the IP addresses of the Analyzer probe servers. You
can also accept the default value 0.0.0.0 and configure
the IP addresses later. When you enter y, the firewall rules
that are currently applied are saved.
[Firewall parameter ]
------------------------------------------------------------
Do you want to configure the firewall to accept connections from the Ops Center Analyzer probe servers? (y/n) [y]: y
Specify the IP addresses of the Ops Center Analyzer probe servers,
so that these IP addresses will be added in the configuration of firewall,
and the connection from these servers can be accepted.(port 22/tcp)
You can also use 0.0.0.0 and change it later.
[0.0.0.0]:
-
Specify the information to use for secure
communication by the Analyzer detail view server.
To apply the default settings, press the
Enter key in each prompt window.
[Keytool parameter ]
------------------------------------------------------------
[INFO] This setting is for SSL configuration.
What is the name of your organizational unit? [Unknown]: organizational-unit
What is the name of your organization? [Unknown]: organization
What is the name of your City or Locality? [Unknown]: city-or-locality
What is the name of your State or Province? [Unknown]: state-or-province
What is the two-letter country code for this unit? [Unknown]: two-letter-country-code-for-unit
-
Specify the password for the megha user and the meghadata
user. The same password will be used for both users.
[Password for megha user and meghadata user]
------------------------------------------------------------
New password: password-for-megha-user-and-meghadata-user
Retype new password: password-for-megha-user-and-meghadata-user
------------------------------------------------------------
-
Verify the settings that you
specified:
[Confirmation]
------------------------------------------------------------
Installation directory(Mount point) : /data
Device name : [create new partition, volume group, and logical volume] on /dev/sdb
Filesystem : xfs
Port number : 8443
Firewall accept rule to be added :
Protocol Source IP Destination IP Destination PORT
-------- ---------------- ---------------- ----------------
ALL 0.0.0.0 0.0.0.0 ALL <RELATED,ESTABLISHED>
TCP 0.0.0.0 0.0.0.0 22
TCP 0.0.0.0 0.0.0.0 8443
Required CPAN libraries : Module::Build YAML Log::Log4perl LWP::Protocol::https
Distinguished Name for keytool : CN=host-name, OU=organizational-unit, O=organization, L=city-or-locality, ST=state-or-province, C=two-letter-country-code-for-unit
------------------------------------------------------------
-
Check the CAUTION message.
** CAUTION **
* This installation will change firewall settings. (Listing above)
* Installation of the required CPAN libraries may take more than 4 minutes.
-
Unless the CAUTION message includes a problem that requires your
attention, enter y.
Do you want to continue the installation? (y/n) [n]: y
Analyzer detail view server is installed, and then the following message is
displayed:
[INFO] Installation of the Ops Center Analyzer detail view server finished successfully.
Note: If a warning message appears indicating
that attempts to update the passwords for the megha user
and the meghadata user failed, follow the instructions in
the message to update the passwords. The Analyzer probe server will not be able to upload data to the Analyzer detail view server until the passwords are updated and successfully changed on
the Analyzer probe server.
-
You are prompted for a directory in which to install Analyzer server.
============================================================
Installation of the Ops Center Analyzer server
============================================================
[INFO] Installation of the Ops Center Analyzer server started.
Specify the directory to store application data. [/opt/hitachi]:
-
When prompted, enter y to configure the firewall settings. At this time,
the firewall rules that are currently applied are saved.
[Firewall parameter ]
------------------------------------------------------------
Do you want to configure the firewall to accept connections to the Ops Center Analyzer server? (y/n) [y]: y
The Ops Center Analyzer server sets 22015 and 22016 port as the default port.
This port can be changed after installation.
If you change the port number, you must change the firewall setting.
-
If your settings are complete, enter y.
Do you want to continue the installation? (y/n) [n]: y
If the following message is shown, refer to the release
notes.
An Analyzer server earlier than v10.7.0, Hitachi Ops Center Automator earlier than v10.8.0, or Hitachi Command Suite earlier than v8.8.3 is already installed on this server. Make sure to upgrade the relevant products by referring to the Release Notes.
Analyzer server is installed, and then the following message is
displayed.
[INFO] Analytics installer finished.
Note: The
Analyzer detail view server uses the crond service. If the crond service is disabled or
stopped, enable and start it.
As a best practice, you should
set the crond service to start automatically when the OS starts.