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 - "[[Kategorie:" to "[[Category:") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[ | [[Category:Oracle]] | ||
== Changing the IP address == | == Changing the IP address == | ||
Just some lines from last change... sorry | Just some lines from last change... sorry | ||
< | <syntaxhighlight lang=bash> | ||
vi /etc/sysconfig/network/ifcfg-eth0 | vi /etc/sysconfig/network/ifcfg-eth0 | ||
vi /etc/sysconfig/network/routes | vi /etc/sysconfig/network/routes | ||
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 | ||
</ | </syntaxhighlight> |
Latest revision as of 04:52, 26 November 2021
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