After DB Server Clone Jobs
Get new MAC in vSphere Client
A. Right-click the virtual machine and click Edit Settings.
B. Click Network adapter and note the MAC Address
Change MAC in the Linux
/etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:XX:XX:XX", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
Change MAC and IP on eth0
vi /etc/sysconfig/network-scripts/ifcfg-eth0
HWADDR=00:50:56:XX:XX:XX
IPADDR=172.33.77.XX
cat /etc/sysconfig/network-scripts/ifcfg-eth0
service network restart
Rename hostname
vi /etc/network
or
vi /etc/sysconfig/network
Change Oracle settings
vi /u01/oracle/database/11.2/network/admin/listener.ora
…(HOST = dynamo.servername.com)…
lsnrctl stop
lsnrctl start
reboot