RE: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-21 Thread Jay West
Feedback Mark you absolutely ROCK.

Jay West
EZwind.net
PO Box 460474
Saint Louis, MO 63146
Voice: (314) 262-4143 ext 1000
Toll Free: (866) 343-2589
Fax: (314) 558-9284
jw...@ezwind.net


This e-mail transmission may contain information that is proprietary, 
privileged and/or confidential
and is intended exclusively for the person(s) to whom it is addressed. Any use, 
copying, retention
or disclosure by any person other than the intended recipient or the intended 
recipient's designees
is strictly prohibited. If you are not the intended recipient or their 
designee, please notify the
sender immediately by return e-mail and delete all copies.


-Original Message-
From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org] On 
Behalf Of Mark Felder
Sent: Saturday, August 18, 2012 3:02 PM
To: freebsd-xen@freebsd.org
Subject: Re: Citrix Xenserver and FreeBSD migration/suspend scripts

Hi guys, I've done some recent updates:

We're down to a resonable amount of scripts now:

%%LOCALBASE%%/etc/rc.d/xe-daemon
%%LOCALBASE%%/sbin/xe-daemon
%%LOCALBASE%%/sbin/xe-update-guest-attrs
%%LOCALBASE%%/sbin/xe_wrapper


Other changes:

- Cleaner memory reporting
- IPs for your network interfaces are reported correctly
- New version and build to match what the Linux tools report on XenServer
6.0.2 which should make the "out of date" errors go away


Feel free to leave some more feedback. I expect this will be joining the 
xen-tools port very soon now.
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-18 Thread Mark Felder

Hi guys, I've done some recent updates:

We're down to a resonable amount of scripts now:

%%LOCALBASE%%/etc/rc.d/xe-daemon
%%LOCALBASE%%/sbin/xe-daemon
%%LOCALBASE%%/sbin/xe-update-guest-attrs
%%LOCALBASE%%/sbin/xe_wrapper


Other changes:

- Cleaner memory reporting
- IPs for your network interfaces are reported correctly
- New version and build to match what the Linux tools report on XenServer  
6.0.2 which should make the "out of date" errors go away



Feel free to leave some more feedback. I expect this will be joining the  
xen-tools port very soon now.

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-17 Thread Egoitz Aurrekoetxea Aurre




El 17/08/2012, a las 16:07, Mark Felder  escribió:

> On Thu, 16 Aug 2012 17:01:41 -0500, Egoitz Aurrekoetxea 
>  wrote:
> 
>> Sorry in this last mails I was talking about making a port with my own
>> scripts and adaptation
>> http://wiki.xen.org/wiki/FreeBSD_9.0_64-bit_HVM_on_XCP_1.1
>> I assume I didn't know about you're project at this date... when I
>> answered this mail...
> 
> My work is an improvement on yours. Please take a look at it and feel free 
> contribute additional changes :-) I'm very glad you were able to get this 
> working and post it for everyone to use.


I'll take a look Mark :) sure... Was just clarifying that what I have been 
spoken about is about the code adapted by me... You know, I'm on holiday and 
most of times answering from the smartphone... Sometimes you don't read in the 
street and in so a little screen the contents as you should :)

Just that..,

But sure although I have my code in production and working :) everything is 
improvable :) :)

Bye!!

P.S.: FreeBSD rules!!!___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-16 Thread Egoitz Aurrekoetxea
On Fri, 2012-08-10 at 09:31 -0500, Mark Felder wrote:
> No more bash
> Less scripts
> No need for /procfalse or any temp files for IPs or memory usage
> rc script rewritten and conforms to normal FreeBSD standards
> 
> It's on my github -- https://github.com/felderado/freebsd-xen-tools-scripts

Sorry in this last mails I was talking about making a port with my own
scripts and adaptation

http://wiki.xen.org/wiki/FreeBSD_9.0_64-bit_HVM_on_XCP_1.1


I assume I didn't know about you're project at this date... when I
answered this mail...

I'm on holiday sorry for answering so late...



___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-16 Thread Egoitz Aurrekoetxea
On Fri, 2012-08-10 at 10:31 +0200, Egoitz Aurrekoetxea wrote:
> Hi!!
> 
> 
> 
> El 10/08/2012, a las 03:37, moto kawasaki  escribió:
> 
> > 
> > Hi,
> > 
> > Thank you for your quick reply!
> > This is moto again.
> > 
> > From: Egoitz Aurrekoetxea 
> > Subject: Re: Citrix Xenserver and FreeBSD migration/suspend scripts
> > Date: Thu, 9 Aug 2012 22:50:18 +0200
> > 
> >>> 1) XenCenter shows warning as;
> >>>"XenServer Tools out of date (version 6.0 installed)"
> >   
> >> I suppose you'll have to have 6 0 2 in three *version xenstore
> >>>attribs... Make some tests... Not just change the micro...
> > 
> > I couldn't find any line in the scripts except for micro version
> > mentioned before... X-(
> > 
> 
> Let me check I'll tell you something today... Should be easy...
> 
> 
> 
> >>> 2) "Shutdown" button on XenCenter works but doesn't complete.
> >   
> >> Yep just hit intro twice and you should be done...
> 
> Click on the vm vnc console and two times enter/intro I meant
> 
> 
> > 
> > All right, I'll try push shutdown button twice.
> > But, this is not critical since I can do it by just logging in and
> > shutdown from command line.
> > 
> >>> 3) Moving VM from one member host to another in the pool works.
> >>>  wow!!
> >> 
> >> Meanwhile suspend works this shoud not be a problem... Why don't you
> >>>  try Xen Cloud??
> > 
> > Ah, I'll try. It is from historical and political reasons.
> > 
> 
> Ok this way you can be running the same env...
> 
> 
> 
> > By the way, now my /var/log/messages is filled with the following
> > logs.
> > Could you please give me any pointer/information if you don't mind ?
> > Thanks in advance.
> > 
> > Aug 10 10:31:28 xenserver xe_daemon[10567]: 
> > /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> > Aug 10 10:31:28 xenserver xe_daemon[10567]: eth1 | 192.168.227.161: No such 
> > file or directory
> > Aug 10 10:32:15 xenserver xe_daemon[126]: 
> > /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> > Aug 10 10:32:15 xenserver xe_daemon[126]: eth1 | 192.168.227.161: No such 
> > file or directory
> > Aug 10 10:32:28 xenserver xe_daemon[10567]: 
> > /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> > Aug 10 10:32:28 xenserver xe_daemon[10567]: eth1 | 192.168.227.161: No such 
> > file or directory
> > Aug 10 10:33:15 xenserver xe_daemon[126]: 
> > /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> > Aug 10 10:33:15 xenserver xe_daemon[126]: eth1 | 192.168.227.161: No such 
> > file or directory
> > 
> 
> Let me check this please but surely it would be something easy to solve or 
> something that is not complete on the installation
> 
> 
> > 
> > And also, I also want to make them ports package.
> > If you need tester, just let me know.
> > 
> > 
> > Thank you very much!
> > 
> > 
> 
> You're welcome,
> Regards!
> 
> > 
> > Best Regards,
> > 
> > 
> > -- 
> > moto kawasaki  090-2464-8454
> ___
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"



Sorry in this last mails I was talking about making a port with my own
scripts and adaptation

http://wiki.xen.org/wiki/FreeBSD_9.0_64-bit_HVM_on_XCP_1.1


I assume I didn't know about you're project at this date... when I
answered this mail...

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-15 Thread Egoitz Aurrekoetxea Aurre




El 15/08/2012, a las 09:33, "Anatoliy.Poloz"  
escribió:

> 15.08.2012 10:25, Egoitz Aurrekoetxea Aurre пишет:
>> 
>> El 14/08/2012, a las 16:10, "Jay West"  escribió:
>> 
>>> Mark Felder wrote...
>>> --
>>> The xen-tools {port} should include this work. It has nothing to do with 
>>> what dom0 you're using -- if you don't have a use for this just don't 
>>> enable it in rc.conf. We could even make it an optional KNOB in the port if 
>>> necessary. There's just no sound reason why this should be a completely 
>>> separate port.
>>> __
>>> 
>>> Wholeheartedly agree.
>>> 
>>> Jay West, President
>>> Open Source Associates, LLC
>>> PO Box 460454
>>> Saint Louis, MO 63146
>>> Voice: (314) 262-4143 ext 1000
>>> Toll Free: (866) 343-2589
>>> Fax: (314) 558-
>> 
>> Hi,
>> 
>> It depend's if the dom0 uses xapi or not for being managed... And this 
>> scripts mainly maintain xenstore database for info to be exchanged with 
>> XenCenter a citrix managing product, this is the main reason because I 
>> assume that bare xen-tools shouldn't include XenServerTools's xenstore 
>> management scripts for xenstore to be useful with XenCenter. Perhaps using 
>> an option for including them or not in the port could be valid too... But I 
>> assume the mere fact of using Xentools should not really assume we're going 
>> to usr Citrix products... This is my opinion.
> "Xen Cloud Platform" use XenServerTool's too.

I know and in fact my scripts are tested and working at xcp (as is indicated in 
xen.org wiki). But I assume the central idea of what I'm trying to express is 
understood.

>> 
>> Best Regards,
>> 
>> ___
>> freebsd-xen@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
>> To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"
> 
> 
> -- 
> //wbr Anatoliy Poloz
> 
> ___
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-15 Thread Anatoliy.Poloz

15.08.2012 10:25, Egoitz Aurrekoetxea Aurre пишет:


El 14/08/2012, a las 16:10, "Jay West"  escribió:


Mark Felder wrote...
--
The xen-tools {port} should include this work. It has nothing to do with what 
dom0 you're using -- if you don't have a use for this just don't enable it in 
rc.conf. We could even make it an optional KNOB in the port if necessary. 
There's just no sound reason why this should be a completely separate port.
__

Wholeheartedly agree.

Jay West, President
Open Source Associates, LLC
PO Box 460454
Saint Louis, MO 63146
Voice: (314) 262-4143 ext 1000
Toll Free: (866) 343-2589
Fax: (314) 558-


Hi,

It depend's if the dom0 uses xapi or not for being managed... And this scripts 
mainly maintain xenstore database for info to be exchanged with XenCenter a 
citrix managing product, this is the main reason because I assume that bare 
xen-tools shouldn't include XenServerTools's xenstore management scripts for 
xenstore to be useful with XenCenter. Perhaps using an option for including 
them or not in the port could be valid too... But I assume the mere fact of 
using Xentools should not really assume we're going to usr Citrix products... 
This is my opinion.

"Xen Cloud Platform" use XenServerTool's too.


Best Regards,

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"



--
//wbr Anatoliy Poloz

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-15 Thread Egoitz Aurrekoetxea Aurre


El 14/08/2012, a las 16:10, "Jay West"  escribió:

> Mark Felder wrote...
> --
> The xen-tools {port} should include this work. It has nothing to do with what 
> dom0 you're using -- if you don't have a use for this just don't enable it in 
> rc.conf. We could even make it an optional KNOB in the port if necessary. 
> There's just no sound reason why this should be a completely separate port.
> __
> 
> Wholeheartedly agree.
> 
> Jay West, President
> Open Source Associates, LLC
> PO Box 460454
> Saint Louis, MO 63146
> Voice: (314) 262-4143 ext 1000
> Toll Free: (866) 343-2589
> Fax: (314) 558-


Hi,

It depend's if the dom0 uses xapi or not for being managed... And this scripts 
mainly maintain xenstore database for info to be exchanged with XenCenter a 
citrix managing product, this is the main reason because I assume that bare 
xen-tools shouldn't include XenServerTools's xenstore management scripts for 
xenstore to be useful with XenCenter. Perhaps using an option for including 
them or not in the port could be valid too... But I assume the mere fact of 
using Xentools should not really assume we're going to usr Citrix products... 
This is my opinion.

Best Regards,

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


RE: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-14 Thread Jay West
Mark Felder wrote...
--
The xen-tools {port} should include this work. It has nothing to do with what 
dom0 you're using -- if you don't have a use for this just don't enable it in 
rc.conf. We could even make it an optional KNOB in the port if necessary. 
There's just no sound reason why this should be a completely separate port.
__

Wholeheartedly agree.

Jay West, President
Open Source Associates, LLC
PO Box 460454
Saint Louis, MO 63146
Voice: (314) 262-4143 ext 1000
Toll Free: (866) 343-2589
Fax: (314) 558-9284
jw...@opensourceassociates.com


___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-14 Thread Mark Felder
On Tue, 14 Aug 2012 02:00:25 -0500, Egoitz Aurrekoetxea Aurre  
 wrote:


I suppose should be different ports... Xenstore is a Xen system  
capability but the Citrix rules for working with the xapi and xencenter  
are just for Citrix's Xen systems... You don't need them if you're  
virtualizing in a Gentoo dom0 for example... I'll create a different  
port for it in September/October... Which of course install by  
dependency xen-tools's port... But should not be the same port.


The xen-tools should include this work. It has nothing to do with what  
dom0 you're using -- if you don't have a use for this just don't enable it  
in rc.conf. We could even make it an optional KNOB in the port if  
necessary. There's just no sound reason why this should be a completely  
separate port.

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-14 Thread Mark Felder
Egoitz, I've included a link to my github repository several times now. I've 
taken your scripts and made many changes:

- no more BASH
- some scripts have been completely removed (integrated elsewhere)
- no more need for /etc/freebsd-version or temp files in /procfalse
- rc script is completely rewritten and compliant with freebsd standards

It is much more simplified and I expect this week I will get time to finish 
merging everything (except the daemon wrapper) into a single shell script. 
There's no need to have so many different scripts to accomplish this.


 https://github.com/felderado/freebsd-xen-tools-scripts


Please look at what I've done and feel free to contribute additional changes.
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-14 Thread Egoitz Aurrekoetxea Aurre
I was assuming here you were using my script's... Well anyway all right if 
solved.. But what are you then running now?



El 13/08/2012, a las 03:53, moto kawasaki  escribió:

> 
> Hi Egoitz-san,
> 
> Thank you very much for your reply!!
> 
> Year, I've tried that in xe-update-guest-attrs:
> 
>xenstore_write_cached "attr/PVAddons/MajorVersion" "6"
>xenstore_write_cached "attr/PVAddons/MinorVersion" "0"
>xenstore_write_cached "attr/PVAddons/MicroVersion" "2"
> 
> But still XenCenter recognises it as old version of xenserver-tools.
> 
> 
> 
 was Xenserver 6.2.0 wasn't it??
>>> No, it was 6.0.2. I haven't had a chance to figure this out as I
>>> don't have a 6.0.2 XenServer available right now.
> 
> This is true. XenServer version is 6.0.2. just for clarification.
> 
> 
> Best Regards,
> 
> 
> 
> -- 
> moto kawasaki  090-2464-8454
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-14 Thread Egoitz Aurrekoetxea Aurre




El 12/08/2012, a las 18:12, Mark Felder  escribió:

> On Sun, 12 Aug 2012 07:50:16 -0500, Jay West  wrote:
> 
>> Questions:
>> 1) on the stock 64bit 9.0 & 9.1-beta XENHVM kernels, we still had the boot
>> problem where after installing the kernel and rebooting, the boot failed as
>> being unable to find the boot device. We had to pass a boot string of ad0p2
>> instead of the default ada0p2, and then edit fstab accordingly. I assume
>> others here had to do that as well?
>> 
> 
> Yes, but I think that's because with the XENHVM kernel the disks are using a 
> different driver. There's a difference between the ad and ada drivers.


That's it... 

> 
>> 2) I'm sure this will show a lack of understanding on my part,  but I'm just
>> curious about the xen-tools port that has been in the ports collection for a
>> little while. As per the pdf on the migration/suspend scripts, this needs to
>> be installed first. I would think the current port - being called
>> "xen-tools", would/should include these migration/suspend scripts. It's not
>> xen-tools (in Citrix parlance) without that capability. So, is this a case
>> of the new scripts just "finish off" the work that went into the current
>> xen-tools script and the xen-tools port in the ports collection is
>> functionally incomplete? I guess I'm unclear as to the
>> history/relationship/status of the xen-tools port and these
>> migration/suspend scripts.
> 
> This is likely where it will show up. I've been talking to the ports@ team 
> and it seems to make sense that we include it in that port.

I suppose should be different ports... Xenstore is a Xen system capability but 
the Citrix rules for working with the xapi and xencenter are just for Citrix's 
Xen systems... You don't need them if you're virtualizing in a Gentoo dom0 for 
example... I'll create a different port for it in September/October... Which of 
course install by dependency xen-tools's port... But should not be the same 
port.

> 
>> 
>> 3) In some of my googling on 64 bit XENHVM "how-to's", one of them (can't
>> find it at the moment) mentioned 64 bit Freebsd not working right under Xen
>> with regards to SMP, and the how-to offered several patches to disable SMP
>> amongst other related items. To run the new migration/suspend scripts, did
>> other people here need to use those patches?
>> 
> 

Nope and I'm running some big mail systems with it... I haven't seen nothing 
related to smp... Unless untill now...



> I have a feeling this is an old/resolved issue as I've not seen it yet.
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-12 Thread moto kawasaki

Hi Mark-san,

Thank you very much for your patch.

I've applied that patch already, and seems fix the problem.


Thank you very very much!!

Sincerely,


>> Let me check this please but surely it would be something easy to
>> solve or something that is not complete on the installation
> 
> He's using my modified version of the xen tools scripts and I just
> caught this bug this morning. It appears to be fixed here:
> 
> https://github.com/felderado/freebsd-xen-tools-scripts/commit/9250a10ae8a1ab1045f15964bd1cfce1124423bd#src/usr/local/sbin/xe-update-guest-attrs

-- 
moto kawasaki  090-2464-8454
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-12 Thread moto kawasaki

Hi Egoitz-san,

Thank you very much for your reply!!

Year, I've tried that in xe-update-guest-attrs:

xenstore_write_cached "attr/PVAddons/MajorVersion" "6"
xenstore_write_cached "attr/PVAddons/MinorVersion" "0"
xenstore_write_cached "attr/PVAddons/MicroVersion" "2"

But still XenCenter recognises it as old version of xenserver-tools.



>>> was Xenserver 6.2.0 wasn't it??
>> No, it was 6.0.2. I haven't had a chance to figure this out as I
>> don't have a 6.0.2 XenServer available right now.

This is true. XenServer version is 6.0.2. just for clarification.


Best Regards,



-- 
moto kawasaki  090-2464-8454
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-12 Thread Mark Felder

On Sun, 12 Aug 2012 07:50:16 -0500, Jay West  wrote:


Questions:
1) on the stock 64bit 9.0 & 9.1-beta XENHVM kernels, we still had the  
boot
problem where after installing the kernel and rebooting, the boot failed  
as
being unable to find the boot device. We had to pass a boot string of  
ad0p2

instead of the default ada0p2, and then edit fstab accordingly. I assume
others here had to do that as well?



Yes, but I think that's because with the XENHVM kernel the disks are using  
a different driver. There's a difference between the ad and ada drivers.


2) I'm sure this will show a lack of understanding on my part,  but I'm  
just
curious about the xen-tools port that has been in the ports collection  
for a
little while. As per the pdf on the migration/suspend scripts, this  
needs to

be installed first. I would think the current port - being called
"xen-tools", would/should include these migration/suspend scripts. It's  
not
xen-tools (in Citrix parlance) without that capability. So, is this a  
case

of the new scripts just "finish off" the work that went into the current
xen-tools script and the xen-tools port in the ports collection is
functionally incomplete? I guess I'm unclear as to the
history/relationship/status of the xen-tools port and these
migration/suspend scripts.


This is likely where it will show up. I've been talking to the ports@ team  
and it seems to make sense that we include it in that port.




3) In some of my googling on 64 bit XENHVM "how-to's", one of them (can't
find it at the moment) mentioned 64 bit Freebsd not working right under  
Xen
with regards to SMP, and the how-to offered several patches to disable  
SMP
amongst other related items. To run the new migration/suspend scripts,  
did

other people here need to use those patches?



I have a feeling this is an old/resolved issue as I've not seen it yet.
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


RE: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-12 Thread Jay West
Just tried the migration scripts on 64bit FreeBSD 9.0-Release & 9.1-Beta
XENHVM kernel with PV drivers. Seems to work under Xenserver 6.0 and
Xenserver 5.6SP2. I can't say how awesome that is, thank you VERY much to
the people who worked on it. Not having stable virtualization with migration
for FreeBSD under Xenserver has been a severe shortcoming for this FreeBSD
zealot, finally we can roll out a new infrastructure with our preferred OS.

Questions:
1) on the stock 64bit 9.0 & 9.1-beta XENHVM kernels, we still had the boot
problem where after installing the kernel and rebooting, the boot failed as
being unable to find the boot device. We had to pass a boot string of ad0p2
instead of the default ada0p2, and then edit fstab accordingly. I assume
others here had to do that as well?

2) I'm sure this will show a lack of understanding on my part,  but I'm just
curious about the xen-tools port that has been in the ports collection for a
little while. As per the pdf on the migration/suspend scripts, this needs to
be installed first. I would think the current port - being called
"xen-tools", would/should include these migration/suspend scripts. It's not
xen-tools (in Citrix parlance) without that capability. So, is this a case
of the new scripts just "finish off" the work that went into the current
xen-tools script and the xen-tools port in the ports collection is
functionally incomplete? I guess I'm unclear as to the
history/relationship/status of the xen-tools port and these
migration/suspend scripts.

3) In some of my googling on 64 bit XENHVM "how-to's", one of them (can't
find it at the moment) mentioned 64 bit Freebsd not working right under Xen
with regards to SMP, and the how-to offered several patches to disable SMP
amongst other related items. To run the new migration/suspend scripts, did
other people here need to use those patches?

Jay West
EZwind.net
PO Box 460474
Saint Louis, MO 63146
Voice: (314) 262-4143 ext 1000
Toll Free: (866) 343-2589
Fax: (314) 558-9284
jw...@ezwind.net


This e-mail transmission may contain information that is proprietary,
privileged and/or confidential
and is intended exclusively for the person(s) to whom it is addressed. Any
use, copying, retention
or disclosure by any person other than the intended recipient or the
intended recipient's designees
is strictly prohibited. If you are not the intended recipient or their
designee, please notify the
sender immediately by return e-mail and delete all copies.




___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-10 Thread Egoitz Aurrekoetxea
If you're using my xenservertools for freebsd version replace as said before... 
But where I entered a 2 set 0 and viceversa

Regards,



El 10/08/2012, a las 18:09, Mark Felder  escribió:

> On Fri, 10 Aug 2012 08:56:30 -0500, Egoitz Aurrekoetxea 
>  wrote:
> 
>> was Xenserver 6.2.0 wasn't it??
> 
> No, it was 6.0.2. I haven't had a chance to figure this out as I don't have a 
> 6.0.2 XenServer available right now.
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-10 Thread Mark Felder
On Fri, 10 Aug 2012 03:31:12 -0500, Egoitz Aurrekoetxea  
 wrote:


Aug 10 10:31:28 xenserver xe_daemon[10567]:  
/usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
Aug 10 10:31:28 xenserver xe_daemon[10567]: eth1 | 192.168.227.161: No  
such file or directory
Aug 10 10:32:15 xenserver xe_daemon[126]:  
/usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
Aug 10 10:32:15 xenserver xe_daemon[126]: eth1 | 192.168.227.161: No  
such file or directory
Aug 10 10:32:28 xenserver xe_daemon[10567]:  
/usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
Aug 10 10:32:28 xenserver xe_daemon[10567]: eth1 | 192.168.227.161: No  
such file or directory
Aug 10 10:33:15 xenserver xe_daemon[126]:  
/usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
Aug 10 10:33:15 xenserver xe_daemon[126]: eth1 | 192.168.227.161: No  
such file or directory


Let me check this please but surely it would be something easy to solve  
or something that is not complete on the installation


He's using my modified version of the xen tools scripts and I just caught  
this bug this morning. It appears to be fixed here:


https://github.com/felderado/freebsd-xen-tools-scripts/commit/9250a10ae8a1ab1045f15964bd1cfce1124423bd#src/usr/local/sbin/xe-update-guest-attrs
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-10 Thread Mark Felder
On Fri, 10 Aug 2012 08:56:30 -0500, Egoitz Aurrekoetxea  
 wrote:



was Xenserver 6.2.0 wasn't it??


No, it was 6.0.2. I haven't had a chance to figure this out as I don't  
have a 6.0.2 XenServer available right now.

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-10 Thread Egoitz Aurrekoetxea
On Fri, 2012-08-10 at 10:31 +0200, Egoitz Aurrekoetxea wrote:
> Hi!!
> 

Hi!!

> 
> 
> El 10/08/2012, a las 03:37, moto kawasaki  escribió:
> 
> > 
> > Hi,
> > 
> > Thank you for your quick reply!
> > This is moto again.
> > 
> > From: Egoitz Aurrekoetxea 
> > Subject: Re: Citrix Xenserver and FreeBSD migration/suspend scripts
> > Date: Thu, 9 Aug 2012 22:50:18 +0200
> > 
> >>> 1) XenCenter shows warning as;
> >>>"XenServer Tools out of date (version 6.0 installed)"
> >   

take a look a little later in this mail :)


> >> I suppose you'll have to have 6 0 2 in three *version xenstore
> >>>attribs... Make some tests... Not just change the micro...
> > 


Check the change proposed down


> > I couldn't find any line in the scripts except for micro version
> > mentioned before... X-(
> > 
> 
> Let me check I'll tell you something today... Should be easy...
> 

Try setting in xe-update-guest-attrs

xenstore_write_cached "attr/PVAddons/MajorVersion" "6"
xenstore_write_cached "attr/PVAddons/MinorVersion" "2"
xenstore_write_cached "attr/PVAddons/MicroVersion" "0" 

(line 172 and so)

was Xenserver 6.2.0 wasn't it??


> 
> 
> >>> 2) "Shutdown" button on XenCenter works but doesn't complete.
> >   
> >> Yep just hit intro twice and you should be done...
> 
> Click on the vm vnc console and two times enter/intro I meant
> 
> 
> > 
> > All right, I'll try push shutdown button twice.
> > But, this is not critical since I can do it by just logging in and
> > shutdown from command line.
> > 
> >>> 3) Moving VM from one member host to another in the pool works.
> >>>  wow!!
> >> 
> >> Meanwhile suspend works this shoud not be a problem... Why don't you
> >>>  try Xen Cloud??
> > 
> > Ah, I'll try. It is from historical and political reasons.
> > 
> 
> Ok this way you can be running the same env...
> 
> > By the way, now my /var/log/messages is filled with the following
> > logs.
> > Could you please give me any pointer/information if you don't mind ?
> > Thanks in advance.
> > 
> > Aug 10 10:31:28 xenserver xe_daemon[10567]: 
> > /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> > Aug 10 10:31:28 xenserver xe_daemon[10567]: eth1 | 192.168.227.161: No such 
> > file or directory
> > Aug 10 10:32:15 xenserver xe_daemon[126]: 
> > /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> > Aug 10 10:32:15 xenserver xe_daemon[126]: eth1 | 192.168.227.161: No such 
> > file or directory
> > Aug 10 10:32:28 xenserver xe_daemon[10567]: 
> > /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> > Aug 10 10:32:28 xenserver xe_daemon[10567]: eth1 | 192.168.227.161: No such 
> > file or directory
> > Aug 10 10:33:15 xenserver xe_daemon[126]: 
> > /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> > Aug 10 10:33:15 xenserver xe_daemon[126]: eth1 | 192.168.227.161: No such 
> > file or directory


are you using the version provided in the tar file for
xe-update-guest-attrs ?? there's nothing under /usr/local/sbin Is
this log from the host or the vm? the vm isn't it?? check the path of
the files...



> > 
> 
> Let me check this please but surely it would be something easy to solve or 
> something that is not complete on the installation
> 
> 
> > 
> > And also, I also want to make them ports package.
> > If you need tester, just let me know.
> > 
> > 
> > Thank you very much!
> > 
> > 
> 
> You're welcome,
> Regards!
> 
> > 
> > Best Regards,
> > 
> > 
> > -- 
> > moto kawasaki  090-2464-8454
> ___
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-10 Thread Egoitz Aurrekoetxea

> 
> 
> And also, I also want to make them ports package.
> If you need tester, just let me know.
> 
> 

Hi mate,

Well in September I'll be able to make a port and later of course a pkg_create 
-Rb will be able to be launched for building the packages and them dependencies 
for later to be able to install all at one :)


> Thank you very much!
> 
> 
> 
> Best Regards,
> 
> 
> -- 
> moto kawasaki  090-2464-8454
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-10 Thread Egoitz Aurrekoetxea
Hi,

What are you going to develop :) ?



El 10/08/2012, a las 04:19, Mark Felder  escribió:

> On Thu, 09 Aug 2012 12:46:43 -0500, Egoitz Aurrekoetxea 
>  wrote:
> 
>> The license is opened license style, bsd for example for being totally 
>> unrestrictive.
> 
> Since my work is based on yours I'll put a BSD license on it :-)
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-10 Thread Egoitz Aurrekoetxea
Hi!!



El 10/08/2012, a las 03:37, moto kawasaki  escribió:

> 
> Hi,
> 
> Thank you for your quick reply!
> This is moto again.
> 
> From: Egoitz Aurrekoetxea 
> Subject: Re: Citrix Xenserver and FreeBSD migration/suspend scripts
> Date: Thu, 9 Aug 2012 22:50:18 +0200
> 
>>> 1) XenCenter shows warning as;
>>>"XenServer Tools out of date (version 6.0 installed)"
>   
>> I suppose you'll have to have 6 0 2 in three *version xenstore
>>>attribs... Make some tests... Not just change the micro...
> 
> I couldn't find any line in the scripts except for micro version
> mentioned before... X-(
> 

Let me check I'll tell you something today... Should be easy...



>>> 2) "Shutdown" button on XenCenter works but doesn't complete.
>   
>> Yep just hit intro twice and you should be done...

Click on the vm vnc console and two times enter/intro I meant


> 
> All right, I'll try push shutdown button twice.
> But, this is not critical since I can do it by just logging in and
> shutdown from command line.
> 
>>> 3) Moving VM from one member host to another in the pool works.
>>>  wow!!
>> 
>> Meanwhile suspend works this shoud not be a problem... Why don't you
>>>  try Xen Cloud??
> 
> Ah, I'll try. It is from historical and political reasons.
> 

Ok this way you can be running the same env...



> By the way, now my /var/log/messages is filled with the following
> logs.
> Could you please give me any pointer/information if you don't mind ?
> Thanks in advance.
> 
> Aug 10 10:31:28 xenserver xe_daemon[10567]: 
> /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> Aug 10 10:31:28 xenserver xe_daemon[10567]: eth1 | 192.168.227.161: No such 
> file or directory
> Aug 10 10:32:15 xenserver xe_daemon[126]: 
> /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> Aug 10 10:32:15 xenserver xe_daemon[126]: eth1 | 192.168.227.161: No such 
> file or directory
> Aug 10 10:32:28 xenserver xe_daemon[10567]: 
> /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> Aug 10 10:32:28 xenserver xe_daemon[10567]: eth1 | 192.168.227.161: No such 
> file or directory
> Aug 10 10:33:15 xenserver xe_daemon[126]: 
> /usr/local/sbin/xe-update-guest-attrs: cannot open eth0 | 192.168.227.33
> Aug 10 10:33:15 xenserver xe_daemon[126]: eth1 | 192.168.227.161: No such 
> file or directory
> 

Let me check this please but surely it would be something easy to solve or 
something that is not complete on the installation


> 
> And also, I also want to make them ports package.
> If you need tester, just let me know.
> 
> 
> Thank you very much!
> 
> 

You're welcome,
Regards!

> 
> Best Regards,
> 
> 
> -- 
> moto kawasaki  090-2464-8454
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-09 Thread moto kawasaki

Hi

>> 1) XenCenter shows warning as;
>>  "XenServer Tools out of date (version 6.0 installed)"
 
> On XenServer 6.0.0 the current settings work fine. I imagine we need
> to investigate what version the tools are on other platforms and
> emulate that version accordingly.

Thanks, and I forgot to write that this message appears with CentOS
6.3 PV + XenServer Tools which is taken from XenServer 6.0.2.
So, This might not be a bug in the script, but rather a bug in
XenServer side.
Sorry for late information.



Thank you very much!!



Sincerely,

-- 
moto kawasaki  090-2464-8454
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-09 Thread Mark Felder
On Thu, 09 Aug 2012 13:42:03 -0500, moto kawasaki   
wrote:



1) XenCenter shows warning as;
 "XenServer Tools out of date (version 6.0 installed)"
  Changing MicroVersion from 0 to 2 in xe-update-guest-attr file
   doesn't have effect on this issue.
xenstore_write_cached "attr/PVAddons/MicroVersion" "2"
^^^
   0 to 2


On XenServer 6.0.0 the current settings work fine. I imagine we need to  
investigate what version the tools are on other platforms and emulate that  
version accordingly.



2) "Shutdown" button on XenCenter works but doesn't complete.
   I guess XenServer/XenCenter expect something like "shutdown -p now"
   on the FreeBSD VM, but actually it runs like "shutdown -h now".
   Thus, FreeBSD VM has shut down, but doesn't cut its power, thus
   XenCenter remains on the way shutting down (VM icon stays in
   green, not goes to red.).


I haven't looked to see how this is handled at all, but I bet it's  
something we can fix.



3) Moving VM from one member host to another in the pool works.
   wow!!


Thanks for giving us another confirmation!
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-09 Thread moto kawasaki

Hi,

I'd just inform you of my first exprience.

0) My environment is:
- XenServer 6.0.2 fully patched.
- FreeBSD 9.0-RELEASE-p4 amd64 HVMXEN (to which PF entries added)
- sysutils/xen-tools-4.0.1 ports installed.

1) XenCenter shows warning as;
 "XenServer Tools out of date (version 6.0 installed)"

   Changing MicroVersion from 0 to 2 in xe-update-guest-attr file
   doesn't have effect on this issue.

 xenstore_write_cached "attr/PVAddons/MicroVersion" "2" 
^^^
   0 to 2

2) "Shutdown" button on XenCenter works but doesn't complete.
   I guess XenServer/XenCenter expect something like "shutdown -p now"
   on the FreeBSD VM, but actually it runs like "shutdown -h now".
   Thus, FreeBSD VM has shut down, but doesn't cut its power, thus
   XenCenter remains on the way shutting down (VM icon stays in
   green, not goes to red.).

3) Moving VM from one member host to another in the pool works.
   wow!!

Thank you again.
I am so happy with those scripts!!

-- 
moto kawasaki  090-2464-8454


___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-09 Thread Egoitz Aurrekoetxea
Hi all,

The Xenserver tools I prepared are for xcp and version specified in :

http://wiki.xen.org/wiki/FreeBSD_9.0_64-bit_HVM_on_XCP_1.1

Although it's possible them to work on Xenserver... But are just tested and 
ported from and for  Xcp.

Let us know if they work. The license is opened license style, bsd for example 
for being totally unrestrictive. The wiki article allows downloading a tar file 
with xenserver tools... Not xentools because for that purpose I do use the 
ports ones... for working with xenserver tools. Lars needs to update  this 
because it's an adaptation of text mistake, in the real pdf thete's not that 
mistake :)

So mates, if some doubt comes to you let me know for helping with.

Best regards,

El 09/08/2012, a las 02:49, moto kawasaki  escribió:

> 
> Hello Mr. Mark Felder,
> 
> I'd say thank you again and again for your scripts.
> 
> I am running several XenServer machines and dozens of amd64/HVMXEN
> VMs, hence longing to have XenTools for FreeBSD for months.
> 
> Now I am going to have a test run of those scripts, and wish to do
> something I can do to make it a ports.
> 
> 
> Thank you very much.
> 
> -- 
> moto kawasaki 
> ___
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-09 Thread Egoitz Aurrekoetxea
Another little thing... I'm now on holidays and when I opened this scripts I 
was a little busy but I plan to write a port on September/October with them.

Regards,


El 09/08/2012, a las 02:49, moto kawasaki  escribió:

> 
> Hello Mr. Mark Felder,
> 
> I'd say thank you again and again for your scripts.
> 
> I am running several XenServer machines and dozens of amd64/HVMXEN
> VMs, hence longing to have XenTools for FreeBSD for months.
> 
> Now I am going to have a test run of those scripts, and wish to do
> something I can do to make it a ports.
> 
> 
> Thank you very much.
> 
> -- 
> moto kawasaki 
> ___
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-08 Thread moto kawasaki

Hello Mr. Mark Felder,

I'd say thank you again and again for your scripts.

I am running several XenServer machines and dozens of amd64/HVMXEN
VMs, hence longing to have XenTools for FreeBSD for months.

Now I am going to have a test run of those scripts, and wish to do
something I can do to make it a ports.


Thank you very much.

-- 
moto kawasaki 
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-08 Thread Mark Felder
On Wed, 08 Aug 2012 09:41:26 -0500, Gót András   
wrote:



What would you need to host the tarballs?


If someone or some company has a vested interest in pushing this and  
developing it then by all means go ahead and take the current codebase and  
run with it. Otherwise I think what I'll end up doing is tagging releases  
in github and using that as the primary mirror and getting a copy of the  
tarballs onto the FreeBSD mirrors.

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-08 Thread Gót András

Hi,

Of course this should make into ports and some little news would also be 
good on the freebsd-stable list and the freebsd website also. This is a 
very big thing to have FreeBSD working fine under XenServer fine.


What would you need to host the tarballs?

I'm in a XenServer deployment project, kind of public cloud but small 
scale of course as we're not amazon, and we'd be also happy to evaluate 
and test it. It'd be very good to offer FreeBSD based VM-s also.


Regards,
Andras


On 08/08/2012 04:31 PM, Mark Felder wrote:

I've had a few positive responses off-list about this and the desire to
get this into the ports tree somehow. Someone also had the original
author's email address (he subscribes to this list), so I'm going to CC
him on this email as well.

We could probably get this into the ports tree relatively quickly. I've
been working closely with the ports@ team recently, so it wouldn't take
much effort in that respect. Some questions were brought up about what
it should be named or if it should be a separate port and I don't know
what the right answer here is, really. Perhaps emulators/xe-tools or
emulators/xenserver-tools would be sufficient.

I guess the first step would be to find some place to officially host
the tarball and/or tag a release on github. As it stands things are
fully functional, so getting this into the ports tree shouldn't be too
big of a problem. Long term I'd like to see this cleaned up a bit
more... it's quite the mess. Honestly, everything could (and should) be
rolled into one shell script because there's really no need to have
xe-daemon, xe-ip-if.sh, and xe-update-guest-attrs. For the record,
xe-update-guest-attrs is the file with the Citrix/GPL header. It has the
examples of how we should be calling the other xen-tools to report data
to XenServer. Whether we concentrate on this script or a rewrite happens
doesn't really matter to me; it's not a lot of code I'd just like to see
all of these really awful hacks removed :-)

Someone was asking about whether or not this was production-worthy. I
really don't see why not. I suppose if this fails you'll just end up
with a VM running without recognized tools again. I don't believe it's
possible for the OS to crash from things these scripts run, and the
ability to migrate/suspend Xen VMs is not reliant on these tools in a
fully open source Xen environment; this is just a requirement Citrix
imposes.


Feel free to speak up if you have any thoughts or suggestions :-)


Egoitz, can you confirm what license you originally released everything
under? I'd like to properly honor that license if you had one in mind.
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Citrix Xenserver and FreeBSD migration/suspend scripts

2012-08-08 Thread Mark Felder
I've had a few positive responses off-list about this and the desire to  
get this into the ports tree somehow. Someone also had the original  
author's email address (he subscribes to this list), so I'm going to CC  
him on this email as well.


We could probably get this into the ports tree relatively quickly. I've  
been working closely with the ports@ team recently, so it wouldn't take  
much effort in that respect. Some questions were brought up about what it  
should be named or if it should be a separate port and I don't know what  
the right answer here is, really. Perhaps emulators/xe-tools or  
emulators/xenserver-tools would be sufficient.


I guess the first step would be to find some place to officially host the  
tarball and/or tag a release on github. As it stands things are fully  
functional, so getting this into the ports tree shouldn't be too big of a  
problem. Long term I'd like to see this cleaned up a bit more... it's  
quite the mess. Honestly, everything could (and should) be rolled into one  
shell script because there's really no need to have xe-daemon,  
xe-ip-if.sh, and xe-update-guest-attrs. For the record,  
xe-update-guest-attrs is the file with the Citrix/GPL header. It has the  
examples of how we should be calling the other xen-tools to report data to  
XenServer. Whether we concentrate on this script or a rewrite happens  
doesn't really matter to me; it's not a lot of code I'd just like to see  
all of these really awful hacks removed :-)


Someone was asking about whether or not this was production-worthy. I  
really don't see why not. I suppose if this fails you'll just end up with  
a VM running without recognized tools again. I don't believe it's possible  
for the OS to crash from things these scripts run, and the ability to  
migrate/suspend Xen VMs is not reliant on these tools in a fully open  
source Xen environment; this is just a requirement Citrix imposes.



Feel free to speak up if you have any thoughts or suggestions :-)


Egoitz, can you confirm what license you originally released everything  
under? I'd like to properly honor that license if you had one in mind.

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"