Search This Blog

Saturday, May 7, 2011

Creating Ignite-UX Server

Install the product

# swinstall -s <depot>

Verfiy the installation and note down the versions

# swlist -l product|grep -i ignite

ml035-root> swlist -l product|grep -i ignite
        Ignite-UX             C.7.11.444     HP-UX System Installation Services

Modify PATH and MANPATH variables

PATH=$PATH:/opt/ignite/bin
export PATH
MANPATH=$MANPATH:/opt/ignite/share/man
export MANPATH

Copy the contents of the HP-UX DVDs to a directory on the Ignite server (ie. /export/ignite/depots/Rel_B.11.23/HAOE (Same as creating a software depots)

# mkdir /mnt
# kcmodule fspd=loaded    (to mount the ISO image, we need to load this module)

For all DVDs do:

# mount –F cdfs /path/to/HP-UX_DVD1.iso /mnt

Example
# swcopy –s /mnt \* @ /export/ignite/depots/Rel_B.11.31/HAOE          (Command to create a depot)
or
#mk_depots -r B.11.31 -s <source>
#mk_depots -r B.11.31 -s /dev/dsk/c0t0d0
or
# /opt/ignite/bin/make_depots -s /dev/dsk/c1t2d0  -d /var/opt/ignite/depots/Rel_B.11.23/HAOE
or
# swcopy -s /dev/dsk/c1t2d0 \* @ /export/ignite/depots/Rel_B.11.31/HAOE
# umount /mnt

The software depot is normally created in the following directory “/var/opt/ignite/depots/Rel_B.11.31”, but can be placed in a common deployment location on another server:

Making the Ignite-UX configuration file for this depot

# mk_config  -s <depot path> -c <cfg file path>
# make_config -s /export/ignite/depots/Rel_B.11.31/HAOE   -c /var/opt/ignite/data/Rel_B.11.31/HAOE_cfg

Making an Index entry for the configuration

# manage_index -a -f /var/opt/ignite/data/Rel_B.11.31/core_cfg -r B.11.31
or
# manage_index -a -f /var/opt/ignite/data/Rel_B.11.31/HAOE_cfg  -c "HP-UX B.11.31 HAOE March 2009"
(Here we had given name HAOE_cfg instead of core_cfg)

Verify and examine the configuration file for following parameters. (/var/opt/ignite/data/Rel_B.11.31/core_cfg)

source_format= SD

sd_server= <Ignite server IP>

sd_depot_dir=<deport path>

Example :
====================================
sw_source "core" {
description = "HP-UX Core Software"
source_format = SD
sd_server = "192.168.112.231"
sd_depot_dir = "/depot/HPUX-11.31"
source_type = "NET"
load_order = 0
===================================
Example:
ml035-root> strings core_cfg
#########################################################
##  Software Sources
#########################################################
sw_source "core" {
    description = "HP-UX Core Software"
    source_format = SD
    sd_server = "10.1.1.24"
    sd_depot_dir = "/var/opt/ignite/depots/Rel_B.11.11/core"
    source_type = "NET"
    load_order = 0

  1. Verify and examine the Index file (/var/opt/ignite/INDEX) for following parameters.

Check for the entry, cfg "HP-UX 11.31 Default"
Example file of INDEX
==================================================
cfg "HP-UX B.11.31 Default" {
description "This selection supplies the default system configuration
that HP supplies for the B.11.31 release."
"/opt/ignite/data/Rel_B.11.31/config"
"/opt/ignite/data/Rel_B.11.31/hw_patches_cfg"
"/var/opt/ignite/data/Rel_B.11.31/core_cfg"
"/var/opt/ignite/config.local"
========================================================
Another Example:
==========================================================
ml035-root> strings INDEX
# /var/opt/ignite/data/INDEX
# This file is used to define the Ignite-UX configurations
# and to define which config files are associated with each
# configuration.  See the ignite(5), instl_adm(4), and
# manage_index(1M) man pages for details.
# NOTE: The manage_index command is used to maintain this file.
#       Comments, logic expressions and formatting changes are not
#       preserved by manage_index.
# WARNING: User comments (lines beginning with '#' ), and any user
#          formatting in the body of this file are _not_ preserved
#          when the version of Ignite-UX is updated.
cfg "HP-UX B.11.11 Default" {
        description "This selection supplies the default system configuration that HP supplies for the B.11.11 release."
        "/opt/ignite/data/Rel_B.11.11/hw_patches_cfg"
        "/var/opt/ignite/data/Rel_B.11.11/config"
        "/var/opt/ignite/config.local"
        "/var/opt/ignite/data/Rel_B.11.11/core_cfg"
        "/var/opt/ignite/data/Rel_B.11.11/main_depot_cfg"
        "/var/opt/ignite/data/Rel_B.11.11/menlo_kernel_cfg"
cfg "HP-UX B.11.23 Default" {
        description "This selection supplies the default system configuration that HP supplies for the B.11.23 release."
        "/opt/ignite/data/Rel_B.11.23/hw_patches_cfg"
        "/var/opt/ignite/data/Rel_B.11.23/config"
        "/var/opt/ignite/data/Rel_B.11.23/core_cfg"
        "/var/opt/ignite/config.local"
        "/var/opt/ignite/data/Rel_B.11.23/menlo_kernel_cfg"
}=TRUE
cfg "HP-UX B.11.31 Default" {
        description "HP-UX B.11.31 DC OE March 2009"
        "/opt/ignite/data/Rel_B.11.31/hw_patches_cfg"
        "/var/opt/ignite/data/Rel_B.11.31/config"
        "/var/opt/ignite/data/Rel_B.11.31/core_cfg"
        "/var/opt/ignite/config.local"
=====================================================================

Check the entry in /etc/dfs/dfstab and ensure that NFS is running
.
share -F nfs -o anon=2 -d "Ignite Clients" /var/opt/ignite/clients
share -F nfs -o anon=2,ro -d "HPUX 11.23 Depot" /depot/HPUX-11.23
share -F nfs -o anon=2,ro -d "HPUX 11.31 Depot" /depot/HPUX-11.31

# ps -ef|grep nfsd

Check the entries in /etc/inetd.conf for tftpd,bootpd
# vi /etc/inetd.conf

tftp dgram udp wait root /usr/lbin/tftpd tftpd\
/opt/ignite\
/var/opt/ignite

bootps dgram udp wait root /usr/lbin/bootpd bootpd –d 3

Reread inetd config
# inetd -c

Collect Client MAC address.

Shell> lanaddress

LAN Address Information

LAN Address Path
----------------- ----------------------------------------
*Mac(001B787AF2EA) Acpi(HWP0002,PNP0A03,100)/Pci(1|0)/Mac(001B787AF2EA)
Mac(001B787AF2EB) Acpi(HWP0002,PNP0A03,100)/Pci(1|1)/Mac(001B787AF2EB)
Mac(001B787AF2E6) Acpi(HWP0002,PNP0A03,200)/Pci(2|0)/Mac(001B787AF2E6)
Mac(001B787AF2E7) Acpi(HWP0002,PNP0A03,200)/Pci(2|1)/Mac(001B787AF2E7)

Edit /etc/bootptab and enter client inforamtions

#vi /etc/bootptab
ignite-defaults:\
ht=ethernet:\
hn:\
bf=/opt/ignite/boot/nbp.efi:\
bs=48
<Client hostname>:\
tc=ignite-defaults:\
ha=001B787AF2EA:\
ip=192.168.112.177:\
sm=255.255.0.0:\
gw=192.168.114.252:\
ds=190.1.48.11

No comments:

Post a Comment