Re: [zones-discuss] Sol 8 Branded Zone not booting

2010-12-07 Thread Nicolas Dorfsman

Hi Val,

Did you check content of your flar file ?
Did you apply last flar patch on your S8 before creating ?

Did you try to install your flar on a physical box ?


Nico

Le 7 déc. 2010 à 04:36, val a écrit :

 On a T5440 a10a_u8wos_08a  10/09 Generic_144488-01 Sparc
 
 I have configured a branded S8 zone  
 Upon restoring from flar  the zone won't boot.
 The log shows only the following:
 
 snip ..
 Postprocess: Booting zone to single user mode
 zoneadm: zone 'x': unable too boot the zone: No such file or directory
 zoneadm: zone 'x: call to zoneadmd failed 
 Mon Dec 6 18:09:22 CST 2010  Postprocess: ERROR: Zone boot failed
 Mon Dec 6 18:09:22 CST 2010  Postprocess: ERROR: Postprocessing failed
 Mon Dec 6 18:09:22 CST 2010Result: Postprocessing failed
 Mon Dec 6 18:09:22 CST 2010  Install failed
 
 The S8 box is a SunFire4800 running S8 2/02 s28s_u7wos_08a Sparc  
 Generic_127721-03 
 The  flar create runs without any errors and I have (for now) to consider it 
 good. It is entirely possible that I have some bad files in flar (maybe hard 
 links across file system , missing patches etc.)
 
 Any thoughts how to debug this puppy ?
 Thanks
 Val
 -- 
 This message posted from opensolaris.org
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
 

___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Copy a working zone from one server to a second server

2010-12-07 Thread Taylor, Matthew
I have three V245 servers with identical architecture, running latest Solaris 
10.

I have configured a whole root zone using shared IP on one of the servers.  I 
was able to easily clone a second copy of the zone on the first server.  I have 
everything in the zone the way I want it, locked down, user accounts created, 
correct patches and packages, etc.

Is it possible to copy this working (but halted) zone from one server to a 
second server?  I do not want to move / migrate it to a new server, I want to 
put a working copy over, change the zone name and host name, etc., and fire it 
up so I don't have to do all the work for each server.

I have read and followed the Oracle white paper How to Move an Oracle® Solaris 
Container with no success.  Unfortunately the examples in the paper are for 
sparse zones.

The problem I hit is I can get the date copied over, and run zonefg with no 
problem, but when I try to attach the zone, let alone when I tried to boot it 
(just in case it just worked) I get a zone not installed error.  

If I do a zoneadm -z myzone install that will overwrite the files I copied from 
the working zone, defeating the purpose.

Is there a way to just mark the zone installed and create a UID but keep the 
files I copied over?

Thank you;


Matthew Taylor
Systems Engineer
Montgomery College
Office of Information Technology
15400 Calhoun Drive, Suite 310
Rockville, MD 20855
240.567.3100 (Office)
410.868.8336 (Cell)
240.567.3008 (Fax)
matthew.tay...@montgomerycollege.edu
www.montgomerycollege.edu



smime.p7s
Description: S/MIME cryptographic signature
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Copy a working zone from one server to a second server

2010-12-07 Thread Ian Collins

 On 12/ 8/10 05:03 PM, Taylor, Matthew wrote:

I have three V245 servers with identical architecture, running latest Solaris 
10.

I have configured a whole root zone using shared IP on one of the servers.  I 
was able to easily clone a second copy of the zone on the first server.  I have 
everything in the zone the way I want it, locked down, user accounts created, 
correct patches and packages, etc.

Is it possible to copy this working (but halted) zone from one server to a 
second server?  I do not want to move / migrate it to a new server, I want to 
put a working copy over, change the zone name and host name, etc., and fire it 
up so I don't have to do all the work for each server.

I have read and followed the Oracle white paper How to Move an Oracle® Solaris 
Container with no success.  Unfortunately the examples in the paper are for sparse 
zones.

The problem I hit is I can get the date copied over, and run zonefg with no problem, but 
when I try to attach the zone, let alone when I tried to boot it (just in case it 
just worked) I get a zone not installed error.


What is the exact output when you attempt to attach the zone?   Can you 
force (-F) the attach?


I've copied zones between systems several times without errors.

--
Ian.

___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Copy a working zone from one server to a second server

2010-12-07 Thread Taylor, Matthew
Thank you sir.  I had forgotten, overlooked, or other wise failed to try doing 
a -F to force the attachment.  I tried that and it shows as installed, then was 
able to boot it.

Before that I got these errors:

zoneadm -z myzone attach
These packages installed on this system were not installed on the source system:
SUNWebrg (1.1.0,REV=2006.04.06.22.41)
SUNWeupdatemgru (0.1,REV=2005.07.01.10.54)
SUNWezfsg (1.0,REV=2006.10.14.22.57)
SUNWfbrg (1.1.0,REV=2006.04.06.22.48)
SUNWfupdatemgru (0.1,REV=2005.07.01.10.54)
SUNWfzfsg (1.0,REV=2006.10.14.23.04)
SUNWj5dev (1.5.0,REV=2004.12.07.00.07)
SUNWjato (2.1.2,REV=2005.01.09.23.05)
SUNWjhdev (2.0,REV=2006.10.04)
SUNWmcon (3.0.2,REV=2006.12.08.20.48)
SUNWmconr (3.0.2,REV=2006.12.08.20.48)
SUNWmcos (3.0.2,REV=2006.12.08.20.48)
SUNWmcosx (3.0.2,REV=2006.12.08.20.48)
SUNWmctag (3.0.2,REV=2006.12.08.20.48)
SUNWtcatu (11.10.0,REV=2005.01.08.05.16)
SUNWzfsgr (1.0,REV=2006.10.24.22.49)
SUNWzfsgu (1.0,REV=2006.10.24.22.49)
These patches installed on this system were not installed on the source system:
122860-06
122911-24
123661-05
125952-20
141104-02
[solcon3/root] zoneadm -z myzone boot

zoneadm: zone 'myzone': must be installed before boot.

I don't understand the missing / not installed on source errors as these two 
servers were created from the same image so there should not be any differences.

I will see what happens with the third server.

Matthew Taylor
Systems Engineer
Montgomery College
Office of Information Technology
15400 Calhoun Drive, Suite 310
Rockville, MD 20855
240.567.3100 (Office)
410.868.8336 (Cell)
240.567.3008 (Fax)
matthew.tay...@montgomerycollege.edu
www.montgomerycollege.edu

On Dec 7, 2010, at 11:33 PM, Ian Collins wrote:

  On 12/ 8/10 05:03 PM, Taylor, Matthew wrote:
 I have three V245 servers with identical architecture, running latest 
 Solaris 10.
 
 I have configured a whole root zone using shared IP on one of the servers.  
 I was able to easily clone a second copy of the zone on the first server.  I 
 have everything in the zone the way I want it, locked down, user accounts 
 created, correct patches and packages, etc.
 
 Is it possible to copy this working (but halted) zone from one server to a 
 second server?  I do not want to move / migrate it to a new server, I want 
 to put a working copy over, change the zone name and host name, etc., and 
 fire it up so I don't have to do all the work for each server.
 
 I have read and followed the Oracle white paper How to Move an Oracle® 
 Solaris Container with no success.  Unfortunately the examples in the paper 
 are for sparse zones.
 
 The problem I hit is I can get the date copied over, and run zonefg with no 
 problem, but when I try to attach the zone, let alone when I tried to boot 
 it (just in case it just worked) I get a zone not installed error.
 
 What is the exact output when you attempt to attach the zone?   Can you 
 force (-F) the attach?
 
 I've copied zones between systems several times without errors.
 
 -- 
 Ian.
 

___
zones-discuss mailing list
zones-discuss@opensolaris.org