Thursday, August 8, 2013

[OBIEE 11g] Changing Default Port Numbers

 




OBIEE 11g Changing Default Port Numbers






To change ports for OBIEE 11g Adminserver and Biserver1


This is a way of Making the Port changes to OBIEE 11g without logging into the UI



1. Bring Down Services OBIEE All services


- $MW_HOME/instances/instance1/bin/opmnctl stopall

- $MW_HOME/user_projects/domains/bifoundation_domain/bin/stopManagedWebLogic.sh bi_server1


- ps -ef |grep Node|grep nodemanager |cut -c10-15

This will show the Node Manager process. Write down its PID. Then execute:
 - kill <NodeManager_PID>

- $MW_HOME/user_projects/domains/bifoundation_domain/bin/stopWebLogic.sh




2. Change config.xml ports add an extra tag if needed within config.xml for  AdminServer -  In example i have changed port to 8005


File can be found here: Remember to take a backup of the file

$MW_HOME/user_projects/domains/bifoundation_domain/config/config.xml

find tag <name>AdminServer</name>

find tag under the tag above called  <machine>hostname.net</machine>

add a tag under machine tag called 

<listen-port>8005</listen-port>

If you dont set a listen port tag then the standard port is 7001


 


3. Change config.xml ports add an extra tag if needed within config.xml for BIServer1 - In example i have changed port to 8006


Find tag <name>bi_server1</name>

find tag under the tag above called  <machine>hostname.net</machine>

<listen-port>8006</listen-port>

The listen port tag should exist here so just change the port.





4. Modify NQSConfig.xml 


If you dont change these settings sometimes you cant login to OBIEE after making Port Changes.



File can be found here : Remember to take a backup of the file.$MW_HOME/instances/instance1/config/OracleBIServerComponent/coreapplication_obis1/NQSConfig.INI


Alter Entries ( Sample given i have set port to 8006)

FMW_SECURITY_SERVICE_URL = "
http://192.1.1.1:8006"; -- Make sure Port is correct.
FMW_UPDATE_ROLE_AND_USER_REF_GUIDS = YES;  -- Change from NO to YES

Save file


 
 5. Start OBIEE all services


nohup $MW_HOME/user_projects/domains/bifoundation_domain/bin/startWebLogic.sh &

nohup $MW_HOME/wlserver_10.3/server/bin/startNodeManager.sh &

nohup $MW_HOME/user_projects/domains/bifoundation_domain/bin/startManagedWebLogic.sh bi_server1 &

nohup $MW_HOME/instances/instance1/bin/opmnctl startall &



After Everything has started and working ok the NQSConfig setting

FMW_UPDATE_ROLE_AND_USER_REF_GUIDS = YES;  can be set to NO.




Ports can also be changed directly within Weblogic using the UI


http://hostname:7001/console



Goto Servers - Click on a server



Once clicked you will see the listner port : Lock and Edit  Make the change and save it

 










No comments:

Post a Comment