Re: [zones-discuss] Local Zone console logging

2006-07-15 Thread Mike Gerdts

On 7/14/06, Dan Price <[EMAIL PROTECTED]> wrote:

> Alternatively, is there a way to run a command (i.e.
> /usr/local/bin/screen -S zonename zlogin -C zonename) whenever a zone
> transitions from installed -> running?

Not offhand, but you could just always run a screen session for all of
your zones-- it's OK to zlogin -C to a zone which is not running.


Conserver may be a useful tool as well.

http://www.samag.com/documents/s=9842/sam0514b/0514b.htm

The key benefit (I think) of conserver over screen would be in the
case of having lots of machines with lots of zones.  *I think*
conserver can be configured to accept connections over TCP from remote
hosts.

I suspect that if you have used redirected the console of a V20z or
V40z through the service processor, you will be right at home with
conserver.  Refer to the help screen from console(1) in the above URL
and compare it to the output you get from ^Ec? after doing "platform
console".

Mike

--
Mike Gerdts
http://mgerdts.blogspot.com/
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Local Zone console logging

2006-07-14 Thread Dan Price
On Fri 14 Jul 2006 at 01:24PM, Joe Moore wrote:
> With physical Solaris systems, we use the serial port for the console,
> and log console output for review and problem diagnosis.
> 
> Is there a good way to log what is written to a non-global zone's
> console device?

Joe,

There's an RFE open for this, but we don't have it just yet.

4963331 RFE: console logging to a file

If you like, I will add a call record for you to the RFE.  If anyone
in the community is interested, this would make a nice project.

My longer term plan is to do a round of console improvements at some
point which would expand the functionality of the zone console fairly
significantly-- but the single most important RFE is logging, I think.

> Alternatively, is there a way to run a command (i.e.
> /usr/local/bin/screen -S zonename zlogin -C zonename) whenever a zone
> transitions from installed -> running?

Not offhand, but you could just always run a screen session for all of
your zones-- it's OK to zlogin -C to a zone which is not running.

-dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
___
zones-discuss mailing list
zones-discuss@opensolaris.org