Technote (FAQ)
Question
What modifications are required if we need to change the Hostname and IP Address of the CMS, EAM and Database servers?
Answer
Periodically, devices and servers on a network have a hostname/IP address change due to network restructuring, or movement to another segment on the network. When this is done, the following is required for TSOM's transition.
For the workstation logging in to the CMS, change the URL used in your browser:
-
Original:
http://<oldhostname or IP Address>:8080/TSOM-Portal/
New:
http://<newhostname or IP Address>:8080/TSOM-Portal/
When the EAM is re-numbered, modify the EAM's hostname/IP Address in the EAMs and Sensors Configuration for each EAM which has a change of hostname. Further, the eam.ser file on the EAM must be deleted. This file is located in {tsom_home}/state/eam/.
If the database server is being renumbered, there comes some complexity in configuration modifications. For the database connection TSOM needs for archiving and retrieval, modify these three files:
{tsom_home}/conf/db/repository_database.xml
-
Look for the line:
dbalias="/<oldhostname or IP Address>/:50003/tsomdb"
and change to:
dbalias="/<newhostname or IP Address>/:50003/tsomdb"
tomcat/webapps/TSOM-Reports/WEB-INF/classes/conf/db/repository_database.xml
-
Look for:
dbalias="//<oldhostname or IP Address>:50003/tsomdb"
change to:
dbalias="//<newhostname or IP Address>:50003/tsomdb"
{tsom_home}/tomcat/conf/server.xml
-
Look for the line:
connectionURL="jdbc:db2://<oldhostname or IP Address>:50003/tsomdb"
change to:
connectionURL="jdbc:db2://<newhostname or IP Address>:50003/tsomdb"
The database server name also needs to be modified in the latest fixpack directory, as well as the Uninstall directory. From the {tsom_home}/maint/ directory, look for the latest Fixpack release:
-
[root@ATLSUPLAB01 tsom/maint]# ls
4.1.1-TIV-TSOM-FP010 4.1.1-TIV-TSOM-FP015 DeviceSupport
In this installation, FP015 is the latest fixpack, so look for these two files to modify accordingly:
{tsom_home}/maint/4.1.1-TIV-TSOM-FP015/tmp/WEB-INF/classes/conf/db/repository_database.xml
-
Change:
dbalias="//<oldhostname or IP Address>:50003/tsomdb"
to:
dbalias="//<newhostname or IP Address>:50003/tsomdb"
{tsom_home}/maint/4.1.1-TIV-TSOM-FP015/Uninstall_4.1.1-TIV-TSOM-FP015/installvariables.properties
-
Change the lines:
DBURL=jdbc\:db2\://<oldhostname or IP Address>\:50003/tsomdb
CONS_USER_DB_HOST_INPUT_1=<oldhostname or IP Address>
CONS_USER_DB_HOST_INPUT="<oldhostname or IP Address>"
to:
DBURL=jdbc\:db2\://<newhostname or IP Address>\:50003/tsomdb
CONS_USER_DB_HOST_INPUT_1=<newhostname or IP Address>
CONS_USER_DB_HOST_INPUT="<newhostname or IP Address>"
{tsom_home}/Uninstall_Tivoli Security Operations Manager/installvariables.properties
-
Change the lines:
DBURL=jdbc\:db2\://<oldhostname or IP Address>\:50003/tsomdb
CONS_USER_DB_HOST_INPUT_1=<oldhostname or IP Address>
USER_DB_HOST_INPUT=<oldhostname or IP Address>
CONS_USER_DB_HOST_INPUT="<oldhostname or IP Address>"
to:
DBURL=jdbc\:db2\://<newhostname or IP Address>\:50003/tsomdb
CONS_USER_DB_HOST_INPUT_1=<newhostname or IP Address>
USER_DB_HOST_INPUT=<newhostname or IP Address>
CONS_USER_DB_HOST_INPUT="<newhostname or IP Address>"
Historical Number
02500
442
000
Product Alias/Synonym
TSOM Tivoli Security Operations Manager
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.