Oracle Discoverer: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
(Die Seite wurde neu angelegt: „Kategorie:Oracle == Changing the IP address == Just some lines from last change... sorry <source lang=bash> vi /etc/sysconfig/network/ifcfg-eth0 vi /etc/…“)
 
m (Text replacement - "</source" to "</syntaxhighlight")
Line 37: Line 37:


tail -f /opt/Middleware/user_projects/domains/ClassicDomain/servers/WLS_DISCO/logs/WLS_DISCO.out  
tail -f /opt/Middleware/user_projects/domains/ClassicDomain/servers/WLS_DISCO/logs/WLS_DISCO.out  
</source>
</syntaxhighlight>

Revision as of 16:25, 25 November 2021

Kategorie:Oracle

Changing the IP address

Just some lines from last change... sorry <source lang=bash> vi /etc/sysconfig/network/ifcfg-eth0 vi /etc/sysconfig/network/routes vi /etc/hosts

/etc/init.d/network restart

  1. Change the VLAN in vCenter
  2. reconnect with new IP
  1. Change the config

/opt/Middleware/ashome_1/chgip/scripts/chgiphost.sh -noconfig -oldhost discoverer01.srv.net.de -newhost discoverer.srv.net.de -oldip 172.16.31.29 -newip 172.16.7.4 -instanceHome /opt/Middleware/asinst_1 /etc/init.d/weblogic stop

  1. Adminserver, too

/opt/Middleware/wlserver_10.3/server/bin/setWLSEnv.sh /opt/Middleware/wlserver_10.3/common/bin/wlst.sh wls:/offline> readDomain('/opt/Middleware/user_projects/domains/ClassicDomain') wls:/offline/ClassicDomain> cd ('/Machine/neuerhostname') wls:/offline/ClassicDomain/Machine/neuerhostname> machine=cmo wls:/offline/ClassicDomain/Machine/neuerhostname> cd ('/Server/AdminServer') wls:/offline/ClassicDomain/Server/AdminServer> set('Machine', machine) wls:/offline/ClassicDomain/Server/AdminServer> updateDomain() wls:/offline/ClassicDomain/Server/AdminServer> exit()

  1. Nach den Anpassungen starten

/etc/init.d/weblogic start

netstat -plant | grep 9001

tail -f /opt/Middleware/user_projects/domains/ClassicDomain/servers/WLS_DISCO/logs/WLS_DISCO.out </syntaxhighlight>