cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread rammohan ganapavarapu
Hi,

I am trying to use vagrant to automate my cloudstack virtual infrastructure
but i dont know how to get cloudstack_api_key and secret, can some one
please let me know how to get those?

Thanks,
Ram


Re: Cloudstack with iscsi storage

2014-05-10 Thread rammohan ganapavarapu
Hi,

Is there a way to clone kvm vm in cloudstack? also is there a way to
convert kvm vm as template?

or where can i download kvm templates?

Thanks,
Ram


On Thu, Apr 17, 2014 at 12:25 AM, ilya musayev  wrote:

> Ram
>
> I think you forgot to mention hypervisor type you want to use.
>
> Regards
> ilya
>
> On 4/16/14, 11:34 PM, rammohan ganapavarapu wrote:
>
>> Hi,
>>
>> I am trying to setup a private cloud using cloudstack with ISCSI storage
>> as
>> primary storage, my
>>
>> 1. Do i need to create a filesystem on top of iscsi lun to use it as
>> primary storage or just need to present a raw lun to hyperviser?
>>
>> 2. If i have multiple hosts as VM hosts, do i need to present iscsi luns
>> on
>> all those hosts or one storage hosts should be fine? can i use this
>> storage
>> host as VM host?
>>
>> 3. I have storage on different network, so does management servers or
>> control server neeeds to have access to storage network?
>>
>> Thanks,
>> Ram
>>
>>
>


Re: Total number of Vms?

2014-05-06 Thread rammohan ganapavarapu
Can't you query databse? "select * from user_vm;" some thing like this?


On Tue, May 6, 2014 at 1:58 PM, Juan Gomez  wrote:

> Hello everyone,
>
> How can i quickly count the total number of VMs that exist in my whole
> cluoudstack environment including all the zones ?
>
> Thank You
>
>
>
>
> Email asegurado por Check Point
>
>


cloudstack4.3-kvm hyperviser: Clone vm

2014-05-06 Thread rammohan ganapavarapu
Hi,

In cloudstack4.3, is there a way to clone existing vm and or create
/convert a vm into a template like in proxmox? if so how?

Thanks,
Ram


Re: Cloudstack with iscsi storage

2014-05-05 Thread rammohan ganapavarapu
Hi,

I am getting this message in management server logs,i have a nfs seconday
storage in management server it self. What am i missing? i try to remove
existing sec storage and try to add new but its not letting me delete, any
advice?


There is no secondary storage VM for secondary storage host secondary01

Ram




On Sat, Apr 26, 2014 at 3:25 AM, Ignazio Cassano
wrote:

> You must not create gfs or other file system because with clvm virtual
> machines disks are created on logical volumes .
>  Il giorno 25/apr/2014 20:02, "Nux!"  ha scritto:
>
> > On 25.04.2014 17:59, rammohan ganapavarapu wrote:
> >
> >> Do i have to create gfs or extfs on that lvm or i can just present
> logical
> >> vol itself (/dev/mapper/vg01_vol01)?
> >>
> >
> >
> > You need to configure CLVM, check for tutorials on the web.
> >
> >
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
>


Re: Cloudstack with iscsi storage

2014-04-26 Thread rammohan ganapavarapu
Ok thank you.
On Apr 26, 2014 3:25 AM, "Ignazio Cassano"  wrote:

> You must not create gfs or other file system because with clvm virtual
> machines disks are created on logical volumes .
>  Il giorno 25/apr/2014 20:02, "Nux!"  ha scritto:
>
> > On 25.04.2014 17:59, rammohan ganapavarapu wrote:
> >
> >> Do i have to create gfs or extfs on that lvm or i can just present
> logical
> >> vol itself (/dev/mapper/vg01_vol01)?
> >>
> >
> >
> > You need to configure CLVM, check for tutorials on the web.
> >
> >
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
>


Re: Cloudstack with iscsi storage

2014-04-25 Thread rammohan ganapavarapu
Do i have to create gfs or extfs on that lvm or i can just present logical
vol itself (/dev/mapper/vg01_vol01)?


On Fri, Apr 25, 2014 at 4:03 AM, Nux!  wrote:

> On 25.04.2014 01:11, rammohan ganapavarapu wrote:
>
>> Nux,
>>
>> Thanks for the explanation, in case of clvm, what will be the ip field of
>> primary storage? Same as kvm host up?
>>
>
> In case of CLVM you will not input any IP. You must configure CLVM
> manually on the hosts, then add Primary Storage in Cloudstack which will
> ask for a LVM Volume Group which you will need to create in advance.
>
> HTH
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>


Re: Cloudstack with iscsi storage

2014-04-25 Thread rammohan ganapavarapu
Thank you
On Apr 25, 2014 4:04 AM, "Nux!"  wrote:

> On 25.04.2014 01:11, rammohan ganapavarapu wrote:
>
>> Nux,
>>
>> Thanks for the explanation, in case of clvm, what will be the ip field of
>> primary storage? Same as kvm host up?
>>
>
> In case of CLVM you will not input any IP. You must configure CLVM
> manually on the hosts, then add Primary Storage in Cloudstack which will
> ask for a LVM Volume Group which you will need to create in advance.
>
> HTH
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>


Re: Cloudstack with iscsi storage

2014-04-24 Thread rammohan ganapavarapu
Nux,

Thanks for the explanation, in case of clvm, what will be the ip field of
primary storage? Same as kvm host up?
On Apr 24, 2014 5:02 PM, "Nux!"  wrote:

> On 25.04.2014 00:40, rammohan ganapavarapu wrote:
>
>> One more question, if i have a  NAS and i have presented raw LUN to all my
>> kvm hosts using iscsi, do i still need to setup clvm or can i just use
>> iscsi target and cloudstack will use it as primary storage?
>>
>> I am getting confused with this clvm/shared mount, in cloudstack 4.3 for
>> kvm hyperviser do i really need to setup clvm or shared mount? instead can
>> i directly give storage device ip for primary storage configuration of
>> course all my kvm hosts can talk to storage and can see iscsi LUN?
>>
>
> Hello,
>
> CLVM is a way of using a network block device (eg iSCSI LUN) in a
> cluster-aware manner so you don't end up having multiple nodes using the
> same LVM volumes or updating LVM metadata and corrupting it. What it does
> is makes all nodes aware of the fact that the volume group on top of that
> LUN is used on multiple machines and the cluster software must be consulted
> before using it to make sure it's not used elsewhere.
>
> Shared Mount is a powerful option that enables you to use a filesystem
> that can be shared between nodes, e.g. you can take the above LUN and
> instead of "formatting" as CLVM you can put OCFS2 or GFS2 on top of it and
> use it like a clustered filesystem. Be advised this will probably be more
> complex to set up than CLVM and also less performant.
> Another example of using Shared Mount is mounting a GlusterFS volume as
> data stor, or CephFS, or XtreemFS or pretty much any network/cluster
> filesystem out there, if KVM can run off a qcow2 file off it then it's good
> enough for Cloudstack.
>
> How you would do it in practice is very simple:
> - on all hypervisors mount the desired filesystem/mounpoint in a path,
> e.g. /mnt/glusterfs, make sure it's writable etc
> - add the Primary Storage as Shared Mount point and when asked about the
> path input "/mnt/glusterfs"
>
> HTH
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>


Re: Cloudstack with iscsi storage

2014-04-24 Thread rammohan ganapavarapu
One more question, if i have a  NAS and i have presented raw LUN to all my
kvm hosts using iscsi, do i still need to setup clvm or can i just use
iscsi target and cloudstack will use it as primary storage?

I am getting confused with this clvm/shared mount, in cloudstack 4.3 for
kvm hyperviser do i really need to setup clvm or shared mount? instead can
i directly give storage device ip for primary storage configuration of
course all my kvm hosts can talk to storage and can see iscsi LUN?

Thanks,
Ram


On Thu, Apr 24, 2014 at 4:11 PM, Matthew Midgett
wrote:

> You have to click n on I've used cloud stack before and then go zones and
> add a zone. If you use the wizard to create a basic setup nfs is your only
> option.
>
>
> Sent from my Galaxy S®III
>
>  Original message 
> From: rammohan ganapavarapu 
> Date:04/24/2014  6:46 PM  (GMT-05:00)
> To: users 
> Subject: Re: Cloudstack with iscsi storage
>
> Hi,
>
> I have configured clvm and when i try to setup cloud using cloudstack UI i
> didn't see any other options other than NFS at primary storage step, i am
> missing any thing? what are the other options i should get in drop down
> list?
>
> I am using cloudstack 4.3, centos6.5, please help.
>
> Ram
>
>
> On Sun, Apr 20, 2014 at 3:13 PM, rammohan ganapavarapu <
> rammohanga...@gmail.com> wrote:
>
> > Geoff,
> >
> > Thank you that is what i wanted to have. I am planning to have NFS for
> > secondary and CLVM for primary as cloudstack doesn't support direct SAN,
> > not sure is there any other solution to present my SAN luns to all the VM
> > hosts.
> >
> > Ram
> >
> >
> > On Sun, Apr 20, 2014 at 3:07 PM, Geoff Higginbottom <
> > geoff.higginbot...@shapeblue.com> wrote:
> >
> >> Ram,
> >>
> >> The management server(s) need to have access to secondary storage, not
> >> primary.  If you have placed your pri and sec storage devices on a
> common
> >> network (perfectly acceptable config) then you just need to ensure the
> >> management servers have access to the sec storage devices.  Best
> practice
> >> has always been to restrict access to the pri storage devices to only
> the
> >> hosts within the clusters serviced by the pri storage.
> >>
> >> Regards
> >>
> >> Geoff Higginbottom
> >> CTO / Cloud Architect
> >>
> >>
> >> D: +44 20 3603 0542 | S: +44 20 3603 0540 >> +442036030540> | M: +447968161581
> >>
> >> geoff.higginbot...@shapeblue.com geoff.higginbot...@shapeblue.com>
> >> | www.shapeblue.com
> >>
> >> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
> >> 4HS
> >>
> >>
> >>
> >> On 20 Apr 2014, at 21:44, "rammohan ganapavarapu" <
> >> rammohanga...@gmail.com<mailto:rammohanga...@gmail.com>> wrote:
> >>
> >> Thanks for the video, i have one more question,
> >>
> >> So CS/management server needs to have access to storage network? i have
> >> two
> >> networks one for storage and one for regular traffic, my hyperviser
> hosts
> >> can connect to  storage but my management server doesn't have
> connectivity
> >> to storage, i am wondering does management server needs to have
> connection
> >> to storage (primary)
> >>
> >> Ram
> >>
> >>
> >> On Thu, Apr 17, 2014 at 8:57 PM, Matthew Midgett
> >> mailto:supp...@trickhosting.biz>>wrote:
> >>
> >> How about a video? Also follow these steps below that I posted as a
> >> comment to her video
> >>
> >> http://www.youtube.com/watch?v=srwCdkBEGZQ
> >>
> >> To those who are trying to install luci on centos or rhel 6 series after
> >> you install luci you run the command "service luci start" and "chkconfig
> >> luci on" this will start luci and set it to run at boot. There is no
> more
> >> luci_admin init.?
> >> Also the password is your root password.?
> >>
> >>
> >>
> >>
> >> On 04/17/2014 11:33 PM, rammohan ganapavarapu wrote:
> >>
> >> Can you please share your install commands?
> >>
> >>
> >> On Thu, Apr 17, 2014 at 8:24 PM, Matthew Midgett
> >> mailto:supp...@trickhosting.biz>>wrote:
> >>
> >> If your going to use clvm look up a tool called luci by redhat.  It will
> >> help you setup your cluster and fencing agents. If you need help I'm
> >> sur

Re: Cloudstack with iscsi storage

2014-04-24 Thread rammohan ganapavarapu
Ok, i did see presetup but what is the IP and path details? i have 4 node
cluster with clvm and i wanted to use these 4 as kvm hosts, so for each
host what will be values of IP and Path?


On Thu, Apr 24, 2014 at 4:12 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Ram,
>
> You should also see an option called PreSetup.
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 +442036030540> | M: +447968161581
>
> geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com>
> | www.shapeblue.com | Twitter:@cloudstackguru<
> https://twitter.com/#!/cloudstackguru>
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
> 4HS
>
>
> On 24 Apr 2014, at 23:47, "rammohan ganapavarapu"  <mailto:rammohanga...@gmail.com>> wrote:
>
> Hi,
>
> I have configured clvm and when i try to setup cloud using cloudstack UI i
> didn't see any other options other than NFS at primary storage step, i am
> missing any thing? what are the other options i should get in drop down
> list?
>
> I am using cloudstack 4.3, centos6.5, please help.
>
> Ram
>
>
> On Sun, Apr 20, 2014 at 3:13 PM, rammohan ganapavarapu <
> rammohanga...@gmail.com<mailto:rammohanga...@gmail.com>> wrote:
>
> Geoff,
>
> Thank you that is what i wanted to have. I am planning to have NFS for
> secondary and CLVM for primary as cloudstack doesn't support direct SAN,
> not sure is there any other solution to present my SAN luns to all the VM
> hosts.
>
> Ram
>
>
> On Sun, Apr 20, 2014 at 3:07 PM, Geoff Higginbottom <
> geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com>>
> wrote:
>
> Ram,
>
> The management server(s) need to have access to secondary storage, not
> primary.  If you have placed your pri and sec storage devices on a common
> network (perfectly acceptable config) then you just need to ensure the
> management servers have access to the sec storage devices.  Best practice
> has always been to restrict access to the pri storage devices to only the
> hosts within the clusters serviced by the pri storage.
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 +442036030540> | M: +447968161581
>
> geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com
> ><mailto:geoff.higginbot...@shapeblue.com>
> | www.shapeblue.com<http://www.shapeblue.com>
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
> 4HS
>
>
>
> On 20 Apr 2014, at 21:44, "rammohan ganapavarapu" <
> rammohanga...@gmail.com<mailto:rammohanga...@gmail.com> rammohanga...@gmail.com>> wrote:
>
> Thanks for the video, i have one more question,
>
> So CS/management server needs to have access to storage network? i have
> two
> networks one for storage and one for regular traffic, my hyperviser hosts
> can connect to  storage but my management server doesn't have connectivity
> to storage, i am wondering does management server needs to have connection
> to storage (primary)
>
> Ram
>
>
> On Thu, Apr 17, 2014 at 8:57 PM, Matthew Midgett
> mailto:supp...@trickhosting.biz> supp...@trickhosting.biz>>wrote:
>
> How about a video? Also follow these steps below that I posted as a
> comment to her video
>
> http://www.youtube.com/watch?v=srwCdkBEGZQ
>
> To those who are trying to install luci on centos or rhel 6 series after
> you install luci you run the command "service luci start" and "chkconfig
> luci on" this will start luci and set it to run at boot. There is no more
> luci_admin init.?
> Also the password is your root password.?
>
>
>
>
> On 04/17/2014 11:33 PM, rammohan ganapavarapu wrote:
>
> Can you please share your install commands?
>
>
> On Thu, Apr 17, 2014 at 8:24 PM, Matthew Midgett
> mailto:supp...@trickhosting.biz> supp...@trickhosting.biz>>wrote:
>
> If your going to use clvm look up a tool called luci by redhat.  It will
> help you setup your cluster and fencing agents. If you need help I'm
> sure I
> can find my install commands in history. Clvm allows to share a logical
> volume but you still have to provide the transport layer.  Fiber, nfs...
> and other technologies.
>
>
> Sent from my Galaxy S(r)III
>
>  Original message 
> From: rammohan ganapavarapu  rammohanga...@gmail.com> rammohanga...@gmail.com<mailto:rammohanga...@gmail.com>>>
> Date:04/17/2014  10:32 PM  (GMT-05:00)
> To: users mailto:users@cloudstack.apache.org

Re: Cloudstack with iscsi storage

2014-04-24 Thread rammohan ganapavarapu
Hi,

I have configured clvm and when i try to setup cloud using cloudstack UI i
didn't see any other options other than NFS at primary storage step, i am
missing any thing? what are the other options i should get in drop down
list?

I am using cloudstack 4.3, centos6.5, please help.

Ram


On Sun, Apr 20, 2014 at 3:13 PM, rammohan ganapavarapu <
rammohanga...@gmail.com> wrote:

> Geoff,
>
> Thank you that is what i wanted to have. I am planning to have NFS for
> secondary and CLVM for primary as cloudstack doesn't support direct SAN,
> not sure is there any other solution to present my SAN luns to all the VM
> hosts.
>
> Ram
>
>
> On Sun, Apr 20, 2014 at 3:07 PM, Geoff Higginbottom <
> geoff.higginbot...@shapeblue.com> wrote:
>
>> Ram,
>>
>> The management server(s) need to have access to secondary storage, not
>> primary.  If you have placed your pri and sec storage devices on a common
>> network (perfectly acceptable config) then you just need to ensure the
>> management servers have access to the sec storage devices.  Best practice
>> has always been to restrict access to the pri storage devices to only the
>> hosts within the clusters serviced by the pri storage.
>>
>> Regards
>>
>> Geoff Higginbottom
>> CTO / Cloud Architect
>>
>>
>> D: +44 20 3603 0542 | S: +44 20 3603 0540> +442036030540> | M: +447968161581
>>
>> geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com>
>> | www.shapeblue.com
>>
>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
>> 4HS
>>
>>
>>
>> On 20 Apr 2014, at 21:44, "rammohan ganapavarapu" <
>> rammohanga...@gmail.com<mailto:rammohanga...@gmail.com>> wrote:
>>
>> Thanks for the video, i have one more question,
>>
>> So CS/management server needs to have access to storage network? i have
>> two
>> networks one for storage and one for regular traffic, my hyperviser hosts
>> can connect to  storage but my management server doesn't have connectivity
>> to storage, i am wondering does management server needs to have connection
>> to storage (primary)
>>
>> Ram
>>
>>
>> On Thu, Apr 17, 2014 at 8:57 PM, Matthew Midgett
>> mailto:supp...@trickhosting.biz>>wrote:
>>
>> How about a video? Also follow these steps below that I posted as a
>> comment to her video
>>
>> http://www.youtube.com/watch?v=srwCdkBEGZQ
>>
>> To those who are trying to install luci on centos or rhel 6 series after
>> you install luci you run the command "service luci start" and "chkconfig
>> luci on" this will start luci and set it to run at boot. There is no more
>> luci_admin init.?
>> Also the password is your root password.?
>>
>>
>>
>>
>> On 04/17/2014 11:33 PM, rammohan ganapavarapu wrote:
>>
>> Can you please share your install commands?
>>
>>
>> On Thu, Apr 17, 2014 at 8:24 PM, Matthew Midgett
>> mailto:supp...@trickhosting.biz>>wrote:
>>
>> If your going to use clvm look up a tool called luci by redhat.  It will
>> help you setup your cluster and fencing agents. If you need help I'm
>> sure I
>> can find my install commands in history. Clvm allows to share a logical
>> volume but you still have to provide the transport layer.  Fiber, nfs...
>> and other technologies.
>>
>>
>> Sent from my Galaxy S(r)III
>>
>>  Original message 
>> From: rammohan ganapavarapu > rammohanga...@gmail.com>>
>> Date:04/17/2014  10:32 PM  (GMT-05:00)
>> To: users mailto:users@cloudstack.apache.org
>> >>
>> Subject: Re: Cloudstack with iscsi storage
>>
>> Ok thank you, can I use nfs? Which one gives better performance nfs or
>> clvm?
>> On Apr 17, 2014 5:21 PM, "Nux!" mailto:n...@li.nux.ro>>
>> wrote:
>>
>> On 18.04.2014 00:33, rammohan ganapavarapu wrote:
>>
>> Ilya,
>>
>> I am planning to use KVM as my hypervisor and CentOS6.4 please advice
>>
>> me.
>>
>> Ram
>>
>> Then you want to use CLVM. See http://www.slideshare.net/
>> MarcusLSorensen/cloud-stack-clvm
>>
>> And upgrade to CentOS 6.5.
>>
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro<http://www.nux.ro>
>>
>>
>>
>> Need Enterprise Grade Support for Apache CloudStack?
>> Our CloudStack Infrastructure Support<
>> http://sha

CLVM

2014-04-24 Thread rammohan ganapavarapu
Does any one know how to setup CLVM and use it for primary storage on
centos6? I have a iscsi SAN attached to my hyperviser (kvm) hosts and
wanted to use that LUN as primary storage and for kvm hyperviser i think i
have to use some kind of clustered vol mechanism. Please share if any one
have done already.

Thanks,
Ram


Re: KVM - Migration of CLVM volumes to another primary storage fail

2014-04-23 Thread rammohan ganapavarapu
Does any one configured clvm for primary storage? can you please help me to
configure clvm with iscsi LUNs?

Ram


On Sun, Apr 20, 2014 at 2:57 AM, Salvatore Sciacco wrote:

> ACS version: 4.2.1
> Hypervisors: KVM
> Storage pool type: CLVM
>
> Since we upgraded from 4.1 to 4.2.1 moving volumes to a different primary
> storage pool fail. I've enabled debug on the agents side and I think there
> is a problem with the format  type conversion
>
> Volume on database has format QCOW2
>
> these are the parameters for the first step (CLVM -> NFS):
>
>
> "srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"cda46430-52d7-4bf0-b0c2-adfc78dd011c","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"655d6965-b3f3-4118-a970-d50cf6afc365","id":211,"poolType":"CLVM","host":"localhost","path":"/FC10KY1","port":0}},"name":"ROOT-4450","size":5368709120,"path":"39a25daf-23a1-4b65-99ac-fb98469ac197","volumeId":5937,"vmName":"i-402-4450-VM","accountId":402,"format":"QCOW2","id":5937,"hypervisorType":"KVM"}}
>
>
> "destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"cda46430-52d7-4bf0-b0c2-adfc78dd011c","volumeType":"ROOT","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> 192.168.11.6/home/a1iwstack
>
> ","_role":"Image"}},"name":"ROOT-4450","size":5368709120,"path":"volumes/402/5937","volumeId":5937,"vmName":"i-402-4450-VM","accountId":402,"format":"QCOW2","id":5937,"hypervisorType":"KVM"}}
>
>
> Those commads are translated into the agent:
> DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Executing:
> qemu-img info /dev/FC10KY1/39a25daf-23a1-4b65-99ac-fb98469ac197
> DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Execution is
> successful.
> DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Executing:
> */bin/bash
> -c cp -f /dev/FC10KY1/39a25daf-23a1-4b65-99ac-fb98469ac197
>
> /mnt/b8311c72-fe75-3832-98fc-975445028a12/5c713376-c418-478c-8a31-89c4181cb48e.qcow2*
>
>
> With the result that the output file isn't a qcow2 file but a raw
> partition, which in turn make the next step fail.
> (NFS -> CLVM)
>
> DEBUG [utils.script.Script] (agentRequest-Handler-2:) Executing: qemu-img
> info
>
> /mnt/b8311c72-fe75-3832-98fc-975445028a12/b9303d8d-cd51-4b6c-a244-43c405df4238.qcow2
> DEBUG [utils.script.Script] (agentRequest-Handler-2:) Execution is
> successful.
> DEBUG [utils.script.Script] (agentRequest-Handler-2:) Executing: qemu-img
> convert -f qcow2 -O
>
> raw/mnt/b8311c72-fe75-3832-98fc-975445028a12/b9303d8d-cd51-4b6c-a244-43c405df4238.qcow2
> /dev/FCSTORAGE/da162325-467b-4e78-af07-4bad85470d66
> DEBUG [utils.script.Script] (agentRequest-Handler-2:) Exit value is 1
> DEBUG [utils.script.Script] (agentRequest-Handler-2:) qemu-img: Could not
> open
>
> '/mnt/b8311c72-fe75-3832-98fc-975445028a12/b9303d8d-cd51-4b6c-a244-43c405df4238.qcow2'qemu-img:
> Could not open
>
> '/mnt/b8311c72-fe75-3832-98fc-975445028a12/b9303d8d-cd51-4b6c-a244-43c405df4238.qcow2'
> ERROR [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:) Failed
> to convert
>
> /mnt/b8311c72-fe75-3832-98fc-975445028a12/b9303d8d-cd51-4b6c-a244-43c405df4238.qcow2
> to /dev/FCSTORAGE/da162325-467b-4e78-af07-4bad85470d66 the error was:
> qemu-img: Could not open
>
> '/mnt/b8311c72-fe75-3832-98fc-975445028a12/b9303d8d-cd51-4b6c-a244-43c405df4238.qcow2'qemu-img:
> Could not open
>
> '/mnt/b8311c72-fe75-3832-98fc-975445028a12/b9303d8d-cd51-4b6c-a244-43c405df4238.qcow2'
>
> If I change on the database the format of the volume to RAW the effect is
> even worse as *data is lost* in the process!
>
> These are the parameter for the first step (CLVM => NFS)
>
>
> "srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"cda46430-52d7-4bf0-b0c2-adfc78dd011c","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"655d6965-b3f3-4118-a970d50cf6afc365","id":211,"poolType":"CLVM","host":"localhost","path":"/FC10KY1","port":0}},"name":"ROOT-4450"
>
> ,"size":5368709120,"path":"39a25daf-23a1-4b65-99ac-fb98469ac197","volumeId":5937,"vmName":"i-4024450VM","accountId":402,
> "format":"RAW","id":5937,"hypervisorType":"KVM"}},
>
>
> "destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"cda46430-52d7-4bf0-b0c2-adfc78dd011c","volumeType":"ROOT","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> 192.168.11.6/home/a1iwstack
>
> ","_role":"Image"}},"name":"ROOT4450","size":5368709120,"path":"volumes/402/5937","volumeId":5937,"vmName":"i-402-4450-VM","accountId":402,
> "format":"RAW","id":5937,"hypervisorType":"KVM"}}
>
> this time the output is converted to qcow2!
>
> DEBUG [utils.script.Script] (agentRequest-Handler-3:null) Executing:
> qemu-img info /dev/FC10KY1/39a25daf-23a1-4b65-99ac-fb98469ac197
> DEBUG [utils.script.Script] (agentRequest-Handler-3:null) Execution is
> successful.
> DEBUG [utils.script.Script] (agentRequest-Handler-3:null) *Executing:
> qemu-img convert -f raw -O qcow2
> */dev/FC10KY1/39

Re: Cloudstack with iscsi storage

2014-04-20 Thread rammohan ganapavarapu
Geoff,

Thank you that is what i wanted to have. I am planning to have NFS for
secondary and CLVM for primary as cloudstack doesn't support direct SAN,
not sure is there any other solution to present my SAN luns to all the VM
hosts.

Ram


On Sun, Apr 20, 2014 at 3:07 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Ram,
>
> The management server(s) need to have access to secondary storage, not
> primary.  If you have placed your pri and sec storage devices on a common
> network (perfectly acceptable config) then you just need to ensure the
> management servers have access to the sec storage devices.  Best practice
> has always been to restrict access to the pri storage devices to only the
> hosts within the clusters serviced by the pri storage.
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 +442036030540> | M: +447968161581
>
> geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com>
> | www.shapeblue.com
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
> 4HS
>
>
>
> On 20 Apr 2014, at 21:44, "rammohan ganapavarapu"  <mailto:rammohanga...@gmail.com>> wrote:
>
> Thanks for the video, i have one more question,
>
> So CS/management server needs to have access to storage network? i have two
> networks one for storage and one for regular traffic, my hyperviser hosts
> can connect to  storage but my management server doesn't have connectivity
> to storage, i am wondering does management server needs to have connection
> to storage (primary)
>
> Ram
>
>
> On Thu, Apr 17, 2014 at 8:57 PM, Matthew Midgett
> mailto:supp...@trickhosting.biz>>wrote:
>
> How about a video? Also follow these steps below that I posted as a
> comment to her video
>
> http://www.youtube.com/watch?v=srwCdkBEGZQ
>
> To those who are trying to install luci on centos or rhel 6 series after
> you install luci you run the command "service luci start" and "chkconfig
> luci on" this will start luci and set it to run at boot. There is no more
> luci_admin init.?
> Also the password is your root password.?
>
>
>
>
> On 04/17/2014 11:33 PM, rammohan ganapavarapu wrote:
>
> Can you please share your install commands?
>
>
> On Thu, Apr 17, 2014 at 8:24 PM, Matthew Midgett
> mailto:supp...@trickhosting.biz>>wrote:
>
> If your going to use clvm look up a tool called luci by redhat.  It will
> help you setup your cluster and fencing agents. If you need help I'm
> sure I
> can find my install commands in history. Clvm allows to share a logical
> volume but you still have to provide the transport layer.  Fiber, nfs...
> and other technologies.
>
>
> Sent from my Galaxy S(r)III
>
>  Original message 
> From: rammohan ganapavarapu  rammohanga...@gmail.com>>
> Date:04/17/2014  10:32 PM  (GMT-05:00)
> To: users mailto:users@cloudstack.apache.org
> >>
> Subject: Re: Cloudstack with iscsi storage
>
> Ok thank you, can I use nfs? Which one gives better performance nfs or
> clvm?
> On Apr 17, 2014 5:21 PM, "Nux!" mailto:n...@li.nux.ro>>
> wrote:
>
> On 18.04.2014 00:33, rammohan ganapavarapu wrote:
>
> Ilya,
>
> I am planning to use KVM as my hypervisor and CentOS6.4 please advice
>
> me.
>
> Ram
>
> Then you want to use CLVM. See http://www.slideshare.net/
> MarcusLSorensen/cloud-stack-clvm
>
> And upgrade to CentOS 6.5.
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro<http://www.nux.ro>
>
>
>
> Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/> offers the best
> 24/7 SLA for CloudStack Environments.
>
> Apache CloudStack Bootcamp training courses
>
> **NEW!** CloudStack 4.2.1 training<
> http://shapeblue.com/cloudstack-training/>
> 28th-29th May 2014, Bangalore. Classromm<
> http://shapeblue.com/cloudstack-training/>
> 16th-20th June 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 23rd-27th June 2014, Region B. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 15th-20th September 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 22nd-27th September 2014, Region B. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 1st-6th December 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 8th-

Re: Cloudstack with iscsi storage

2014-04-20 Thread rammohan ganapavarapu
Thanks for the video, i have one more question,

So CS/management server needs to have access to storage network? i have two
networks one for storage and one for regular traffic, my hyperviser hosts
can connect to  storage but my management server doesn't have connectivity
to storage, i am wondering does management server needs to have connection
to storage (primary)

Ram


On Thu, Apr 17, 2014 at 8:57 PM, Matthew Midgett
wrote:

> How about a video? Also follow these steps below that I posted as a
> comment to her video
>
> http://www.youtube.com/watch?v=srwCdkBEGZQ
>
> To those who are trying to install luci on centos or rhel 6 series after
> you install luci you run the command "service luci start" and "chkconfig
> luci on" this will start luci and set it to run at boot. There is no more
> luci_admin init.
> Also the password is your root password.
>
>
>
>
> On 04/17/2014 11:33 PM, rammohan ganapavarapu wrote:
>
>> Can you please share your install commands?
>>
>>
>> On Thu, Apr 17, 2014 at 8:24 PM, Matthew Midgett
>> wrote:
>>
>>  If your going to use clvm look up a tool called luci by redhat.  It will
>>> help you setup your cluster and fencing agents. If you need help I'm
>>> sure I
>>> can find my install commands in history. Clvm allows to share a logical
>>> volume but you still have to provide the transport layer.  Fiber, nfs...
>>> and other technologies.
>>>
>>>
>>> Sent from my Galaxy S®III
>>>
>>>  Original message 
>>> From: rammohan ganapavarapu 
>>> Date:04/17/2014  10:32 PM  (GMT-05:00)
>>> To: users 
>>> Subject: Re: Cloudstack with iscsi storage
>>>
>>> Ok thank you, can I use nfs? Which one gives better performance nfs or
>>> clvm?
>>> On Apr 17, 2014 5:21 PM, "Nux!"  wrote:
>>>
>>>  On 18.04.2014 00:33, rammohan ganapavarapu wrote:
>>>>
>>>>  Ilya,
>>>>>
>>>>> I am planning to use KVM as my hypervisor and CentOS6.4 please advice
>>>>>
>>>> me.
>>>
>>>> Ram
>>>>>
>>>>>  Then you want to use CLVM. See http://www.slideshare.net/
>>>> MarcusLSorensen/cloud-stack-clvm
>>>>
>>>> And upgrade to CentOS 6.5.
>>>>
>>>> Lucian
>>>>
>>>> --
>>>> Sent from the Delta quadrant using Borg technology!
>>>>
>>>> Nux!
>>>> www.nux.ro
>>>>
>>>>
>


Re: Cloudstack with iscsi storage

2014-04-17 Thread rammohan ganapavarapu
Can you please share your install commands?


On Thu, Apr 17, 2014 at 8:24 PM, Matthew Midgett
wrote:

> If your going to use clvm look up a tool called luci by redhat.  It will
> help you setup your cluster and fencing agents. If you need help I'm sure I
> can find my install commands in history. Clvm allows to share a logical
> volume but you still have to provide the transport layer.  Fiber, nfs...
> and other technologies.
>
>
> Sent from my Galaxy S®III
>
>  Original message ----
> From: rammohan ganapavarapu 
> Date:04/17/2014  10:32 PM  (GMT-05:00)
> To: users 
> Subject: Re: Cloudstack with iscsi storage
>
> Ok thank you, can I use nfs? Which one gives better performance nfs or
> clvm?
> On Apr 17, 2014 5:21 PM, "Nux!"  wrote:
>
> > On 18.04.2014 00:33, rammohan ganapavarapu wrote:
> >
> >> Ilya,
> >>
> >> I am planning to use KVM as my hypervisor and CentOS6.4 please advice
> me.
> >>
> >> Ram
> >>
> >
> > Then you want to use CLVM. See http://www.slideshare.net/
> > MarcusLSorensen/cloud-stack-clvm
> >
> > And upgrade to CentOS 6.5.
> >
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
>


Re: Cloudstack with iscsi storage

2014-04-17 Thread rammohan ganapavarapu
Ok thank you, can I use nfs? Which one gives better performance nfs or clvm?
On Apr 17, 2014 5:21 PM, "Nux!"  wrote:

> On 18.04.2014 00:33, rammohan ganapavarapu wrote:
>
>> Ilya,
>>
>> I am planning to use KVM as my hypervisor and CentOS6.4 please advice me.
>>
>> Ram
>>
>
> Then you want to use CLVM. See http://www.slideshare.net/
> MarcusLSorensen/cloud-stack-clvm
>
> And upgrade to CentOS 6.5.
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>


Re: Cloudstack with iscsi storage

2014-04-17 Thread rammohan ganapavarapu
Ilya,

I am planning to use KVM as my hypervisor and CentOS6.4 please advice me.

Ram


On Thu, Apr 17, 2014 at 12:25 AM, ilya musayev  wrote:

> Ram
>
> I think you forgot to mention hypervisor type you want to use.
>
> Regards
> ilya
>
> On 4/16/14, 11:34 PM, rammohan ganapavarapu wrote:
>
>> Hi,
>>
>> I am trying to setup a private cloud using cloudstack with ISCSI storage
>> as
>> primary storage, my
>>
>> 1. Do i need to create a filesystem on top of iscsi lun to use it as
>> primary storage or just need to present a raw lun to hyperviser?
>>
>> 2. If i have multiple hosts as VM hosts, do i need to present iscsi luns
>> on
>> all those hosts or one storage hosts should be fine? can i use this
>> storage
>> host as VM host?
>>
>> 3. I have storage on different network, so does management servers or
>> control server neeeds to have access to storage network?
>>
>> Thanks,
>> Ram
>>
>>
>


Re: Cloudstack with iscsi storage

2014-04-17 Thread rammohan ganapavarapu
I want to use kvm.
On Apr 17, 2014 12:26 AM, "ilya musayev" 
wrote:

> Ram
>
> I think you forgot to mention hypervisor type you want to use.
>
> Regards
> ilya
> On 4/16/14, 11:34 PM, rammohan ganapavarapu wrote:
>
>> Hi,
>>
>> I am trying to setup a private cloud using cloudstack with ISCSI storage
>> as
>> primary storage, my
>>
>> 1. Do i need to create a filesystem on top of iscsi lun to use it as
>> primary storage or just need to present a raw lun to hyperviser?
>>
>> 2. If i have multiple hosts as VM hosts, do i need to present iscsi luns
>> on
>> all those hosts or one storage hosts should be fine? can i use this
>> storage
>> host as VM host?
>>
>> 3. I have storage on different network, so does management servers or
>> control server neeeds to have access to storage network?
>>
>> Thanks,
>> Ram
>>
>>
>


Cloudstack with iscsi storage

2014-04-16 Thread rammohan ganapavarapu
Hi,

I am trying to setup a private cloud using cloudstack with ISCSI storage as
primary storage, my

1. Do i need to create a filesystem on top of iscsi lun to use it as
primary storage or just need to present a raw lun to hyperviser?

2. If i have multiple hosts as VM hosts, do i need to present iscsi luns on
all those hosts or one storage hosts should be fine? can i use this storage
host as VM host?

3. I have storage on different network, so does management servers or
control server neeeds to have access to storage network?

Thanks,
Ram