Oracle Discoverer

From Lolly's Wiki
Revision as of 21:20, 25 November 2021 by Lollypop (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")
Jump to navigationJump to search

Kategorie:Oracle

Changing the IP address

Just some lines from last change... sorry

vi /etc/sysconfig/network/ifcfg-eth0
vi /etc/sysconfig/network/routes
vi /etc/hosts

/etc/init.d/network restart

# Change the VLAN in vCenter
# reconnect with new IP

#
# 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

# 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()

# 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