Re: Iptables of Host machine blocks http traffic to Guest VM's

2017-10-20 Thread Muhammad Adeel Zahid
e you using? > Did you try configuring the ingress/egress rules for the network of the VM > you are creating? > > On Thu, Oct 19, 2017 at 5:17 PM, Muhammad Adeel Zahid < > 16030...@lums.edu.pk> > wrote: > > > One more f

Re: Iptables of Host machine blocks http traffic to Guest VM's

2017-10-19 Thread Muhammad Adeel Zahid
using? Did you try configuring the ingress/egress rules for the network of the VM you are creating? On Thu, Oct 19, 2017 at 5:17 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > One more finding. Even restarting the iptables service does the trick. Why > is that? What can

Re: Iptables of Host machine blocks http traffic to Guest VM's

2017-10-19 Thread Muhammad Adeel Zahid
One more finding. Even restarting the iptables service does the trick. Why is that? What can I do to avoid having to restart the iptables service? Regards Adeel From: Muhammad Adeel Zahid <16030...@lums.edu.pk> Sent: Friday, October 20, 2017 12:08:43

Iptables of Host machine blocks http traffic to Guest VM's

2017-10-19 Thread Muhammad Adeel Zahid
Hello, Finally, I have created a template from centos 6.8 ISO with jdk 1.8 installed and a web application hosted. I can now create VM's from this templates and they work fine except one problem. The web applications in guest VMs created from template are only accessible from the host running

Re: My server running Cloudstack-management fails to shutdown properly

2017-10-19 Thread Muhammad Adeel Zahid
y and secondary storage and one host. But now system vm is running probably because I get error when CS tries to run system vm for zone-1. I am currently not able to find how to fix this Regards Adeel From: Muhammad Adeel Zahid Sent: Thursday, October 19, 201

Re: My server running Cloudstack-management fails to shutdown properly

2017-10-19 Thread Muhammad Adeel Zahid
Is there a way, I can delete everything in cloudstack at once and start afresh? From: Muhammad Adeel Zahid <16030...@lums.edu.pk> Sent: Thursday, October 19, 2017 3:10:56 PM To: users@cloudstack.apache.org Subject: Re: My server running Cloudstack-management

Re: My server running Cloudstack-management fails to shutdown properly

2017-10-19 Thread Muhammad Adeel Zahid
some point, and it may not unmount this cleanly if it thinks there are still files in use. If so you need to shut down the KVM cloudstack agent and libvirt before unmounting the share. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 19/10/2017, 09:00, "Muhammad Adeel Zahid" <16

My server running Cloudstack-management fails to shutdown properly

2017-10-19 Thread Muhammad Adeel Zahid
Hello, I am running cloudstack on Cent OS 6 server. When I try to shut down this machine, it hangs. It fails to stop the cloudstack-management but it surpasses this point. Furthermore, during shutdown, machine hangs with this message Unmounting NFS filesystem: unmount.nfs: /mnt/some-long-uuid

Re: Creating a Template from VM and then VM's from that template

2017-10-19 Thread Muhammad Adeel Zahid
On 18/10/2017, 22:19, "Muhammad Adeel Zahid" <16030...@lums.edu.pk> wrote: Hi Dag, Thanks for the response. I created the first VM from ISO image. Then I followed the instructions in the link you posted but still having same problem. Any sugg

Re: Creating a Template from VM and then VM's from that template

2017-10-18 Thread Muhammad Adeel Zahid
18/10/2017, 15:59, "Muhammad Adeel Zahid" <16030...@lums.edu.pk> wrote: Hello, I have installed apache cloudstack suite on two of my machine. First machine acts both as management server and as hypervisor (kvm). My second machine acts only as hypervisor(kvm). I first

Creating a Template from VM and then VM's from that template

2017-10-18 Thread Muhammad Adeel Zahid
Hello, I have installed apache cloudstack suite on two of my machine. First machine acts both as management server and as hypervisor (kvm). My second machine acts only as hypervisor(kvm). I first created a VM, say vm1, from centOS ISO and added some software that I need new VM's to have. I, th

Startup script after setting up a VM (KVM)

2017-05-31 Thread Muhammad Adeel Zahid
Hi, I have installed apache cloudstack 4.9 and am using KVM for hpyervisors. I need to have some startup scripts that executes automatically once the VM is up and running. Basically, that script would be responsible for creating db from .sql files in mysql database and also make few changes in

Re: Trouble Adding Ubuntu-KVM hosts on Cloudstack

2017-04-18 Thread Muhammad Adeel Zahid
And do we need to create /export/primary /export/secondary for KVM hosts as well? From: Muhammad Adeel Zahid <16030...@lums.edu.pk> Sent: Wednesday, April 19, 2017 4:34:22 AM To: users@cloudstack.apache.org Subject: Re: Trouble Adding Ubuntu-KVM ho

Re: Trouble Adding Ubuntu-KVM hosts on Cloudstack

2017-04-18 Thread Muhammad Adeel Zahid
ceived: agent id = 0 Regards Adeel ____ From: Muhammad Adeel Zahid <16030...@lums.edu.pk> Sent: Tuesday, April 18, 2017 9:14:37 PM To: users@cloudstack.apache.org Subject: Trouble Adding Ubuntu-KVM hosts on Cloudstack Hi Guys, Few weeks ago, I installed c

Re: Trouble Adding Ubuntu-KVM hosts on Cloudstack

2017-04-18 Thread Muhammad Adeel Zahid
Tried with Ubuntu 14.04.5. Installation process went smooth except the network configuration for eth0.100, eth0.200 and eth0.300. Following the said configuration from http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/hypervisor/kvm.htmlcaused my network to halt. it was

Re: Trouble Adding Ubuntu-KVM hosts on Cloudstack

2017-04-18 Thread Muhammad Adeel Zahid
: Trouble Adding Ubuntu-KVM hosts on Cloudstack On 04/18/2017 06:33 PM, Muhammad Adeel Zahid wrote: > I am on Ubuntu 16.04 LTS AFAIK 16.04 is not yet be supported. And the offical docs only mention 14.04. I would give 14.04 a try. Regards René

Re: Trouble Adding Ubuntu-KVM hosts on Cloudstack

2017-04-18 Thread Muhammad Adeel Zahid
I am on Ubuntu 16.04 LTS From: Rene Moser Sent: Tuesday, April 18, 2017 9:19:17 PM To: users@cloudstack.apache.org Subject: Re: Trouble Adding Ubuntu-KVM hosts on Cloudstack Hi Adeel On 04/18/2017 06:14 PM, Muhammad Adeel Zahid wrote: > Hi Guys, > &

Trouble Adding Ubuntu-KVM hosts on Cloudstack

2017-04-18 Thread Muhammad Adeel Zahid
Hi Guys, Few weeks ago, I installed cloudsack management on one machine and KVM on other machine. Both were using CentOS 6. All is working fine with these two machines. Now, I installed ubuntu and KVM on third machine and wanted to add it to the cluster but I never seem to be able to do it. I

Re: Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
Yes, they are using the same switch From: Muhammad Adeel Zahid Sent: Friday, April 7, 2017 1:22:32 AM To: users@cloudstack.apache.org Subject: Re: Accessing Virtual Instances from other systems on the same subnet Bingo! When I turn off the firewall of the "

Re: Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
Bingo! When I turn off the firewall of the "host" carrying the VM, I can ping and ssh into the VM. It means I will have to add some rules to the iptables but I don't know exactly what those rules would look like. Can you please help me From: Muham

Re: Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
p table of your client PC (just in case) On Thu, Apr 6, 2017 at 4:02 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > I tried it both way. I ran VMs on the same systems and I also ran VMs on a > system different than system VMs but the result is same. > > __

Re: Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
Instances from other systems on the same subnet Are these users VMs running on the same server as the system vms? On Thu, Apr 6, 2017 at 3:54 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > ah, my bad, I meant one server running both cloudstack-management and kvm > and an

Re: Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
Virtual Instances from other systems on the same subnet I did not understand what you mean by "a server running management studio and KVM" On Thu, Apr 6, 2017 at 3:48 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > Yes, I added the basic zone. I have one server run

Re: Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
I also tried adding the Instance VM's using default template but that template is stuck in downloading. I have downloaded 2 other ISO's meanwhile but default template's download is still in progress. From: Muhammad Adeel Zahid Sent: Friday, Apri

Re: Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/qig.html), then you have deployed a basic zone. On Thu, Apr 6, 2017 at 3:16 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > Hi Rafael, > > > Thanks for reaching out. I am not sure about traffic labeling and rest

Re: Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
pr 6, 2017 at 2:57 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > Specifically, by instances I mean the following > > > > I think, you people call it instance VM's or just VM's. You can see that > my instance VM's has addressed 10.0.0.124 & 10.

Re: Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
_________ From: Muhammad Adeel Zahid <16030...@lums.edu.pk> Sent: Thursday, April 6, 2017 6:05:57 PM To: users@cloudstack.apache.org Subject: Re: Accessing Virtual Instances from other systems on the same subnet by instances I mean what cloudstack management server call

Re: Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
(interface where the public traffic goes)? On Thu, Apr 6, 2017 at 6:44 AM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > Hi Guys, > > > I have setup cloudstack management and hpyervisor (KVM) on machine 1 and > machine 2 respectively. I am successfully able to ping the instan

Accessing Virtual Instances from other systems on the same subnet

2017-04-06 Thread Muhammad Adeel Zahid
Hi Guys, I have setup cloudstack management and hpyervisor (KVM) on machine 1 and machine 2 respectively. I am successfully able to ping the instances from hypervisor machine (machine 2) but I can't ping it from any of the other machines on the same subnet. Why is that? How can I make it wor

Re: Cloudstack and KVM installation with IP addresses allocated by DHCP

2017-03-23 Thread Muhammad Adeel Zahid
or qcow2. I tried selecting other options as well from ACS management UI but could not import any template successfully. Regards Adeel From: Muhammad Adeel Zahid Sent: Thursday, March 23, 2017 7:21:44 PM To: users@cloudstack.apache.org Subject: Re: Cloudst

Re: Cloudstack and KVM installation with IP addresses allocated by DHCP

2017-03-23 Thread Muhammad Adeel Zahid
Sonstebo Cloud Architect ShapeBlue On 22/03/2017, 21:35, "Muhammad Adeel Zahid" <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

Re: Cloudstack and KVM installation with IP addresses allocated by DHCP

2017-03-22 Thread Muhammad Adeel Zahid
adigm 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> Sent: Wednesday, March 22, 2017 11:19:34 PM To: users@cloudstack.apache.org Subject: Re: Clo

Re: Cloudstack and KVM installation with IP addresses allocated by DHCP

2017-03-22 Thread Muhammad Adeel Zahid
ewal 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 Zahi

Re: Cloudstack and KVM installation with IP addresses allocated by DHCP

2017-03-22 Thread Muhammad Adeel Zahid
gards, Dag Sonstebo Cloud Architect ShapeBlue On 22/03/2017, 12:22, "Muhammad Adeel Zahid" <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 C

Re: Cloudstack and KVM installation with IP addresses allocated by DHCP

2017-03-22 Thread Muhammad Adeel Zahid
Sonstebo Cloud Architect ShapeBlue On 22/03/2017, 11:26, "Muhammad Adeel Zahid" <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 o

Cloudstack and KVM installation with IP addresses allocated by DHCP

2017-03-22 Thread Muhammad Adeel Zahid
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) AC

Re: Problem Adding the Host

2017-03-11 Thread Muhammad Adeel Zahid
I was going through the tutorial you shared. It is basically for Ubuntu. Does it work for CentOS as well? Is there an equivalent guide for CentOS? From: Muhammad Adeel Zahid <16030...@lums.edu.pk> Sent: Saturday, March 11, 2017 2:31:10 AM To:

Re: Problem Adding the Host

2017-03-10 Thread Muhammad Adeel Zahid
buBdjU1u0M-dIXOr0MpJXuV40JQ/edit?usp=sharing On Fri, Mar 10, 2017 at 3:56 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > I am not sure, I understand it in entirety but I can see the big picture > nevertheless. A bit of terminology confuses me. When you say the virtual > box, do you t

Re: Problem Adding the Host

2017-03-10 Thread Muhammad Adeel Zahid
ACS. I have created an environment just like that using Virtualbox, I used 4 VMs, one for ACS, one for the NFS, and two for hosts (I used XenServer) Did you understand what I tried to explain? On Fri, Mar 10, 2017 at 3:37 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > I am

Re: Problem Adding the Host

2017-03-10 Thread Muhammad Adeel Zahid
at 3:34 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > Why are tyring to use external network system? > > > To gain the internet access for download/install all the required ACS > pacakges. > > > You can configure 4 virtual network devices > > I

Re: Problem Adding the Host

2017-03-10 Thread Muhammad Adeel Zahid
c one. For the public network, you can create iptables (or other routing mechanism) to forward packets coming from the public virtual network to your box public network. Then, you would be independent of the external network. On Fri, Mar 10, 2017 at 2:23 PM, Muhammad Adeel Zahid <16030...@lum

Re: Problem Adding the Host

2017-03-10 Thread Muhammad Adeel Zahid
Yes, in a single box From: Rafael Weingärtner Sent: Friday, March 10, 2017 11:54:03 PM To: users@cloudstack.apache.org Subject: Re: Problem Adding the Host Are you trying to setup everything in a single box? On Fri, Mar 10, 2017 at 1:44 PM, Muhammad Adeel Zahid

Re: Problem Adding the Host

2017-03-10 Thread Muhammad Adeel Zahid
confused now. Are you creating a POC? Just an environment for testing purpose? On Fri, Mar 10, 2017 at 11:56 AM, Muhammad Adeel Zahid <16030...@lums.edu.pk > wrote: > Yep, my SSVM is running and I can connect to it using ssh from the > management server. The mount problem is solved by

Re: Problem Adding the Host

2017-03-10 Thread Muhammad Adeel Zahid
your hosts have access to the primary/secondary storage? Have you tried to mount the storage mounts in your hosts manually to check if they are working? On Fri, Mar 10, 2017 at 7:34 AM, Muhammad Adeel Zahid <16030...@lums.edu.pk> wrote: > Hi, > > I just installed the apache cloud

Problem Adding the Host

2017-03-10 Thread Muhammad Adeel Zahid
Hi, I just installed the apache cloudstack on CentOS 6.8 machine with KVM hypervisor. I am using the version 4.9 of the cloudstack. The management server is up and running and but I am unable to add the instances from the web UI interface. I have put down my problem in detail on this SO questi