summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-March/003216.html
blob: c8ea4a0ef296cc5984e5daecd489e392b8fbe7f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] VMs installation
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20VMs%20installation&In-Reply-To=%3C1301480009.10310.61.camel%40akroma.ephaone.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="003215.html">
   <LINK REL="Next"  HREF="003217.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] VMs installation</H1>
    <B>Michael Scherer</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20VMs%20installation&In-Reply-To=%3C1301480009.10310.61.camel%40akroma.ephaone.org%3E"
       TITLE="[Mageia-sysadm] VMs installation">misc at zarb.org
       </A><BR>
    <I>Wed Mar 30 12:13:29 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="003215.html">[Mageia-sysadm] Cron &lt;root at alamut&gt; nice -n 19 run-parts --report /etc/cron.daily
</A></li>
        <LI>Next message: <A HREF="003217.html">[Mageia-sysadm] VMs installation
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#3216">[ date ]</a>
              <a href="thread.html#3216">[ thread ]</a>
              <a href="subject.html#3216">[ subject ]</a>
              <a href="author.html#3216">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>As asked by packagers last week during packager meeting
( <A HREF="http://meetbot.mageia.org/mageia-dev/2011/mageia-dev.2011-03-23-20.02.log.html#l-201">http://meetbot.mageia.org/mageia-dev/2011/mageia-dev.2011-03-23-20.02.log.html#l-201</A> ), I am installing 6 vms ( 32/64, kde/gnome/lxde ) on rabbit to test upgrade. 

In the process, I have added various stuff to the libvirt module, like :
- a helper to declare storage pool ( soon to be replicated for network,
for pxe integration )
- a helper to download boot.iso or others files for distribution net
installation.

While this may seem overkill, I faced the issue on zarb.org yesterday
with our tftp server not being fully populated. So I tried to automate
this as much as possible for the future. See
libvirtd::download::netboot_images usage in nodes.pp

I have created a python script to add the vm automatically, I attach it
here for those that are interested ( and for distributed backup ). In
the future, this could be used to create vm, start them with pxe and
have them ready to be used for test ( be it upgrade test, iso test or
anything ).

And I am planning ( well, writing on the whiteboard ) on adding tftp,
pxe etc to puppet so we can have automated installation, as VMs were
installed by hand.

-- 
Michael Scherer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: create_vm.py
Type: text/x-python
Size: 2610 bytes
Desc: not available
URL: &lt;/pipermail/mageia-sysadm/attachments/20110330/35cf881a/attachment.py&gt;
</PRE>




<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="003215.html">[Mageia-sysadm] Cron &lt;root at alamut&gt; nice -n 19 run-parts --report /etc/cron.daily
</A></li>
	<LI>Next message: <A HREF="003217.html">[Mageia-sysadm] VMs installation
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#3216">[ date ]</a>
              <a href="thread.html#3216">[ thread ]</a>
              <a href="subject.html#3216">[ subject ]</a>
              <a href="author.html#3216">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>