How to migrate Oracle RAC under VMware virtual machines

Source: Internet
Author: User
Tags resource uuid virtual environment linux

Oracle 10g RAC move under virtual machine recently, the VIP of Oracle cluster Resource could not start normally, received crs-0233:resource or relatives are currently involved With another operation error prompt. Why, originally AH, moved the address has changed, you have to use your home's new address ah ....

1. Environment description

Oracle 10g RAC + Suse 10

Note, after moving the RAC virtual machine, we usually choose to copy (move this without trying, not knowing if there will be a problem) when we add the VM.

Second, as replication is selected, the virtual machine generates a new UUID (UUID refers to the number generated on a single computer that guarantees the uniqueness of the machine in the same virtual environment).

The MAC address as well as the network interface name also change (the original eth0 and eth1 are not available for the first time), and this modification is usually required.

Different Linux systems have different processing methods for new network interfaces. Oracle Linux and Redhat can simply rename the original deletion and rename the new network interface name to the original.

2. crs-1006/crs-0215/crs-0233 Error

#修改网卡之后, restart two nodes

#resource VIP status is offline

oracle@bo2dbp:~>./crs_stat.sh |grep BO2DBP

Resource name Target State

--------------                                ------     -----

Ora.bo2dbp.ASM1.asm Online Online on BO2DBP

Ora.bo2dbp.LISTENER_BO2DBP.lsnr ONLINE OFFLINE

Ora.bo2dbp.LISTENER_ORA10G_BO2DBP.lsnr ONLINE OFFLINE

ORA.BO2DBP.GSD Online Online on BO2DBP

Ora.bo2dbp.ons ONLINE OFFLINE

ORA.BO2DBP.VIP ONLINE OFFLINE

Ora.ora10g.db Online Online on BO2DBP

Ora.ora10g.ora10g1.inst Online Online on BO2DBP

#尝试手动启动ons

Oracle@bo2dbp:~> Crs_start ora.bo2dbp.ons

Attempting to start ' ora.bo2dbp.ons ' ' bo2dbp '

Start of ' ora.bo2dbp.ons ' on ' bo2dbp ' failed.

Crs-1006:no to consider

Crs-0215:could Not start resource ' ora.bo2dbp.ons '.

#通过onsctl方式启动也收到失败信息

Oracle@bo2dbp:~> Onsctl Start

Number of onsconfiguration retrieved, numcfg = 2

ONSCFG[0]

{node = bo2dbp.2gotrade.com, port = 6200}

Adding remote host bo2dbp.2gotrade.com:6200

ONSCFG[1]

{node = bo2dbs.2gotrade.com, port = 6200}

Adding remote host bo2dbs.2gotrade.com:6200

Number of onsconfiguration retrieved, numcfg = 2

ONSCFG[0]

{node = bo2dbp.2gotrade.com, port = 6200}

Adding remote host bo2dbp.2gotrade.com:6200

Related Article

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.