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 ZFS Storage Appliance NAS Devices
Requirements for Sun ZFS Storage Appliance NAS Devices
Requirements When Configuring Sun ZFS Storage Appliances
Requirements When Configuring Sun ZFS Storage Appliance NAS Devices for Oracle RAC or HA Oracle
Requirements When Configuring Sun ZFS Storage Appliance NAS Devices as Quorum Devices
Restrictions for Sun ZFS Storage Appliance NAS Devices
Maintaining a Sun ZFS Storage Appliance NAS Device in an Oracle Solaris Cluster Environment
How to Prepare the Cluster for Sun ZFS Storage Appliance NAS Device Maintenance
How to Restore Cluster Configuration After Sun ZFS Storage Appliance NAS Device Maintenance
How to Remove a Sun ZFS Storage Appliance NAS Device From a Cluster
How to Add Sun ZFS Storage Appliance Directories and Projects to a Cluster
How to Remove Sun ZFS Storage Appliance Directories and Projects and From a Cluster
Before You Begin
This procedure relies on the following assumptions:
Your cluster nodes have the operating system and Oracle Solaris Cluster software installed.
You have administrative access to the Sun ZFS Storage Appliance.
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 (role-based access control) authorization.
You can set up the appliance at any point in your cluster installation. Follow the instructions in your Sun ZFS Storage Appliance's documentation. You can also click Help in the Sun ZFS Storage Appliance GUI to access information specific to the device you are installing.
When setting up your Sun ZFS Storage Appliance, follow the standards that are described in Requirements, Recommendations, and Restrictions for Sun ZFS Storage Appliance NAS Devices.
Add a hostname-to-address mapping for the device in the /etc/inet/hosts file on all cluster nodes, as shown in the following example:
192.192.11.191 sunnas-123
hosts: cluster files nis
Perform the workflow configuration from only one head in a dual-head configuration.
Note - If the workflow of the specified name is not present, it is likely that the filer is not running the correct software release. See Requirements for Sun ZFS Storage Appliance NAS Devices for an example of a supported software release.
Get the latest downloadable client code package by logging into My Oracle Support. Click the Patches & Updates tab. In the Patch Search pane, click Product or Family (Advanced Search), and select the Include All products in a Family check box. In the Product field, type Sun Hardware – Unified Storage. In the Release field, select the appropriate Sun ZFS Storage 7000 software release (for example, Sun ZFS Storage 7000 Software 2010.Q3.) Click Search. All available patches appear on the Search Results screen. Click the number in the Patch Name field that corresponds to the release of the Sun ZFS Storage 7000 Software Providers and Plug-ins you want to download. Click Download to invoke the File Download dialog box for the desired providers and plug-ins package. Click the link to download the zip package, and unzip the package.
On all nodes, navigate to the directory containing the downloaded package and install the SUNWsczfsnfs package. This should be done within the global zone.
# ls SUNWsczfsnfs # pkgadd -d . SUNWsczfsnfs Processing package instance <SUNWsczfsnfs> from </home/user/zfsstorage> SUN ZFS Network File System Plugin(all) 1.0.0,REV=2011.04.14.08.22.42 Oracle Corporation Using </usr> as the package base directory. ## Processing package information. ## Processing system information. 3 package pathnames are already properly installed. ## Verifying package dependencies. ## Verifying disk space requirements. ## Checking for conflicts wtih packages already installed. ## Checking for setuid/setgid programs. Installing SUN ZFS Network File System Plugin as <SUNWsczfsnfs> ##Installing part 1 of 1. /usr/cluster/lib/scnas/sun_uss/lib/OSCNFS.jar /usr/cluster/lib/scnas/sun_uss/lib/commons-logging-1.1.jar /usr/cluster/lib/scnas/sun_uss/lib/ws-commons-java5-1.0.1.jar /usr/cluster/lib/scnas/sun_uss/lib/ws-commons-util-1.0.2.jar /usr/cluster/lib/scnas/sun_uss/lib/xmlrpc-client-3.1.2.jar /usr/cluster/lib/scnas/sun_uss/lib/xmlrpc-common-3.1.2.jar [ verifying class <none> ] Installation of <SUNWsczfsnfs> was successful.
# clnasdevice add -t sun_uss -p userid=osc_agent -p "nodeIPs{node_name}" =ip_address myfiler
For example:
# clnasdevice add -t sun_uss -p userid=osc_agent -p "nodeIPs{node1}"=10.111.11.111 -p "nodeIPs{node2}"=10.111.11.112 device1.us.example.com Please enter password
Enter sun_uss as the type of device you are adding.
Enter the IP address used to perform I/O to the appliance from this node.
Enter the name of the Sun ZFS Storage Appliance that you are adding.
Enter the name of cluster node whose IP addresses is being added.
This step allows the cluster fencing framework to restrict access to the filer for the specified IP address to read-only when nodes leave the cluster.
Note - The IP addresses configured for the cluster nodes should match the ones configured in the Sun ZFS Storage Appliance as described in Requirements for Sun ZFS Storage Appliance NAS Devices.
# clnasdevice add -t sun_uss -p userid=osc_agent -Z zcname -p "nodeIPs{node_name}"=ip_address myfiler Please enter password
Enter the IP address used to perform I/O to the appliance from this node.
Enter the name of the Sun ZFS Storage Appliance that you are adding.
Enter the name of cluster node whose IP addresses is being added.
Specify the cluster where the nas-device-type is registered and where you will operate.
Enter the name of the zone cluster where the Sun ZFS Storage Appliance is being added.
# clnasdevice show ===NAS Devices=== Nas Device: device1.us.example.com Type: sun_uss userid: osc_agent nodeIPs{node1} 10.111.11.111 nodeIPs{node2} 10.111.11.112 nodeIPs{node3} 10.111.11.113 nodeIPs{node4} 10.111.11.114
For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
# clnasdevice show -Z zcname
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.
Follow the directions in How to Add Sun ZFS Storage Appliance Directories and Projects to a Cluster.
Note - You can skip this step if the cluster does not require a quorum device or if it has been configured with quorum services from other devices or quorum servers.
See How to Add a Sun NAS or Sun ZFS Storage Appliance NAS Quorum Device in Oracle Solaris Cluster System Administration Guide for instructions for configuring a Sun ZFS Storage Appliance NAS quorum device.