Operating System - HP-UX
1751688 Members
5279 Online
108781 Solutions
New Discussion юеВ

Re: Insatll OS using the Golden Image on vPars

 
UVA
Regular Advisor

Insatll OS using the Golden Image on vPars



Hi,

How to install the os on vPar's by using the golden image.

I have four vPars in my rx 8640 server.

from first vPar i made the golden image of the server.

now i needs to replicate the OS on rest of my vPars.
its a RX server, So can any tell me how can i do the same.


if you requirde any input, i will post.


the Ignite Product also installed on the system.

Thanks.



9 REPLIES 9
melvyn burnard
Honored Contributor

Re: Insatll OS using the Golden Image on vPars

Take a read of this document, it may help you

http://docs.hp.com/en/6770/golden.images.pdf
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Ramesh S
Esteemed Contributor

Re: Insatll OS using the Golden Image on vPars

Hi

1) Take golden image of the system ( make_sys_image )

2) run archieve_impact on the .gz file and redirect to any file

3) copy core11.cfg to anywhere and replace that impact line with file you got in step 2

4) run manage_index to update the cfg file to INEDX file.

5) make sure you have added spare ip in /etc/opt/ignite/instl_boottab file

6) add NIC MAC of other vpars to /etc/boottab file and assisgn the IP.

Ref: http://docs.hp.com/en/5992-3336/index.html ( Chapter 9 )

Best Regards,
Ramesh S

Steven E. Protter
Exalted Contributor

Re: Insatll OS using the Golden Image on vPars

Shalom,

Golden images is the way to go.

It insures consistency of configuration, filesystems, nearly every detail except hostname between the systems.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
UVA
Regular Advisor

Re: Insatll OS using the Golden Image on vPars

I did the following steps, still im not able to boot the vPar,



vi /.rhosts

nakbprd1 root
nakbpre1 root

did on ignite server and Golden system.

Ignite server.

mkdir - /var/opt/ignite/archives/Rel_B.11.31

1. made the archive of the golden system

#/tmp/make_sys_image -d /var/opt/ignite/archives/Rel_B.11.31 -s 172.20.101.63

Now i got the archive on my ignite server

i exported the nfs directory

#more /etc/dfs/dfstab

share -F nfs -o anon=2 /var/opt/ignite/clients
share -F nfs -o ro,anon=2 /var/opt/ignite/archives/Rel_B.11.31

#shareall

#share
- /var/opt/ignite/clients anon=2 ""
- /var/opt/ignite/archives/Rel_B.11.31 ro,anon=2 ""

cp /opt/ignite/data/examples/B.11.31.golden_image.cfg /var/opt/ignite/data/Rel_B.11.31/B.11.31.golden_image.cfg

cd /var/opt/ignite/data/Rel_B.11.31/

I made the impact file and chaged the details

edit the B.11.31.golden_image.cfg

now my .cfg file is

# more B.11.31.golden_image.cfg


# If nfs_source is used, be sure to export the source.
nfs_source = "172.20.101.63:/var/opt/ignite/archives/Rel_B.11.31"
}


########################################################################
# Define the golden images
#
# "sw_sel" - Each of these defines a software object (such as an
# archive) which can be obtained via methods defined in
# the "sw_source" stanza above.
########################################################################
#-----------------------------------------------------------------------
# The IA golden image
#-----------------------------------------------------------------------
(is_ia64) {
init sw_sel "B.11.31 IA golden image" {
description = "B.11.31 IA golden image"
sw_source = "golden image"
sw_category = "HPUXEnvironments"
archive_type = gzip tar

# For NFS, the path to the archive is relative to the mount point
# specified in the "nfs_source" keyword within the sw_source stanza
# above:
archive_path = "nakbpre1.gz"

# Here we describe how much space is used in each of the mentioned
# subdirectories. This information is obtained by running the
# "archive_impact" command against an archive as follows:
# /opt/ignite/lbin/archive_impact -tg hostname.gz
# The output from the above command should replace the "impacts"
# statements below.
#
impacts = "/" 3905Kb
impacts = "/.dt" 29Kb
impacts = "/dev" 22Kb
impacts = "/etc" 142429Kb
impacts = "/home" 13Kb
impacts = "/opt" 4635087Kb
impacts = "/sbin" 145641Kb
impacts = "/stand" 188098Kb
impacts = "/usr" 2801201Kb
impacts = "/var" 419572Kb

} = TRUE
}


configuration of INDEX file is

/var/opt/ignite/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/B.11.31.golden_image.cfg"
"/var/opt/ignite/data/Rel_B.11.31/core_cfg"
"/var/opt/ignite/config.local"


Checking the INDEX

# /opt/ignite/binia/instl_adm -T

* Checking file: /opt/ignite/data/Rel_B.11.31/config
* Checking file: /opt/ignite/data/Rel_B.11.31/hw_patches_cfg
* Checking file:
/var/opt/ignite/data/Rel_B.11.31/B.11.31.golden_image.cfg
* Checking file: /var/opt/ignite/data/Rel_B.11.31/core_cfg
* Checking file: /var/opt/ignite/config.local


Current vPar status

#vparstatus

[Virtual Partition]
Boot
Virtual Partition Name State Attributes Kernel Path Opts
============================== ===== ============ ======================= =====
nakxprd1 Down Dyn,Auto,Nsr /stand/vmunix
nakbprd1 Up Dyn,Auto,Nsr /stand/vmunix
nakpprd1 Down Dyn,Auto,Nsr /stand/vmunix
nakbpre1 Up Dyn,Auto,Nsr /stand/vmunix

[Virtual Partition Resource Summary]
CPU Num Num Memory Granularity
Virtual Partition Name Min/Max CPUs IO ILM CLM
============================== ======= ==== ==== ========== ==========
nakxprd1 1/ 4 1 4 128 128
nakbprd1 1/ 4 2 5 128 128
nakpprd1 1/ 4 1 4 128 128
nakbpre1 1/ 4 2 5 128 128

Memory (MB)
ILM CLM
# User # User
Virtual Partition Name Ranges/MB Total MB Ranges/MB Total MB
============================== ====================== ======================
nakxprd1 0/ 0 16383 0/ 0 0
nakbprd1 0/ 0 16384 0/ 0 0
nakpprd1 0/ 0 16384 0/ 0 0
nakbpre1 0/ 0 7488 0/ 0 0


Booting the vPar

#vparboot -p nakpprd1 -I

but the vpar is not getting boot, its try to boot from the media, and get faild with error

[MON]
vPar "nakpprd1" failed to load the kernel due to: non-bootable boot media; incorrect vPars software installed; or incorrect boot media EFI path in vPars database.
Try using "vparload -p nakpprd1 -E 0" to load the vPar.
Error loading "nakpprd1". Shutting down "nakpprd1"...
Ramesh S
Esteemed Contributor

Re: Insatll OS using the Golden Image on vPars

Hi

You may need to do

#vparboot -p -I

http://docs.hp.com/en/B2355-60127/vparboot.1M.html

Best Regards,
Ramesh
Torsten.
Acclaimed Contributor

Re: Insatll OS using the Golden Image on vPars

@Ramesh, you are refering to 11iv1 (11.11) on a PA-RISC machine, but this an Integrity ... this does not work.


@UVA - any messages in your ignite- and syslog? Did you adjust the IP address assignment settings?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
UVA
Regular Advisor

Re: Insatll OS using the Golden Image on vPars

yes, My server is RX 8640,

I dont find any error on my syslog

# vparboot -p nakpprd1 -I
vparboot: Booting nakpprd1. Please wait...
# tail -f /var/adm/syslog/syslog.log
Apr 21 14:12:29 nakbprd1 bootpd[6036]: reading new "/etc/dhcpdeny"
Apr 21 14:12:29 nakbprd1 bootpd[6036]: read 0 entries from "/etc/dhcpdeny"
Apr 21 14:12:35 nakbprd1 vparboot[27699]: user root: vparboot -p nakpprd1 -I
Apr 21 14:12:35 nakbprd1 vparboot[27699]: exit status 0
Apr 21 14:17:11 nakbprd1 vparboot[27775]: user root: vparboot -p nakpprd1 -I
Apr 21 14:17:11 nakbprd1 vparboot[27775]: exit status 0
Apr 21 14:17:19 nakbprd1 bootpd[6036]: reading new "/etc/bootptab"
Apr 21 14:17:19 nakbprd1 bootpd[6036]: read 1 entries from "/etc/bootptab"
Apr 21 14:17:19 nakbprd1 bootpd[6036]: reading new "/etc/dhcpdeny"
Apr 21 14:17:19 nakbprd1 bootpd[6036]: read 0 entries from "/etc/dhcpdeny"


But on the vPar it has listing the lan device, if select the LAN1 which i have configured on my ignite.

It says like following

Device mapping table
01 Acpi(HWP0002,PNP0A03,10A)/Pci(1|0)/Pci(6|0)/Mac(001E0B453838)
02 Acpi(HWP0002,PNP0A03,10A)/Pci(1|0)/Pci(6|1)/Mac(001E0B453839)
03 Acpi(HWP0002,PNP0A03,10C)/Pci(1|0)/Pci(6|0)/Mac(001E0B45380C)
04 Acpi(HWP0002,PNP0A03,10C)/Pci(1|0)/Pci(6|1)/Mac(001E0B45380D)
Select Desired LAN: 1

Client MAC Address: 00 1E 0B 45 38 38 .....-

PXE-E16: Valid PXE offer not received.
Torsten.
Acclaimed Contributor

Re: Insatll OS using the Golden Image on vPars

# vparboot -p nakpprd1 -I
vparboot: Booting nakpprd1. Please wait...
# tail -f /var/adm/syslog/syslog.log


You will not find any information there, unless this is your ignite server.

You should check the syslog of your ignite server.

Be aware, you will see problems if you have another DHCP (windows based ?) server running in this subnet.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
UVA
Regular Advisor

Re: Insatll OS using the Golden Image on vPars

ok, i will come back