How to change the Portal Domain

How to change the Portal Domain

Article: 100045314
Last Published: 2019-12-17
Ratings: 0 1
Product(s): APTARE IT Analytics

Description

This document describes how to change the initial Portal URL domain (olddomain.com) to another one (newdomain.com). So the admin login should be: admin@newdomain.com

 

1) stop all services 

Unix: 
/opt/aptare/bin/aptare stop 

Windows: 

c:\opt\aptare\utils\stopallserverices.bat 



2) You are going to need to change the apache configuration; update the URLs referenced in the httpd.conf file for apache. 

/opt/apache/conf/httpd.conf 

The urls are listed at the bottom. 

Agent: 
<VirtualHost *> 
ServerName aptareagent.olddomain.com 
ServerAlias aptareagent aptareagent.* 


Portal: 
<VirtualHost *> 
ServerName aptareportal.olddomain.com 
ServerAlias aptareportal aptareportal.* 


Change to 

Agent: 
<VirtualHost *> 
ServerName aptareagent.newdomain.com 
ServerAlias aptareagent aptareagent.* 


Portal: 
<VirtualHost *> 
ServerName aptareportal.newdomain.com 
ServerAlias aptareportal aptareportal.* 


3) Update the portal.properties in the portal conf directory to reference the new url: 

portal.sessionTimeout=3600 
portal.applicationUrl=http://aptareportal.newdomain 


4)/opt/aptare/datarcvrconf/collectorConfig.global.properties 

This file contains the datarcvr URL – e.g. 
global_agentUrl=hbsmagent.newdomain 

This value is used when creating a new collector configuration file. It’s also inspected by the upgrader to try to determine what the URL prefix is if the upgrader was unable to determine this from the http.conf file (due e.g. to customization). 

5) manually update the ldap userid within the database 

sqlplus portal/portal 
update ptl_user set LDAP_ID = 'admin@newdomain.com' where LDAP_ID = 'admin@olddomain.com'; 


6) Modify the admin userID within open ldap. 

Unix: 
/opt/aptare/utils/updateUser.sh admin@olddomain.com admin@newdomain.com administrator <password> <password> 

Windows: 
c:\opt\aptare\utils\updateuser.bat admin@olddomain.com admin@newdomain.com administrator <password> <password> 

***replace <password> with the actual password*** 

7) update any existing collector configurations that might be using the old URL. 

8) If collector is on a windows box, the wrapper.conf file located in the conf directory on the collector needs to be updated as well. There is an agent url value in the configuration file. 

9) restart the services. 

Unix: 
/opt/aptare/bin/aptare start 

Windows 
c:\opt\aptare\utils\startallserverices.bat

 

Applies To

All

Was this content helpful?