Oracle Audio Technologies E10898-02 manual Adding a Shared Virtual Disk Using NFS

Page 48

Creating a Shared Virtual Disk for Live Migration

3.Create the OCSF2 configuration file as /etc/ocfs2/cluster.conf. The following is a sample cluster.conf file:

node:

ip_port = 7777

ip_address = 10.1.1.1 number = 0

name = example1.com cluster = ocfs2

node:

ip_port = 7777

ip_address = 10.1.1.2 number = 1

name = example2.com cluster = ocfs2

cluster:

node_count = 2 name = ocfs2

4.Review the status of the OCFS2 cluster service: service o2cb status

5.Load the OCFS2 module: service o2cb load

6.Set the OCFS2 service to be online: service o2cb online

7.Configure the OCFS2 service to start automatically when the computer boots: service o2cb configure

8.Start up the OCFS2 service. service o2cb start

9.Format the shared virtual disk from any of the servers in the cluster: mkfs.ocfs2 /dev/sdh1

10.Mount the shared virtual disk from all the servers in the cluster on /OVS/remote: mount /dev/sdh1 /OVS/remote/ -t ocfs2

11.Change the /etc/fstab file to include the shared virtual disk mounted at boot:

/dev/sdh

/OVS/remote

ocfs2 defaults

1 0

6.1.3 Adding a Shared Virtual Disk Using NFS

To add a shared virtual disk using NFS:

1.Find an NFS mount point to use. This example uses the mount point: mycomputer:/vol/vol1/data/ovs

2.Add the following entry to the /etc/fstab file:

myfileserver:/vol/vol1/data/ovs /OVS/remote nfs rw,bg,intr,hard,timeo=600,wsize=32768,rsize=32768,nfsvers=3,tcp 0 0

6-4Oracle VM Server User’s Guide

Image 48
Contents E10898-02 FebruaryPage Contents Command-Line Tools Oracle VM Server Configuration File Page Accessibility of Code Examples in Documentation PrefaceCommand Syntax TTY Access to Oracle Support ServicesConventions Page What is Virtualization? Why Virtualize?Introduction to Virtualization Xen Technology Oracle VMXen Technology Oracle VM Oracle VM Architecture shows the components of Oracle VM4Oracle VM Server User’s Guide Oracle VM Server Oracle VM ServerHypervisor Domains, Guests and Virtual MachinesHypervisor Management Domain DomainsHardware Virtualization Vs. Paravirtualization Creating Virtual MachinesConfiguring Oracle VM Server Configuring Oracle VM ServerManaging Oracle VM Server Repositories Oracle VM Agent Command-Line Tool Configuring Oracle VM AgentOracle VM Agent Configuring Oracle VM Agent XmlrpcStarting Oracle VM Agent Stopping Oracle VM AgentMonitoring Oracle VM Agent Deploying Oracle VM AgentTesting the Oracle VM Agent Connection Remotely Starting a Guest with the Oracle VM Agent APIOracle VM Agent Utilities Remotely Stopping a Guest with the Oracle VM Agent APIMonitoring a Guest with the Oracle VM Agent Deleting a Guest with the Oracle VM Agent6Oracle VM Server User’s Guide Creating a Guest Supported Guest Operating SystemsSupported Guest Operating Systems -bit Hypervisor Supported Guest Operating SystemsCreating a Guest Using a Template Creating a Guest Using a TemplateMounting an ISO Enabling Registration of Guests with Oracle VM ManagerCreating a Guest Using virt-install Creating a Guest Using virt-installPress Enter Following question is displayed Would you like to enable graphics support yes or no? Creating a Paravirtualized Guest Manually Creating the Root File SystemCreating a Paravirtualized Guest Manually Configuring the Guest Populating the Root File SystemCreating a Hardware Virtualized Guest Manually Creating a Hardware Virtualized Guest ManuallyEdit /mnt/etc/sysconfig/network-scripts/ifcfg-eth0 Use VNCViewer to display the guest If you see this error message Restart the guest, using the xm command-line tool Installing Paravirtual Drivers Installing Paravirtual Drivers 16Oracle VM Server User’s Guide Domain Monitoring and Administration Using the xm Command-Line InterfaceDomain Lifecycle Using the xm Command-Line Interface Monitoring DomainsViewing Host Information Using the xm Command-Line Interface 4Oracle VM Server User’s Guide Creating a Shared Virtual Disk Using OCFS2 on iSCSI Domain Live MigrationCreating a Shared Virtual Disk for Live Migration Creating a Shared Virtual Disk for Live Migration Delete entries that you do not want to use, for exampleCreating a Shared Virtual Disk Using OCFS2 on SAN Adding a Shared Virtual Disk Using NFS Migrating a Domain Migrating a Domain6Oracle VM Server User’s Guide Repository Configuration File Managing Oracle VM Server RepositoriesOracle VM Server Repositories Repository Mount OptionsAdding a Repository Removing a RepositoryOracle VM Server Repositories Command-Line Tools Configure StartStop RestartHelp Nname --name=nameRRAM --ram=RAM UUUID --uuid=UUIDBvalue --bridge=value VncVncport=port SdlOs-variant=variant NoapicArch=arch Paravirt Llocation --location=locationVif-type=type Xargs --extra-args=argsConsole domain-id Destroy domain-idDmesg --clear Help --long option=file --defconfig=file List --long --label domain-idLog Migrate domain-id host -l --live -r=MB --resource=MBRestore statefile Shutdown -a -w domain-idTop Unpause domain-idOracle VM Server Configuration File Oracle VM Server Configuration File Loglevel Critical or Fatal Error Warn or Warning Info DebugLogfile location Xend-http-server yes no Xend-unix-server yes noXend-tcp-xmlrpc-server yes no Xend-unix-xmlrpc-server yes noXend-port port Xend-relocation-port portXend-address IPAddress Xend-relocation-address IPAddressEnable-dump yes no Dom0-min-mem memoryDom0-cpus CPUs External-migration-tool tool6Oracle VM Server User’s Guide Guest Configuration Files Configuration File ExampleConfiguration File Example Oracle VM Agent Architecture Oracle VM Agent ArchitectureOracle VM Agent Deployment Oracle VM Agent DeploymentOracle VM Agent Architecture D-3 4Oracle VM Server User’s Guide Troubleshooting Debugging ToolsOracle VM Server Directories Using Dhcp Guest Console AccessOracle VM Server Command-Line Tools Using DhcpGuest Console Access Cannot Display Graphical Installer When Creating Guests Cannot Display Graphical Installer When Creating GuestsHardware Virtualized Guest Console Not Displayed Setting the Guest’s Clock Wallclock Time Skew ProblemsMouse Pointer Tracking Problems Mouse Pointer Tracking ProblemsHardware Virtualized Guest Windows Installation Hardware Virtualized Guest KilledHardware Virtualized Guest Devices Not Working as Expected Hardware Virtualized Guest KilledFirewall Blocks NFS Access Attaching to a Console with the Grub Boot LoaderTAP Disks with Paravirtualized Guests CD-ROM Image Not Found8Oracle VM Server User’s Guide Glossary Oracle VM Agent Oracle VM ServerOracle VM Manager Paravirtualized machineUtility Server VifVirtual disk Virtual Machine VMGlossary-4 Index Index-1Index-2