Xenserver 6.2 gotchas

2014-06-24 Thread Ian Marshall
Hi All Has anyone had the pleasure to setup a cloudstack with my multiple xenserver (6.2) hosts and equallogic SAN for primary and secondary storage. Idea is split SAN into two volumes. These would be integrated with 2 management servers both running db for HA purposes. If you have, please adv

Re: Multiple IP in Guest VM

2014-06-24 Thread Tejas Gadaria
Hi, It was good help. /etc/sysconfig/network-scripts/ has net.hotplug file. Need to check what it does. Regards. Tejas On Wed, Jun 25, 2014 at 11:13 AM, ilya musayev wrote: > I'm not sure about Xen, but VMware suppots hot-add NICs. > > The behavior of not creating ifcfg-eth1 is linux and not

Re: trying to upload a bootable VHD

2014-06-24 Thread ilya musayev
Chris, If you intend to boot from this VHD, it should be set as ROOT type. If you add a template through cloudstack UI or api - registerTemplate, it is set as type ROOT. If you use createTemplate, it will create a template from ROOT disk of existing VMs ROOT disk. If you are using "upload

Re: Multiple IP in Guest VM

2014-06-24 Thread ilya musayev
I'm not sure about Xen, but VMware suppots hot-add NICs. The behavior of not creating ifcfg-eth1 is linux and not cloudstack. If you add NICs before you power on guest vm for the first time, it will detect multiple nics and create ifcfg interface files. I have the same behavior on VMware with

trying to upload a bootable VHD

2014-06-24 Thread chris
I'm trying to use the .NET SDK to upload a bootable VHD to eventually use to deploy a VM. I assume the correct sequence is upload > create template > deploy VM. However, when I upload a volume, there seems to be no way to make that volume bootable (it's has the type DATADISK). Using it to create a

RE: Multiple IP in Guest VM

2014-06-24 Thread Suresh Sadhu
we have to manually configure on server side. Refer this : https://cwiki.apache.org/confluence/display/CLOUDSTACK/Multiple+IP+address+per+NIC JFYI: Cloudstack: User requests for the association/dissociation of the IP address for the guest VM NIC via CS API/UI. CS reserves an IP and give

RE: Multiple IP in Guest VM

2014-06-24 Thread Sanjeev Neelarapu
You may need to stop/start the vm for the nic to be created. I am not sure whether nic hot-plugin is supported. -Sanjeev -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Wednesday, June 25, 2014 9:52 AM To: users@cloudstack.apache.org Subject: Re: Multiple IP

Re: Multiple IP in Guest VM

2014-06-24 Thread Tejas Gadaria
Hi liya, I tried with "Add Network to VM" by selecting other VLAN. On Cloudstack UI Its showing IP but in CentOS its not creating ifcfg-eth1 file. Xen-tools are installed on CentOS. Regards, Tejas On Wed, Jun 25, 2014 at 9:09 AM, ilya musayev wrote: > You have add network feature under NICs v

Re: Migrating existing VMs into Cloudstack

2014-06-24 Thread ilya musayev
Geoff mentioned template solution, that will work as well and better than what i proposed. On 6/24/14, 8:32 PM, ilya musayev wrote: At this point, nothing other than inspecting how cloudstack handles its own VM and replicating the same in the DB (caution there). Another thing you can try, is

Re: Multiple IP in Guest VM

2014-06-24 Thread ilya musayev
You have add network feature under NICs view of the VM. On 6/24/14, 8:19 PM, Tejas Gadaria wrote: Hi, I have 2 diff VLAN created by "default shared Network offering". I want to assign one ip from both VLAN to Linux guest VM. Is it possible ? I am using CS 4.3 with Xen 6.2 SP1. Regards, Tejas

Re: Migrating existing VMs into Cloudstack

2014-06-24 Thread ilya musayev
At this point, nothing other than inspecting how cloudstack handles its own VM and replicating the same in the DB (caution there). Another thing you can try, is deploy a VM through CloudStack, then replace the disk image file. Make sure to keep the original disk image name. Regards ilya On

Re: non-OSS build required?

2014-06-24 Thread ilya musayev
Xerex Are you planning on building from source or using a pre-build non-oss rpm? If you are building from source, the INSTALL.md file has links to vmware site to download the proper SDK and extract the jar file that needs to go into deps directory before you build. Current NetScaler implemen

Multiple IP in Guest VM

2014-06-24 Thread Tejas Gadaria
Hi, I have 2 diff VLAN created by "default shared Network offering". I want to assign one ip from both VLAN to Linux guest VM. Is it possible ? I am using CS 4.3 with Xen 6.2 SP1. Regards, Tejas

unable to add host KVM

2014-06-24 Thread dimas yoga pratama
Hi all, I want to add host in my cloudstack with kvm basic networking. I follow this guide http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html but I'm unable to add host. this is my management-server.log anybody know how to solve this??? thanks. -8:ctx-af20f8f7 ctx-ce74

RE: non-OSS build required?

2014-06-24 Thread Xerex Bueno
In the documentation it says to download the version 4.1 SDK which reflects that it works with 4.1 and 5.0. Does anyone know if it works with 5.5 as well, or do I need to use a different SDK? -Original Message- From: Erik Weber [mailto:terbol...@gmail.com] Sent: Tuesday, June 24, 2014

RE: non-OSS build required?

2014-06-24 Thread Vijay Venkatachalam
NetScaler is already part of OSS. > -Original Message- > From: Erik Weber [mailto:terbol...@gmail.com] > Sent: Tuesday, June 24, 2014 7:57 PM > To: users@cloudstack.apache.org > Subject: Re: non-OSS build required? > > Not sure about netscaler, but for vmware you need non-oss version. >

Re: non-OSS build required?

2014-06-24 Thread Erik Weber
Not sure about netscaler, but for vmware you need non-oss version. There are probably someone that could share their builds. Erik 24. juni 2014 15:46 skrev "Xerex Bueno" følgende: > I was curious if you are planning on using Cloudstack in an environment > that runs VMware and Netscalers if you

Re: Cloud Stack | Unable to add KVM host

2014-06-24 Thread sebgoa
Also the quick installation guide was referencing the cloud-client packages, I just fixed it. You should install cloudstack-management and cloudstack-agent packages. On Jun 24, 2014, at 2:29 PM, Suresh Sadhu wrote: > HI Ali, > > What is the MS OS Type..is it Ubuntu? > ON Ubuntu we had faced s

non-OSS build required?

2014-06-24 Thread Xerex Bueno
I was curious if you are planning on using Cloudstack in an environment that runs VMware and Netscalers if you still need to build from source. Also where can I get the latest files that need to be included in the build for VMware and Citrix Netscalers. Thanks in advance.

Re: Management Server HA & DB Replication

2014-06-24 Thread Tejas Gadaria
Thanks Suresh! Regards, Tejas On Tue, Jun 24, 2014 at 5:37 PM, Suresh Sadhu wrote: > IN a cluster management setup: > > ON Master MS you will install master db with deploy option > Cloudstack-setup-databases cloud@10.1.1.2 --deploy-as=root > > On slave MS : you will point to master db > Clou

Re: Not able to deploy Ubuntu VM on xenserver 12.04

2014-06-24 Thread Tejas Gadaria
Thanks Shanker! Ragards, Tejas On Tue, Jun 24, 2014 at 6:07 PM, Shanker Balan wrote: > Comments inline. > > On 24-Jun-2014, at 5:38 pm, Ian Duffy wrote: > > > Hi Tejas, > > > > I've seent his happen before when I use the netinstall ISO. > > > > Use the server or alternative one; they tend to

Re: Not able to deploy Ubuntu VM on xenserver 12.04

2014-06-24 Thread Shanker Balan
Comments inline. On 24-Jun-2014, at 5:38 pm, Ian Duffy wrote: > Hi Tejas, > > I've seent his happen before when I use the netinstall ISO. > > Use the server or alternative one; they tend to have the file structure xen > (install/vmlinuz) looks for. > I create Ubuntu 10.04 on a standalone XenSer

RE: Cloud Stack | Unable to add KVM host

2014-06-24 Thread Suresh Sadhu
HI Ali, What is the MS OS Type..is it Ubuntu? ON Ubuntu we had faced similar issue and after disabling the AppArmor and it start discovering the host. Try below steps: Disable AppArmor: run this below command on your MS -- ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/ap

Re: Not able to deploy Ubuntu VM on xenserver 12.04

2014-06-24 Thread Ian Duffy
Hi Tejas, I've seent his happen before when I use the netinstall ISO. Use the server or alternative one; they tend to have the file structure xen (install/vmlinuz) looks for. On 24 June 2014 13:03, Tejas Gadaria wrote: > I was trying to create Ubuntu instance from ISO on xenserver 6.2 & recei

RE: Management Server HA & DB Replication

2014-06-24 Thread Suresh Sadhu
IN a cluster management setup: ON Master MS you will install master db with deploy option Cloudstack-setup-databases cloud@10.1.1.2 --deploy-as=root On slave MS : you will point to master db Cloudstack-setup-databases cloud@10.1.1.2 ( here don't mention --deploy-as option on slave if you me

Not able to deploy Ubuntu VM on xenserver 12.04

2014-06-24 Thread Tejas Gadaria
I was trying to create Ubuntu instance from ISO on xenserver 6.2 & received below error.. 2014-06-24 17:28:38,600 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-736ea19c ctx-d2da377e) ===END=== 192.168.160.192 -- GET command=queryAsyncJobResult&jobId=06293d5e-1349-453c-a1c6-45646ff093d1&response=

Re: Management Server HA & DB Replication

2014-06-24 Thread Tejas Gadaria
Hi abhi, My 1st MS & DB Master running on : 10.1.1.2 2nd MS & DB Slave running on : 10.1.1.3 MS will be in cluster so Both MS will be pointed to : 10.1.1.2 Is it correct ? If so, Which parameter should I change in db.properties to point MS cluster to db master? Regards, Tejas On Tue, Jun 24,

Re: Management Server HA & DB Replication

2014-06-24 Thread Abhinandan Prateek
MS will work in a cluster pointing to same DB. The DB can be configured as master-slave. https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34838207 -abhi On 24/06/14 9:53 am, "Tejas Gadaria" wrote: >Hi, > >I want to make MS on high availability, with automatic failover. >I have

Re: Cloud Stack | Unable to add KVM host

2014-06-24 Thread Ali Ahsan
Getting following error in /var/log/cloudstack/management/apilog.log 2014-06-24 05:55:54,798 INFO [a.c.c.a.ApiServer] (catalina-exec-25:ctx-27372762 ctx-320dcf2a) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listZones&response=json&sessionkey=2

Re: Cloud Stack | Unable to add KVM host

2014-06-24 Thread Ali Ahsan
[root@srvr1 ~]# hostname srvr1.cloud.priv Getting following error in agent.log 2014-06-24 05:17:32,402 WARN [utils.nio.Task] (Agent-Handler-1:null) Caught the following exception but pushing on java.lang.NullPointerException at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdapt

RE: Cloud Stack | Unable to add KVM host

2014-06-24 Thread Suresh Sadhu
Discovery exception comes generally when we don't set host FQDN. What is the output of # hostname --fqdn. Also check the agent log for exceptions .if you followed the instructions properly and still sees an issue ,please feel free to raise a bug using below https://issues.apache.org/ Regard

Re: [acs-4.4] cherry-pick

2014-06-24 Thread Daan Hoogland
On Tue, Jun 24, 2014 at 7:44 AM, Damoder Reddy wrote: > 24401e0b2b575d1aa151dbf5d4e0e0e1de4e9361 is in -- Daan

Re: Cloud Stack | Unable to add KVM host

2014-06-24 Thread Nux!
Hi, Please check the agent.log on the hypervisor, it may contain useful clues as to why the operation has failed. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: "Ali Ahsan" To: users@cloudstack.apache.org Sent: Tuesday, 24 June, 20

RE: Migrating existing VMs into Cloudstack

2014-06-24 Thread Geoff Higginbottom
Hi John, You simply need to export the VMs from the existing XenServer, then import them into CloudStack by first adding them as a Template, then deploying a new VM based on the Template. Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot.

Migrating existing VMs into Cloudstack

2014-06-24 Thread John Muckley
Good morning guys, What is the best process to follow for importing existing Xenserver Virtual Machines from their native hosts into apache cloudstack? I have a couple of VM’s running on some old Xenserver5 hosts that I would like to bring into the cloud, but struggling to find a documented pro

Re: Cloud Stack | Unable to add KVM host

2014-06-24 Thread Ali Ahsan
4.3 On 6/24/2014 12:32 PM, sebgoa wrote: On Jun 24, 2014, at 9:21 AM, Ali Ahsan wrote: Yes I did, I followed Centos Quick Installation guide. Which version of cloudstack are you using ? Ali On 6/24/2014 11:49 AM, Rajani Karuturi wrote: did you do agent install? http://docs.cloudstack.ap

Re: Cloud Stack | Unable to add KVM host

2014-06-24 Thread sebgoa
On Jun 24, 2014, at 9:21 AM, Ali Ahsan wrote: > Yes I did, I followed Centos Quick Installation guide. > Which version of cloudstack are you using ? > Ali > > On 6/24/2014 11:49 AM, Rajani Karuturi wrote: >> did you do agent install? >> http://docs.cloudstack.apache.org/projects/cloudstack-i

Re: Cloud Stack | Unable to add KVM host

2014-06-24 Thread Ali Ahsan
Yes I did, I followed Centos Quick Installation guide. Ali On 6/24/2014 11:49 AM, Rajani Karuturi wrote: did you do agent install? http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent ~Rajani On 24-Jun-2014, at 11: