Novell SUSE LINUX ENTERPRISE SERVER 10 SP2 HEARTBEAT Manual page 57

Hide thumbs Also See for SUSE LINUX ENTERPRISE SERVER 10 SP2 HEARTBEAT:
Table of Contents

Advertisement

The IPv4 address to be configured in dotted quad notation, for example
"192.168.1.1".
</longdesc>
<shortdesc lang="en">IPv4 address</shortdesc>
<content type="string" default="" />
</parameter>
</resource-agent>
This is part of the IPaddr RA. The information about how to configure the parameter
of this RA can be read as follows:
Root element for each output.
The name of the nvpair to configure is ip. This RA attribute is mandatory for
the configuration.
The description of the parameter is available in a long and a short description tag.
The content of the value of this parameter is a string. There is no default value
available for this resource.
Find a configuration example for this RA at
(page 25).
5.2.3 Example Configuration for an NFS
Server
To set up the NFS server, three resources are needed: a file system resource, a drbd
resource, and a group of an NFS server and an IP address. You can write each of the
resource configurations to a separate file then load them to the cluster with cibadmin
-C -o resources -x resource_configuration_file.
Setting Up a File System Resource
The filesystem resource is configured as an OCF primitive resource. It has the task
to mount and unmount a device to a directory on start and stop requests. In this case,
the device is /dev/drbd0 and the directory to use as mount point is /srv/
failover. The file system used is reiserfs.
The configuration for this resource looks like the following:
Chapter 3, Setting Up a Simple Resource
Manual Configuration of a Cluster
49

Advertisement

Table of Contents
loading

Table of Contents