Hitachi

JP1 Version 12 JP1/SNMP System Observer Description, Operator's Guide and Reference


3.4.8 Setting the collection database storage directory

The directory for storing the collection databases (collection database storage directory) can be set in any location. The following shows how to set this directory. Note, however, that in a cluster system, you must use the cluster environment setting command to set the directory.

  1. Move $SSO_DB to any directory (databases).

  2. Create a symbolic link to the databases directory you selected in step 1 with the link name $SSO_DB.

The following shows an example of setting the directory:

In Windows:

In the following example, C:\Program Files\HITACHI\JP1SSO is the SSO installation directory, and D:\AppData\databases is set as the collection database storage directory.

xcopy /E /I "C:\Program Files\HITACHI\JP1SSO\databases" "D:\AppData\databases"
rmdir /S "C:\Program Files\HITACHI\JP1SSO\databases"
mklink /D "C:\Program Files\HITACHI\JP1SSO\databases" "D:\AppData\databases"
In Linux:

In the following example, /AppData/databases is set as the collection database storage directory.

mv /var/opt/CM2/SSO/databases /AppData/
ln -s /AppData/databases /var/opt/CM2/SSO/databases

Note that before you uninstall SSO, you must remove the setting of the collection database storage directory. To remove the setting:

  1. Delete the symbolic link ($SSO_DB).

  2. Move the databases directory back to $SSO_DB.

The following shows an example of removing the setting.

In Windows:

In the following example, C:\Program Files\HITACHI\JP1SSO is the SSO installation directory, and D:\AppData\databases is the collection database storage directory to be removed.

rmdir "C:\Program Files\HITACHI\JP1SSO\databases"
xcopy /E /I "D:\AppData\databases" "C:\Program Files\HITACHI\JP1SSO\databases"
rmdir /S "D:\AppData\databases"
In Linux:

In the following example, the setting that specifies /AppData/databases as the collection database storage directory is removed.

rm -f /var/opt/CM2/SSO/databases
mv /AppData/databases /var/opt/CM2/SSO/