Re: Cloudmonkey doubt

2015-09-10 Thread Prashant s
you can also use a forloop first get all your projects > list projects domainid=ec1fd5f6-b5c8-11e3-89aa-b208915c1447 filter=id then list your vms in projects > !for i in `cat useast-projects` ; do cloudmonkey list virtualmachines domainid=ac45a97a-a54b-11e3-a5ba-42c77b0ab567 projectid=$i fil

Re: Deployment failed on XenServer due to capacity miscalculation

2015-08-27 Thread Prashant s
gid=94798ce4-45cc-429b-85f3-b168fadac6bc networkids=85f3780a-1c26-4f76-9680-26786da626b9 * *hostid=17b841d3-55c9-4f28-a94e-da20486881a8 **projectid=5dc4f1b8-9c14-47d4-8d0a-6dba9e6d6825 ; done* thanks prashant On Thu, Aug 27, 2015 at 12:00 PM, Prashant s wrote: > i always use cloudmonkey to s

Re: Deployment failed on XenServer due to capacity miscalculation

2015-08-27 Thread Prashant s
i always use cloudmonkey to spin vm on a particular host *cloudmonkey > !for i in {317..326} ; do cloudmonkey deploy virtualmachine domainid=ca467-11e3-9556-9a21ee1e2575 zoneid=52xx0dc-b9ce-c907750e0d61 displayname=hadoopvm-p$i name=hadoop-p$i templateid=0a73a869-3aa6-4d69-94c7-4e9cd9

Re: CS Manager down: all hypervisors reboot

2015-08-19 Thread Prashant s
yes !! i have seen this before, as Somesh pointed out ..,the easy fix is to comment out the last like of the heartbeat.sh script. cloudstack heart beat mechanism are designed to reboot hypervisors if the storage repositories are not available for 120 seconds. This is the cloudstack design fe

Re: XenServer is disconnected after CS hosts shutdown

2015-07-20 Thread Prashant s
some questions : can you please tell ... 1. is your NFS storage or your primary Storage Repository in connected mode with no red cross mark on them in xencenter. 2. did you change any passwords on the xenservers ? 3. is the cloudstack web ui up , can you login to the cloudstack web page. 4. *are

Re: nfs storage issue on xenserver

2015-07-13 Thread Prashant s
es. What you've described sounds very > similar to an issue I understood to have been fixed quite some time ago. > > -tim > > On Sun, Jul 12, 2015 at 5:37 PM, Prashant s wrote: > > > this issue is resolved, > > > > i moved the directory one level up ..now every

Re: nfs storage issue on xenserver

2015-07-12 Thread Prashant s
this issue is resolved, i moved the directory one level up ..now every thing works great ! i wonder how the SR directory got renamed thanks prashant On Sun, Jul 12, 2015 at 11:45 AM, Prashant s wrote: > Greetings ! > > need help with the NFS storage on xenserver .. ... > &

Re: nfs storage issue on xenserver

2015-07-12 Thread Prashant s
-6122-b4ac-cf35ca5a57e1]# ls -l total 16 drwxr-xr-x 2 root root 12288 Jul 12 08:11 *43144902-6d85-6122-b4ac-cf35ca5a57e1* [root@dc1xsv-c3u28n3 43144902-6d85-6122-b4ac-cf35ca5a57e1]# i did not change anything , i dont know how the directory got created, On Sun, Jul 12, 2015 at 11:45 AM, Prashant s

nfs storage issue on xenserver

2015-07-12 Thread Prashant s
Greetings ! need help with the NFS storage on xenserver .. ... there was a network outage , Few of my xenservers rebooted, after the reboot .. now looks like i have storage mount path issue , i have duplicate sub folder inside sr-uuid directory. *all my vhd files are inside /var/run/sr-mount/$

Re: urgent: unable to create new vm

2015-07-10 Thread Prashant s
Hi Sonali, i don't think xenserver cluster will let you build vms in a cluster with mixed versions, this is from my previous experience , i have not tested in XS 6.5 Please upgrade all the xenservers in the cluster. i think this is not a cloudstack issue thanks prashant On Fri, Jul 10, 2

Re: failed upgrade of XenServer from 6.2 to 6.5 with Pool HA enabled

2015-07-07 Thread Prashant s
im sure you would have tried these steps ... , can you try these steps .. xenserver is in maintenance mode in xencenter - > can you try to "right click" on the host in maintenance mode in xencenter and try to "exit maintenance mode" what happens ... if it does not work -- > 1. xe-tool-stack r

Re: Template File size limit exceeded vhd-util

2015-06-17 Thread Prashant s
greetings ! cloudstack by default has a max template upload limit of 50gb , please update / change the " max.template.iso.size "settings in the global settings. and dont forget to restart your management. [image: Inline image 1] thanks prashant On Wed, Jun 17, 2015 at 8:27 AM, mvs babu wro

Re: Change Cluster pool master

2015-05-29 Thread Prashant s
im sure you know this .. but if you have forgotten :-) if you want to be *extra extra safe* , just place the cluster in "*unmanaged state* " in CS web ui. you will see all your xenservers in the cluster in disconnected state now you can change the xen pool master , upgrade xenserver , patc

Re: enable local storage

2015-05-29 Thread Prashant s
ffe213e* The SR should be connected to the XenServer host and be visible in XenCenter Thanks prashant s On Fri, May 29, 2015 at 9:52 AM, Prashant s wrote: > questions : > > is the SSD disks local to the xenserver , then yes you can create local sr > & add to CS. > > Co

Re: enable local storage

2015-05-29 Thread Prashant s
questions : is the SSD disks local to the xenserver , then yes you can create local sr & add to CS. Complete the following procedure to create a Storage Repository (SR) on a new local hard drive (HDD): *Note*: The stored data in the server will be lost. 1. Run the following command to fin

Re: Xen - Deploying servers from a template

2015-04-28 Thread Prashant s
Thanks Geoff, i wasnt aware of this global setting ! this feature will speed up my vm deployments "This automatic clean up can be disabled by updating the global setting storage.template.cleanup.enabled" Thanks prashant S On Tue, Apr 28, 2015 at 7:58 AM, Geoff Hi

trying to change the ip of my secondary storage

2015-04-25 Thread Prashant s
greetings ! im trying to change the ip of my secondary storage , , was following these steps https://github.com/apache/cloudstack-docs/blob/master/en-US/changing-secondary-storage-ip.xml mysql> use cloud; mysql> select id from host where type = 'SecondaryStorage'; mysql> u

Re: SSVM and xenserver secondary storage issue

2015-04-17 Thread Prashant s
Hi Tejas, my guess is your are missing the vhd-util , please download and copy the vhd-util to the xenservers. # find / -name vhd-util /opt/xensource/bin/vhd-util /opt/cloud/bin/vhd-util /usr/bin/vhd-util this is a good doc to refer : http://shankerbalan.net/blog/cloudstack-and-xenserver-vhd-uti

Re: Urgent : CloudStack xenserver 6.2 Cluster

2015-04-07 Thread Prashant s
Hello Fedi, please reset all the xenserver hosts to one common password in a xencluster. this is the easier solution to fix your problem. yes cloudstack will add all the hosts in the xen pool to the ACS Cluster when you add the management , *which is great so you dont have to add all the individu

Re: problem creating instance from template

2015-04-05 Thread Prashant s
couple of questions for you Sonali 1. Are you able to build any new vms using any OTHER template that you already have. try to create a test vm 2. cloudstack pit stop checks from web interface : from your ACS interface check if there are any errors ? a ) can check if any of your hosts , b)

Re: guest VMs running NetBSD or OpenBSD

2015-04-02 Thread Prashant s
i have had luck registering & running many unsupported operating system on xenserver + cloudstack by choosing the OS TYPE as "Other (64bit)" while registering the ISO in ACS. for example ... you can register the iso for Ubuntu 14.04 LTS , CoreOS ,if you choose Other (64bit) as OS Type from th

Re: Workflow for extracting a snapshot

2015-04-01 Thread Prashant s
Disclaimer : this is not great solution and do not try this on a production environment ... , but if you really want to create a vm or volume of a snapshot ... you can create a snapshot in xencenter and extract the snapshot as a file out , convert to vhd and upload as a new template or volume.