Solaris 10 Setup

From Tom
Jump to: navigation, search

This documentation can be redistributed and/or modified under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

Unless required by applicable law, this documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

This documentation should not be used as a replacement for a valid Oracle service contract and/or an Oracle service engagement. Failure to follow Oracle guidelines for installation and/or maintenance could result in service/warranty issues with Oracle.

Use of this documentation is at your own risk!

--Tom Stevenson (talk) 17:11, 26 May 2015 (EDT)


Index

Banner 8 setups			 (Still a work in progress)
T5440 Setup			 (Still a work in progress) 
M5000 Setup			 (Still a work in progress) 
Solaris 10 Setup		 (Still a work in progress) 
Fair Share Scheduler		 (Still a work in progress) 
Resource Pools			 (Still a work in progress) 
Solaris Cluster 3.2		 (Still a work in progress) 
Solaris Zones			 (Still a work in progress) 
Patching Cluster with HA-Zones	 (Still a work in progress) 

Setting up the OS

Although only one server is used in the following examples, all of the following steps much be executed on all servers within the cluster.

Setting up MPXio for the NetApp SAN

Execute the following command to setup the NetApp for MPXio:

[root@banpapp2 ~]# /opt/NTAP/SANToolkit/bin/basic_config -ssd_set

which added the following lines to the end of /kernel/drv/ssd.conf:

ssd-config-list="NETAPP  LUN", "netapp-ssd-config";
netapp-ssd-config=1,0x9007,64,300,30,0,0,0,0,0,0,0,0,0,30,0,0,8,0,0;

Setting up stmsboot

To enable Solaris I/O Multipathing on multipath-capable Fibre channel controller ports, enter:

[root@banpapp2 ~]# stmsboot -D fp -e

Setting up the /etc/inet/hosts file

Populate the /etc/inet/hosts file with all known hosts in cluster.

::1			localhost
127.0.0.1		localhost		loghost
141.217.1.209		nis3			nis3.wayne.edu
141.217.1.210		nis4			nis4.wayne.edu
141.217.1.142		jumpstart1		jumpstart1.wayne.edu		   jumpstart jumpstart.wayne.edu
141.217.1.191		servervantage		servervantage.wayne.edu
#
# banpapp Global
#
141.217.0.46		banpapp1		banpapp1.wayne.edu		   banpapp1-1 banpapp1-1.wayne.edu
141.217.0.47		banpapp1-2		banpapp1-2.wayne.edu
141.217.0.48		banpapp1-test1		banpapp1-test1.wayne.edu
141.217.0.49		banpapp1-test2		banpapp1-test2.wayne.edu
#
141.217.0.50		banpapp2		banpapp2.wayne.edu		   banpapp2-1 banpapp2-1.wayne.edu
141.217.0.51		banpapp2-2		banpapp2-2.wayne.edu
141.217.0.52		banpapp2-test1		banpapp2-test1.wayne.edu
141.217.0.53		banpapp2-test2		banpapp2-test2.wayne.edu
#
141.217.0.54		banpapp3		banpapp3.wayne.edu		   banpapp3-1 banpapp3-1.wayne.edu
141.217.0.55		banpapp3-2		banpapp3-2.wayne.edu
141.217.0.56		banpapp3-test1		banpapp3-test1.wayne.edu
141.217.0.57		banpapp3-test2		banpapp3-test2.wayne.edu
#
# bantapp Global
#
141.217.8.157		bantapp1		bantapp1.cctest.wayne.edu	   bantapp1-1 bantapp1.cctest.wayne.edu
141.217.8.158		bantapp1-2		bantapp1-2.cctest.wayne.edu
141.217.8.159		bantapp1-test1		bantapp1-test1.cctest.wayne.edu
141.217.8.160		bantapp1-test2		bantapp1-test2.cctest.wayne.edu
#
141.217.8.162		bantapp2		bantapp2.cctest.wayne.edu	   bantapp2-1 bantapp2.cctest.wayne.edu
141.217.8.163		bantapp2-2		bantapp2-2.cctest.wayne.edu
141.217.8.164		bantapp2-test1		bantapp2-test1.cctest.wayne.edu
141.217.8.165		bantapp2-test2		bantapp2-test2.cctest.wayne.edu
#
141.217.8.166		bantapp3		bantapp3.cctest.wayne.edu	   bantapp3-1 bantapp3.cctest.wayne.edu
141.217.8.167		bantapp3-2		bantapp3-2.cctest.wayne.edu
141.217.8.168		bantapp3-test1		bantapp3-test1.cctest.wayne.edu
141.217.8.169		bantapp3-test2		bantapp3-test2.cctest.wayne.edu
#
# banpdb Global
#
141.217.68.134		banpdb1			banpdb1.bes.wayne.edu		   banpdb1.wayne.edu banpdb1-1 banpdb1-1.bes.wayne.edu banpdb1-1.wayne.edu
141.217.68.135		banpdb1-2		banpdb1-2.bes.wayne.edu		   banpdb1-2.wayne.edu
141.217.68.136		banpdb1-test1		banpdb1-test1.bes.wayne.edu	   banpdb1-test1.wayne.edu
141.217.68.137		banpdb1-test2		banpdb1-test2.bes.wayne.edu	   banpdb1-test2.wayne.edu
#
141.217.68.138		banpdb2			banpdb2.bes.wayne.edu		   banpdb2.wayne.edu banpdb2-1 banpdb2-1.bes.wayne.edu banpdb2-1.wayne.edu
141.217.68.139		banpdb2-2		banpdb2-2.bes.wayne.edu		   banpdb2-2.wayne.edu
141.217.68.140		banpdb2-test1		banpdb2-test1.bes.wayne.edu	   banpdb2-test1.wayne.edu
141.217.68.141		banpdb2-test2		banpdb2-test2.bes.wayne.edu	   banpdb2-test2.wayne.edu
#
# bantdb Global
#
141.217.68.144		bantdb1			bantdb1.bes.wayne.edu		   bantdb1.wayne.edu bantdb1-1 bantdb1-1.bes.wayne.edu bantdb1-1.wayne.edu
141.217.68.145		bantdb1-2		bantdb1-2.bes.wayne.edu		   bantdb1-2.wayne.edu
141.217.68.146		bantdb1-test1		bantdb1-test1.bes.wayne.edu	   bantdb1-test1.wayne.edu
141.217.68.147		bantdb1-test2		bantdb1-test2.bes.wayne.edu	   bantdb1-test2.wayne.edu
#
141.217.68.148		bantdb2			bantdb2.bes.wayne.edu		   bantdb2.wayne.edu bantdb2-1 bantdb2-1.bes.wayne.edu bantdb2-1.wayne.edu
141.217.68.149		bantdb2-2		bantdb2-2.bes.wayne.edu		   bantdb2-2.wayne.edu
141.217.68.150		bantdb2-test1		bantdb2-test1.bes.wayne.edu	   bantdb2-test1.wayne.edu
141.217.68.151		bantdb2-test2		bantdb2-test2.bes.wayne.edu	   bantdb2-test2.wayne.edu
#
# Zones banpapp
#
141.217.0.25		edi			edi.wayne.edu			   edi1 edi1.wayne.edu
141.217.0.58		banpcold1		banpcold1.wayne.edu
141.217.0.59		banpinb1		banpinb1.wayne.edu		   banpinb3 banpinb3.wayne.edu 
141.217.0.60		banpinb2		banpinb2.wayne.edu		   banpinb4 banpinb4.wayne.edu 
# 141.217.0.61		banpsch1		banpsch1.wayne.edu		   banpsch2 banpsch2.wayne.edu
141.217.0.62		banpweb1		banpweb1.wayne.edu		   banpweb2 banpweb2.wayne.edu
141.217.0.63		cognospapp1		cognospapp1.wayne.edu		   cognospapp3 cognospapp3.wayne.edu
141.217.0.64		cognospweb1		cognospweb1.wayne.edu		   cognospweb3 cognospweb3.wayne.edu
141.217.0.65		lumpapp1.wayne.edu	lumpapp1			   lumprod3 lumprod3.wayne.edu
141.217.0.66		banpssb1		banpssb1.wayne.edu
141.217.0.67		banpssb2		banpssb2.wayne.edu
141.217.0.68		wsupemgc1		wsupemgc1.wayne.edu		   wsupemgc2 wsupemgc2.wayne.edu
141.217.0.69		cognospweb2		cognospweb2.wayne.edu		   cognospweb4 cognospweb4.wayne.edu
141.217.0.70		workflowp1		workflowp1.wayne.edu
#
# Zones bantapp
#
141.217.8.171		bantinb1		bantinb1.cctest.wayne.edu	   bantinb3 bantinb3.cctest.wayne.edu
141.217.8.177		bantssb1		bantssb1.cctest.wayne.edu 
141.217.8.178		bantssb2		bantssb2.cctest.wayne.edu 
141.217.8.179		editest1		editest1.cctest.wayne.edu 
141.217.8.181		bantinb2		bantinb2.cctest.wayne.edu	   bantinb4 bantinb4.cctest.wayne.edu 
141.217.8.182		cognostapp1		cognostapp1.cctest.wayne.edu	   cognostapp3 cognostapp3.cctest.wayne.edu 
141.217.8.183		cognostweb1		cognostweb1.cctest.wayne.edu	   cognostweb3 cognostweb3.cctest.wayne.edu 
141.217.8.184		cognostweb2		cognostweb2.cctest.wayne.edu	   cognostweb4 cognostweb4.cctest.wayne.edu 
141.217.8.185		workflowt1		workflowt1.cctest.wayne.edu
141.217.8.186		lumtapp1.cctest.wayne.edu	   lumtapp1
141.217.8.187		lumtapp2.cctest.wayne.edu	   lumtapp2
141.217.8.188		lumtapp3.cctest.wayne.edu	   lumtapp3
141.217.8.189		lumdapp1.cctest.wayne.edu	   lumdapp1
141.217.8.190		lumdapp2.cctest.wayne.edu	   lumdapp2
141.217.8.191		lumdapp3.cctest.wayne.edu	   lumdapp3
#
# Zones banpdb
#
141.217.68.142		banpdbs1		banpdbs1.bes.wayne.edu		   banpdbs1.wayne.edu banpdbs2 banpdbs2.bes.wayne.edu banpdbs2.wayne.edu
141.217.68.143		banpmrt1		banpmrt1.bes.wayne.edu		   banpmrt1.wayne.edu banpmrt2 banpmrt2.bes.wayne.edu banpmrt2.wayne.edu
#
# Zones bantdb
#
141.217.68.152		bantdbs1		bantdbs1.bes.wayne.edu		   bantdbs1.wayne.edu bantdbs2 bantdbs2.bes.wayne.edu bantdbs2.wayne.edu
141.217.68.153		bantmrt1		bantmrt1.bes.wayne.edu		   bantmrt1.wayne.edu bantmrt2 bantmrt2.bes.wayne.edu bantmrt2.wayne.edu
#
# LHN banpdb
#
141.217.68.9		odsprod			odsprod.bes.wayne.edu		   odsprod.wayne.edu
141.217.68.29		lump			lump.bes.wayne.edu		   lump.wayne.edu
141.217.68.30		wsu1			wsu1.bes.wayne.edu		   wsu1.wayne.edu
141.217.68.31		rct1			rct1.bes.wayne.edu		   rct1.wayne.edu
141.217.68.32		rct2			rct2.bes.wayne.edu		   rct2.wayne.edu
141.217.68.34		sprd			sprd.bes.wayne.edu		   sprd.wayne.edu
141.217.68.44		odsclone		odsclone.bes.wayne.edu		   odsclone.wayne.edu
141.217.68.49		trg6			trg6.bes.wayne.edu		   trg6.wayne.edu
141.217.68.50		trg7			trg7.bes.wayne.edu		   trg7.wayne.edu
141.217.68.56		devl			devl.bes.wayne.edu		   devl.wayne.edu
141.217.68.59		trod			trod.bes.wayne.edu		   trod.wayne.edu
141.217.68.60		spacep			spacep.bes.wayne.edu		   spacep.wayne.edu
141.217.68.62		pprd7			pprd7.bes.wayne.edu		   pprd7.wayne.edu
141.217.68.79		odsmrt1			odsmrt1.bes.wayne.edu		   odsmrt1.wayne.edu
141.217.68.81		c8pp			c8pp.bes.wayne.edu		   c8pp.wayne.edu
141.217.68.87		vmdb1			vmdb1.bes.wayne.edu		   vmdb1.wayne.edu
141.217.68.105		devl8			devl8.bes.wayne.edu		   devl8.wayne.edu
141.217.68.106		pprd8			pprd8.bes.wayne.edu		   pprd8.wayne.edu
141.217.68.122		trng8			trng8.bes.wayne.edu		   trng8.wayne.edu
141.217.68.123		trng8s			trng8s.bes.wayne.edu		   trng8s.wayne.edu
141.217.68.124		lum4d			lum4d.bes.wayne.edu		   lum4d.wayne.edu
141.217.68.125		lum4t			lum4t.bes.wayne.edu		   lum4t.wayne.edu
141.217.68.129		trod8			trod8.bes.wayne.edu		   trod8.wayne.edu
141.217.68.154		lum4p			lum4p.bes.wayne.edu		   lum4p.wayne.edu
141.217.68.155		crnprod			crnprod.bes.wayne.edu		   crnprod.wayne.edu
#
# LHN bantdb
#
141.217.68.35		sdbx			sdbx.bes.wayne.edu		   sdbx.wayne.edu
141.217.68.43		trng			trng.bes.wayne.edu		   trng.wayne.edu
141.217.68.49		trg6			trg6.bes.wayne.edu		   trg6.wayne.edu
141.217.68.50		trg7			trg7.bes.wayne.edu		   trg7.wayne.edu
141.217.68.55		sdev			sdev.bes.wayne.edu		   sdev.wayne.edu
141.217.68.56		devl			devl.bes.wayne.edu		   devl.wayne.edu
141.217.68.57		ecs1			ecs1.bes.wayne.edu		   ecs1.wayne.edu
141.217.68.58		ecs2			ecs2.bes.wayne.edu		   ecs2.wayne.edu
141.217.68.59		trod			trod.bes.wayne.edu		   trod.wayne.edu
141.217.68.61		spacet			spacet.bes.wayne.edu		   spacet.wayne.edu
141.217.68.81		c8pp			c8pp.bes.wayne.edu		   c8pp.wayne.edu
141.217.68.82		qa01			qa01.bes.wayne.edu		   qa01.wayne.edu
141.217.68.156		adastra			adastra.bes.wayne.edu		   adastra.wayne.edu
141.217.68.157		odsban8			odsban8.bes.wayne.edu		   odsban8.wayne.edu
141.217.68.158		schc			schc.bes.wayne.edu		   schc.wayne.edu
141.217.68.159		scht			scht.bes.wayne.edu		   scht.wayne.edu
141.217.68.160		schp			schp.bes.wayne.edu		   schp.wayne.edu
#
# Netbackup
#
172.20.0.12		netbackup1-bk0		netbackup1-bk0.backup.wayne.edu
172.20.1.12		netbackup1-bk		netbackup1-bk.backup.wayne.edu
172.20.8.12		netbackup1-bk8		netbackup1-bk8.backup.wayne.edu
172.20.68.1		netbackup1-bk68		netbackup1-bk68.backup.wayne.edu
#
# Netbackup banpapp Global
#
172.20.0.46		banpapp1-1-bk		banpapp1-1-bk.backup.wayne.edu	   banpapp1-bk banpapp1-bk.backup.wayne.edu
172.20.0.47		banpapp1-2-bk		banpapp1-2-bk.backup.wayne.edu
172.20.0.48		banpapp1-test1-bk	banpapp1-test1-bk.backup.wayne.edu
172.20.0.49		banpapp1-test2-bk	banpapp1-test2-bk.backup.wayne.edu
#
172.20.0.50		banpapp2-1-bk		banpapp2-1-bk.backup.wayne.edu	   banpapp2-bk banpapp2-bk.backup.wayne.edu
172.20.0.51		banpapp2-2-bk		banpapp2-2-bk.backup.wayne.edu
172.20.0.52		banpapp2-test1-bk	banpapp2-test1-bk.backup.wayne.edu
172.20.0.53		banpapp2-test2-bk	banpapp2-test2-bk.backup.wayne.edu
#
172.20.0.54		banpapp3-1-bk		banpapp3-1-bk.backup.wayne.edu	   banpapp3-bk banpapp3-bk.backup.wayne.edu
172.20.0.55		banpapp3-2-bk		banpapp3-2-bk.backup.wayne.edu
172.20.0.56		banpapp3-test1-bk	banpapp3-test1-bk.backup.wayne.edu
172.20.0.57		banpapp3-test2-bk	banpapp3-test2-bk.backup.wayne.edu
#
# Netbackup bantapp Global
#
172.20.8.157		bantapp1-1-bk		bantapp1-1-bk.backup.wayne.edu
172.20.8.158		bantapp1-2-bk		bantapp1-2-bk.backup.wayne.edu
172.20.8.159		bantapp1-test1-bk	bantapp1-test1-bk.backup.wayne.edu
172.20.8.160		bantapp1-test2-bk	bantapp1-test2-bk.backup.wayne.edu
#
172.20.8.162		bantapp2-1-bk		bantapp2-1-bk.backup.wayne.edu
172.20.8.163		bantapp2-2-bk		bantapp2-2-bk.backup.wayne.edu
172.20.8.164		bantapp2-test1-bk	bantapp2-test1-bk.backup.wayne.edu
172.20.8.165		bantapp2-test2-bk	bantapp2-test2-bk.backup.wayne.edu
#
172.20.8.166		bantapp3-1-bk		bantapp3-1-bk.backup.wayne.edu
172.20.8.167		bantapp3-2-bk		bantapp3-2-bk.backup.wayne.edu
172.20.8.168		bantapp3-test1-bk	bantapp3-test1-bk.backup.wayne.edu
172.20.8.169		bantapp3-test2-bk	bantapp3-test2-bk.backup.wayne.edu
#
# Netbackup banpdb Global
#
172.20.68.134		banpdb1-1-bk		banpdb1-1-bk.backup.wayne.edu
172.20.68.135		banpdb1-2-bk		banpdb1-2-bk.backup.wayne.edu
172.20.68.136		banpdb1-test1-bk	banpdb1-test1-bk.backup.wayne.edu
172.20.68.137		banpdb1-test2-bk	banpdb1-test2-bk.backup.wayne.edu
#
172.20.68.138		banpdb2-1-bk		banpdb2-1-bk.backup.wayne.edu
172.20.68.139		banpdb2-2-bk		banpdb2-2-bk.backup.wayne.edu
172.20.68.140		banpdb2-test1-bk	banpdb2-test1-bk.backup.wayne.edu
172.20.68.141		banpdb2-test2-bk	banpdb2-test2-bk.backup.wayne.edu
#
# Netbackup bantdb Global
#
172.20.68.144		bantdb1-1-bk		bantdb1-1-bk.backup.wayne.edu
172.20.68.145		bantdb1-2-bk		bantdb1-2-bk.backup.wayne.edu
172.20.68.146		bantdb1-test1-bk	bantdb1-test1-bk.backup.wayne.edu
172.20.68.147		bantdb1-test2-bk	bantdb1-test2-bk.backup.wayne.edu
#
172.20.68.148		bantdb2-1-bk		bantdb2-1-bk.backup.wayne.edu
172.20.68.149		bantdb2-2-bk		bantdb2-2-bk.backup.wayne.edu
172.20.68.150		bantdb2-test1-bk	bantdb2-test1-bk.backup.wayne.edu
172.20.68.151		bantdb2-test2-bk	bantdb2-test2-bk.backup.wayne.edu
#
# Netbackup banpapp zones
#
172.20.0.25		edi-bk			edi-bk.backup.wayne.edu		   edi1-bk edi1-bk.backup.wayne.edu
172.20.0.58		banpcold1-bk		banpcold1-bk.backup.wayne.edu
172.20.0.59		banpinb1-bk		banpinb1-bk.backup.wayne.edu 	   banpinb3-bk banpinb3-bk.backup.wayne.edu 
172.20.0.60		banpinb2-bk		banpinb2-bk.backup.wayne.edu 	   banpinb4-bk banpinb4-bk.backup.wayne.edu
172.20.0.61		banpsch1-bk		banpsch1-bk.backup.wayne.edu	   banpsch2-bk banpsch2-bk.backup.wayne.edu
172.20.0.63		cognospapp1-bk		cognospapp1-bk.backup.wayne.edu    cognospapp3-bk cognospapp3-bk.backup.wayne.edu
172.20.0.64		cognospweb1-bk		cognospweb1-bk.backup.wayne.edu    cognospweb3-bk cognospweb3-bk.backup.wayne.edu
172.20.0.65		lumpapp1-bk		lumpapp1-bk.backup.wayne.edu	   lumprod3-bk lumprod3-bk.backup.wayne.edu 
172.20.0.66		banpssb1-bk		banpssb1-bk.backup.wayne.edu 
172.20.0.67		banpssb2-bk		banpssb2-bk.backup.wayne.edu 
172.20.0.68		wsupemgc1-bk		wsupemgc1-bk.backup.wayne.edu 	   wsupemgc2-bk wsupemgc2-bk.backup.wayne.edu 
172.20.0.69		cognospweb2-bk		cognospweb2-bk.backup.wayne.edu    cognospweb4-bk cognospweb4-bk.backup.wayne.edu
172.20.0.70		workflowp1-bk		workflowp1-bk.backup.wayne.edu
#
# Netbackup bantapp zones
#
172.20.8.31		lumtapp1-bk		lumtapp1-bk.backup.wayne.edu
172.20.8.32		lumtapp2-bk		lumtapp2-bk.backup.wayne.edu
172.20.8.33		lumtapp3-bk		lumtapp3-bk.backup.wayne.edu
172.20.8.34		lumdapp1-bk		lumdapp1-bk.backup.wayne.edu
172.20.8.35		lumdapp2-bk		lumdapp2-bk.backup.wayne.edu
172.20.8.36		lumdapp3-bk		lumdapp3-bk.backup.wayne.edu
172.20.8.171		bantinb1-bk		bantinb1-bk.backup.wayne.edu       bantinb3-bk bantinb3-bk.backup.wayne.edu
172.20.8.177		bantssb1-bk		bantssb1-bk.backup.wayne.edu
172.20.8.178		bantssb2-bk		bantssb2-bk.backup.wayne.edu
172.20.8.179		editest1-bk		editest1-bk.backup.wayne.edu
172.20.8.181		bantinb2-bk		bantinb2-bk.backup.wayne.edu       bantinb4-bk bantinb4-bk.backup.wayne.edu
172.20.8.182		cognostapp1-bk		cognostapp1-bk.backup.wayne.edu    cognostapp3-bk cognostapp3-bk.backup.wayne.edu
172.20.8.183		cognostweb1-bk		cognostweb1-bk.backup.wayne.edu    cognostweb3-bk cognostweb3-bk.backup.wayne.edu
172.20.8.184		cognostweb2-bk		cognostweb2-bk.backup.wayne.edu    cognostweb4-bk cognostweb4-bk.backup.wayne.edu
172.20.8.185		workflowt1-bk		workflowt1-bk.backup.wayne.edu
#
# Netbackup banpdb zones
#
172.20.68.116		banpdbs1-bk68		banpdbs1-bk68.backup.wayne.edu 	   banpdbs2-bk68 banpdbs2-bk68.backup.wayne.edu
172.20.68.117		banpmrt1-bk68		banpmrt1-bk68.backup.wayne.edu 	   banpmrt2-bk68 banpmrt2-bk68.backup.wayne.edu
#
# Netbackup bantdb zones
#
172.20.68.152		bantdbs1-bk68		bantdbs1-bk68.backup.wayne.edu	   bantdbs2-bk68 bantdbs2-bk68.backup.wayne.edu
172.20.68.153		bantmrt1-bk68		bantmrt1-bk68.backup.wayne.edu	   bantmrt2-bk68 bantmrt2-bk68.backup.wayne.edu

Setting up IPMP

Setup IPMP for the public and netbackup interfaces by executing the following commands (once per server). The following are just examples. Use the correct hostname and NICs for the given server being configured.

[root@banpapp1 ~]# cluster_configure_ipmp public_ipmp banpapp1@nxge7 banpapp1-2@nxge11
[root@banpapp2 ~]# cluster_configure_ipmp public_ipmp banpapp2@nxge7 banpapp2-2@nxge11
[root@banpapp3 ~]# cluster_configure_ipmp public_ipmp banpapp3@nxge7 banpapp3-2@nxge11

and for Netbackup:

[root@banpapp1 ~]# cluster_configure_ipmp netbackup_ipmp banpapp1-1-bk@nxge4 banpapp1-2-bk@nxge8
[root@banpapp2 ~]# cluster_configure_ipmp netbackup_ipmp banpapp2-1-bk@nxge4 banpapp2-2-bk@nxge8
[root@banpapp3 ~]# cluster_configure_ipmp netbackup_ipmp banpapp3-1-bk@nxge4 banpapp3-2-bk@nxge8

Setting up SVM

Copy VTOC to second boot disk

Because the jumpstart process plays games with where root and swap are placed on the boot disk, it is very important that the second boot disk be setup using the prtvtoc and fmthard commands BEFORE the meta devices are created.

[root@banpapp2 ~]# prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2

Setup the root file systems using the following SVM commands:

Setup metadb

Verify that metadb is not already setup:

[root@banpapp2 ~]# metadb -i
metadb: banpapp3: there are no existing databases

Setup the metadb:

[root@banpapp2 ~]# metadb -f -a -c 6 c0t0d0s7 c0t1d0s7
[root@banpapp2 ~]# metadb -i
       flags           first blk       block count
    a        u         16              8192            /dev/dsk/c0t0d0s7
    a        u         8208            8192            /dev/dsk/c0t0d0s7
    a        u         16400           8192            /dev/dsk/c0t0d0s7
    a        u         24592           8192            /dev/dsk/c0t0d0s7
    a        u         32784           8192            /dev/dsk/c0t0d0s7
    a        u         40976           8192            /dev/dsk/c0t0d0s7
    a        u         16              8192            /dev/dsk/c0t1d0s7
    a        u         8208            8192            /dev/dsk/c0t1d0s7
    a        u         16400           8192            /dev/dsk/c0t1d0s7
    a        u         24592           8192            /dev/dsk/c0t1d0s7
    a        u         32784           8192            /dev/dsk/c0t1d0s7
    a        u         40976           8192            /dev/dsk/c0t1d0s7
r - replica does not have device relocation information
o - replica active prior to last mddb configuration change
u - replica is up to date
l - locator for this replica was read successfully
c - replica's location was in /etc/lvm/mddb.cf
p - replica's location was patched in kernel
m - replica is master, this is replica selected as input
W - replica has device write errors
a - replica is active, commits are occurring to this replica
M - replica had problem with master blocks
D - replica had problem with data blocks
F - replica had format problems
S - replica is too small to hold current data base
R - replica had device read errors

Setup SVM

Setup the root, var and swap SVM file systems:

[root@banpapp2 ~]# metainit -f d10 1 1 c0t0d0s0
[root@banpapp2 ~]# metainit -f d11 1 1 c0t0d0s1
[root@banpapp2 ~]# metainit -f d13 1 1 c0t0d0s3

[root@banpapp2 ~]# metainit d0 -m d10
[root@banpapp2 ~]# metainit d1 -m d11
[root@banpapp2 ~]# metainit d3 -m d13

Setup the global file system. Use the node ID as the first digit.

[root@banpapp1 ~]# metainit -f d116 1 1 c0t0d0s6
[root@banpapp1 ~]# metainit d106 -m d116 

[root@banpapp2 ~]# metainit -f d216 1 1 c0t0d0s6
[root@banpapp2 ~]# metainit d206 -m d216 

[root@banpapp3 ~]# metainit -f d316 1 1 c0t0d0s6
[root@banpapp3 ~]# metainit d306 -m d316 

Setup the /etc/vfstab for the SVN device names:

[root@banpapp2 ~]# metaroot d0
[root@banpapp2 ~]# /net/jumpstart/export/san/bin/svm_update_vfstab

Fix the device name in /etc/vfstab for the global file system by changing d6 into one of d106, d206, or d306 (based on what will become the node ID in Solaris Cluster 3.2).

Reboot the server.

Define the second submirror:

[root@banpapp2 ~]# metainit -f d20 1 1 c0t1d0s0
[root@banpapp2 ~]# metainit -f d21 1 1 c0t1d0s1
[root@banpapp2 ~]# metainit -f d23 1 1 c0t1d0s3

Attached the submirrors to the mirrors:

[root@banpapp2 ~]# metattach d0 d20
[root@banpapp2 ~]# metattach d1 d21
[root@banpapp2 ~]# metattach d3 d23

Setup and attach the second submirror for the global file system. Use the node ID as the first digit:

[root@banpapp1 ~]# metainit -f d126 1 1 c0t1d0s6
[root@banpapp1 ~]# metattach d106 d126

[root@banpapp2 ~]# metainit -f d226 1 1 c0t1d0s6
[root@banpapp2 ~]# metattach d206 d226

[root@banpapp3 ~]# metainit -f d326 1 1 c0t1d0s6
[root@banpapp3 ~]# metattach d306 d326

Setting up the Runtime Linking Environment

The runtime linking environment defines which libraries can be used by system daemons.

Verify the runtime linking environment

First verify that the runtime linking environment has been setup or not using the /usr/bin/crle command (configure runtime linking environment). This example shows the output for a system which has NOT been configured. In this example the file /var/ld/ld.config is not found, and the Default Library Path (ELF) is set to the system default of /lib:/usr/lib.

[root@banpapp1 ~]# /usr/bin/crle

Default configuration file (/var/ld/ld.config) not found
  Default Library Path (ELF):   /lib:/usr/lib  (system default)
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)

Setup the runtime linking environment

If the runtime linking environment has not yet been setup (see the output above), use the following command (configure runtime linking environment) to configure it:

[root@banpssb2 ~]# /usr/bin/crle -c /var/ld/ld.config -l /lib:/usr/lib:/opt/local/lib

Next, verify that the runtime linking environment has been setup. The output should show that file /var/ld/ld.config is being used, and that the Default Library Path (ELF) is no longer the system default, but has been replaced with /lib:/usr/lib:/opt/local/lib. This path includes our additional libraries from /opt/local/lib. The output also list the command that was used to reconfigure the runtime linking environment, which should be crle -c /var/ld/ld.config -l /lib:/usr/lib:/opt/local/lib:

[root@banpssb2 ~]# /usr/bin/crle

Configuration file [version 4]: /var/ld/ld.config
  Default Library Path (ELF):   /lib:/usr/lib:/opt/local/lib
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)

Command line:
  crle -c /var/ld/ld.config -l /lib:/usr/lib:/opt/local/lib

Setup the sysdata storage pool and file systems

Place holder for this step. Needs to be filled in.

Setup the sysdata storage pool

Place holder for this step. Needs to be filled in.

Setup the sysdata file system

Place holder for this step. Needs to be filled in.

Setup the default third party system packages

Before proceeding with this step, make sure that all of the steps in Setting up the Runtime Linking Environment and Setup the sysdata storage pool and file systems have been processed first. Failing to do so could result packages failing to install or in daemons installed during this step failing to run.

There are several third party system packages which are installed on all Solaris 10 servers (both in the global and local zones). The binaries for these packages are installed in a ZFS file system mounted as /opt/local, and their configuration and log files, as necessary, are installed in a ZFS file system mounted as /var/local.

The steps to create the ZFS pool and there two ZFS file systems will be added at a later time. The following steps assume that they have already been created.

Install the default third party system packages

Execute the following command in both the global and local zones to install and configure the third party system packages:

[root@banpapp1 ~]# install-pkgs

--Tom Stevenson (talk) 13:49, 16 April 2013 (EDT)

Help contents:

Reading: Go | Search | URL | Namespace | Page name | Section | Link | Backlinks | Piped link | Interwiki link | Redirect | Variable | Category | Special page
Tracking changes: Recent | (enhanced) | Related | Watching pages | Page history | Diff | User contributions | Edit summary | Minor edit | Patrolled edit
Logging in and preferences: Logging in | Preferences | User style
Editing: Overview | Wikitext | New page | List | Images/files | Image page | Special characters | Formula | Table | EasyTimeline | Inputbox | Template | (p. 2) | Renaming (moving) a page | Editing shortcuts | Talk page | Testing | Export | Import | rlc |