<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/4.6.4">
</head>
<body>
fre 2013-08-09 klockan 10:09 +0200 skrev René Koch (ovido):
<blockquote type="CITE">
<pre>
Hi Karli,
Thanks a lot for sharing the code of your orderportal! I think this
portal is really useful for providing a easier method to create/order
new virtual machines as the (extended) user portal already does.
</pre>
</blockquote>
<br>
Yes me to, that´s why I made it:)<br>
<br>
<blockquote type="CITE">
<pre>
I'll try it out and maybe will have some questions.
</pre>
</blockquote>
<br>
Don´t hesitate to ask!<br>
<br>
<blockquote type="CITE">
<pre>
First question right now: is and if yes how is your software licensed?
</pre>
</blockquote>
<br>
Ugh, does it really have to be? If anything; beerware:)<br>
<br>
<blockquote type="CITE">
<pre>
Regards,
René
On Thu, 2013-08-08 at 11:42 +0000, Karli Sjöberg wrote:
<font color="#737373">> Hi everyone!</font>
<font color="#737373">> </font>
<font color="#737373">> Here´s a little something I´ve been tinkering on for some time now;</font>
<font color="#737373">> the oVirt orderportal!</font>
<font color="#737373">> </font>
<font color="#737373">> I had the idea that if you somehow could get users to order resources</font>
<font color="#737373">> and give them the ability to, for themselves, take care of their VM´s</font>
<font color="#737373">> lifecycle without ever having to involve us then that´s what I´d call</font>
<font color="#737373">> a win-win situation; they get VM´s and we don´t have to lift a finger</font>
<font color="#737373">> while cashing in on the profits;) While you could just give everyone a</font>
<font color="#737373">> quota and let them install VM's on their own, those installation would</font>
<font color="#737373">> most likely lack some of the extra quality that we as experts can</font>
<font color="#737373">> provide, like to make sure they are domain connected, are</font>
<font color="#737373">> automatically updated and so on.</font>
<font color="#737373">> </font>
<font color="#737373">> The basic idea is to have, first of all, a domain (in our case it´s MS</font>
<font color="#737373">> Active Directory) where all of your customers are stored so that they</font>
<font color="#737373">> are able to just use their regular accounts when ordering and</font>
<font color="#737373">> administering their resources, and a mail-server that can send the</font>
<font color="#737373">> confirmations out directly to them. Then it´s our job as admins to fix</font>
<font color="#737373">> up some templates so that it´s possible to spin up new VM's fast and</font>
<font color="#737373">> effortlessly enough. Another one of the things that enables this</font>
<font color="#737373">> solution is to have dynamic DNS activated on the network where these</font>
<font color="#737373">> VM's are located so that they can just be called something, e.g. based</font>
<font color="#737373">> on their MAC address, like we do. That way, you are able to anticipate</font>
<font color="#737373">> what their domain name is going to be. You then register an alias for</font>
<font color="#737373">> that domain name with the alias name of whatever the customer wanted</font>
<font color="#737373">> it to be called. Create a domain user that you use to connect all of</font>
<font color="#737373">> these VM´s to the domain when the template machines start up, so that</font>
<font color="#737373">> your customers can log in to their VM's with their regular domain</font>
<font color="#737373">> accounts. And create a role in oVirt that you assign to this manager</font>
<font color="#737373">> that is only permitted to do what it´s supposed to be doing, and</font>
<font color="#737373">> nothing else; create VM, take snapshot, assign permissions, etc.</font>
<font color="#737373">> </font>
<font color="#737373">> What´s needed to get up and running with all of this?</font>
<font color="#737373">> - A LOT!:S Thing is, I´ve done this so that it basically just "works</font>
<font color="#737373">> for us"™, and not much done about making the code dynamic or flexible</font>
<font color="#737373">> so you´re going to have to dig in and mod all of the config files so</font>
<font color="#737373">> that it fits your situation accordingly. But I thought that since the</font>
<font color="#737373">> basic grunt work is done, I might as well share it so that if anyone</font>
<font color="#737373">> else gets the same idea, they won´t have to invent the entire wheel</font>
<font color="#737373">> all over again, they´ll just have to make my wheel fit into their</font>
<font color="#737373">> car:)</font>
<font color="#737373">> </font>
<font color="#737373">> Anyone who decides they´d like a shot at this, I´ll be more than happy</font>
<font color="#737373">> helping with any questions you might have.</font>
<font color="#737373">> </font>
<font color="#737373">> Big thanks to you developers, who gave me directions about how to use</font>
<font color="#737373">> the PythonSDK! I´d also like to give my warmest thanks to the guys at</font>
<font color="#737373">> paperboardinc, especially Ning, who helped fixing up the</font>
<font color="#737373">> authentication popup. Having an orderportal without an authentication</font>
<font color="#737373">> would have been waaay to naive for anyone to stomach:)</font>
<font color="#737373">> </font>
<font color="#737373">> Screenshots are attached.</font>
<font color="#737373">> </font>
<font color="#737373">> -- </font>
<font color="#737373">> </font>
<font color="#737373">> Med Vänliga Hälsningar</font>
<font color="#737373">> -------------------------------------------------------------------------------</font>
<font color="#737373">> Karli Sjöberg</font>
<font color="#737373">> Swedish University of Agricultural Sciences</font>
<font color="#737373">> Box 7079 (Visiting Address Kronåsvägen 8)</font>
<font color="#737373">> S-750 07 Uppsala, Sweden</font>
<font color="#737373">> Phone: +46-(0)18-67 15 66</font>
<font color="#737373">> <a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a> </font>
<font color="#737373">> _______________________________________________</font>
<font color="#737373">> Users mailing list</font>
<font color="#737373">> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a></font>
<font color="#737373">> <a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></font>
</pre>
</blockquote>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>-- <br>
<br>
Med Vänliga Hälsningar<br>
-------------------------------------------------------------------------------<br>
Karli Sjöberg<br>
Swedish University of Agricultural Sciences<br>
Box 7079 (Visiting Address Kronåsvägen 8)<br>
S-750 07 Uppsala, Sweden<br>
Phone: +46-(0)18-67 15 66<br>
<a href="mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a> </td>
</tr>
</tbody>
</table>
</body>
</html>