IUX - Setup Network Booting Ignite-UX

From Wiki-UX.info
Jump to: navigation, search

Return Ignite-UX_Handbook

Set Up or Update the Software Source (SD-UX)

1. To create a depot from CD/DVD Core OS media use the "make_depots" command. For example, to create the necessary disk depot that corresponds to the HP-UX 11.11 core operating system CD/DVD that is connected at /dev/dsk/c0t0d0, enter:

make_depots -r B.11.11 -s /dev/dsk/c0t0d0
  • Notes:
  1. One or more depots are created in the /var/opt/ignite/depots/Rel_B.11.11 directory.
  2. Standard SD-UX hostname:depot can be use to copy remote depots.

2. If you used make_depots as described in step 1 to create your depots, use the "make_config" command to create Ignite-UX configuration files for each of the depots you plan to use. For example:

make_config -r B.11.11

This command creates configuration files for all depots found in the /var/opt/ignite/depots/Rel_B.11.11 directory. It also adds these configuration files to all /var/opt/ignite/INDEX entries for the HP-UX 11.11 release.

3. If you did not use make_depots to create your depots, run "make_config" and point it at a specific depot. For example:

make_config -s server.com:/depot_11_11 \
-c /var/opt/ignite/data/Rel_B.11.11/core_cfg

Now add a reference to the /var/opt/ignite/INDEX file:

manage_index -a -f /var/opt/ignite/data/Rel_B.11.11/core_cfg

Example:

# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3     524288  143472  377856   28% /
/dev/vg00/lvol1     298928   50488  218544   19% /stand
/dev/vg00/lvol7    6340608 1299304 5004760   21% /var
/dev/vg00/lvol6    6340608 1361112 4940608   22% /usr
/dev/vg00/lvol5     524288    2528  517752    0% /tmp
/dev/vg00/lvol4    6340608 3236272 3080104   51% /opt
/dev/vg00/lvol8      32768    2280   30264    7% /home
/dev/vg00/ignite   12582912    3710 12186106    0% /var/opt/ignite

# make_depots -v -r B.11.11 -s crrp4440:/depot/oscores/11.11/Dec06.MCO

During execution:

System: crc8000                                       Wed Jun 18 08:48:42 2008
Load averages: 0.10, 0.08, 0.04
147 processes: 131 sleeping, 15 running, 1 zombie
Cpu states:
CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
 0    0.09   2.0%   0.0%   8.0%  90.0%   0.0%   0.0%   0.0%   0.0%
 1    0.12   4.4%   0.0%   4.0%  91.6%   0.0%   0.0%   0.0%   0.0%
 2    0.11   5.6%   0.0%   8.8%  85.6%   0.0%   0.0%   0.0%   0.0%
 3    0.10   1.6%   0.0%   3.4%  95.0%   0.0%   0.0%   0.0%   0.0%
---   ----  -----  -----  -----  -----  -----  -----  -----  -----
avg   0.10   3.4%   0.0%   6.0%  90.6%   0.0%   0.0%   0.0%   0.0%

Memory: 223584K (131640K) real, 379668K (204332K) virtual, 209436K free  Page# 1
/17

CPU TTY  PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND
 1   ? 21148 root     154 20 43908K 33980K sleep    0:59 28.04 27.99 swagent
 0   ?  2244 root     154 20  1996K   344K sleep    1:21  4.38  4.37 pwgrd
 1   ?    39 root     152 20  1888K  1888K run      3:45  1.15  1.15 vxfsd
 1   ?  2462 root     -16 20 38440K 16740K run      2:26  0.62  0.62 midaemon
 3   ?  2806 root     152 20 56532K 18748K run     37:50  0.60  0.60 coda
 1   ?  2527 root     152 20 32972K  4600K run      0:31  0.12  0.12 ovcd
 0   ?  2500 root     152 20 22784K  3408K run     23:00  0.11  0.11 perfalarm
 2   ?  1671 root     152 20 39244K  7324K run      0:00  0.10  0.10 cimserver

# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3     524288  143864  377464   28% /
/dev/vg00/lvol1     298928   50488  218544   19% /stand
/dev/vg00/lvol7    6340608 1299936 5004128   21% /var
/dev/vg00/lvol6    6340608 1361112 4940608   22% /usr
/dev/vg00/lvol5     524288    2528  517752    0% /tmp
/dev/vg00/lvol4    6340608 3236272 3080104   51% /opt
/dev/vg00/lvol8      32768    2280   30264    7% /home
/dev/vg00/ignite   12582912 2252306 10007786   18% /var/opt/ignite

# make_config -v -r B.11.11
NOTE:    make_config can sometimes take a long time to complete. Please be
         patient!

Return to Ignite-UX_Handbook

Integrity Registered Client

  • Add to "/etc/bootptab" the register client definition.
IADEF:\
ht=ethernet:\
hn:\
bf=/opt/ignite/boot/nbp.efi:\
bs=48:\
sm=255.255.0.0:\
gw=16.118.112.1:\
ds=16.110.135.51:
rx260-03:tc=IADEF:ip=16.118.112.129:ha=00306E4A497D

Obtain the network configuration information from the client

There are two options to gather the required client network configuration.

1. Check "/etc/rc.config.d/netconf" general network configuration file.

INTERFACE_NAME[0]="lan1"
IP_ADDRESS[0]="192.168.112.129"
SUBNET_MASK[0]="255.255.0.0" <--- Network subnet mask

2. Using network configuration commands

# netstat -in
Name      Mtu  Network         Address         Ipkts   Ierrs Opkts   Oerrs Coll
lan2      1500 16.118.112.0    16.118.112.129  3024    0     1495    0     0
lan1      1500 192.168.0.0     192.168.112.129 1582    0     1       0     0     <--- IP Address
lo0       4136 127.0.0.0       127.0.0.1       0       0     0       0     0

# netstat -nr
Routing tables
Destination           Gateway            Flags   Refs Interface  Pmtu
127.0.0.1             127.0.0.1          UH        0  lo0        4136
192.168.112.129     < 192.168.112.129  > UH        0  lan1       4136	<--- IP Address
16.118.112.129        16.118.112.129     UH        0  lan2       4136
16.118.112.0          16.118.112.129     U         2  lan2       1500
192.168.0.0           192.168.112.129    U         2  lan1       1500
127.0.0.0             127.0.0.1          U         0  lo0           0
default             < 16.118.112.1     > UG        0  lan2          0   <--- Default gateway

# lanscan
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
0/0/3/0  0x00306E4CDBE7 0   UP    lan0 snap0     1   ETHER     Yes     119
0/1/2/0  0x00306E4CEAFC 1   UP    lan1 snap1     2   ETHER     Yes     119	<--- MAC Address
0/4/1/0  0x00306E4A497D 2   UP    lan2 snap2     3   ETHER     Yes     119

To obtain the DNS server configuration if not readily available, check "/etc/resolv.conf"

# cat /etc/resolv.conf
domain usa.hp.com
nameserver 16.110.135.51 <--- Domain nameserver IP address used in this case
nameserver 16.110.135.52

Return Ignite-UX_Handbook