Add a shared disk for Oracle RAC under VMware Server

Source: Internet
Author: User
Tags myvm vmware server

In the Oracle RAC environment under VMWare, multi-path images of OCR or votingdisk are not enough for shared storage or need to be added to a new shared disk, we can add shared storage through the command line under VMWare, and then append these new disks to the virtual machines one by one. The following is a detailed description.

1. Add a virtual disk # Here we will add two shared disks for the virtual machine # One is to add an OCR image and the other is to supplement the situation where the ASM disk is insufficient. c: \ Users \ Robinson. cheng> Cd c: \ Program Files (x86) \ VMware Server c: \ Program Files (x86) \ VMware Server> vmware-vdiskmanager.exe # command line usage help information c: \ Program Files (x86) appears without adding any parameters) \ VMware Server> vmware-vdiskmanager.exe-C-S 200 MB-A lsilogic-T 2 C: \ myvm \ sharedisk \ ocrmirror. vmdk creating disk 'C: \ myvm \ sharedisk \ ocrmirror. vmdk 'create: 100% done. virtual Disk creation successful. c: \ Program Files (x86) \ VMware Server> vmware-vdiskmanager.exe-C-S 2000 MB-A lsilogic-T 0 C: \ myvm \ sharedisk \ asm_data_new.vmdk creating disk 'C: \ myvm \ sharedisk \ asm_data_new.vmdk 'create: 100% done. virtual Disk creation successful. c: \ Program Files (x86) \ VMware Server> Cd c: \ myvm \ sharedisk> dir asm_data_new * ocrmi * volum E In drive C has no label. volume serial number is your directory of c: \ myvm \ sharedisk 06/01/2013 PM 327,680 your directory of C: \ myvm \ sharedisk 06/01/2013 PM 209,715,200 ocrMirror-flat.vmdk 06/01/2013 PM 425 ocrmirror. vmdk 3 file (s) 210,043,305 bytes 0 Dir (s) 152,651,186,176 bytes free 2. append the virtual disk to the virtual machine. On the virtual machine interface, select the virtual machine to add the disk, and click Add hardware ", click "Hard Disk" and select "Use a Exi Sting Virtual Disk ". Select the newly created vmdk File Based on the path, ocrmirror. vmdk, and "independent" for disk mode ". For the virtual device node, select sci2: 0 (scsi0 and scsi1 are used to avoid SCSI bus faults. If you select the remaining devices on scsi0 and scsi1, You need to reconfigure ASM. Because the disk SDA, SDB, and SDC are allocated based on the SCSI sequence and the nodes above it. Other Newly Added disks are processed as examples. Add these new disks to another host in the same way # Author: Robinson # blog: http://blog.csdn.net/robinson_06123133 modify the virtual machine configuration file and edit the configuration files of each virtual machine. at the end of vmx, you can see that the newly filled disk has already appeared in the configuration file. Modify the sharedbus entry of the newly added SCSI bus to virtual. In this example, scsi2.sharedbus = "virtual" is followed by adding the following items to the configuration file. Note the scsix: Y representation. X indicates the number of buses, and y indicates the number of devices on the bus. 0 indicates the first device, 1 indicates the second device, and so on. Sci2: 0. devicetype = "disk" sci2: 0. redo = "" sci2: 1. devicetype = "disk" sci2: 1. redo = "" 4. Configure the bare device and ASM to start the VM and then perform fdisk on the Newly Added Disk on any VM. Raw devices need to be configured for the OCR or votedisk used as an image. The OCR and votingdisk can be stored in ASM at 11g RAC. For SuSE Linux, refer to: SuSE Linux 10 configure raw device (raw devices) http://blog.csdn.net/robinson_0612/article/details/7997335 for ASM disks that are used to store data, you need to use asmlib for configuration. For ASM configuration, see: Creating an ASM instance and an ASM database http://blog.csdn.net/robinson_0612/article/details/6080659

More references

For more information about Oracle RAC, see
Use crs_setperm to modify the resource owner and permissions of RAC.
Use crs_profile to manage RAC resource configuration files
RAC database startup and Shutdown
Oracle RAC services
Services in Oracle Database 10g
Migrate datbase from single instance to Oracle RAC
Connect Oracle RAC to a specified instance
Oracle RAC load balancing test (combined with server and client)
Oracle RAC server connection Load Balance)
Load Balance)
Non-Default port listening configuration in Oracle RAC (listener. ora tnsnames. ora)
Oracle RAC Listener Configuration (listener. ora tnsnames. ora)
Configure RAC load balancing and Failover
CRS-1006, CRS-0215 fault case
Installing Oracle 10g RAC Based on Linux (RHEL 5.5)
Use runcluvfy to verify the Oracle RAC installation environment

For more information about the basics and concepts of Oracle network configuration, see:
Configure dynamic service registration for non-default ports
Configure sqlnet. ora to restrict IP Access to Oracle
Configure and manage Oracle listener logs
Set the Oracle listener password (listener)
Configure the Oracle client to connect to the database

For more information about user-managed backup and recovery, see
Oracle cold backup
Oracle Hot Backup
Concept of Oracle backup recovery
Oracle instance recovery
Oracle recovery based on user management
System tablespace management and Backup Recovery
Sysaux tablespace management and recovery
Oracle backup control file recovery (unsing backup controlfile)

For information on RMAN backup recovery and management, see
RMAN overview and architecture
RMAN configuration, Monitoring and Management
Detailed description of RMAN backup
RMAN restoration and recovery
Create and use RMAN catalog
Create RMAN storage script based on catalog
Catalog-based RMAN backup and recovery
RMAN backup path confusion
Use RMAN for recovery from different machine backups (WIN platform)
Use RMAN to migrate a file system database to ASM
Linux RMAN backup shell script
Use RMAN to migrate the database to a different machine

For the Oracle architecture, see
Oracle tablespace and data files
Oracle Password File
Oracle parameter file
Oracle online redo log file)
Oracle Control File)
Oracle archiving logs
Oracle rollback and undo)
Oracle database instance startup and Shutdown Process
Automated Management of Oracle 10g SGA
Oracle instances and Oracle databases (Oracle Architecture)

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.