OPSWARE SA Single Core, New Installation Roseville QA SA 9.0 Installation Guide
OPSWARE SA Single Core, New Installation Roseville QA SA 9.0 Installation Guide
Roseville QA
SA 9.0 Installation
Guide
Document Date Author Section Nature of Change
Version
1.0 10/10/08 Jenny Trinh First version for 7.8
2.0 2/4/09 Janise Orcutt Added section, pre-requisites.
Added note under reimaging to
not use the ISO that Carl created
for SAS 7.0 and 7.5.
3.0 2/9/09 Janise Orcutt 1 Added solaris conf files to list
1|Page
4 Edited section IV
– Create SAS OCC Client
user
– Download/install the SA
Client Launcher
5 Added section V -
Troubleshooting/QA
2|Page
1 Section I – System Pre-requisites
1. System Information
For example:
Or please read the SAS planning and Installation Guide on chapter 2 for each
release to see the new requirements for the RAM and disk space.
Notes:
3. Kernel must be on a later version
o For example, RHEL4 needs U8
o The SMP kernel can be updated if needed. See web for downloads:
http://people.redhat.com/vgoyal/rhel4/RPMS.kernel/
3|Page
3 Section II – SA Configuration on the Core System
The configuration on the Core system:
1. Modify the system file selinux, change “SELINUX=enforcing” to
“SELINUX=disabled” and save it
# vi /etc/sysconfig/selinux
SELINUX=disabled
# vi /etc/sysconfig/network-scripts/ifcfg-lo
MTU=16036
3. Check system ifcfg-eth0 file, and make sure it has the settings specified below.
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO=static
IPADDR=<your core system IP address>
NETMASK=< your core system netmask>
GATEWAY= <gateway that your core system use>
#vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
16.93.40.225 lennox.rose.hp.com lennox
5. Check resolv.conf to make sure the name servers are correct (For example)
# vi /etc/resolv.conf
search rose.hp.com
nameserver 16.110.135.51
nameserver 16.110.135.52
4|Page
6. Modify the network file if it is not set correctly (Make sure the HOSTNAME and
GATEWAY are correct)
For example:
# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=lennox.rose.hp.com
GATEWAY=16.93.40.1
/mnt/distributions/oro.0/opsware_37.0.xxxx.0-
oracle_sas/disk001/opsware_installer/tools
Generally speak, you need to download and install the below packages for OS
system is RedHat 4 update 7 and RedHat5 update 2. (There may be more. This
depends on how the patches/packages selected to install during the OS
installation.)
i) gamin-devel-xxxx
ii) libaio-devel-xxxx
iii) ncompress-xxxx
iv) openmotif-xxxx
v) sharutils-xxxx
vi) sysstat-xxxx
vii) vnc-xxxx
5|Page
Install the patch/package on Linux: (Example)
#rpm -ivh gamin-devel-xxxx
If there is an older package installed, Upgrade or remove the old package and
install the new package. To look for existing installed package, use:
# rpm -qa |grep packagename
To upgrade:
#rpm –U package.rpm
8. Configure the system run level in file inittab, set the run level to 3 .
Looking for the run level line, for example: “ id:5:initdefault:” . And change
“ id:5:initdefault:” to “ id:3:initdefault:”, save it.
#vi /etc/inittab
id:3:initdefault:
Remove them:
# rpm -e --nodeps httpd-2.2.3-11.el5_1.3
#rpm -e --nodeps httpd-manual-2.2.3-11.el5_1.3
Note: If you have problem to remove the samba-common, add .i386 at end, and
remove it again.
Note: If you need to remove two similar RPMs, use this command:
6|Page
# rpm -e --allmatches packagename
#vi /etc/pam.d/login
session required pam_limits.so
# cp /usr/share/zoneinfo/UTC /etc/localtime
12. Configure the ntp.conf on the core system to point to HP time server.
a. Comment out below lines in /etc/ntp.conf file
server 0.rhel.pool.ntp.org
server 1.rhel.pool.ntp.org
server 2.rhel.pool.ntp.org
server 127.127.1.0
b. Add “server ntp.hp.net” at the last line of the ntp.conf file and
save it
You can use one of the hp time servers as below. But ping the system first
before use it.
Note: ntp.hp.net is the primary one ; the rest of two is the backup.
ntp.hp.net
r01msedc.rose.hp.com
r02msedc.rose.hp.com
7|Page
# vi /etc/ntp.conf
#server 0.rhel.pool.ntp.org
#server 1.rhel.pool.ntp.org
#server 2.rhel.pool.ntp.org
#server 127.127.1.0 # local clock
server ntp.hp.net
c. Enable the ntpd via typing command “ntsysv” on the core system. On the
ntsysv pop-up dialog box, search for ntpd and enable it.
# ntsysv
13. Reboot the system (if you changed the network configuration)
This makes all changes take effect.
8|Page
14. Test the Core system
a) nslookup <FQDN> & <Short name of computer>, <IP address> and ping
hostname, ip, from other computer to make sure your box is properly
configured.
b) Check if the core system host name is correct after the reboot
#hostname
c) Check the date and time on the Core system to make sure the time is
UTC time.
#date
Wed Jun 3 15:51:37 UTC 2009
Note: Please DON’T change the date and time. It must be set to the correct
date/time in UTC zone.
15. Check the system LANG settings and set them if necessary.
9|Page
Enter the following into /etc/sysconfig/i18n
LANG=” en_US.UTF-8”
SUPPORTED=”en_US.UTF-8:en_US:en”
16. Set up some folders and copy some SA files onto the system before installing SA.
a. Mount to the source system, voltorb:
i. mkdir /mnt
ii. mount voltorb.rose.hp.com:/opsware /mnt
b. Create win_util directory on the core system, then copy all win_util files
to the core system folder /home/win_util
#mkdir /home/win_util
#cp /mnt/SA_core_setup/win_util_files/* /home/win_util
c. Create directory to hold the engineering crypto file. This is an internal lab
file that enables developers to get onto your core via a backdoor from the
web. If you don’t do this, the SA installer will create its own, but
developers can’t use it.
#mkdir -p /var/opt/opsware/crypto/cadb/realm
#cp /mnt/SA_core_setup/engr_crypto_file/* /var/opt/opsware/crypto/cadb/realm
>> At this point you have configured your system for installing SAS. <<
How to use g4l instruction and g4l software can be found at:
\\silccrls.rose.hp.com\APPIQ\Opsware\Servers Imaging\Linux\G4L\Disk_Images_Slow
10 | P a g e
4 Section III – Install SAS on the Core System
In Roseville, you can install the SAS from the mirrored build system:
o voltorb.rose.hp.com
Released SAS software:
o /mnt/Opsware_Released_Bits/7.0 – 9.0
Test (pre-release) SAS software:
o /mnt/distributions/
silver.0 – for SA 7.8x versions
oro.0 – for SA 9.0x versions
amber.0 – for SA 9.1x versions
You must install the SA base release before installing any patch releases. For
example, SA 7.8 must be installed before installing 7.84. SA 9.0 must be installed
before installing 9.01.
Mount to voltorb:
# mount voltorb.rose.hp.com:/opsware /mnt
2. Path to SA 9.0 base release folder. If you are installing from the base release folder,
then substitute this path in the installation steps:
a. Use this: /mnt/Opsware_Released_Bits/9.0/
b. Instead of: /mnt/distributions/oro.0/
3. Note: When you see any FAILURE during the installation, please stop via say no to
question:
Do you wish to continue with install? (y/n): n
11 | P a g e
1. Run the SAS Oracle install_opsware.sh
Run the first time install using the “advanced” option. This will make it go into
interview mode so you can give it all the correct parameters for installation. Use
advanced option as follows:
/mnt/distributions/oro.0/opsware_40.0.2538.0-
oracle_sas/disk001/opsware_installer/install_opsware.sh –advanced
If you have a response file from a previous installation, use it as follows, so it will not
go into interview mode:
/mnt/distributions/oro.0/opsware_40.0.2538.0-
oracle_sas/disk001/opsware_installer/install_opsware.sh –r
/var/tmp/oiresponse.oracle_sas
Please select the interview mode. Simple mode uses default values for many of the
configuration parameters. Advanced mode allows you to fully configure the
installation.
Please select the interview mode from the menu, type 'h' for help, 'q' to quit: 1
All parameters have values. Do you wish to finish the interview? (y/n): y
12 | P a g e
Name of response file to write [/usr/tmp/oiresponse.oracle_sas]: <Default>
Would you like to continue the installation using this response file? (y/n): y
Selection: c
Review the results, and if you think it’s OK to continue, then enter “y” at the next
prompt.
Wait for the oracle-sas installation finished successfully. (It takes about 10 minutes.)
/mnt/distributions/oro.0/opsware_40.0.2538.0-
primary/disk001/opsware_installer/install_opsware.sh --advanced
If you have a response file from a previous installation, use it as follows, so it will not go
into interview mode:
/mnt/distributions/oro.0/opsware_40.0.2538.0-
primary/disk001/opsware_installer/install_opsware.sh –r
13 | P a g e
oiresponse.slices_master_typical
Please select the interview mode from the menu, type 'h' for help, 'q' to quit: 1
Please select the interview mode. Simple mode uses default values for many of the
configuration parameters. Advanced mode allows you to fully configure the installation.
Please select the interview mode from the menu, type 'h' for help, 'q' to quit: 1
14 | P a g e
should be 950 or less. [1]:
15 | P a g e
request connections to core component.
[3003]:
Would you like to continue the installation using this response file? (y/n): y
16 | P a g e
4 (*) OS Provisioning Components
Enter a component number to toggle ('a' for all, 'n' for none).
When ready, press 'c' to continue, or 'q' to quit.
Selection: c
Wait for the Primary components completed successfully. (It takes 1-1.5 hours.)
Wait for the Primary components completed successfully. (It takes 1-1.5 hours.)
/ mnt/distributions/silver.0/opsware_40.0.2538.0-
upload/disk001/opsware_installer/install_opsware.sh --advanced
If you have a response file from a previous installation, use it as follows, so it will not go
into interview mode:
/mnt/distributions/oro.0/ opsware_40.0.2538.0-
upload/disk001/opsware_installer/install_opsware.sh –r
/var/tmp/oiresponse.word_uploads
Please select the interview mode. Simple mode uses default values for many of the
configuration parameters. Advanced mode allows you to fully configure the installation.
Please select the interview mode from the menu, type 'h' for help, 'q' to quit: 1
17 | P a g e
3. Answer the SAS Upload installation OI response parameters
All parameters have values. Do you wish to finish the interview? (y/n): y
Would you like to continue the installation using this response file? (y/n): y
18 | P a g e
1 (*) Software Repository - Content (install once per mesh)
2 (*) OS Provisioning Linux Media Verification (required only for upgrades from pre-7.8
versions)
Enter a component number to toggle ('a' for all, 'n' for none).
When ready, press 'c' to continue, or 'q' to quit.
Selection: c
D- Install SE Connector
For SA 7.8 base release or 9.0 base release, download SE Connector from HP
Live Network.
For SA 7.82 and later, and SA 9.01 and later, the SE Connector is
automatically installed on the core.
2. Download & install the SA Client software to your work station where you will
perform your test.
a) On the Core OCC Web (See step 1), go to “Home -> Power Tools”.
19 | P a g e
b) Click the “Download Opsware Launcher”, then download and install the
SAS Launcher.
Login to SA Client
3. Login to the SAS OCC Client with the user that you created in step 1.
You can double-click the HP Server Automation icon to bring the SA OCC Client
up.
6 Section V- Troubleshooting/QA
a) When you see any FAILURE during the installation, please stop the
installation via say no to the prompted question:
Do you wish to continue with install? (y/n): n
b) Then you need to take care of the FAILURES. The FAILURES could be
missing patches or files.
c) After you take care the FAILURES, then run the uninstall script. The
uninstall script can be found in
/mnt/distributions/silver.0/opsware_37.0.3181.0-
primary/disk001/opsware_installer (For example)
d) Then re-run the installer script to continue the installation.
20 | P a g e