FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 03-25-2011, 08:22 AM
Marek Grac
 
Default Updates to fencing.py to allow for virtual machine fencing.

Hi,

On 03/23/2011 11:59 AM, mattjclark0407@hotmail.com wrote:

From: Matt Clark<mattjclark0407@hotmail.com>

Added all_opt parameters to aid in the fencing of virtual machines. Specifically this is for the fencing of machines through the XenAPI (Citrix XenServer or Xen Cloud Platform). New parameters are session_url, vm_name and uuid.


session_url and uuid works for me.

vm_name should be replaced by existing port (-n) that is already used
for this purpose. I can fix this and push your patch to upstream if you
want.



Updated logic to now check if either an IP address (-a) or a session URL (-s) is set.


good idea

Added a section to ensure that either a vm_name or uuid is specified. Because you can specify either, the "required" field in all_opt array can't be used and a separate explicit check is required.


ok

m,
 

Thread Tools




All times are GMT. The time now is 10:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org