10g rac asm ip address Modification

Source: Internet
Author: User

10g rac asm modify IP address first, yesterday set up a set of full raw (including crs and voting disks and database files) 10.2.0.1RAC (not Using asm, the title is written in asm and is used by many comrades. I can modify the method here.) to test my software, two sets of the same rac are required during the test, I used my laziness again, continued cloning, and modified the cloned IP address. This is the process of modifying the IP address below. 10 I forgot to write a document when setting up Grac's full raw. Well, a good blog is gone. Next time I make up the Public-IP address (eth0) 192.168.0.171-> 192.168.0.18119255.0.172-> 192.168.0.182Private-ip (eth1) after modification 7.1.1.1-> 8.1.1.17.1.1.2-> 8.1.1.2Virtual-ip (eth0) after the modification, 192.168.0.173-> 192.168.0.183192.168.0.174-> 192.168.0.184 2. Modify publicip and vip. First, disable crs (both nodes must be executed). [root @ raw01 ~] #/Etc/init. d/init. crs stop [root @ raw02 ~] #/Etc/init. d/init. crs stop modify public-IP (eth0 IP) 192.168.0.171-> hosts-> 192.168.0.182 restart Nic service network restart/etc/hosts corresponding entries also change 192.168.0.171 raw01 to 192.168.0.181 then raw02 to 192.168.0.182 raw02192.168.0.173 raw01-vip to 192.168.0.183 raw01-vip192.168.0.174 to 192.168.0.184 raw02-vip attention private ip needs to be modified later (after the rac configuration is modified) modify the settings in rac to enable crs first, and close the database, asm, and other resources [root @ raw01 bin] #/etc/init. d/init. crs start is then required (go to the bin of the cluster root directory) [root @ raw01 bin]. /srvctl stop database-d rawdb [root @ raw01 bin]. /srvctl stop asm-n raw01 [root @ raw01 bin]. /srvctl stop asm-n raw02 [root @ raw01 bin]. /srvctl stop nodeapps-n raw01 [root @ raw01 bin]. /srvctl stop nodeapps-n raw02 and then modify the ip settings in rac [root @ raw01 bin] #. /oifcfg getif ---- view eth0 192.168.0.0 global publiceth1 8.1.1.0 global cluster_interconnect. The public network segment is not changed here. If it is changed, for example, to 192.168.1.183 (the network segment is also changed ), then [root @ raw01 bin] #. /oifcfg setif-global eth0/192.168.1.0: public --- new network segment [root @ raw01 bin] #. /oifcfg delif-global eth0/192.168.0.0: public --- Delete the old network segment and modify the private modification (yes, privateip must first modify the settings in rac before modifying the actual IP address) [root @ raw01 bin] #. /oifcfg setif-global eth1/8.1.1.0: cluster_interconnect --- new network segment [root @ raw01 bin] #. /oifcfg delif-global eth1/7.1.1.0: cluster_interconnect --- Delete the old network segment and modify the Vip Address [root @ raw01 bin] #. /srvctl modify nodeapps-n raw01-A 192.168.0.183/255.255.255.0/eth0 [root @ raw01 bin] #. /srvctl modify nodeapps-n raw02-A 192.168.0.184/255.255.255.0/eth0 3. modify privateip to modify private-IP (the IP address of eth1) 7.1.1.1-> 8.1.1.17.1.1.2-> 8.1.1.2/etc/hosts corresponding entries also change 7.1.1.1 raw01-priv to 8.1.1.1 raw01-priv7.1.1.2 raw02-priv to 8.1.1.2 raw02-priv 4. Restart Server 5. After starting up, wait and check the status again

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.