Process to add mount point in Sun Cluster existing HAplus resource

Hi

Well I would like to know step by step process of adding a mountpoint in HAPLUS resource in SUN cluster as I go the below command to add a mount point but not the step by step process of adding a mount point in existing HA Plus resource.

 clrs set -p FileSystemMountPoints+=<new_MP> <resourceName

Hi,
Should this be a scalable resource or a failover resource in the cluster, also you'll have to give us some more information.

But in general just creating the mount point with;

mkdir /xxx

Then you would configure the resource with;

clresource create -g <resource_group> -t SUNW.HAStoragePlus -p FilesystemMountPoints=/xxx -p Affinityon=true <resource-name>

Edit the /etc/vfstab to add the mount point, make sure to newfs the file systems before mounting the filesystem on all or each of the cluster nodes.Then run;

/usr/cluster/bin/cluster export -o backup.xml

But I would say if you are not experienced with Cluster 3.2, invoulve your sysadmin and count on his cluster experience - the guidance is invaluable.

Clusters are generally there for a reason and breaking one will make you extremely unpopular.

Regards

Dave

Depends if you are using ZFS / UFS with metasets setup can vary in steps.

If you are using ZFS, present the disks to new nodes and check first cldev output if both disk are visible for both nodes of the cluster.

Create a zpool out of those disks, you don't have to use DID devices.

After that run :

zpool export <your new pool>
clresource set -p Zpools="zpools-list" hasp-resource

Where 'zpool-list' is list of existing zpools that resource manages + your new pool, comma separated.
hastorageplus will import the pool and mount it after adding.

Administration of newly added zpool (creating zfs filesystems and their mountpoints) is done with zfs commands.

If you are using metasets things are a bit more complicated but fairly well documented.

Regards
Peasant.

Thanks Dave & Peasant