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
Maintaining a Sun NAS Device in an Oracle Solaris Cluster Environment
How to Prepare the Cluster for Sun NAS Device Maintenance
How to Restore Cluster Configuration After Sun NAS Device Maintenance
How to Remove a Sun NAS Device From a Cluster
How to Add Sun NAS Directories to 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 NAS device.
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 Sun NAS device at any point in your cluster installation. Follow the instructions in your Sun NAS device's documentation.
When setting up your Sun NAS device, follow the standards that are described in Requirements, Recommendations, and Restrictions for Sun 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:
sunnas-123 192.168.11.123
Add an entry to the /etc/inet/netmasks file for the subnet on which the filer is located, as shown in the following example.
192.168.11.0 255.255.255.0
hosts: files nis
“Product Overview” in the Sun StorageTek NAS OS Administration Guide describes the Sun StorEdge Web Administrator graphical user interface (GUI). “Adding and Editing Hosts” in the Sun StorageTek NAS OS Administration Guide describes how to add net addresses.
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 > hostlook pschost-1 pschost-1: Name: pschost-1 Addr: 10.8.165.42
If the NIS+ configuration is correct and is used as the primary Host Order naming service, information about the entered host is displayed.
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 > load fencing n1nas20 >
fencing
“Product Overview” in the Sun StorageTek NAS OS Administration Guide describes the Sun StorEdge Web Administrator GUI.
admin * @cluster-host-group access=trusted
Note - You must add this entry before any existing entries in the approve file, as shown in the following example.
admin * @schostgroup access=trusted admin * @general access=granted
This approve file is searched in sequence and stops at the first match. Placing the entry that you add before any existing entries ensures that it is matched first.
A service type that controls administrative access to StorEdge configuration menus and commands through rlogin and rsh or ssh clients. Each admin entry in the approve file specifies the users and hosts that are allowed administrative access.
The name of the host group that you previously created (preceded by the “at” symbol (@)).
How the host group can access administrative services on the Sun NAS device. Oracle Solaris Cluster requires that you grant trusted access for the cluster nodes. Trusted access grants the user access without having to specify an administrative password.
For example, change the contents of your approve file from that shown in the first example to that shown in the second example.
# Approve file -- controls client access to resources files / @trusted access=rw uid0=0
# Approve file -- controls client access to resources files / @trusted access=rw uid0=0 admin * @schostgroup access=trusted
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 reload n1nas20 >
# clnasdevice add -t sun myfiler
Enter sun as the type of device you are adding.
Enter the name of the Sun NAS device that you are adding.
# clnasdevice add -t sun -Z zcname myfiler
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 NAS device is being added.
# clnasdevice list
For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
# clnasdevice list -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 NAS Directories to a Cluster.
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 NAS quorum device.