Hello msl, I am not sure about the practical purpose of the configuration you have mentioned. The reason is the NFS client will be seeing two different file systems from the same mount point, unless you are having a mechanism to make the two non-shared disks (diskA on node 1 and diskB on node2) in sync always.
Anyhow you can create the configuration without HAStoragePlus resource. Here are the following steps. node1# zpool create nfs_zpool diskA node1# mkdir -p /nfs_zpool/SUNW.nfs node1# mkdir -p /nfs_zpool/data node1# touch /nfs_zpool/SUNW.nfs/dfstab.nfs-rs node1# cat /nfs_zpool/SUNW.nfs/dfstab.nfs-rs share -F nfs /nfs_zpool/data //Repeat the steps on node 2 by creating zpool with same name //(nfs_zpool) using diskB node1# clrt register SUNW.nfs node1# clrg create -p PathPrefix=/nfs_zpool nfs-rg node1# clrslh create -g nfs-rg -d <hostname> node1# clrs create -g nfs-rg -t SUNW.nfs nfs-rs node1# clrg online -eM nfs-rg Let me know if you face any problems or let me know if this is not the configuration you are looking for. Thanks & Regards Venku msl wrote: > I was looking the SUNW.HAStoragePlus? Resource type, and it is for global and > local filesystems but require the underlying devices to be SC global > devices... > So i would need change the behaviour of HAStoragePlus, or i will not use it > at all? If not, how could i link the data services with the device groups > without the HAStoragePlus? > if someone can "point" the components of this stack would be more easy... I > mean, what i will need to implement and what i will not. > > The "simple" configuration is: > > # clresourcetype register SUNW.HAStoragePlus SUNW.nfs > # clresourcegroup create -p \ > PathPrefix=/POOLNAME/HA poolname-rg > # clreslogicalhostname create -g poolname-rg -h \ > servernfs servernfs-lh-rs > # clresource create -g poolname-rg -t \ > SUNW.HAStoragePlus -p \ > Zpools=POOLNAME poolname-hastorageplus-rs > > What i need to change in the above configuration? I need to create another > "SUNW.HAStoragePlus" or i need configure it different (or i dont need it at > all)? > Somebody can point me something like that? > > Thanks very much for your time! > -- > > This message posted from opensolaris.org > > _______________________________________________ > ha-clusters-discuss mailing list > ha-clusters-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss
