How to activate an NSS cluster pool when not on a cluster server

  • 3195859
  • 26-Oct-2007
  • 27-Apr-2012

Environment


Novell Open Enterprise Server (Linux based)
Novell Cluster Services

Resolution

Example of when this would be useful:
Customer wanted to use a non cluster server that was attached to the SAN to backup NSS cluster pools. The backup server has NSS installed but not clustering.

Make ABSOLUTELY sure that the volume is not mounted or pool active on another server or you will cause corruption to the data.

Here is what you will see when trying to do this using"nsscon"
x64-6> pools
Pool Name State Attributes Logical Volumes
----------------- ----------- ----------------- -------------------
C20 DEACTIVE Shared (Clustered
Multiple Volumes
Multi use detect

x64-6> nss /poolactivate=c20
Activating pool "C20"...

Oct 26, 2007 9:35:59 am NSS-4.09a-689: /usr/src/packages/BUILD/kernel-bigsmp-2.6.5/modules-2.6.5/nss/comn/comnPool.c[421]
Could not change pool C20 to the ACTIVE state.
Status=20897 /usr/src/packages/BUILD/kernel-bigsmp-2.6.5/modules-2.6.5/nss/comn/comnPool.c[880].
Use 'NSS /ErrorCode=20897' to obtain more information.

x64-6> nss /error=20897
Error=zERR_NWCS_NOT_A_MEMBER


x64-6> nss /poolactivate=c20 /overridetype=shared

WARNING: Activating a shared pool is not recommended as pool damage
might occur. Do you wish to activate the pool(s)? y

Answering "y" for yes will activate the pool.


If you need to put this in a script you can do the following command
echo -e "/poolactivate=poolname /overridetype=shared,questions"> /dev/nsscmd

Manually mount the volume now that the pool is active.