4 enabling ha, Enabling ha – Oracle Audio Technologies E10898-02 User Manual

Page 67

Advertising
background image

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.

Advertising