How would to change dSeries server IP address/DNS name?
search cancel

How would to change dSeries server IP address/DNS name?

book

Article ID: 61926

calendar_today

Updated On:

Products

DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

When changing IP address or hostname of OS, the DE server may need to be updated as well.

Environment

Release: DSWAHA01300-12-Workload Automation DE-High Availability
Component:

Resolution

If DE server is using hostname to communicate with database, standby and agents then no changes are requires.  Restart of DE server will update any DNS caches locally.  Agent may need a some time to rediscover the manager IP from DNS.  Restart of agent will flush cache. 

 

After the address change check the following steps:

  1. Make sure your database is accessible from dSeries server after changes 

  2. Using setdbparm utility (see usage in administrator's guide) to modify data base connection properties (e.g. the jdbc.URL) to accommodate database change if any.

  3. Change the ip address of dSeries server:

    1. Shutdown server

    2. Modify host ip address and the DNS entries and /etc/hosts file

    3. Start server

  4. Change the IP address on agent side.  Check and modify agentparm.txt to reflect dSeries server address change.

 

Check if DE has been setup to use IP or hostname.  Run the following query on the database:

select * from ESP_CONFIG_PROPERTY where NAME = 'espresso.local.host'

 

If IP is being (see example below), then change address in the in_use_1, in_use_2 and desired fields.

id   | config_group_id |        name         |    in_use_1     |    in_use_2     |     desired     

200114 |          200102 | espresso.local.host | 10.0.0.1 | 10.0.0.1 | 10.0.0.1

 

Request the DBA to back up the database and update the above record with correct hostname.  The in_use_1, in_use_2 and desired fields will need to be update, e.g

update ESP_CONFIG_PROPERTY set in_use_1 = '<some_hostname>', in_use_1 = '<some_hostname>', desired = '<some_hostname>' where NAME = 'espresso.local.host'

All three fields must have same hostname.

And, run the query again to check making sure that all three fields have the same value:

select * from ESP_CONFIG_PROPERTY where NAME = 'espresso.local.host'

 

If the output shows hostname like following then DE is using hostname then no changes in the DB is needed.  Note: The hostname must be resolvable.

id   | config_group_id |        name         |    in_use_1     |    in_use_2     |     desired     

200114 |          200102 | espresso.local.host | test.example.com | test.example.com | test.example.com