Oracle Audio Technologies E10898-02 manual Creating a Shared Virtual Disk for Live Migration

Page 46

Creating a Shared Virtual Disk for Live Migration

10.1.0.249:3260,1 iqn.1992-04.com.emc:cx.apm00070202838.a0 10.1.1.249:3260,2 iqn.1992-04.com.emc:cx.apm00070202838.a1 10.2.0.250:3260,3 iqn.1992-04.com.emc:cx.apm00070202838.b0

4.Delete entries that you do not want to use, for example:

iscsiadm -m node -p 10.2.0.250:3260,3 -T iqn.1992-04.com.emc:cx.apm00070202838.b0 -o delete iscsiadm -m node -p 10.1.0.249:3260,1 -T iqn.1992-04.com.emc:cx.apm00070202838.a0 -o delete iscsiadm -m node -p 10.2.1.250:3260,4 -T iqn.1992-04.com.emc:cx.apm00070202838.b1 -o delete iscsiadm -m node -p 10.1.1.249:3260,2 -T iqn.1992-04.com.emc:cx.apm00070202838.a1 -o delete iscsiadm -m node -p 10.0.1.249:3260,5 -T iqn.1992-04.com.emc:cx.apm00070202838.a2 -o delete

5.Verify that only the necessary entries are visible: iscsiadm -m node

6.Review the partitions by checking /proc/partitions:

cat /proc/partitions

 

major minor

#blocks

name

8

0

71687372

sda

8

1

104391

sda1

8

2

71577607

sda2

253

0

70516736

dm-0

2531 1048576 dm-1

7.Restart the iSCSI service: service iscsi restart

8.Review the partitions by checking /proc/partitions. A new device is listed.

cat /proc/partitions major minor #blocks name

80 71687372 sda

8

1

104391

sda1

8

2

71577607

sda2

253

0

70516736

dm-0

253

1

1048576

dm-1

816 1048576 sdb

9.The new device can now be used. fdisk -l /dev/sdb

10.Create a new directory named /etc/ocfs2 directory: mkdir /etc/ocfs2

11.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

6-2Oracle VM Server User’s Guide

Image 46
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 Why Virtualize? What is Virtualization?Introduction to Virtualization Oracle VM Xen TechnologyXen Technology Oracle VM Oracle VM Architecture shows the components of Oracle VM4Oracle VM Server User’s Guide Oracle VM Server Oracle VM ServerDomains, Guests and Virtual Machines HypervisorHypervisor Hardware Virtualization Vs. Paravirtualization Management DomainDomains Creating Virtual MachinesConfiguring Oracle VM Server Configuring Oracle VM ServerManaging Oracle VM Server Repositories Configuring Oracle VM Agent Oracle VM Agent Command-Line ToolOracle VM Agent Configuring Oracle VM Agent XmlrpcMonitoring Oracle VM Agent Starting Oracle VM AgentStopping Oracle VM Agent Deploying Oracle VM AgentTesting the Oracle VM Agent Connection Remotely Starting a Guest with the Oracle VM Agent APIMonitoring a Guest with the Oracle VM Agent Oracle VM Agent UtilitiesRemotely Stopping a Guest with the Oracle VM Agent API 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 SystemsMounting an ISO Creating a Guest Using a TemplateCreating a Guest Using a Template 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 the Root File System Creating a Paravirtualized Guest ManuallyCreating 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 Using the xm Command-Line Interface Domain Monitoring and AdministrationDomain Lifecycle Monitoring Domains Using the xm Command-Line InterfaceViewing Host Information Using the xm Command-Line Interface 4Oracle VM Server User’s Guide Domain Live Migration Creating a Shared Virtual Disk Using OCFS2 on iSCSICreating 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 Oracle VM Server Repositories Repository Configuration FileManaging Oracle VM Server Repositories Repository Mount OptionsRemoving a Repository Adding a RepositoryOracle VM Server Repositories Command-Line Tools Stop ConfigureStart RestartRRAM --ram=RAM HelpNname --name=name UUUID --uuid=UUIDVncport=port Bvalue --bridge=valueVnc SdlNoapic Os-variant=variantArch=arch Vif-type=type ParavirtLlocation --location=location Xargs --extra-args=argsDmesg --clear Console domain-idDestroy domain-id Help --long optionLog =file --defconfig=fileList --long --label domain-id Migrate domain-id host -l --live -r=MB --resource=MBRestore statefile Shutdown -a -w domain-idTop Unpause domain-idOracle VM Server Configuration File Loglevel Critical or Fatal Error Warn or Warning Info Debug Oracle VM Server Configuration FileLogfile location Xend-tcp-xmlrpc-server yes no Xend-http-server yes noXend-unix-server yes no Xend-unix-xmlrpc-server yes noXend-address IPAddress Xend-port portXend-relocation-port port Xend-relocation-address IPAddressDom0-cpus CPUs Enable-dump yes noDom0-min-mem memory 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 Debugging Tools TroubleshootingOracle VM Server Directories Oracle VM Server Command-Line Tools Using DhcpGuest Console Access Using DhcpGuest Console Access Cannot Display Graphical Installer When Creating Guests Cannot Display Graphical Installer When Creating GuestsHardware Virtualized Guest Console Not Displayed Mouse Pointer Tracking Problems Setting the Guest’s ClockWallclock Time Skew Problems Mouse Pointer Tracking ProblemsHardware Virtualized Guest Devices Not Working as Expected Hardware Virtualized Guest Windows InstallationHardware Virtualized Guest Killed Hardware Virtualized Guest KilledTAP Disks with Paravirtualized Guests Firewall Blocks NFS AccessAttaching to a Console with the Grub Boot Loader CD-ROM Image Not Found8Oracle VM Server User’s Guide Glossary Oracle VM Manager Oracle VM AgentOracle VM Server Paravirtualized machineVirtual disk Utility ServerVif Virtual Machine VMGlossary-4 Index Index-1Index-2