beautypg.com

3 bringing the cluster online, 1 install nfsserver, 2 configure the partition and the file system – Avago Technologies Syncro CS 9286-8e User Manual

Page 50

background image

Avago Technologies

- 50 -

Syncro CS 9286-8e Solution User Guide
November 2014

Chapter 3: Creating the Cluster

Creating the Cluster in SuSE Linux Enterprise Server (SLES)

3.5.3

Bringing the Cluster Online

Perform the following steps to bring the cluster online.

1.

Check if the openais service is already running by entering the following command:

rcopenais status

2.

If the openais service is already running, go to step 3. If not, start OpenAIS/Corosync now by entering the
following command:

rcopenais start

3.

Repeat the steps above for each of the cluster nodes. On each of the nodes, check the cluster status with the
following command:

crm_mon

If all of the nodes are online, the output should be similar to the following:

============

Last updated: Thu May 23 04:28:26 2013

Last change: Mon May 20 09:05:29 2013 by hacluster via crmd on sles-ha1

Stack: openais

Current DC: sles-ha2 - partition with quorum

Version: 1.1.6-b988976485d15cb702c9307df55512d323831a5e

2 Nodes configured, 2 expected votes

1 Resources configured.

Online: [ sles-ha2 sles-ha1 ]

stonith-sbd (stonith:external/sbd): Started sles-ha2

============

This output indicates that the cluster resource manager is started and is ready to manage resources.

3.5.4

Configuring the NFS Resource with STONITH SBD Fencing

The following subsections describe how to set up an NFS resource by installing the NFS kernel server, configuring the

shared VD by partitioning, applying the ext3 file system, and configuring the stonith_sbd fencing.

3.5.4.1

Install NFSSERVER

Use Yast to install nfs-kernel-server and all of the required dependencies.

3.5.4.2

Configure the Partition and the File System

Perform the following steps to configure the partition and the file system.

1.

Use fdisk or any other partition modification tool to create partitions on the virtual drive.

For this example, /dev/sda is on a shared virtual drive with two partitions created: sda1 (part1) for sbd and sda2
(part2) for NFS mount (the actual data sharing partition)

2.

Use mkfs to apply the ext3 file system to the partition(s)/

sles-ha1:~ # mkfs.ext3 /dev/sda1

sles-ha1:~ # mkfs.ext3 /dev/sda2