Determine how N1 Grid Service Provisioning System will be deployed in the Sun Cluster
Determine which component of the N1 Grid Service Provisioning System you will use.
Determine which user name will run N1 Grid Service Provisioning System component.
Determine how many N1 Grid Service Provisioning System component versions and instances will be deployed.
Determine which Cluster File System will be used by each N1 Grid Service Provisioning System component instance.
Mount the N1 Grid Service Provisioning Systems Cluster File Systems
Create user and group if required — If theN1 Grid Service Provisioning System is to run under a non root user, you have to create the appropriate user, and the appropriate group. For these tasks use the following commands on every node.
# groupadd —g 1000 sps # useradd —u 1000 —g 1000 —d /global/sps —s /bin/ksh sps |
Now you have to set up a resource group and the appropriate storage and logical host resources for the N1 Grid Service Provisioning System component. The component is either the Master Server, the Remote Agent, or the Local Distributor. These steps are required before proceeding with the N1 Grid Service Provisioning System resources. Perform the steps Step 4 to Step 9on one node only
Register the SUNW.HAStoragePlus resource type.
It is assumed that the file system of the N1 Grid Service Provisioning System component will be mounted as a failover file system.
# scrgadm -a -t SUNW.HAStoragePlus |
Create a failover resource group.
# scrgadm -a -g N1sps-component-resource-group |
Create a resource for the N1 Grid Service Provisioning System component Disk Storage.
# scrgadm -a -j N1sps-component-has-resource \ > -g N1sps-component-resource-group \ > -t SUNW.HAStoragePlus \ > -x FilesystemMountPoints=N1sps-component-instance-mount-points |
Create a resource for the N1 Grid Service Provisioning System Master component Logical Host name.
# scrgadm -a -L -j N1sps-component-logical-hostname \ > -g N1sps-component-resource-group \ > -l N1sps-component-logical-hostname |
Enable the failover resource group, which now includes the N1 Grid Service Provisioning System Disk Storage and Logical Hostname resources.
# scswitch -Z -g N1sps-component-resource-group |
Install the N1 Grid Service Provisioning System components — Install the appropriate N1 Grid Service Provisioning System components on one node. Use a shared file system within Sun Cluster for the installation location.
It is recommended that you install N1 Grid Service Provisioning System onto shared disks. For a discussion of the advantages and disadvantages of installing the software on a local versus a cluster file system, see “Determining the Location of the Application Binaries” in the Sun Cluster Data Services Installation and Configuration Guide.
Refer to the N1 Grid Service Provisioning System product documentation on http://docs.sun.com for instructions about installing N1 Grid Service Provisioning System. For more information about N1 Grid Service Provisioning System, refer to the docs.sun.com web page.