164
BCC 1.2.1: Administration Guide for OES 2 SP2 Linux
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
E.3.2 Public and Private Keys
The BCC load and unload scripts always run on the node that is hosting the Novell Cluster Services
master resource (that is, the Master_IP_Address_Resource). This resource can be hosted on any
node in the Novell Cluster Services cluster, which means the BCC load and unload scripts can also
be executed on any node in the cluster.
The Perl wrapper script for nsupdate utility needs access to both the private and public keys created
in
Section E.2.1, “Creating the TSIG Keys for DNS Server Authentication,” on page 154
. The
nsupdate utility really needs access only to the private key. However, for historical reasons the
public key must be in the same location as the private key. The files that contain the keys must be
available on all nodes in the cluster. This can be accomplished in either of the following ways:
Copy to the same location on each node in the cluster.
Although this is simple and relatively
quick to do initially, it is a maintenance nightmare. If the keys ever change, they must be copied
to all nodes in the cluster. Failure to copy the keys to all nodes in the cluster creates the
potential for failure in the dynamic DNS update process. You must also remember to copy the
keys to any nodes you add to the cluster at a later date.
Create a cluster resource that contains the keys.
Create a shared volume using any standard
journaled Linux POSIX file system such as Ext3. Configure the cluster resource with the
Resource Follows Master
setting enabled on the
Policies > Resource Behavior
area on the
Cluster Resource Properties page. This setting forces the given resource to always be hosted by
the same node that is hosting the Novell Cluster Services master resource. The keys can then be
copied to the file system hosted by this resource, which makes them available to the same node
that is hosting the Novell Cluster Services master resource, and to the BCC load and unload
scripts. This option takes a bit more configuration time, but results in easier maintenance. If the
keys change, they only need to be copied to the file system hosted by this resource. In addition,
if a node is added to the cluster, the new node automatically has access to the keys if it ever
becomes the Novell Cluster Services master.
1
Create a 10 MB shared volume with the Ext3 file system mounted at
/mnt/bcc-master
.
For example, name the resource
bcc-master
. Make sure it is configured with the
Resource
Follows Master
enabled.
For information about creating a shared Linux POSIX file system, see “
Configuring Cluster
Resources for Shared Linux POSIX Volumes
” in the
OES 2 SP2: Novell Cluster Services 1.8.7
for Linux Administration Guide
.
2
Create the
/mnt/bcc-master/dyndns/keys
directory on the shared volume.
3
Copy the public and private key files to the directory.
4
Make sure the Linux POSIX permissions are set so that the
root
user is the only user who has
access.
E.3.3 Testing the Perl Wrapper Script
The dynamic DNS script cannot be compiled directly by a Perl interpreter because it does not
recognize the BCC variables on lines 62–66 of the script. It is a simple matter to manually test the
dynamic DNS script by manually and temporarily replacing the variables with values.
1
Copy the script to the local file system on the Novell Cluster services master node (such as
/
tmp/bcc_dyn_dns.p
l).
Содержание BUSINESS CONTINUITY CLUSTERING 1.2.1 - ADMINISTRATION
Страница 4: ...4 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 36: ...36 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 56: ...56 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 64: ...64 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 70: ...70 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 132: ...132 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 146: ...146 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 152: ...152 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 166: ...166 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 174: ...174 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 176: ...176 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...
Страница 184: ...184 BCC 1 2 1 Administration Guide for OES 2 SP2 Linux novdocx en 7 January 2010...