Hi
I was trying to create the resource nfs-hastp-rs of type HAStoragePlus by
running:
> clresource create -g nfs-rg -t SUNW.HAStoragePlus -p
> FilesystemMountPoints=/global/local-nfs/nfs -p AffinityOn=True nfs-hastp-rs
And I got the error message below:
root at xCid:~# clresource create -g nfs-rg -t SUNW.HAStoragePlus -p
FilesystemMountPoints=/global/local-nfs/nfs -p AffinityOn=True nfs-hastp-rs
clresource: xCid - Entry for file system mount point /global/local-nfs/nfs is
absent from global zone /etc/vfstab
clresource: (C189917) VALIDATE on resource nfs-hastp-rs, resource group
nfs-rg, exited with non-zero exit status.
clresource: (C720144) Validation of resource nfs-hastp-rs in resource group
nfs-rg on node xCid failed.
clresource: (C891200) Failed to create resource "nfs-hastp-rs".
root at xCid:~#
>From the cluster doc, I notice the statements below:
The mount point /global/local-fs/nfs is used to mount a UFS
local file system on a Sun Cluster global device partition.
I am not quite sure what UFS local file system on a SunCluster global device
partition means so I used my guess and tried to use one of the volume as the
local file system and put it (highlighted) into /etc/vfstab as follow (not
sure if it is correct):
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
/devices - /devices devfs - no -
/proc - /proc proc - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
sharefs - /etc/dfs/sharetab sharefs - no
-
fd - /dev/fd fd - no -
swap - /tmp tmpfs - yes -
/dev/zvol/dsk/rpool/swap - - swap -
no -
[b]/dev/dsk/c0t600A0B800029635000001E684A5B4CCAd0s6
/dev/rdsk/c0t600A0B800029635000001E684A5B4CCAd0s6 /global/local-nfs/nfs
ufs 2 no -[/b]
/dev/dsk/c0t600A0B800029F18E00008A5E4A5B40BCd0s6
/dev/rdsk/c0t600A0B800029F18E00008A5E4A5B40BCd0s6 /global/vol-3 ufs
2 yes logging
I got the error message as:
root at xCid:~# clresource create -g nfs-rg -t SUNW.HAStoragePlus -p
FilesystemMountPoints="/global/local-nfs/nfs" -p AffinityOn=True nfs-hastp-rs
clresource: xCid - Invalid global device path
/dev/dsk/c0t600A0B800029635000001E684A5B4CCAd0s6 detected for mount point
/global/local-nfs/nfs.
clresource: (C189917) VALIDATE on resource nfs-hastp-rs, resource group
nfs-rg, exited with non-zero exit status.
clresource: (C720144) Validation of resource nfs-hastp-rs in resource group
nfs-rg on node xCid failed.
clresource: (C891200) Failed to create resource "nfs-hastp-rs".
root at xCid:~#
Below is the status of my cluster:
root at xCid:~# scstat -p
-----------------------------------------------------------------
-- Cluster Nodes --
Node name Status
--------- ------
Cluster node: xCid Online
Cluster node: xCloud Online
------------------------------------------------------------------
-- Cluster Transport Paths --
Endpoint Endpoint Status
-------- -------- ------
Transport path: xCid:e1000g3 xCloud:e1000g3 Path online
Transport path: xCid:e1000g2 xCloud:e1000g2 Path online
------------------------------------------------------------------
-- Quorum Summary from latest node reconfiguration --
Quorum votes possible: 3
Quorum votes needed: 2
Quorum votes present: 3
-- Quorum Votes by Node (current status) --
Node Name Present Possible Status
--------- ------- -------- ------
Node votes: xCid 1 1 Online
Node votes: xCloud 1 1 Online
-- Quorum Votes by Device (current status) --
Device Name Present Possible Status
----------- ------- -------- ------
Device votes: Auron 1 1 Online
------------------------------------------------------------------
-- Device Group Servers --
Device Group Primary Secondary
------------ ------- ---------
-- Device Group Status --
Device Group Status
------------ ------
-- Multi-owner Device Groups --
Device Group Online Status
------------ -------------
------------------------------------------------------------------
-- Resource Groups and Resources --
Group Name Resources
---------- ---------
Resources: CC_rg lhresource r-nfs
Resources: nfs-rg nfs-lh-r
-- Resource Groups --
Group Name Node Name State Suspended
---------- --------- ----- ---------
Group: CC_rg xCid Online No
Group: CC_rg xCloud Offline No
Group: nfs-rg xCid Unmanaged No
Group: nfs-rg xCloud Unmanaged No
-- Resources --
Resource Name Node Name State Status
Message
------------- --------- -----
--------------
Resource: lhresource xCid Online Online -
LogicalHostname online.
Resource: lhresource xCloud Offline Offline
Resource: r-nfs xCid Online Online -
Service is online.
Resource: r-nfs xCloud Offline Offline
Resource: nfs-lh-rs xCid Offline Offline
Resource: nfs-lh-rs xCloud Offline Offline
------------------------------------------------------------------
-- IPMP Groups --
Node Name Group Status Adapter Status
--------- ----- ------ ------- ------
IPMP Group: xCid sc_ipmp0 Online e1000g0 Online
IPMP Group: xCloud sc_ipmp0 Online e1000g0 Online
-- IPMP Groups in Zones --
Zone Name Group Status Adapter Status
--------- ----- ------ ------- ------
------------------------------------------------------------------
root at xCid:~#
Please let me know if you need more info.
Thanks,
Janey
--
This message posted from opensolaris.org