From: Ian Campbell Subject: Re: [PATCH 2 of 2 V3] libxl: Remus - xl remus command Date: Thu, 9 Feb 2012 12:42:48 +0000 Message-ID: <1328791368.6133.159.camel@zakaz.uk.xensource.com> References: <2965835b0c0062a359ac.1328252415@athos.nss.cs.ubc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2965835b0c0062a359ac.1328252415@athos.nss.cs.ubc.ca> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "rshriram@cs.ubc.ca" Cc: "brendan@cs.ubc.ca" , "xen-devel@lists.xensource.com" , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, 2012-02-03 at 07:00 +0000, rshriram@cs.ubc.ca wrote: > # HG changeset patch > # User Shriram Rajagopalan > # Date 1328251593 28800 > # Node ID 2965835b0c0062a359ac04c715d7af52c6ba60ee > # Parent 90e59c643c00c079996e13b75f89d1f0cd931a02 > libxl: Remus - xl remus command > > xl remus acts as a frontend to enable remus for a given domain. > * At the moment, only memory checkpointing and blackhole replication is > supported. Support for disk checkpointing and network buffering will > be added in future. > * Replication is done over ssh connection currently (like live migration > with xl). Future versions will have an option to use simple tcp socket > based replication channel (for both Remus & live migration). > > Signed-off-by: Shriram Rajagopalan > > diff -r 90e59c643c00 -r 2965835b0c00 docs/man/xl.pod.1 > --- a/docs/man/xl.pod.1 Thu Feb 02 22:46:33 2012 -0800 > +++ b/docs/man/xl.pod.1 Thu Feb 02 22:46:33 2012 -0800 > @@ -348,6 +348,39 @@ Send instead of config file fro > > =back > > +=item B [I] I I > + > +Enable Remus HA for domain. By default B relies on ssh as a transport mechanism > +between the two hosts. > + > +B > + > +=over 4 > + > +=item B<-i> I > + > +Checkpoint domain memory every MS milliseconds (default 200ms). > + > +=item B<-b> > + > +Replicate memory checkpoints to /dev/null (blackhole). Is blackhole replication just a debug thing? If so would be useful to say so, if not then explaining when/why I might use this option would be helpful. > + /* > + * TODO: change this to plain TCP socket based channel > + * instead of SSH. For both live-migration and Remus. > + */ IMHO comments like "TODO: split brain" are OK, because they highlight fairly critical missing pieces, but in general I don't think we need to track everything which might potentially happen to the code in the future as TODO comments. Just add it to your own TODO list. o/w looks good, thanks. Ian.