Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster 3.3 With Network-Attached Storage Device Manual Oracle Solaris Cluster |
Requirements, Recommendations, and Restrictions for Sun NAS Devices
Requirements for Sun NAS Devices
Requirements When Configuring Sun NAS Devices
Requirements When Configuring Sun NAS Devices for Use With Oracle Real Application Clusters
Requirements When Configuring Sun NAS Devices as Quorum Devices
Recommendations for Sun NAS Devices
Restrictions for Sun NAS Devices
Installing a Sun NAS Device in an Oracle Solaris Cluster Environment
This section contains procedures about maintaining Sun NAS devices that are attached to a cluster. If a device's maintenance procedure might jeopardize the device's availability to the cluster, you must always perform the steps in How to Prepare the Cluster for Sun NAS Device Maintenance before performing the maintenance procedure. After performing the maintenance procedure, perform the steps in How to Restore Cluster Configuration After Sun NAS Device Maintenance to return the cluster to its original configuration.
Follow the instructions in this procedure whenever the Sun NAS device maintenance you are performing might affect the device's availability to the cluster nodes.
Before You Begin
This procedure provides the long forms of the Oracle Solaris Cluster commands. Most commands also have short forms. Except for the forms of the command names, the commands are identical.
To perform this procedure, become superuser or assume a role that provides solaris.cluster.read and solaris.cluster.modify RBAC authorization.
# clquorum show
See Chapter 6, Administering Quorum, in Oracle Solaris Cluster System Administration Guide for instructions about adding and removing quorum devices.
Note - If your cluster requires a quorum device (for example, a two-node cluster) and you are maintaining the only shared storage device in the cluster, your cluster is in a vulnerable state throughout the maintenance procedure. Loss of a single node during the procedure causes the other node to panic and your entire cluster becomes unavailable. Limit the amount of time for performing such procedures. To protect your cluster against such vulnerability, add a shared storage device to the cluster.
Follow the instructions in this procedure after performing any Sun NAS device maintenance that might affect the device's availability to the cluster nodes.
Remove any extraneous quorum device that you configured in How to Prepare the Cluster for Sun NAS Device Maintenance.
Before You Begin
This procedure relies on the following assumptions:
Your cluster is operating.
You have prepared the cluster by performing the steps in How to Prepare the Cluster for Sun NAS Device Maintenance.
You have removed any device directories from the cluster by performing the steps in How to Remove a Sun NAS Device From a Cluster.
Note - When you remove the device from cluster configuration, the data on the device is not available to the cluster. Ensure that other shared storage in the cluster can continue to serve the data when the Sun NAS device is removed.
This procedure provides the long forms of the Oracle Solaris Cluster commands. Most commands also have short forms. Except for the forms of the command names, the commands are identical.
To perform this procedure, become superuser or assume a role that provides solaris.cluster.read and solaris.cluster.modify RBAC authorization.
# clnasdevice remove myfiler
Enter the name of the Sun NAS device that you are removing.
For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
# clnasdevice remove -Z zcname myfiler
Enter the name of the zone cluster where the Sun NAS device is being removed.
# clnasdevice list
# clnasdevice list -Z zcname
Note - You can also perform zone cluster-related commands inside the zone cluster by omitting the -Z option. For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
Before You Begin
The procedure relies on the following assumptions:
Your cluster is operating.
The Sun NAS device is properly configured and the directories the cluster will use have been exported to all cluster nodes.
See Requirements, Recommendations, and Restrictions for Sun NAS Devices for the details about required device configuration.
You have added the device to the cluster by performing the steps in How to Install a Sun NAS Device in a Cluster.
This procedure provides the long forms of the Oracle Solaris Cluster commands. Most commands also have short forms. Except for the forms of the command names, the commands are identical.
To perform this procedure, become superuser or assume a role that provides solaris.cluster.read and solaris.cluster.modify RBAC authorization.
“Product Overview” in the Sun StorageTek NAS OS Administration Guide describes the Sun StorEdge Web Administrator GUI. “Creating File Volumes or Segments” in the Sun StorageTek NAS OS Administration Guide describes how to create file volumes.
Caution - You must explicitly grant read/write access to each cluster node. Do not enable general access and do not add access by specifying a cluster host group. |
“Setting Up NFS Exports” in the Sun StorageTek NAS OS Administration Guide describes how to add read/write access to nodes in the cluster.
pschost-2# telnet 10.8.165.42 Trying 10.8.165.42... Connected to 10.8.165.42. Escape character is '^]'. connect to (? for list) ? [menu] admin password for admin access ? ******** n1nas20 > approve list ==================== acache: approve ==================== files / @trusted access=rw uid0=0 admin * @schostgroup access=trusted files /vol1 schost1 access=rw files /vol1 schost2 access=rw files /vol2 schost1 access=rw files /vol2 schost2 access=rw ==================== acache: hostgrps ==================== trusted schostgroup n1nas20 >
# clnasdevice add-dir -d /export/dir1,/export/dir2 myfiler
Enter the directory or directories that you are adding.
Enter the name of the Sun NAS device containing the directories.
For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
# clnasdevice add-dir -d /export/dir1,/export/dir2 -Z zcname myfiler
Enter the name of the zone cluster where the Sun NAS directories are being added.
# clnasdevice show -v
# clnasdevice show -v -Z zcname
Note - You can also perform zone cluster-related commands inside the zone cluster by omitting the -Z option. For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
# mkdir -p /path-to-mountpoint
Name of the directory on which to mount the directory
If you are using your Sun NAS device for Oracle Real Application Clusters database files, set the following mount options:
forcedirectio
noac
proto=tcp
When mounting Sun NAS directories, select the mount options appropriate to your cluster applications. Mount the directories on each node that will access the directories. Oracle Solaris Cluster places no additional restrictions or requirements on the options that you use.
Before You Begin
This procedure assumes that your cluster is operating.
Note - When you remove the device directories, the data on those directories is not available to the cluster. Ensure that other device directories or shared storage in the cluster can continue to serve the data when these directories have been removed.
This procedure provides the long forms of the Oracle Solaris Cluster commands. Most commands also have short forms. Except for the forms of the command names, the commands are identical.
To perform this procedure, become superuser or assume a role that provides solaris.cluster.read and solaris.cluster.modify RBAC authorization.
# umount /mount-point
# clnasdevice remove-dir -d /export/dir1 myfiler
Enter the directory or directories that you are removing.
Enter the name of the Sun NAS device containing the directories.
To remove all of this device's directories, specify all for the -d option:
# clnasdevice remove-dir -d all myfiler
For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
# clnasdevice remove-dir -d /export/dir1 -Z zcname myfiler
Enter the name of the zone cluster where the Sun NAS directories are being removed.
To remove all of this device's directories, specify all for the -d option:
# clnasdevice remove-dir -d all -Z zcname myfiler
For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
# clnasdevice show -v
# clnasdevice show -v -Z zcname
Note - You can also perform zone cluster-related commands inside the zone cluster by omitting the -Z option. For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
See Also
To remove the device, see How to Remove a Sun NAS Device From a Cluster.