- 论坛徽章:
- 0
|
NFS的
# clsetup
*** Main Menu ***
Please select from one of the following options:
1) Quorum
2) Resource groups
3) Data Services
4) Cluster interconnect
5) Device groups and volumes
6) Private hostnames
7) New nodes
Other cluster tasks
?) Help with menu options
q) Quit
Option: 3
*** Data Services Menu ***
Please select from one of the following options:
1) Apache Web Server
2) Oracle
3) NFS
4) Oracle Real Application Clusters
5) SAP Web Application Server
6) Highly Available Storage
7) Logical Hostname
Shared Address
?) Help
q) Return to the Main Menu
Option: 3
>>> Verify Prerequisites <<<
This wizard guides you through the creation of resources that the Sun
Cluster data service for NFS requires. You can use this to make an existing
NFS server highly available.
Before you use this wizard, ensure that the following prerequisites are
met:
* Prerequisites for configuring a logical hostname resource are met:
- The logical hostname that is to be made available by the resource has an
entry in a name service database, for example, DNS.
- If you are using IP Networking Multipathing (IPMP) groups, the groups
are configured on the nodes where the logical hostname resource can be
brought online.
* Prerequisites for configuring a highly available storage resource are
met, that is, required volumes, disk groups, and file systems are created.
* The name service mapping in the /etc/nsswitch.conf file on the cluster
nodes is configured to check local files before trying to access NIS or
NIS+ for remote procedure call (RPC) lookups.
* The Sun Cluster HA for NFS packages are installed.
Press RETURN to continue
>>> Select Nodes or Zones <<<
Specify, in order of preference, a list of names of cluster nodes that can
master the NFS resource.
If you do not explicitly specify a list, the list defaults to all cluster
nodes in an arbitrary order.
The following nodes and zones are available:
1) sun2
2) sun1
r) Refresh and Clear All
a) All
?) Help
d) Done
Selected: [sun2, sun1]
Options: d
Discovering logical hostname resources... done
>>> Configure Logical Hostname Resource <<<
Select or create a logical hostname resource for the NFS server. The
resource that you select or create represents the logical hostname through
which client applications access the NFS server.
Resource Name Resource Group Name Logical Hostname
============= =================== ================
1) sun rgset sun
d) Done
r) Refresh and Clear All
c) Create
?) Help
Option : d
>>> Configure Logical Hostname Resource <<<
Select or create a logical hostname resource for the NFS server. The
resource that you select or create represents the logical hostname through
which client applications access the NFS server.
Resource Name Resource Group Name Logical Hostname
============= =================== ================
1) sun rgset sun
d) Done
r) Refresh and Clear All
c) Create
?) Help
Option : d
>>> Configure Logical Hostname Resource <<<
Select or create a logical hostname resource for the NFS server. The
resource that you select or create represents the logical hostname through
which client applications access the NFS server.
Resource Name Resource Group Name Logical Hostname
============= =================== ================
1) sun rgset sun
d) Done
r) Refresh and Clear All
c) Create
?) Help
Option : 1
Discovering storage resources... done
>>> Configure Highly Available Storage Resources <<<
Select the highly available storage resources for the file systems that the
NFS server is sharing. You can select existing resources, create a
resource, or specify a combination of existing resources and new resources.
If you select more than one existing resource, the selected resources must
be in the same resource group.
You must ensure that the mount point of each file system that the NFS
server is sharing is represented by a highly available storage resource.
You can use one highly available storage resource for each mount point or
you can use one highly available storage resource for multiple mount points.
After you create a highly available storage resource, the wizard returns
you back to this screen.
Resource Name Resource Group Name File-System Mount Point
============= =================== =======================
1) rsset rgset /global/set
d) Done
r) Refresh and Clear All
c) Create
?) Help
Option(s) : 1
Selected : [1]
Option(s) : d
>>> Select Path Prefix <<<
Select the path prefix for the NFS resource group.
Available path-prefix directories
1) /global/set/admin
d) Done
?) Help
Selected : [1]
Option : d
Discovering possible share options... done
>>> Specify Share Options <<<
For each file-system mount point that the NFS server is sharing, specify
the options for the share command for the mount point.
Select the option for the share command that you require to change.
Share Commands
1) share -F nfs -o sec=none,rw /global/set/data
?) Help
d) Done
Option: d
>>> Review Sun Cluster Objects <<<
The following Sun Cluster objects will be created.
Select the value you are to changing:
Property Name Current Setting
============= ===============
1) Resource Group Name rgset
2) NFS Resource Name nfs-global-set-admin-rs
3) Logial Hostname Resour...sun
4) Highly Available Stora...rsset
d) Done
?) Help
Option: d
>>> Review Configuration of Sun Cluster HA for NFS <<<
The following Sun Cluster configuration will be created.
To view the details for an option, select the option.
Name Value
==== =====
1) Resource Group Name rgset
2) Path Prefix /global/set/admin
3) NFS Resource Name nfs-global-set-admin-rs
4) Logical Hostname Resou...sun
5) Share Commands >>
6) Highly Available Stora...rsset
c) Create Configuration
?) Help
Option: c
Running Sun Cluster commands... done
>>> View Results <<<
The following Sun Cluster commands were run
Configuration commands...
/usr/cluster/bin/clresourcegroup set -p Pathprefix=/global/set/admin rgset
/usr/cluster/bin/clresourcegroup online -emM rgset
Writing NFS administration files...
/usr/cluster/bin/clresource create -t SUNW.nfs:3.2 -g rgset -p
Resource_dependencies=sun,rsset nfs-global-set-admin-rs
/usr/cluster/bin/clresourcegroup online -emM rgset
Configuration of Sun Cluster HA for NFS succeeded.
[ 本帖最后由 dogg 于 2008-7-31 14:08 编辑 ] |
|