Professional Documents
Culture Documents
Build HPUX Initial Build Steps
Build HPUX Initial Build Steps
Build HPUX Initial Build Steps
Engineering
Prepared by:
John Daley
Document
Version No.:
1.2
Preparation
Date:
2/20/2014
Version
No.
Version
Date
Revised by
Description
1.0
10/28/2013
John Daley
Initial draft
1.2
2/20/2014
John Daley
Update firmware
procedures
Contents
Overview.................................................................................................................... 3
Scope.......................................................................................................................... 3
Notes.......................................................................................................................... 3
High Level Flow:......................................................................................................... 3
Pre work..................................................................................................................... 5
Build Step-By-Step...................................................................................................... 6
Add Hosts to VSM....................................................................................................... 6
Add LDAP Groups.................................................................................................... 7
Check OA and VC Version........................................................................................ 9
System and iLO Firmware................................................................................. 10
Option Firmware................................................................................................ 10
Ignite the HP_UX Operating System......................................................................11
Post-ignite Core HP-UX Build..................................................................................... 14
Overview
This Document details how to do the initial build of an HP-UX server. The steps in
this document must be taken before any host is ready for standalone configuration,
or to be built to join a cluster. In other words, DO THESE STEPS FIRST.
Scope
Assumptions:
OS is HP-UX v11.31
ServiceGuard version is 11.20
Platform is Integrity blade
This document assumes the builder is familiar with HP-UX commands and utilities,
and BCS Demand processes.
Notes
Estimated Time to complete task: 2.5 ours per host. Much of that time is while the
system is Igniting; other work can be done.
Prework
Firmware
Ignite
Check SAN and Network
Patch, add LDAP groups
Add users
Verify
Pre work
Overview Collect information about this instance to prepare for build. Save
information in a readily accessible format.
Tools: MBS, callmbs and callsub programs available on g6t0507.
Steps:
1
Open the latest version of the MBS from MBS Share. If you do not have access to
MBS, send an email to Mark Mangin and Kezar Cline for access.
Enable the content by clicking the Options button at the top of the window.
Select the 'Enable this content' radio button. A list of servers will display.
Select Equals and type in the name of the server being built. Do not include the
FQDN. The server you will be building should display.
Click the General tab and note the Site and Cell
Click the System tab and note the Server or Service and blade enclosure
host
10 Click the LAN tab and note the Primary IP Address, Backup IP Address, IC
Cluster Partners.
13 Look up the hostname Subnet Mask and Default Gateway using callsub on
g6t0507. (callsub h)
Example:
$ callsub g5u9999c
Hostname: g5u9999c
IP: 16.201.148.x
Gateway: 16.201.144.1
Subnet: 255.255.248.0
Build Step-By-Step
Add Hosts to VSM
Note: See step 3.2.2 in the LDAP Guide for details if needed.
Tools: Virtual System Manager (VSM)
Overview: This step uses VSM to add hosts, or confirm they are already present.
Steps:
1
Add the host as follows using VSM. The following is an example of a VSM
entry.
Verify that the CI is now in Directory Works. If it is, then control can now add
LDAP Groups.
Choose Groups from the search drop-down, to the right of the banner:
Enter the FQDN or name of the server being built in the search field and then
clicks on the "Find" button
In the next window, click on the first link listed for your server
In the following window after, click on the Edit link listed next to 'Members',
not 'Owners'.
Next, change the drop down menu to 'Groups' and enter in the LDAP group
into the blank textbox next to the 'Find' button.
Click 'Find.
In the search results textbox, your LDAP group will appear. Make sure the
LDAP group is highlighted and select 'Add'.
The LDAP group will then move over to the 'Members' textbox.
10 Repeat these steps for all LDAP groups that need to be added
11 When you have finished, click 'Save'.
Option Firmware
Cluster: N/A
Notes: There are two ways to do each type of update.
Notes: To Determine if option firmware is truly updated, you much check once the
operating system is installed from the Golden Image using the opfwvers.ksh
script.
Notes: Make sure you have reviewed the Integrity Firmware Guide
Overview:
Options firmware update will update the firmware and EFI code for your "LAN On
Motherboard" or LOM, your Smart Array SAS disk controller, and your Mezzanine
cards.
Options firmware can be updated from the EFI prompt at the system console before
the installation, or after installation using the Smart Component online updates.
16.226.6.55
16.225.134.103
16.216.192.51
16.224.6.196
g1u0016.austin.hp.com
g4u0061c.houston.hp.com
g9u0087c.houston.hp.com
g5u0006.atlanta.hp.com
For each host, run callsub db hostname to obtain the appropriate Ignite
command. Save the output lines. Example:
[daleyj@g6t0507 ~]$ callsub -db g1u2438c
dbprofile -dn igniteboot -sip 16.226.6.55 -cip 16.192.129.91 -gip 16.192.128.1
-m 255.255.248.0 -b /opt/ignite/boot/nbp.efi
2
3
Again at the shell prompt, enter the lanboot command to start the Ignite
configuration.
Shell> lanboot select -dn igniteboot
At the prompt, choose the first network adapter, named either LAN 01 or LAN
001. If the first network adapter is unavailable, try the others. if none work,
enter a BTIL.
Choose 11.31 for the Operating System (if MBS specifies HP-UX v3 for the OS
image)
10 Choose LAN 0
11 Youll be prompted to wait for a network address, or enter CTRL/C. Enter CTRL/C.
12 Enter the server name, server primary IP, gateway, and subnet. Double-check
14 Wait for the TUI Ignite interface to appear. It will look like this:
15 Tab to the item in brackets named Root Disk. Hit enter to open the sub menu.
a For ITG and DEV Tab to the View box, and choose SAS. Choose a local disk
b
c
d
for installation.
For PRO choose a 64GB SAN disc (fibre channel).
If the servers are PRO and you dont see any SAN disks at this point, enter a
BTIL.
If the servers are PRO, it may be appropriate to Ignite to a local disk, and
configure boot from SAN later, after SAN is available. Check with your team.
16 Once the install disk is selected, tab to OK, and hit enter to return to the main
screen.
At the main screen, tab to System, and hit enter. The System screen will appear:
Ensure the subnet is ok (usually it isn't)
Tab to Go! Hit enter to start the installation.
If a warning about swap space appears, dismiss it and hit enter again while on
Go!
21 Your install will take at minimum two hours to complete.
17
18
19
20
lan0
lan3
lan6
lan7
lan9
0x00215A79BF68
0x00215A79BF6B
0x00215A79BDA8
0x00215A79BDA9
0x00215A79BDAB
Leave the #BKP or Backup network information commented for now. You will
uncomment it after creating the ServiceGuard Cluster.
Note that the index number agrees for each parameter applied to a particular
interface.
Not that DHCP_ENABLE is set to 0.
Once the configuration is correct per MBS, nslookup and the callsub net output,
restart the network.
/sbin/init.d/net stop; /sbin/init.d/net start
Open the volume information from the server from MBS, or your saved
information from a previous step, or retrieve it with this command:
curl -silent http://linuxcoe.corp.hp.com/cgi-bin/volconfig?
ServerName=$(hostname)
If no LUNs are seen, check that the first two HBA ports are online. If they are
not online, create a BTIL to UNIX-VC to have the blade profile checked. If not
a blade, create a BTIL to the HTS team.
$ pbrun /opt/wwtools/bin/wwn_find.ksh
/dev/fcd0
0x5001438002014286 0/0/0/5/0/0/0
/dev/fcd1
0x5001438002014288 0/0/0/5/0/0/1
ONLINE
ONLINE
If only some LUNs are present, or the sizes are wrong, create a BTIL to SAN.
Add Users
BETA: use make_users.ksh script to add users to VSM (log is in
/var/tmp/make_users.log):
wget --quiet
http://linuxcoe.corp.hp.com/LinuxCOE/Delivery/Americas/Sysadm/current/T
ools/build/make_users.ksh -O ~/make_users.ksh;ksh ~/make_users.ksh
1. Gather list of users to add to server(s)
a. Use the users tab in your spreadsheet or the myusers file in your home
directory. cat ~/myusers file on your server (this file is created in gather sap
info step.. example below)
If the clone has not been done, use dsqx.p -i to find an unused 64GB LUN.
For example, /dev/disk/disk99 might be marked UNUSED or all lines in the
output for disk99.
Use the familiar name of the new clone disk to create the clone.
$ drd clone -t /dev/disk/disk99
Check the boot paths again. They should still point to the original boot
disk not the clone.
$ setboot -v
Primary bootpath : 0/0/8/1/0.0x50060e800548a300.0x4000000000000000
(/dev/rdisk/disk30)
HA Alternate bootpath :
1/0/8/1/0.0x50060e800548a310.0x4000000000000000 (/dev/rdisk/disk30)
Alternate bootpath : 1/0/8/1/0.0x50060e800548a310.0x4000000000000000
(/dev/rdisk/disk30)
Method 2:
Steps:
2
SAS:
RX Servers:
Overview: the steps below will confirm that all the drives are installed and upload
WWNs to MBS
Steps:
1. Logs in to the Server that has been ignited
2. Execute the chkslotload.ksh script. Checks the output If everything is listed as
"GOOD" then the backplane is setup correctly: : see this example
If there are errors, refer to the Backplane Diagrams
Execute: "RS" (Reset the Server) to reboot the server Note:In some
cases, a question will be prompted as follows:
Execution of this command irrecoverably halts all system processing and
I/O activity and restarts the computer system.
Type Y to confirm your intention to restart the system: (Y/N)
In this case, select Y for 'yes'.
o
o
Hit the Down Arrow key to stop the boot process and navigate
down to the EFI Shell option
Note:On some servers, the EFI shell can be selected from a boot
menu that is blue with white writing. On others the EFI will have a
23
24
28
29
00000108
00000108
00000108
00000108
B
D
D
D
X
X
X
X
X
X
X
X
1
1
1
1
HP
HP
HP
HP
4
4
4
4
Gb
Gb
Gb
Gb
Fibre
Fibre
Fibre
Fibre
Channel
Channel
Channel
Channel
Driver
Driver
Driver
Driver
PciROM:04:00:01:002
PciROM:04:00:00:002
PciROM:06:00:01:002
PciROM:06:00:00:00
Use the numbers in the first column to find the Drv and Ctrl
numbers of the fibre channel devices in the output of the
"drvcfg" command":
fs0:\> drvcfg
Drv[23] Ctrl[27]
Drv[24] Ctrl[26]
Drv[28] Ctrl[2C]
Drv[29] Ctrl[2B]
Drv[2E] Ctrl[46]
Drv[59] Ctrl[1D]
2
-
Lang[eng]
Lang[eng]
Lang[eng]
Lang[eng]
Lang[eng]
Lang[eng]
Previous Menu
Help
Enable Alternate Boot Device [n]
Enable Selective Login [n]
Enable Selective Lun Logins [n]
OS Mode [Windows/Linux/Other]
EFI Variable EFIFCScanLevel [?]
Enable World Login [n]
Change options 2-4 to yes. If the OS mode is not already set to HP-UX/OpenVMS , select
option 5 and change it to that. Change option 6 to yes and set the EFIFCScanLevel to 0.
Change option 7 to yes. Once this is complete, the menu should look like the following:
Edit Boot Settings
0. Previous Menu
1. Help
2. Enable Alternate Boot Device [y]
3. Enable Selective Login [y]
4. Enable Selective Lun Logins [y]
5. OS Mode [HP-UX/OpenVMS]
6. EFI Variable EFIFCScanLevel [0]
7. Enable World Login [y]