![]() |
![]() |
| |||||||||||||||||||||||||||||
Example--Putting a Disk Device Group in Maintenance StateThis example shows how to put disk device group dg-schost-1 into maintenance state, and remove the disk device group from maintenance state.
Administering Cluster File SystemsThe cluster file system is a globally available file system that can be read and accessed from any node of the cluster. Table 4-3 Task Map: Administering Cluster File Systems
|
# newfs raw-disk-device |
The following table shows examples of names for the raw-disk-device argument. Note that naming conventions differ for each volume manager.
Table 4-4 Sample Raw Disk Device Names
If Your Volume Manager Is ... | A Disk Device Name Might Be ... | Description |
|---|---|---|
Solstice DiskSuite/Solaris Volume Manager | /dev/md/oracle/rdsk/d1 | Raw disk device d1 within the oracle diskset. |
SPARC: VERITAS Volume Manager | /dev/vx/rdsk/oradg/vol01 | Raw disk device vol01 within the oradg disk group. |
None | /dev/global/rdsk/d1s3 | Raw disk device for block slice d1s3. |
On each node in the cluster, create a mount point directory for the cluster file system.
A mount point is required on each node, even if the cluster file system will not be accessed on that node.
Tip - For ease of administration, create the mount point in the /global/device-group directory. Using this location enables you to easily distinguish cluster file systems, which are globally available, from local file systems.
# mkdir -p /global/device-group/mountpoint |
| device-group | Name of the directory that corresponds to the name of the device group that contains the device. |
| mountpoint | Name of the directory on which to mount the cluster file system. |
On each node in the cluster, add an entry to the /etc/vfstab file for the mount point.
Use the following required mount options.
Note - Logging is required for all cluster file systems.
Solaris UFS logging - Use the global,logging mount options. See the mount_ufs(1M) man page for more information about UFS mount options.
Note - The syncdir mount option is not required for UFS cluster file systems. If you specify syncdir, you are guaranteed POSIX-compliant file system behavior. If you do not, you will have the same behavior that is seen with UFS file systems. When you do not specify syncdir, performance of writes that allocate disk blocks, such as when appending data to a file, can significantly improve. However, in some cases, without syncdir you would not discover an out-of-space condition until you close a file. The cases in which you could have problems if you do not specify syncdir are rare. With syncdir (and POSIX behavior), the out-of-space condition would be discovered before the close.
Solstice DiskSuite/Solaris Volume Manager trans metadevice or transactional volume- Use the global mount option (do not use the logging mount option). See your Solstice DiskSuite/Solaris Volume Manager documentation for information about setting up trans metadevices and transactional volumes.
Note - Transactional volumes are scheduled to be removed from the Solaris operating environment in an upcoming Solaris release. Solaris UFS logging, available since the Solaris 8 release, provides the same capabilities but superior performance, as well as lower system administration requirements and overhead.
VxFS logging - Use the global and log mount options. See the mount_vxfs man page that is provided with VxFS software for more information.
To automatically mount the cluster file system, set the mount at boot field to yes.
Ensure that, for each cluster file system, the information in its /etc/vfstab entry is identical on each node.
Ensure that the entries in each node's /etc/vfstab file list devices in the same order.
Check the boot order dependencies of the file systems.
For example, consider the scenario where phys-schost-1 mounts disk device d0 on /global/oracle, and phys-schost-2 mounts disk device d1 on /global/oracle/logs. With this configuration, phys-schost-2 can boot and mount /global/oracle/logs only after phys-schost-1 boots and mounts /global/oracle.
See the vfstab(4) man page for details.
On any node in the cluster, verify that mount points exist and /etc/vfstab file entries are correct on all nodes of the cluster. # sccheck
If there are no errors, nothing is returned.
From any node in the cluster, mount the cluster file system.# mount /global/device-group/mountpoint
On each node of the cluster, verify that the cluster file system is mounted.
You can use either the df or mount command to list mounted file systems.
To manage a VxFS cluster file system in a Sun Cluster environment, run administrative commands only from the primary node on which the VxFS cluster file system is mounted.
Previous Contents Index Next ![]() |