Invalid address ca-prov-srv-01
search cancel

Invalid address ca-prov-srv-01

book

Article ID: 95146

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction

Upgrading from vApp 14.1 to 14.2 vApp starting at node 1 (have 2 servers).
In the update process "on node 1", Provisioning Server could not be started.
Error showed is : idm-userstore-router- does not exist [ERROR] syntax check for idm-user-router-error: DSA idm-userstore-router-does not exist
2018 May 2, 12:35:29 servercaidstl01 start_improvisioning.sh [WARN] The DSA could not be started "ca-prov-srv-01-impd-co":
examine the log file in / opt / CA / Directory / dxserver / logs /ca-prov-srv-01-impd-co_trace.log 

ca-prov-srv-01-imps-router_trace.log Shows  : 

* [0] 20180502.142702.522 DSA_I1220 DSA started: dxserver 12.6.04 (build 14058) Linux 64-Bit 
* [0] 20180502.142702.522 DSA_I3200 License: dxserver 12.6.04 (build 14058) Linux 64-Bit prefix null router/relay 
? [8] 20180502.143508.070 WARN : Remote DSA 'ca-prov-srv-01-impd-co' aborted 
? [3] 20180502.143513.439 WARN : Remote DSA 'ca-prov-srv-01-impd-inc' aborted 
? [6] 20180502.143518.755 WARN : Remote DSA 'ca-prov-srv-01-impd-main' aborted 
? [5] 20180502.143524.115 WARN : Remote DSA 'ca-prov-srv-01-impd-notify' aborted 
* [0] 20180502.143527.511 DSA_I1240 DSA shutting down 
? [0] 20180502.143527.511 WARN : Disabling cache prior to exit 
? [0] 20180502.123529.563 WARN : 'clear schema;' has been disabled as it is not required 
> [0] >>> address = ipv4 "ca-prov-srv-02" port 20391 #, ipv6 "ca-prov-srv-02" port 20391 
? [0] 20180502.123529.770 ERROR : Syntax Error: Line 1 in /opt/CA/Directory/dxserver/config/knowledge/ca-prov-srv-02-imps-router.dxc near '20391' 
Invalid address ca-prov-srv-02 
> [0] >>> address = ipv4 "ca-prov-srv-01" port 20394 #, ipv6 "ca-prov-srv-01" port 20394 
? [0] 20180502.123529.770 ERROR : Syntax Error: Line 1 in /opt/CA/Directory/dxserver/config/knowledge/ca-prov-srv-01-impd-main.dxc near '20394' 
Invalid address ca-prov-srv-01 
> [0] >>> address = ipv4 "ca-prov-srv-01" port 20396 #, ipv6 "ca-prov-srv-01" port 20396 
? [0] 20180502.123529.771 ERROR : Syntax Error: Line 1 in /opt/CA/Directory/dxserver/config/knowledge/ca-prov-srv-01-impd-co.dxc near '20396'
Invalid address ca-prov-srv-01 

ca_vapp_main.log Shows : 
2018 May 02 12:35:29 <servername> start_improvisioning.sh [WARN] The DSA "ca-prov-srv-01-impd-co" failed to start - please examine the log file at /opt/CA/Directory/dxserver/logs/ca-prov-srv-01-impd-co_trace.log 
2018 May 02 12:35:29 <servername> start_improvisioning.sh [WARN] The DSA "ca-prov-srv-01-impd-inc" failed to start - please examine the log file at /opt/CA/Directory/dxserver/logs/ca-prov-srv-01-impd-inc_trace.log 
 

Environment

Vapp 14.1 upgrade to 14.2

Cause

The 14.2 Upgrade made modifications on the /etc/hosts, there was missing lines , Vapp Block was not recreated...
2018 May 02 14:27:18 servercaidstl01 configureHosts [INFO] Backing up /etc/hosts
2018 May 02 14:27:18 servercaidstl01 configureHosts Existing hosts block detected!
Deleting all lines after line 7 from /etc/hosts

 

Resolution

1. Add manually the hosts references by checking the  /opt/CA/VirtualApppliance/custom/hosts/CA-hosts file
which contains all the hosts names needed. 
example :

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.130.139.190  server01-vapp02
# CA VAPP - START
10.130.139.190 log-srv-01
10.130.139.190 database_srv
10.130.139.190 userstore-01
10.130.139.190 ca-conn-srv-01
10.130.139.190 ca-prov-srv-01
10.130.139.190 caig-srv-01
10.130.139.190 caim-srv-01
10.130.139.190 caip-srv-01
10.130.139.190 caig-srv
10.130.139.190 caim-srv
10.130.139.190 ca-prov-srv
10.130.139.190 userstore
# CA VAPP - END

2. to inject them on “/opt/CA/VirtualApppliance/custom/hosts” use the following command  :

cat /opt/CA/VirtualApppliance/custom/hosts/CA-hosts >> /opt/CA/VirtualApppliance/custom/hosts

It will Restore the Vapp block missed into  “/opt/CA/VirtualApppliance/custom/hosts” 

3. Check if need to add an additional hostname lines for Provisioning and Connector Server on /etc/hosts 
ie.
10.130.139.190 ca-prov-srv-01    ca-prov-srv
10.130.139.190 caim-srv-01        caim-srv

then /etc/hosts will look this after injection :

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.130.139.190  server01-vapp02
# CA VAPP - START
10.130.139.190 log-srv-01
10.130.139.190 database_srv
10.130.139.190 userstore-01
10.130.139.190 ca-conn-srv-01
10.130.139.190 ca-prov-srv-01      ca-prov-srv
10.130.139.190 caig-srv-01
10.130.139.190 caim-srv-01          caim-srv
10.130.139.190 caip-srv-01
10.130.139.190 caig-srv
10.130.139.190 caim-srv
10.130.139.190 ca-prov-srv
10.130.139.190 userstore
# CA VAPP - END


4, from /opt/CA/Directory/dxserver/config/knowledge folder : 
Run the command :

configureCustomHostRecord

5.  To restart Provisioning server , run command :  restart_ps