How to change IP on Oracle VM Server?
MikeWNov 24 2008 — edited Nov 25 2008Problem statement: Need to move OVMS1 (OVM Server 1) to an IP the 10.40.40.X subnet;
~~~
environment: 2 OVS servers 2.1.2 with identical hardware (18gRAM/4cores) with shared SAN storage via OCFS2 currently validated in High Availability Config;
~~~
OVMS1 is on a 192.168.0.X IP & is setup as Server Pool Master, Util Server, & VM Server.
OVMS2 is on a 10.40.40.X IP & is setup as VM Server.
Note: currently there is 2 way bridging between these subnets and we have created many machines and had no issues...
Note: DNS is setup for the hosts and the OCFS cluster configs and such were made using fully qualified domain names (believe there are no hard-coded IPs).
Note: OVMS1 was the original server where the OCFS2 was configured and is currently the pool master & util server...
~~~
Proposed solution1: 'Change IP': Not sure yet but with no other input proposed steps:
- 1.a: make sure no VMs are running on OVMS1 & physically disconnect it from the network,
- 1.b: change the IP on the server ({color:#ff0000}*ifconfig on peth0?*{color}) via ILO on the console and shut it down.
- 1.c: change the DNS entries on the DNS server and change the cabling to be on the 10.40.40.X subnet;
- 1.d: restart OVMS1.
~~~
Proposed solution2: 'Re-install OVMS': Not sure yet but with no other input proposed steps:
- 2.a: make sure no VMs are running on OVMS1, shut down OVMS1, & physically disconnect it from the netork,
- 2.b: +{color:#ff0000}Question: Do I need to unregister OVMS1 if I am going to do an identical install with just a new IP?{color}+
- 2.b: physically change the cable to the 10.40.40.X subnet & reinstall OVS 2.1.2 with the new IP and resetup OCFS2
- 2.c: start OVMS1.
~~~
In theory Proposed solution 1 is cleanest, assuming DNS & no hard coding of IPs, as OVMS1 is already registered and it's agents are configured; Solution2 gives me some concerns about how the server/host are registred and whether the OVM Manager holds the entires or if they are local to the server... Not sure
~~~
Any ideas or input to this would be appreciated as it is critical that we change the IP of OVMS1...
Edited by: user8309620 on Nov 24, 2008 10:20 AM
Edited by: user8309620 on Nov 24, 2008 10:20 AM