Re: golden Image, NFS mount, boot error (561 Views)
Reply
Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 1 of 26 (674 Views)

golden Image, nfs mount, boot error

Hello Experts,

 

I am using hp-ux 11.31 on rx6600. I have created a HP Integrity Virtual machines and trying to boot it from the golden image created on the physical host.

I have created golden image but when trying to boot getting below error:

 

1. nfs mount: 10.1.42.5:/var/opt/ignite/clients: Permission denied
NOTE:    Retrying: "/sbin/fs/nfs/mount -orw 10.1.42.5:/var/opt/ignite/clients
         /var/opt/ignite/clients"
nfs mount: 10.1.42.5:/var/opt/ignite/clients: Permission denied
NOTE:    NFS mount (/sbin/fs/nfs/mount -orw 10.1.42.5:/var/opt/ignite/clients
         /var/opt/ignite/clients) failed, see messages above.


2. * Download_mini-system:  Complete
       * Loading_software:  Begin
       * Installing boot area on disk.
       * Formatting HP Service Partition.
       * Enabling swap areas.
       * Number of archives to install: 1
       * Processing the archive source (HP-UX Golden Image).
nfs mount: 10.1.42.5:/var/opt/ignite/archives/Rel_B.11.31: Permission denied
NOTE:    Retrying: "/sbin/fs/nfs/mount -oro
         10.1.42.5:/var/opt/ignite/archives/Rel_B.11.31
         /tmp/ign_configure/archive_nfs"
ERROR:   Cannot load OS archive(s) (HP-UX Golden Image)


The configuration process has incurred an error, choose one of the following options

        1) abort and reboot
        2) ignore error and continue
        3) push a shell for troubleshooting the problem
        (At any time within the shell, type "exit" to return to this menu)


# showmount -a
rx6600:/var/opt/ignite/clients
rx6600:/var/opt/ignite/recovery/golden_images
# showmount -e
export list for rx6600:
/var/opt/ignite/clients              10.1.42.5
/var/opt/ignite/archives/Rel_B.11.31 10.1.42.5


Please help how to resolve thsi issue. Tried everything from my side but not able to resolve this.

 

Regards,

 

 

Acclaimed Contributor
Dennis Handly
Posts: 25,091
Registered: ‎03-06-2006
Message 2 of 26 (656 Views)

Re: golden Image, NFS mount, boot error

>1. nfs mount: 10.1.42.5:/var/opt/ignite/clients: Permission denied

 

You could allow every machine to mount it if you can't figure out the right FQDN or IP.

Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 3 of 26 (653 Views)

Re: golden Image, NFS mount, boot error

[ Edited ]

10.1.42.5 is the same physical server on which ignite image I am creating and also HP Integrity virtual machine is created on this host only. Both the server is connected to a dedicated swith with no vlans created.

 

where I need to look to fix this error, "nfs mount: 10.1.42.5:/var/opt/ignite/clients: Permission denied"

 

Regards,

Acclaimed Contributor
Dennis Handly
Posts: 25,091
Registered: ‎03-06-2006
Message 4 of 26 (647 Views)

Re: golden Image, NFS mount, boot error

>where I need to look to fix this error, "nfs mount: 10.1.42.5:/var/opt/ignite/clients: Permission denied"

 

This is a problem on the NFS server.  The NFS client isn't on the list of clients that can access the share RW.

Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 5 of 26 (645 Views)

Re: golden Image, NFS mount, boot error

[ Edited ]

Please find details :

 

showmount -e
export list for rx6600:
/var/opt/ignite/clients              10.1.42.5
/var/opt/ignite/archives/Rel_B.11.31 10.1.42.5

 

Here both /var/opt/ignite/clients have rw=10.1.42.5

/var/opt/ignite/archives/Rel_B.11.31 rw=10.1.42.5

 

Now where to look for the root cause.

Acclaimed Contributor
Dennis Handly
Posts: 25,091
Registered: ‎03-06-2006
Message 6 of 26 (638 Views)

Re: golden Image, NFS mount, boot error

10.1.42.5 is the IP of the NFS server.  What is the IP of the VM, the NFS client?

What does /usr/sbin/share show?

Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 7 of 26 (633 Views)

Re: golden Image, NFS mount, boot error

> 10.1.42.5 is the IP of the NFS server.  What is the IP of the VM, the NFS client?

 

SIce there is no OS on the vm so no IP assigned, but I have edited /etc/opt/ignite/instl_boottab and given the IP 10.1.42.12 which i want to give to VM.

 

tail /etc/opt/ignite/instl_boottab
# Example: (lines are intentionally commented out)
# 15.1.54.125                             # IP address usable by any client
# 15.1.54.126:080009123456:19960116132331 # Entry usable by all (used already)
# 15.1.54.127:::reserve                   # Reserve this entry once used.
# 15.1.54.138:080009123457::reserve       # Reserve an IP-Addr for specific host

# IGNITE_UX_COPYRIGHT 1993 2002 #
# "(C) Copyright 1993-2002 Hewlett-Packard Development Company, L.P." #
# IGNITE_UX_COPYRIGHT #
16.90.48.75:0x00156004A2FA::reserve

 

currently no access to server since it is midnight so can't share  /usr/sbin/share show  o/p, will be able to share by morning only.

 

Regards,

Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 8 of 26 (614 Views)

Re: golden Image, NFS mount, boot error

Requested o/p

 

#  /usr/sbin/share
-               /var/opt/ignite/clients   sec=sys,anon=2,rw=10.1.42.5   ""
-               /var/opt/ignite/archives   sec=sys,anon=2,rw=10.1.42.5   ""

Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 9 of 26 (610 Views)

Re: golden Image, NFS mount, boot error

Please anyone share documents for creating golden image for hp-ux 11.31.

 

Regards,

Honored Contributor
Patrick Wallek
Posts: 13,774
Registered: ‎06-21-2000
Message 10 of 26 (605 Views)

Re: golden Image, NFS mount, boot error

The latest Ignite/UX Administration manual is located here:

 

http://h20566.www2.hp.com/portal/site/hpsc/template.BINARYPORTLET/public/kb/docDisplay/resource.proc...

 

Here are the NFS options that the manual recommends (located on page 94 of the link above):

 

 

2. Set up NFS exports and check custom configuration files.
 
Because of preexisting Ignite-UX file system layouts, the locations of certain files are automatically moved when Ignite-UX Version C.7.9 or later is installed . These files are /opt/ ignite/Version, /var/opt/ignite/INDEX, and /var/opt/ignite/config.local.
 
In addition, certain other customer-created config files might need to be moved or edited.
 
First, edit /etc/exports or /etc/dfs/dfstab as appropriate for the version of HP-UX running on the Ignite-UX server.
 
For Ignite servers running HP-UX 11i v2 or earlier:
 
# cat /etc/exports
/opt/ignite/data -ro
/var/opt/ignite/config -ro
/var/opt/ignite/data -ro
/var/opt/ignite/clients -anon=2
 
# exportfs -a
 
For Ignite servers running HP-UX 11i v3:
 
# cat /etc/dfs/dfstab
share -F nfs -o ro /opt/ignite/data
share -F nfs -o ro /var/opt/ignite/data
share -F nfs -o anon=2 /var/opt/ignite/clients
 
# shareall
 
If there are any customer-created config files that are outside of the directories exported by NFS, they must be moved under /var/opt/ignite/data.
Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 11 of 26 (601 Views)

Re: golden Image, NFS mount, boot error

Hello Patrick,

 

Thanks for your response but I ma not able to download or open the documents... Can you please share any other link if have..

 

After downloading also it showing the documents as corrupt..

Honored Contributor
Patrick Wallek
Posts: 13,774
Registered: ‎06-21-2000
Message 12 of 26 (598 Views)

Re: golden Image, NFS mount, boot error

Try some of the links from a google search:

 

https://www.google.com/#q=ignite-ux%20administration%20guide

 

http://www.lmgtfy.com/?q=ignite-ux+administrator+guide

 

 

Also -- Did you try the NFS options I mentioned?

Acclaimed Contributor
Torsten.
Posts: 23,303
Registered: ‎10-02-2001
Message 13 of 26 (593 Views)

Re: golden Image, NFS mount, boot error

[ Edited ]

Go to

http://www.hp.com/go/hpux-vpars-docs

and get "Using Golden Images with Virtual Partitions" - it has some good hints (even for virtual machines).


Also read the chapter

"Do Not Create Golden Images of the VM Host for Guest Installation"

in the HPVM guide!!!

Better copy the install media to your servers ignite repository and install a fresh guest. You may use golden images from this guest then.


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!   
Acclaimed Contributor
Dennis Handly
Posts: 25,091
Registered: ‎03-06-2006
Message 14 of 26 (584 Views)

Re: golden Image, NFS mount, boot error

>  /var/opt/ignite/clients   sec=sys,anon=2,rw=10.1.42.5   ""

 

This isn't the IP address of the NFS client.

Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 15 of 26 (581 Views)

Re: golden Image, nfs mount, boot error

10.1.42.5 is the ip of nfs server.
Acclaimed Contributor
Dennis Handly
Posts: 25,091
Registered: ‎03-06-2006
Message 16 of 26 (574 Views)

Re: golden Image, NFS mount, boot error

>10.1.42.5 is the IP of NFS server.

 

Which is useless.  It needs to have clients there.

Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 17 of 26 (569 Views)

Re: golden Image, nfs mount, boot error

Hello Denis,
Thanks for the response.
Ok I will make that changes. /var/opt/ignite/clients sec=sys, anon=2, rw=nfs client ip

but what about the 2nd error:
10.1.42.5:/var/opt/ignite/archives/Rel_B.11.31: Permission denied

As mentioned in my 1st post

Regards
Acclaimed Contributor
Dennis Handly
Posts: 25,091
Registered: ‎03-06-2006
Message 18 of 26 (561 Views)

Re: golden Image, NFS mount, boot error

>10.1.42.5:/var/opt/ignite/archives/Rel_B.11.31: Permission denied

 

You need to change both to list the NFS client IP/FQDN.

Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 19 of 26 (548 Views)

Re: golden Image, NFS mount, boot error

Hello All,

 

I tried to reconfigure everything. First I created a Golden Image archive and then configure the Ignite-UX server to recognize the golden image archive as per the guide found shared by Torsten.

 

As per Dennis suggestion I edited the /etc/dfs/dfstab file and make the entry for NFS client server which I am going to use now as 10.1.42.6 NFS client

10.1.42.5 NFS server.

 

But still getting both the error repeated as earlier;

 

NOTE:    NFS mount (/sbin/fs/nfs/mount -oro
         10.1.42.5:/var/opt/ignite/archives/Rel_B.11.31
         /tmp/ign_configure/archive_nfs) failed, see messages above.

 

nfs mount: 10.1.42.5:/var/opt/ignite/clients: Permission denied
NOTE:    NFS mount (/sbin/fs/nfs/mount -orw 10.1.42.5:/var/opt/ignite/clients
         /var/opt/ignite/clients) failed, see messages above.
       * Using client directory: /var/opt/ignite/clients/0xB2B9223B8EC3

# /usr/sbin/share o/p for reference
-               /var/opt/ignite/clients   sec=sys,anon=2,rw=10.1.42.6   ""
-               /var/opt/ignite/archives/Rel_B.11.31   sec=sys,anon=2,rw=10.1.42.6   ""

 

Any suggestion how to fixed it.

 

Regards,

Syed

 

Acclaimed Contributor
Dennis Handly
Posts: 25,091
Registered: ‎03-06-2006
Message 20 of 26 (544 Views)

Re: golden Image, NFS mount, boot error

>I edited the /etc/dfs/dfstab file and make the entry for NFS client ... as 10.1.42.6 NFS client

 

My only suggestion now would be to completely remove the rw=... from dfstab and retry.

And quickly put it back after you're finished!

 

I'm surprised that the -oro mount for /var/opt/ignite/archives/Rel_B.11.31 also fails.  ??

Honored Contributor
Patrick Wallek
Posts: 13,774
Registered: ‎06-21-2000
Message 21 of 26 (539 Views)

Re: golden Image, NFS mount, boot error

According to the Ignite Admin guide, the recommended NFS shares are:

 

For Ignite servers running HP-UX 11i v3:
 
# cat /etc/dfs/dfstab
share -F nfs -o ro /opt/ignite/data
share -F nfs -o ro /var/opt/ignite/data
share -F nfs -o anon=2 /var/opt/ignite/clients
 
 
Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 22 of 26 (525 Views)

Re: golden Image, NFS mount, boot error

[ Edited ]

Hello Expert,

 

Thanks to everyone for the support to fix my issue.

As per Dennis suggestion I tried removing the "rw=.." from /etc/dfs/dfstab and shared to everyone...

After this am able to boot the virtual machine from the archive image created on ignite server but the virtual machine is not booting it just get crashed after completing the start services...

 

 

  Start HP Virtual Machine Monitor ............................... BOOT

"Reboot of system has been requested -- rebooting..." This message comes after starting all teh services and vm get rebooted

 

attached all the logs related to it.... Appreciate if get any help on it...

 

 

 

Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 23 of 26 (445 Views)

Re: golden Image, NFS mount, boot error

For some reason, the startup script for HP Virtual Machine Monitor returns an exit value of 3, which tells the system that a reboot is needed. If that happens each time you try to boot the system, boot it to single user mode instead, and read /etc/rc.log and /etc/rc.log.OLD. Those log files might include a more descriptive error message from the Virtual Machine Monitor.

 

This error is probably not related to your /etc/dfs/dfstab change, unless the Virtual Machine Monitor is configured to use the share(s) you modified.

MK
Valued Contributor
Syedfurquan
Posts: 363
Registered: ‎09-19-2011
Message 24 of 26 (440 Views)

Re: golden Image, NFS mount, boot error

Hello Matti,

 

Thanks for the reply.

As per your suggestion I tried to boot the HP Integrity virtual machine in single user mode. Checked the logs rc.log and the only thing I get their is:

Start HP Virtual Machine Monitor
Output from "/sbin/rc2.d/S533hpvm start":
----------------------------
Host tunables must be reset on the Integrity virtual machine
NOTE:    The requested changes could not be applied to the currently
         running system, for the following reasons:
         - Requested value of lockable_mem_pct rolled back
         - The requested value of lockable_mem_pct is invalid
       * The requested changes have been saved, and will take effect at
         next boot.
Tunable                         Value  Expression  Changes
lockable_mem_pct  (now)         27838  99%         Imm (auto disabled)
                  (next boot)  (auto)  Default
       * The requested changes have been applied to the currently
         running configuration.
Tunable                       Value  Expression  Changes
filecache_max  (before)    21348352  1%          Auto
               (now)     1067384832  Default
       * The requested changes have been applied to the currently
         running configuration.
Tunable                      Value  Expression  Changes
filecache_min  (before)   21348352  1%          Auto
               (now)     106692608  Default
       * The requested changes have been applied to the currently
         running configuration.
Tunable                        Value  Expression   Changes
maxdsiz_64bit  (before)  34359738368  34359738368  Immed
               (now)      4294967296  Default

 

There is no rc.log.OLD.

 

I ma not able to get anythings from this logs. Please let me know if you can find something which will help me in resolving this issue.

 

Regards,

Syed

Acclaimed Contributor
Dennis Handly
Posts: 25,091
Registered: ‎03-06-2006
Message 25 of 26 (435 Views)

Re: golden Image, NFS mount, boot error

>The requested value of lockable_mem_pct is invalid

 

This might be the problem.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.