Posts

Showing posts from May, 2012

Change Oracle SCAN VIP

In my previous post -- changed Oracle cluster IP/VIP address. I mentioned how to change those IPs. But for some reasons that SCAN VIP did not change. Here are the steps to change it: 1> Make sure that the SCAN VIP hostname can be resolved.      nslookup < SCAN_name> 2> Become root and set ORACLE_HOME environment [oracle@host1 ~]$ su - Password: [oracle@host1 ~]# export ORACLE_HOME=/u01/app/oracle/grid [oracle@host1 ~]$ srvctl config scan SCAN name: linpe-cluster, Network: 1/9.55.49.0/255.255.255.0/eth0 SCAN VIP name: scan1, IP: /linpe-cluster/ 10.10.46.183 [oracle@host1 ~]# modify scan -n linpe-cluster [oracle@host1 ~]$ srvctl config scan SCAN name: linpe-cluster, Network: 1/9.55.49.0/255.255.255.0/eth0 SCAN VIP name: scan1, IP: /linpe-cluster/ 9.55.49.183

Vmware useful command

# Displaying the vSwitch configurations    esxcfg-vswitch -l # Add/Delete the vSwitch    esxcfg-vswitch -a esxcfg-vswitch -d # Display all the NIC's       esxcfg-nics -l # Link another NIC to the switch       esxcfg-vswitch -L vmnic1 vSwitch0 # Unlink a NIC from a Switch      esxcfg-vswitch -U vmnic0 vSwitch0 # Display current IP address settings      esxcfg-vmknic -l # Change the Service console network      esxcfg-vmknic "Management Network" -i 192.168.0.190 -n 255.255.255.0 # Delete/Add the Service Console from a vWsiwtchx      escxfg-vswitch vSwitch0 -D "Service_Console_name"      esxcfg-vswitch -A "Service_Console_name" vSwitch0 # Add VLAN to the Service Console      esxcfg-vswitch vSwitch0 -p "Service_Console_name" -v 0 # Delete/add the Service Console interface      esxcfg-vswif -d vswif0      esxcfg-vswif -a vswif0 -p "Service_Console_name" -i -n # Restart the netwo

Change IP address for Oracle RAC

Oringial from http://zhefeng.wordpress.com/2009/02/02/change-ip-address-for-oracle-rac-public-and-vip-interfaces/ 1. Current Environment  1). Machine IP:  Node1: vmrac01  Node2: vmrac02 ## eth1-Public  10.50.96.101 vmrac01 vmrac01.test.com  10.50.96.102 vmrac02 vmrac02.test.com  ## eth0-Private  192.168.199.1 vmracprv01 vmracprv01.test.com  192.168.199.2 vmracprv02 vmracprv02.test.com  ## VIP  10.50.96.103 vmracvip01 vmracvip01.test.com  10.50.96.104 vmracvip02 vmracvip02.test.com 2). cluster information:  cluster name – vm10cls  database name – v10c  Instance 1 – v10c1  Instance 2 – v10c2  Node1 – vmrac01  Node2 – vmrac02 2. New IP changing map(different subnet mask too):  10.50.96.101/255.255.255.0 vmrac01 –&gt; 10.50.99.41/255.255.252.0  10.50.96.102/255.255.255.0 vmrac02 –&gt; 10.50.99.42/255.255.252.0  10.50.96.103/255.255.255.0 vmracvip01 –&gt; 10.50.99.43/255.255.252.0  10.50.96.104/255.255.255.0 vmracvip02 –&gt; 10.50.99.44/255.255.252.0 3. steps 1 — change R