Enabling HA
High Availability
9-7
# mkfs.ocfs2 -L mylabel -b 4K -C 4K -J size=64M -N 16 /dev/sda1
2.
On the Server Pool Master, start the cluster service:
# /usr/lib/ovs/ovs-cluster-configure
This script generates the /etc/ocfs2/cluster.conf file if it does not already exist,
and configures and starts the o2cb service.
3.
On the Server Pool Master, configure the OCFS2 partition as shared storage with
/usr/lib/ovs/ovs-makerepo
source
C
description
, for example.
# /usr/lib/ovs/ovs-makerepo /dev/sda1 C "cluster root"
4.
Check the cluster has been configured correctly and is running:
# /usr/lib/ovs/ovs-cluster-check --master --alter-fstab
The
--master
parameter should only be used on the Server Pool Master. The
--alter-fstab
parameter modifies the /etc/fstab file. A backup of the original
/etc/fstab file is created in /tmp.
5.
Log in to Oracle VM Manager and create an HA-enabled server pool. See
Section 9.4, "Enabling HA"
for information on creating an HA-enabled server pool.
9.4 Enabling HA
To enable HA, you must first enable HA in the server pool, and then on each guest. To
enable HA:
1.
Log in to Oracle VM Manager and enable HA in the server pool. If the server pool
already exists, enable HA on the server pool. See the
Oracle VM Manager User's
Guide
for information on setting up HA in Oracle VM Manager.
The Oracle VM Agent on the Server Pool Master calls the
/usr/lib/ovs/ovs-cluster-configure script and creates the cluster.conf file, if it
does not already exist. The Oracle VM Agent then creates and starts a heartbeat
device if required.
The server pool setup is verified and any errors are displayed in Oracle VM
Manager. If there are no errors, the Oracle VM Agent on the Server Pool Master
propagates the repositories and the cluster.conf file to other Oracle VM Servers in
the server pool. When an Oracle VM Agent is started in the server pool, this
propagation is repeated for that Oracle VM Server.
The server pool is HA enabled.
2.
When creating guests (virtual machines) in Oracle VM Manager, enable HA.
HA is enabled on the server pool and guests.
Содержание VM
Страница 1: ...Oracle VM Server User s Guide Release 2 1 E10898 04 June 2009 ...
Страница 10: ...x ...
Страница 16: ...Oracle VM 1 4 Oracle VM Server User s Guide ...
Страница 24: ...Monitoring Oracle VM Agent 3 4 Oracle VM Server User s Guide ...
Страница 40: ...Installing Paravirtual Drivers 4 16 Oracle VM Server User s Guide ...
Страница 44: ...Using the xm Command Line Interface 5 4 Oracle VM Server User s Guide ...
Страница 50: ...Migrating a Domain 6 6 Oracle VM Server User s Guide ...
Страница 54: ...Removing a Repository 7 4 Oracle VM Server User s Guide ...
Страница 68: ...Enabling HA 9 8 Oracle VM Server User s Guide ...
Страница 88: ...Oracle VM Server Configuration File B 6 Oracle VM Server User s Guide ...
Страница 96: ...Oracle VM Agent Deployment D 4 Oracle VM Server User s Guide ...
Страница 104: ...Attaching to a Console with the Grub Boot Loader E 8 Oracle VM Server User s Guide ...
Страница 108: ...Xen Glossary 4 ...
Страница 112: ...Index 4 ...