Hi Adeel,
There could be many reasons for an exception to appear, could you please:

1. tail the management.log on the management server
2. Recreate the scenario that throws the exception
3. send back the exception and the steps you’ve executed to recreate the error.
Thanks,
Boris Stoyanov

boris.stoya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 

On Mar 23, 2017, at 11:59 AM, Muhammad Adeel Zahid 
<16030...@lums.edu.pk<mailto:16030...@lums.edu.pk>> wrote:

Hi Dag,


Thanks for continued feedback [??]

I was able to find the option of Volume snapshot. But, I encountered error when 
creating volume snapshot. However, I was able to create template from Root 
directory of my VM. I would attach the logs of management server when I am on 
the other machine. Basically, creating template from volume is good enough for 
me. But I am just curious why creating snapshot from volume throws an exception.


Regards

Adeel

________________________________
From: Dag Sonstebo 
<dag.sonst...@shapeblue.com<mailto:dag.sonst...@shapeblue.com>>
Sent: Thursday, March 23, 2017 4:41:28 AM
To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
Subject: Re: Cloudstack and KVM installation with IP addresses allocated by DHCP

Hi Adeel,

With KVM you can still take volume snapshots (of single volumes) – but you 
can’t take full VM snapshots (as you mention these are available only on 
XenServer and VMware) – please note the functionality of these are different 
(see 
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/virtual_machines.html#virtual-machine-snapshots
  and 
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/storage.html?highlight=volume%20snapshot#working-with-volume-snapshots
 ). With volume snapshots you can still create a template from your completed 
instance root volume, so you should be good here 
(http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/templates.html).

With regards to your second hypervisor your choice depends on a few factors. In 
short – XenServer is easy to set up and open source, so low cost, VMware 
requires a few more steps (including vCenter) and comes in at a higher cost due 
to licensing. Functionality wise you can do most things with XenServer – Vmware 
does have a few more bells and whistles though.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 22/03/2017, 21:35, "Muhammad Adeel Zahid" 
<16030...@lums.edu.pk<mailto:16030...@lums.edu.pk>> wrote:

   Hi Dag,


   I have been able to arrange a switch and create a new subnet of my own 
behind that switch. That way, I am able to install KVM and cloudstack on single 
machine. Haven't tried the second machine. I think, it should work too.


   Now, I am basically interested in snapshot capability of instances, that is, 
I want to create an instance, install bulk of things on it and then take a 
snapshot  of it. Later on, I would want to use the same snapshot to create new 
instances. Is it possible with KVM? I have read somewhere that this 
functionality is only available with xenserver and vmware? If that is so, can I 
have another host added to same zone that uses a different virtualization 
technology (xenserver or vmware) than my first host (KVM, also the same node 
running ACS management)? Can you recommend any of them please? I am looking at 
this whole thing from R&D paradigm and scalability is not a problem at the 
moment and I want to go with easier-to-setup solution.


   Regards

   Adeel

   ________________________________
   From: Muhammad Adeel Zahid 
<16030...@lums.edu.pk<mailto:16030...@lums.edu.pk>>
   Sent: Wednesday, March 22, 2017 11:19:34 PM
   To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
   Subject: Re: Cloudstack and KVM installation with IP addresses allocated by 
DHCP

   Hi Dag,


   Thanks for the insight. Let me have a look at alternatives & I will get back 
[??]

   ________________________________
   From: Dag Sonstebo 
<dag.sonst...@shapeblue.com<mailto:dag.sonst...@shapeblue.com>>
   Sent: Wednesday, March 22, 2017 6:32:05 PM
   To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
   Subject: Re: Cloudstack and KVM installation with IP addresses allocated by 
DHCP

   Hi Adeel,

   This would most likely get you into trouble with your red tape admins – if 
you simply set the IP address 10.103.72.65 statically and let’s say your DHCP 
lease time is 24 hours – then after 24 hours the DHCP server will not have seen 
any DHCP renewals (DHCP starts the renewal process after half the lease time – 
i.e. in this case 12 hours), and therefore assumes the address is no longer in 
use. Another host may therefore pick up the same IP and you end up with IP 
conflicts.

   Regards,
   Dag Sonstebo
   Cloud Architect
   ShapeBlue

   On 22/03/2017, 12:39, "Muhammad Adeel Zahid" 
<16030...@lums.edu.pk<mailto:16030...@lums.edu.pk>> wrote:

       Hi Dag,


       DHCP and its settings are beyond my control. I will have to go through 
some procedures (aka red tape) to get the exclusions static IPs bound to ACS 
and KVM. For now,  what I am thinking to do is, connect to network and get an 
IP 10.103.72.65 and declare it as static in network settings of my computer 
(say ACS management server) and rely on the fact that IP wouldn't change as 
long as I don't reconnect.

       Once the testing is done, we can go through the approval procedures for 
MAC binding and IP addresses exclusion from DHCP.


       Would it work as I think?


       Regards

       Adeel

       ________________________________
       From: Dag Sonstebo 
<dag.sonst...@shapeblue.com<mailto:dag.sonst...@shapeblue.com>>
       Sent: Wednesday, March 22, 2017 5:31:12 PM
       To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
       Subject: Re: Cloudstack and KVM installation with IP addresses allocated 
by DHCP

       Hi Muhammed,

       This is done externally to CloudStack and depends on what DHCP 
infrastructure you have in place. All DHCP implementations have the option to 
reserve an address, i.e. a setting that confirms your MAC address – e.g. 
01:02:03:AA:BB:CC is always handed out the same IP address – in your case e.g. 
10.103.72.65/23. Once you have set this on your DHCP server(s) you can safely 
set the IP address statically on your servers if you don’t want to rely on DHCP 
– this means you will never have an IP conflict between a statically configured 
IP address and your DHCP scope.

       Please note though – you will most likely need more IP addresses for 
CloudStack than the 1 (2?) you already have – CloudStack needs more IP 
addresses for it’s system range. As a result you are much better off using a 
subnet without DHCP – or configure an exclusion in your DHCP scope, e.g. 
something 10.103.72.1-10.103.72.99, such that you can safely use this excluded 
range for CloudStack.

       Regards,
       Dag Sonstebo
       Cloud Architect
       ShapeBlue

       On 22/03/2017, 12:22, "Muhammad Adeel Zahid" 
<16030...@lums.edu.pk<mailto:16030...@lums.edu.pk>> wrote:

           Thanks Boris and Dag for quick reply.


           @Dag How do I utilize static IP addresses in combination with DHCP 
reservations?


           I have just installed CentOs and connected to the network on wire. 
DHCP has given me 10.103.72.65/23 IP address. What do I need to do from now on?


           Regards

           ________________________________
           From: Dag Sonstebo 
<dag.sonst...@shapeblue.com<mailto:dag.sonst...@shapeblue.com>>
           Sent: Wednesday, March 22, 2017 4:41:26 PM
           To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
           Subject: Re: Cloudstack and KVM installation with IP addresses 
allocated by DHCP

           Hi Muhammed,

           This may be possible if your DNS infrastructure is rock solid and is 
guaranteed to work from all CloudStack networks (you would possibly also have 
to set your TTL on your DNS entries low)  – but all in all I would recommend 
you utilize static IP addresses, alternatively in combination with DHCP 
reservations to ensure you don’t have IP conflicts in your infrastructure.

           Regards,
           Dag Sonstebo
           Cloud Architect
           ShapeBlue

           On 22/03/2017, 11:26, "Muhammad Adeel Zahid" 
<16030...@lums.edu.pk<mailto:16030...@lums.edu.pk>> wrote:

               Hello guys,


               I have two systems and both of them are connected to a network 
that allocates IP addresses using DHCP. I want to install cloudstack management 
server on the one system and KVM (hypervisor) on the other system.

               Can I do this? What steps would differ from normal (with static 
IPs)  ACS and KVM installation?


               Regards

               Adeel



           dag.sonst...@shapeblue.com<mailto:dag.sonst...@shapeblue.com>
           www.shapeblue.com<http://www.shapeblue.com><http://www.shapeblue.com>
           53 Chandos Place, Covent Garden, London  WC2N 4HSUK
           @shapeblue






       dag.sonst...@shapeblue.com<mailto:dag.sonst...@shapeblue.com>
       www.shapeblue.com<http://www.shapeblue.com><http://www.shapeblue.com>
       53 Chandos Place, Covent Garden, London  WC2N 4HSUK
       @shapeblue






   dag.sonst...@shapeblue.com<mailto:dag.sonst...@shapeblue.com>
   www.shapeblue.com<http://www.shapeblue.com><http://www.shapeblue.com>
   53 Chandos Place, Covent Garden, London  WC2N 4HSUK
   @shapeblue






dag.sonst...@shapeblue.com<mailto:dag.sonst...@shapeblue.com>
www.shapeblue.com<http://www.shapeblue.com/><http://www.shapeblue.com<http://www.shapeblue.com/>>
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue

Reply via email to