170
OES 2 SP2: Novell Cluster Services 1.8.7 for Linux Administration Guide
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
virtual server name. Commands are automatically added to the load script to bind the specified
volumes to the IP address of the cluster resource. Commands are automatically added to the unload
script to unbind the volumes from the IP address of the cluster resource.
“Syntax” on page 170
“Examples” on page 170
“Procedure” on page 170
Syntax
At the terminal console prompt on the master node of the cluster, enter the following command as
the root user:
./ncs_ncpserv.py -c
ncs_ncp_server_name
-i
ip_address
[-v <
volumename
|
"
volumename
:
volumename
:
volumename
..."> ]
Replace the
ncs_ncp_server_name
,
ip_address
, and
volumename
with the information for your
particular solution. Volume names can be listed by the volume name (
MY_NNCP_VOL06
) or by the
volume distinguished name (
cn=CLUS_02_MY_NNCP_VOL06,o=novell
), or any combination of the
two methods.
If the
-v
option is not specified, all of the volumes that currently exist on the EVMS volume are
bound to the IP address.
If you enter multiple volume names, use colons to delimit the names and put quotation marks around
the list of names.
Examples
For example, to include all of the volumes on the
SHVOL44
cluster resource where the IP address is
10.10.10.44, enter
./ncs_ncpserv.py -c CLUS1_SHVOL44_SERVER -i 10.10.10.44
For example, to specify a single volume named
USERS
on the
SHVOL44
cluster resource where the
resource IP address is 10.10.10.44, enter
./ncs_ncpserv.py -c CLUS1_SHVOL44_SERVER -i 10.10.10.44 -v USERS
For example, to specify multiple volumes on the
SHVOL44
cluster resource where the resource IP
address is 10.10.10.44, enter
./ncs_ncpserv.py -c CLUS1_SHVOL44_SERVER -i 10.10.10.44 -v
"USERS:MY_NNCP_VOL06:cn=CLUS_02_MY_NNCP_VOL07,o=novell"
Procedure
1
On the master cluster node, open a terminal console, then log in as the
root
user.
2
In the console, use the
cd
command to go to the
/opt/novell/ncs/bin
directory.
3
At the terminal console prompt, enter
./ncs_ncpserv.py -c
ncs_ncp_server_name
-i ncp_ip_address -v
ncp_volumename
Replace the
ncp_server_name
,
ip_address,
and
volumes
with the information for your
particular solution.