On 4/29/15 10:33 , Joe Landman wrote:
> On 04/29/2015 01:27 PM, Robert Mustacchi wrote:
>> On 4/29/15 10:24 , Joe Landman wrote:
> 
> [...]
> 
>>> This gets to another question:  if an LX branded zone crashes (I've not
>>> played with them much other than lighting a few up to play), can we turn
>>> them off from the GZ, or do we need to reboot the whole machine?  I
>>> don't mind so much forcing the unmounting of the data set (zfs file
>>> system), as most of the caching for the branded zone would be on SmartOS
>>> anyway; e.g. we wouldn't have to worry about most of these:
>>
>> What does it mean for a zone to crash? Linux's init process dies? The
>> applications you care about inside of it crash? The host panics?
>> Something else?
> 
> I am more worried about init process dying, or the zone "panic" than
> anything else.  If the application dies, I can do a simple restart, and
> easily handle monitoring/controlling that.
> 
> I want to understand if the LX zone is better for this application than
> running this as a KVM.  I am concerned about storage IO and network
> bandwidth, so I was hoping to avoid going through the emulation/KVM
> layer.  We are looking to the LX branded zone as a way around that,
> quite cognizant of the potential risks.
> 
> KVM is better for isolation, and I've had little trouble rebooting
> panic'ed Linux VMs in the past.  I don't have nearly as much operational
> experience with the LX branded zones, and while they are very intriguing
> as a way to avoid the KVM, they may simply not be the right approach.

There's no notion of a panic for a zone as its kernel is the same as the
hosts. If the Linux init process dies, the zone is restarted to simulate
a Linux kernel panic, note this is different from a traditional zone,
where the kernel just restarts init.

You can certainly stop, start, and restart it, the same way that you
would a KVM instance. In general, I'm not sure of any cases where I
personally would want to use KVM if an lx brand worked and had the
functionality I needed.

Robert



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to