[zones-discuss] Re: Failover IP-Address in Zone

2006-12-07 Thread Mika Borner
 Are you using Sun Cluster by any chance? If not, you
 can accomplish what 

Unfortunatly Sun Cluster is not an option yet.

I'm looking for a way to achieve this with standard OS tools.
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Re: Failover IP-Address in Zone

2006-12-07 Thread Zoram Thanga

Mika Borner wrote:

Are you using Sun Cluster by any chance? If not, you
can accomplish what 


Unfortunatly Sun Cluster is not an option yet.



Ahh...that's too bad :)


I'm looking for a way to achieve this with standard OS tools.



In that case you'll need to have something running in the global zone 
control the plumbing and unplumbing of the IP address in the NGZ. That 
is, you can't have the failover IP address be a part of the zones' 
configuration.


Thanks,
Zoram


 
This message posted from opensolaris.org

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



--
Zoram Thanga::Sun Cluster Development::http://blogs.sun.com/zoram
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Re: Failover IP-Address in Zone

2006-12-07 Thread Mike Gerdts

On 12/7/06, Zoram Thanga [EMAIL PROTECTED] wrote:

Mika Borner wrote:
 Are you using Sun Cluster by any chance? If not, you
 can accomplish what

 Unfortunatly Sun Cluster is not an option yet.


Ahh...that's too bad :)

 I'm looking for a way to achieve this with standard OS tools.


In that case you'll need to have something running in the global zone
control the plumbing and unplumbing of the IP address in the NGZ. That
is, you can't have the failover IP address be a part of the zones'
configuration.


Is there an existing RFE to fix this?  I have been meaning to file one
for quite some time but just haven't gotten around to it.

The way I work around this is I have a tool used for managing zones
(similar in many respects to the recently announced zonemgr) that
has enable and disable subcommands.  Among other things, the
disable subcommand comments network interfaces.  That is, it adds an
attribute (or multiple) that includes the information about the
interface and removes the net resource(s).  I then have an uncomment
function that reverses the work done by the comment function.

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


Re: [zones-discuss] Re: Failover IP-Address in Zone

2006-12-07 Thread Jeff Victor

Mike Gerdts wrote:

On 12/7/06, Zoram Thanga [EMAIL PROTECTED] wrote:


In that case you'll need to have something running in the global zone
control the plumbing and unplumbing of the IP address in the NGZ. That
is, you can't have the failover IP address be a part of the zones'
configuration.



Is there an existing RFE to fix this?  I have been meaning to file one
for quite some time but just haven't gotten around to it.


Which this is broken?


The way I work around this is I have a tool used for managing zones
(similar in many respects to the recently announced zonemgr) that
has enable and disable subcommands.  Among other things, the
disable subcommand comments network interfaces.  That is, it adds an
attribute (or multiple) that includes the information about the
interface and removes the net resource(s).  I then have an uncomment
function that reverses the work done by the comment function.

Mike


--
--
Jeff VICTOR  Sun Microsystemsjeff.victor @ sun.com
OS AmbassadorSr. Technical Specialist
Solaris 10 Zones FAQ:http://www.opensolaris.org/os/community/zones/faq
--
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Re: Failover IP-Address in Zone

2006-12-07 Thread Zoram Thanga

Mike Gerdts wrote:

On 12/7/06, Jeff Victor [EMAIL PROTECTED] wrote:

Mike Gerdts wrote:
 Is there an existing RFE to fix this?  I have been meaning to file one
 for quite some time but just haven't gotten around to it.

Which this is broken?


I haven't verified it yet, but I am pretty sure that I can now boot a
server with boot -m none (or is it boot -o milestone=none?) and have
the global zone come up without networking. Presumably, I would want
the same to happen if I boot the zone.



This is not good:

# zoneadm -z z1 boot -- -s
# zlogin z1
# svcs | grep network | grep online
online 12:38:13 svc:/network/loopback:default
online 12:38:14 svc:/network/physical:default
online 12:38:15 svc:/milestone/network:default
# uname -sv
SunOS snv_53

Neither is this:

# zoneadm -z z1 boot -- -m milestone=none
# zlogin z1
# svcs |grep network | grep online
no network service online, but
# ifconfig -a
lo0:1: flags=2001000849UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL mtu 
8232 index 1

inet 127.0.0.1 netmask ff00
bge0:1: flags=201000843UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS mtu 
1500 index 2

inet 10.11.102.26 netmask ff00 broadcast 10.11.102.255


Thanks,
Zoram
--
Zoram Thanga::Sun Cluster Development::http://blogs.sun.com/zoram
___
zones-discuss mailing list
zones-discuss@opensolaris.org