You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Asmita Vagyani <As...@sigma-systems.com> on 2012/12/27 13:33:05 UTC

CloudStack Installation Query

Hi,

I am trying to install CloudStack 4 on the system.
I am having RHEL 6.3 system for the CloudStack Management server installation.

I am following standard Installation guide to do so.
Location -  http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/index.html
I am referring to Section 3, 3.5 and 3.6 particularly.

I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

Please clarify.

Thanks and Regards.
Asmita.

Re: CloudStack Installation Query

Posted by sebgoa <ru...@gmail.com>.
Asmita,

If you are running RHEL 6.3 you should use rpms.

Note that the installation guide sections that you mention deal with building the rpms from source yourself.

The community is hosting a pre-built rpm repository that you can use directly without having to build from source.
See: http://incubator.apache.org/cloudstack/downloads.html


-Sebastien

On Dec 27, 2012, at 1:33 PM, Asmita Vagyani wrote:

> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -  http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.


RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Thanks Sebastian.
The solution worked.


Thanks and Regards.

Asmita .


-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com] 
Sent: 27 December 2012 PM 07:01
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -  
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 



RE: CloudStack Installation Query

Posted by Sailaja Mada <sa...@citrix.com>.
Hi,

I am able locate the script @ /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt in my rhel setup.

Thanks,
Sailaja.M

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com] 
Sent: Monday, December 31, 2012 2:50 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

I am using RHEL



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Sailaja Mada [mailto:sailaja.mada@citrix.com] 
Sent: 31 December 2012 PM 02:43
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi,

Please use below path if your setup is on Ubuntu.:

/usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt

Thanks,
Sailaja.M

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Monday, December 31, 2012 2:16 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

I am following the Cloudstack 4 documentation for installation.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

Its says to run one or more of the following cloud-install-sys-tmplt commands to retrieve and decompress the system VM template - For vSphere run command below:
# /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova -h vmware -s <optional-management-server-secret-key>  -F

I made a correction in the file path and run the command as below:
#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-h vmware -s welcome123 -F

It gives an error command not found.
cloud-install-sys-tmplt: command not found Any idea why this is not working?

Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
Sent: 28 December 2012 AM 10:48
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Thank you for pointing out the errors in docs.

Please file a documentation defect in case you find any.

Thanks
-Radhika

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com]
Sent: Thursday, December 27, 2012 7:01 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 


Re: CloudStack Installation Query

Posted by Marc Cirauqui <mc...@gmail.com>.
Hi,

Between:

/export *(rw,async,no_root_squash)
>
> And:


>  Then I run cloud-install-sys-tmplt command below to retrieve and
> decompress the system VM template - For vSphere:
>
> #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.ova
>  -h vmware -s welcome123 -F
>

Did you mount /export on /mnt/secondary? In cloud-install-sys-tmplt command
call the /mnt/secondary bit is where to install the template and that
should be your secondary storage mount point.

thx

Re: CloudStack Installation Query

Posted by linuxsupport <li...@gmail.com>.
It is not mandatory but just to make sure that host machine is able to
reach to NFS server and can mount it.

On Thu, Jan 3, 2013 at 7:04 PM, Asmita Vagyani <
Asmita.Vagyani@sigma-systems.com> wrote:

> Hi all,
>
> Is it a mandate that we have to configure/mount a secondary storage nfs
> server before cloudstack management server installation?
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 PM 12:49
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> Hi all,
>
> I am following the Cloudstack 4 documentation for installation on RHEL.
> Please refer
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
> Step 4.5.7. Prepare the System VM Template
>
> I have mounted the secondary storage device on another NFS server and can
> see that its mounted.
> I added line below to my /etc/exports file also :
> /export *(rw,async,no_root_squash)
>
> Then I run cloud-install-sys-tmplt command below to retrieve and
> decompress the system VM template - For vSphere:
>
> #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.ova
>  -h vmware -s welcome123 -F
>
> I get the following error -
> rm: cannot remove
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//template.properties':
> Permission denied Failed to clean up template directory
> /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> Installation failed
>
> Did anyone of you face the same problem?
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 31 December 2012 PM 02:50
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> I am using RHEL
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> Sent: 31 December 2012 PM 02:43
> To: cloudstack-users@incubator.apache.org
> Subject: RE: CloudStack Installation Query
>
> Hi,
>
> Please use below path if your setup is on Ubuntu.:
>
> /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt
>
> Thanks,
> Sailaja.M
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: Monday, December 31, 2012 2:16 PM
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> Hi all,
>
> I am following the Cloudstack 4 documentation for installation.
> Please refer
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
> Step 4.5.7. Prepare the System VM Template
>
> Its says to run one or more of the following cloud-install-sys-tmplt
> commands to retrieve and decompress the system VM template - For vSphere
> run command below:
> #
> /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-h vmware -s <optional-management-server-secret-key>  -F
>
> I made a correction in the file path and run the command as below:
> #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-hvmware -s welcome123 -F
>
> It gives an error command not found.
> cloud-install-sys-tmplt: command not found Any idea why this is not
> working?
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> Sent: 28 December 2012 AM 10:48
> To: cloudstack-users@incubator.apache.org
> Subject: RE: CloudStack Installation Query
>
> Thank you for pointing out the errors in docs.
>
> Please file a documentation defect in case you find any.
>
> Thanks
> -Radhika
>
> -----Original Message-----
> From: sebgoa [mailto:runseb@gmail.com]
> Sent: Thursday, December 27, 2012 7:01 PM
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
>
> Asmita,
>
> I believe there is an issue with the documentation.
>
> try to replace the baseurl with:
>
> baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
>
> and do:
>
> > $ rpm --import http://cloudstack.apt-get.eu/release.asc
>
>
> I have not tested it, so please let us know if it works or not.
>
> thanks,
>
> -Sebastien
>
> On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
>
> > Hi,
> >
> > Thanks Jerry for clarifying.
> >
> > My next query is:
> > I am using an RPM-based system, I want to add the Yum repository so that
> I can install CloudStack with Yum.
> > I have created a repos file under /etc/yum.repos.d.
> >
> > [cloudstack]
> > name=cloudstack
> > baseurl=http://server.url/downloads/rpm/stable/
> > enabled=1
> > gpgcheck=1
> >
> > Next you'll want to add the GPG key:
> > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> >
> >
> > (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What
> > will be the value of server.url?
> >
> > Thanks and Regards.
> >
> > Asmita
> >
> >
> > -----Original Message-----
> > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> > Sent: 27 December 2012 PM 06:20
> > To: cloudstack-users@incubator.apache.org
> > Subject: Re: CloudStack Installation Query
> >
> > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> >
> > Jerry
> >
> > ----- Original Message -----
> > From: "Asmita Vagyani" <As...@sigma-systems.com>
> > To: "cloudstack-users@incubator.apache.org"
> > <cl...@incubator.apache.org>
> > Sent: Thursday, December 27, 2012 8:33:05 PM
> > Subject: CloudStack Installation Query
> >
> > Hi,
> >
> > I am trying to install CloudStack 4 on the system.
> > I am having RHEL 6.3 system for the CloudStack Management server
> installation.
> >
> > I am following standard Installation guide to do so.
> > Location -
> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> > 0.0-incubating/html/Installation_Guide/index.html
> > I am referring to Section 3, 3.5 and 3.6 particularly.
> >
> > I wanted to confirm if I should perform step in section 3.5 only if my
> server OS is Ubuntu and perform steps in section 3.6 if my management
> server is RHEL server.
> > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> >
> > Please clarify.
> >
> > Thanks and Regards.
> > Asmita.
> >
> >
>
>

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Yup, I did it.
The permissions problem disappeared when I unmounted the nfs drive and ran the installation template.
And it worked then.



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com] 
Sent: 03 January 2013 PM 07:46
To: cloudstack-users
Subject: Re: CloudStack Installation Query

Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on your management server...".

If it's there, I guess you did it (right?). Then may be a permissions problem or NFSv4 in use. I read problems with people using NFSv4 in this mailing list.

thx


On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani < Asmita.Vagyani@sigma-systems.com> wrote:

> Hi Marc,
> I am using a separate NFS server for secondary storage, I think the 
> way you are going with is when you have nfs shared folder on the same 
> management server and mount it there itself.
> Am I right?
>
>
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS Server
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 PM 07:30
> To: cloudstack-users
> Subject: Re: CloudStack Installation Query
>
> My point was that as the path given to the cloud-install-sys-tmplt 
> command
> (/mnt/secondary) and export path (/export), you need to mount the 
> export path for secondary storage (/export) on /mnt/secondary 
> otherwise system vm template won't be able to download to primary storage.
>
> thx.
>
>
> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom < 
> geoff.higginbottom@shapeblue.com> wrote:
>
> > Hi Asmita,
> >
> > You don't have to, but its best practice to do so.
> >
> > When you deploy a new Zone, the first thing that happens is that the 
> > System VM Template, which you will have seeded to Secondary Storage 
> > is used to deploy the SSVM and CPVM, the SSVM then connects to the 
> > Internet and downloads an example Template and places it on 
> > secondary
> storage.
> >
> > All the above happens automatically as long as the configuration of 
> > the Compute, Storage and Networking Layers is correct, and seeing it 
> > happen is a great sanity check that everything is configured correctly.
> >
> > Skipping configuring the Secondary Storage, and seeding it with the 
> > appropriate System VM Templates for your chosen Hypervisors will not 
> > break anything, and it can be added later, but as you have to do it 
> > at some point, you might as well do it at the beginning.
> >
> > Regards
> >
> > Geoff
> >
> > -----Original Message-----
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > Sent: 03 January 2013 13:34
> > To: 'cloudstack-users@incubator.apache.org'
> > Subject: RE: CloudStack Installation Query
> >
> > Hi all,
> >
> > Is it a mandate that we have to configure/mount a secondary storage 
> > nfs server before cloudstack management server installation?
> >
> >
> >
> > Thanks and Regards.
> >
> > Asmita Patil Vagyani.
> > Tech Lead,  Sigma Software Solutions, Pune,
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >
> >
> > -----Original Message-----
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > Sent: 03 January 2013 PM 12:49
> > To: 'cloudstack-users@incubator.apache.org'
> > Subject: RE: CloudStack Installation Query
> >
> > Hi all,
> >
> > I am following the Cloudstack 4 documentation for installation on RHEL.
> > Please refer
> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> > html#nfs-shares-on-separate-server
> > Step 4.5.7. Prepare the System VM Template
> >
> > I have mounted the secondary storage device on another NFS server 
> > and can see that its mounted.
> > I added line below to my /etc/exports file also :
> > /export *(rw,async,no_root_squash)
> >
> > Then I run cloud-install-sys-tmplt command below to retrieve and 
> > decompress the system VM template - For vSphere:
> >
> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-
> > tm
> > plt
> > -m /mnt/secondary -u
> > http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.
> > ova
> >  -h vmware -s welcome123 -F
> >
> > I get the following error -
> > rm: cannot remove
> >
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> > Permission denied
> > rm: cannot remove
> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> > Permission denied
> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> > Permission denied
> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> > Permission denied
> > rm: cannot remove
> `/mnt/secondary/template/tmpl/1/8//template.properties':
> > Permission denied Failed to clean up template directory 
> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> > Installation failed
> >
> > Did anyone of you face the same problem?
> >
> > Thanks and Regards.
> >
> > Asmita Patil Vagyani.
> >
> > -----Original Message-----
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > Sent: 31 December 2012 PM 02:50
> > To: 'cloudstack-users@incubator.apache.org'
> > Subject: RE: CloudStack Installation Query
> >
> > I am using RHEL
> >
> >
> >
> > Thanks and Regards.
> >
> > Asmita Patil Vagyani.
> > Tech Lead,  Sigma Software Solutions, Pune,
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >
> >
> > -----Original Message-----
> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> > Sent: 31 December 2012 PM 02:43
> > To: cloudstack-users@incubator.apache.org
> > Subject: RE: CloudStack Installation Query
> >
> > Hi,
> >
> > Please use below path if your setup is on Ubuntu.:
> >
> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tm
> > pl
> > t
> >
> > Thanks,
> > Sailaja.M
> >
> > -----Original Message-----
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > Sent: Monday, December 31, 2012 2:16 PM
> > To: 'cloudstack-users@incubator.apache.org'
> > Subject: RE: CloudStack Installation Query
> >
> > Hi all,
> >
> > I am following the Cloudstack 4 documentation for installation.
> > Please refer
> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> > html#nfs-shares-on-separate-server
> > Step 4.5.7. Prepare the System VM Template
> >
> > Its says to run one or more of the following cloud-install-sys-tmplt 
> > commands to retrieve and decompress the system VM template - For 
> > vSphere run command below:
> > #
> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-
> > tm
> > plt
> > -m /mnt/secondary -u
> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
> > ova-h vmware -s <optional-management-server-secret-key>  -F
> >
> > I made a correction in the file path and run the command as below:
> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-
> > tm
> > plt
> > -m /mnt/secondary -u
> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
> > ova-hvmware -s welcome123 -F
> >
> > It gives an error command not found.
> > cloud-install-sys-tmplt: command not found Any idea why this is not 
> > working?
> >
> > Thanks and Regards.
> >
> > Asmita Patil Vagyani.
> > Tech Lead,  Sigma Software Solutions, Pune,
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >
> >
> > -----Original Message-----
> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> > Sent: 28 December 2012 AM 10:48
> > To: cloudstack-users@incubator.apache.org
> > Subject: RE: CloudStack Installation Query
> >
> > Thank you for pointing out the errors in docs.
> >
> > Please file a documentation defect in case you find any.
> >
> > Thanks
> > -Radhika
> >
> > -----Original Message-----
> > From: sebgoa [mailto:runseb@gmail.com]
> > Sent: Thursday, December 27, 2012 7:01 PM
> > To: cloudstack-users@incubator.apache.org
> > Subject: Re: CloudStack Installation Query
> >
> > Asmita,
> >
> > I believe there is an issue with the documentation.
> >
> > try to replace the baseurl with:
> >
> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
> >
> > and do:
> >
> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
> >
> >
> > I have not tested it, so please let us know if it works or not.
> >
> > thanks,
> >
> > -Sebastien
> >
> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
> >
> > > Hi,
> > >
> > > Thanks Jerry for clarifying.
> > >
> > > My next query is:
> > > I am using an RPM-based system, I want to add the Yum repository 
> > > so that
> > I can install CloudStack with Yum.
> > > I have created a repos file under /etc/yum.repos.d.
> > >
> > > [cloudstack]
> > > name=cloudstack
> > > baseurl=http://server.url/downloads/rpm/stable/
> > > enabled=1
> > > gpgcheck=1
> > >
> > > Next you'll want to add the GPG key:
> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> > >
> > >
> > > (Refer Documentation of CloudStack Installation -Section 4.4.2. ) 
> > > What will be the value of server.url?
> > >
> > > Thanks and Regards.
> > >
> > > Asmita
> > >
> > >
> > > -----Original Message-----
> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> > > Sent: 27 December 2012 PM 06:20
> > > To: cloudstack-users@incubator.apache.org
> > > Subject: Re: CloudStack Installation Query
> > >
> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> > >
> > > Jerry
> > >
> > > ----- Original Message -----
> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
> > > To: "cloudstack-users@incubator.apache.org"
> > > <cl...@incubator.apache.org>
> > > Sent: Thursday, December 27, 2012 8:33:05 PM
> > > Subject: CloudStack Installation Query
> > >
> > > Hi,
> > >
> > > I am trying to install CloudStack 4 on the system.
> > > I am having RHEL 6.3 system for the CloudStack Management server
> > installation.
> > >
> > > I am following standard Installation guide to do so.
> > > Location -
> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> > > 0.0-incubating/html/Installation_Guide/index.html
> > > I am referring to Section 3, 3.5 and 3.6 particularly.
> > >
> > > I wanted to confirm if I should perform step in section 3.5 only 
> > > if my
> > server OS is Ubuntu and perform steps in section 3.6 if my 
> > management server is RHEL server.
> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> > >
> > > Please clarify.
> > >
> > > Thanks and Regards.
> > > Asmita.
> > >
> > >
> >
> > ShapeBlue provides a range of strategic and technical consulting and 
> > implementation services to help IT Service Providers and Enterprises 
> > to build a true IaaS compute cloud. ShapeBlue’s expertise, combined 
> > with CloudStack technology, allows IT Service Providers and 
> > Enterprises to deliver true, utility based, IaaS to the customer or
> end-user.
> >
> > ________________________________
> >
> > This email and any attachments to it may be confidential and are 
> > intended solely for the use of the individual to whom it is addressed.
> > Any views or opinions expressed are solely those of the author and 
> > do not necessarily represent those of Shape Blue Ltd. If you are not 
> > the intended recipient of this email, you must neither take any 
> > action based upon its contents, nor copy or show it to anyone. 
> > Please contact the sender if you believe you have received this 
> > email in error. Shape Blue Ltd is a company incorporated in England & Wales.
> >
>

Re: CloudStack Installation Query

Posted by Marc Cirauqui <mc...@gmail.com>.
Sorry, and cloud-setup-management?

thx


On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:

> What was the output of cloud-setup-databases command?
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:
>
>> Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on your
>> management server...".
>>
>> If it's there, I guess you did it (right?). Then may be a permissions
>> problem or NFSv4 in use. I read problems with people using NFSv4 in this
>> mailing list.
>>
>> thx
>>
>>
>> On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <
>> Asmita.Vagyani@sigma-systems.com> wrote:
>>
>>> Hi Marc,
>>> I am using a separate NFS server for secondary storage, I think the way
>>> you are going with is when you have nfs shared folder on the same
>>> management server and mount it there itself.
>>> Am I right?
>>>
>>>
>>> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#prepare-nfs-shares
>>> Section 4.5.5.1. Using a Separate NFS Server
>>>
>>>
>>> Thanks and Regards.
>>>
>>> Asmita Patil Vagyani.
>>> Tech Lead,  Sigma Software Solutions, Pune,
>>> T: +91-20-25661992 / 93 / 94. Extn. : 286
>>>
>>>
>>> -----Original Message-----
>>> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>>> Sent: 03 January 2013 PM 07:30
>>> To: cloudstack-users
>>> Subject: Re: CloudStack Installation Query
>>>
>>> My point was that as the path given to the cloud-install-sys-tmplt
>>> command
>>> (/mnt/secondary) and export path (/export), you need to mount the export
>>> path for secondary storage (/export) on /mnt/secondary otherwise system vm
>>> template won't be able to download to primary storage.
>>>
>>> thx.
>>>
>>>
>>> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
>>> geoff.higginbottom@shapeblue.com> wrote:
>>>
>>> > Hi Asmita,
>>> >
>>> > You don't have to, but its best practice to do so.
>>> >
>>> > When you deploy a new Zone, the first thing that happens is that the
>>> > System VM Template, which you will have seeded to Secondary Storage is
>>> > used to deploy the SSVM and CPVM, the SSVM then connects to the
>>> > Internet and downloads an example Template and places it on secondary
>>> storage.
>>> >
>>> > All the above happens automatically as long as the configuration of
>>> > the Compute, Storage and Networking Layers is correct, and seeing it
>>> > happen is a great sanity check that everything is configured correctly.
>>> >
>>> > Skipping configuring the Secondary Storage, and seeding it with the
>>> > appropriate System VM Templates for your chosen Hypervisors will not
>>> > break anything, and it can be added later, but as you have to do it at
>>> > some point, you might as well do it at the beginning.
>>> >
>>> > Regards
>>> >
>>> > Geoff
>>> >
>>> > -----Original Message-----
>>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>>> > Sent: 03 January 2013 13:34
>>> > To: 'cloudstack-users@incubator.apache.org'
>>> > Subject: RE: CloudStack Installation Query
>>> >
>>> > Hi all,
>>> >
>>> > Is it a mandate that we have to configure/mount a secondary storage
>>> > nfs server before cloudstack management server installation?
>>> >
>>> >
>>> >
>>> > Thanks and Regards.
>>> >
>>> > Asmita Patil Vagyani.
>>> > Tech Lead,  Sigma Software Solutions, Pune,
>>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>>> >
>>> >
>>> > -----Original Message-----
>>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>>> > Sent: 03 January 2013 PM 12:49
>>> > To: 'cloudstack-users@incubator.apache.org'
>>> > Subject: RE: CloudStack Installation Query
>>> >
>>> > Hi all,
>>> >
>>> > I am following the Cloudstack 4 documentation for installation on RHEL.
>>> > Please refer
>>> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>>> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
>>> > html#nfs-shares-on-separate-server
>>> > Step 4.5.7. Prepare the System VM Template
>>> >
>>> > I have mounted the secondary storage device on another NFS server and
>>> > can see that its mounted.
>>> > I added line below to my /etc/exports file also :
>>> > /export *(rw,async,no_root_squash)
>>> >
>>> > Then I run cloud-install-sys-tmplt command below to retrieve and
>>> > decompress the system VM template - For vSphere:
>>> >
>>> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tm
>>> > plt
>>> > -m /mnt/secondary -u
>>> > http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.
>>> > ova
>>> >  -h vmware -s welcome123 -F
>>> >
>>> > I get the following error -
>>> > rm: cannot remove
>>> >
>>> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
>>> > Permission denied
>>> > rm: cannot remove
>>> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
>>> > Permission denied
>>> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
>>> > Permission denied
>>> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
>>> > Permission denied
>>> > rm: cannot remove
>>> `/mnt/secondary/template/tmpl/1/8//template.properties':
>>> > Permission denied Failed to clean up template directory
>>> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
>>> > Installation failed
>>> >
>>> > Did anyone of you face the same problem?
>>> >
>>> > Thanks and Regards.
>>> >
>>> > Asmita Patil Vagyani.
>>> >
>>> > -----Original Message-----
>>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>>> > Sent: 31 December 2012 PM 02:50
>>> > To: 'cloudstack-users@incubator.apache.org'
>>> > Subject: RE: CloudStack Installation Query
>>> >
>>> > I am using RHEL
>>> >
>>> >
>>> >
>>> > Thanks and Regards.
>>> >
>>> > Asmita Patil Vagyani.
>>> > Tech Lead,  Sigma Software Solutions, Pune,
>>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>>> >
>>> >
>>> > -----Original Message-----
>>> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
>>> > Sent: 31 December 2012 PM 02:43
>>> > To: cloudstack-users@incubator.apache.org
>>> > Subject: RE: CloudStack Installation Query
>>> >
>>> > Hi,
>>> >
>>> > Please use below path if your setup is on Ubuntu.:
>>> >
>>> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmpl
>>> > t
>>> >
>>> > Thanks,
>>> > Sailaja.M
>>> >
>>> > -----Original Message-----
>>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>>> > Sent: Monday, December 31, 2012 2:16 PM
>>> > To: 'cloudstack-users@incubator.apache.org'
>>> > Subject: RE: CloudStack Installation Query
>>> >
>>> > Hi all,
>>> >
>>> > I am following the Cloudstack 4 documentation for installation.
>>> > Please refer
>>> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>>> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
>>> > html#nfs-shares-on-separate-server
>>> > Step 4.5.7. Prepare the System VM Template
>>> >
>>> > Its says to run one or more of the following cloud-install-sys-tmplt
>>> > commands to retrieve and decompress the system VM template - For
>>> > vSphere run command below:
>>> > #
>>> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tm
>>> > plt
>>> > -m /mnt/secondary -u
>>> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
>>> > ova-h vmware -s <optional-management-server-secret-key>  -F
>>> >
>>> > I made a correction in the file path and run the command as below:
>>> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tm
>>> > plt
>>> > -m /mnt/secondary -u
>>> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
>>> > ova-hvmware -s welcome123 -F
>>> >
>>> > It gives an error command not found.
>>> > cloud-install-sys-tmplt: command not found Any idea why this is not
>>> > working?
>>> >
>>> > Thanks and Regards.
>>> >
>>> > Asmita Patil Vagyani.
>>> > Tech Lead,  Sigma Software Solutions, Pune,
>>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>>> >
>>> >
>>> > -----Original Message-----
>>> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
>>> > Sent: 28 December 2012 AM 10:48
>>> > To: cloudstack-users@incubator.apache.org
>>> > Subject: RE: CloudStack Installation Query
>>> >
>>> > Thank you for pointing out the errors in docs.
>>> >
>>> > Please file a documentation defect in case you find any.
>>> >
>>> > Thanks
>>> > -Radhika
>>> >
>>> > -----Original Message-----
>>> > From: sebgoa [mailto:runseb@gmail.com]
>>> > Sent: Thursday, December 27, 2012 7:01 PM
>>> > To: cloudstack-users@incubator.apache.org
>>> > Subject: Re: CloudStack Installation Query
>>> >
>>> > Asmita,
>>> >
>>> > I believe there is an issue with the documentation.
>>> >
>>> > try to replace the baseurl with:
>>> >
>>> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
>>> >
>>> > and do:
>>> >
>>> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
>>> >
>>> >
>>> > I have not tested it, so please let us know if it works or not.
>>> >
>>> > thanks,
>>> >
>>> > -Sebastien
>>> >
>>> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
>>> >
>>> > > Hi,
>>> > >
>>> > > Thanks Jerry for clarifying.
>>> > >
>>> > > My next query is:
>>> > > I am using an RPM-based system, I want to add the Yum repository so
>>> > > that
>>> > I can install CloudStack with Yum.
>>> > > I have created a repos file under /etc/yum.repos.d.
>>> > >
>>> > > [cloudstack]
>>> > > name=cloudstack
>>> > > baseurl=http://server.url/downloads/rpm/stable/
>>> > > enabled=1
>>> > > gpgcheck=1
>>> > >
>>> > > Next you'll want to add the GPG key:
>>> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
>>> > >
>>> > >
>>> > > (Refer Documentation of CloudStack Installation -Section 4.4.2. )
>>> > > What will be the value of server.url?
>>> > >
>>> > > Thanks and Regards.
>>> > >
>>> > > Asmita
>>> > >
>>> > >
>>> > > -----Original Message-----
>>> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
>>> > > Sent: 27 December 2012 PM 06:20
>>> > > To: cloudstack-users@incubator.apache.org
>>> > > Subject: Re: CloudStack Installation Query
>>> > >
>>> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
>>> > >
>>> > > Jerry
>>> > >
>>> > > ----- Original Message -----
>>> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
>>> > > To: "cloudstack-users@incubator.apache.org"
>>> > > <cl...@incubator.apache.org>
>>> > > Sent: Thursday, December 27, 2012 8:33:05 PM
>>> > > Subject: CloudStack Installation Query
>>> > >
>>> > > Hi,
>>> > >
>>> > > I am trying to install CloudStack 4 on the system.
>>> > > I am having RHEL 6.3 system for the CloudStack Management server
>>> > installation.
>>> > >
>>> > > I am following standard Installation guide to do so.
>>> > > Location -
>>> > >
>>> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>>> > > 0.0-incubating/html/Installation_Guide/index.html
>>> > > I am referring to Section 3, 3.5 and 3.6 particularly.
>>> > >
>>> > > I wanted to confirm if I should perform step in section 3.5 only if
>>> > > my
>>> > server OS is Ubuntu and perform steps in section 3.6 if my management
>>> > server is RHEL server.
>>> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
>>> > >
>>> > > Please clarify.
>>> > >
>>> > > Thanks and Regards.
>>> > > Asmita.
>>> > >
>>> > >
>>> >
>>> > ShapeBlue provides a range of strategic and technical consulting and
>>> > implementation services to help IT Service Providers and Enterprises
>>> > to build a true IaaS compute cloud. ShapeBlue’s expertise, combined
>>> > with CloudStack technology, allows IT Service Providers and
>>> > Enterprises to deliver true, utility based, IaaS to the customer or
>>> end-user.
>>> >
>>> > ________________________________
>>> >
>>> > This email and any attachments to it may be confidential and are
>>> > intended solely for the use of the individual to whom it is addressed.
>>> > Any views or opinions expressed are solely those of the author and do
>>> > not necessarily represent those of Shape Blue Ltd. If you are not the
>>> > intended recipient of this email, you must neither take any action
>>> > based upon its contents, nor copy or show it to anyone. Please contact
>>> > the sender if you believe you have received this email in error. Shape
>>> > Blue Ltd is a company incorporated in England & Wales.
>>> >
>>>
>>
>>
>

Re: CloudStack Installation Query

Posted by Marc Cirauqui <mc...@gmail.com>.
Hi,

curl --globoff "
> http://torvm-cloudstack-mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-ad75cae8e8a2
> ”.
>

Should be:

curl --globoff "
http://torvm-cloudstack-mgmt:8096/?command=listDomains&id=5163440e-c44b-42b5-9109-ad75cae8e8a2
”.

Anyway, you can just issue listDomains, without any parameters and look for
domain "ROOT".

thx

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi Likita,
I am new to cloudstack, I dint find in documentation if I can specify the name for the keypair doc.
Could you plz give me details , how I can change the name of this doc and create it newly.
Or else delete the old one.



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Likitha Shetty [mailto:likitha.shetty@citrix.com] 
Sent: 04 January 2013 PM 06:54
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Asmita, this error is because you have already created the key-pair with the name 'keypairdoc'. Try creating a key pair with a different name and use the domain-id returned by listDomains API i.e. 1448af9f-161a-4d75-a8b4-3bb3b577bbf3.

Thank you,
Likitha
> -----Original Message-----
> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
> Sent: Friday, January 04, 2013 6:43 PM
> To: cloudstack-users@incubator.apache.org
> Subject: RE: CloudStack Installation Query
>
> This looks like a bug in the API command.
>
> It appears to be using the MySQL Record ID (in this case Record ID 1) 
> rather than the actual Domain ID (uuid field in the DB table 'domain')
>
> Suggest you file a bug report
>
> Regards
>
> Geoff
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 04 January 2013 13:08
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> Hi Likitha,
> You are right.
>
> I tried with domainId=1, the command worked, and generated an api 
> keypair for me.
>
> Then I used, the listDomains API, it gave me 1 domain with a different 
> ID. - <listdomainsresponse cloud-stack-version="3.0.2.20120506223416">
>         <count>1</count>
>         <domain><id>1448af9f-161a-4d75-a8b4-3bb3b577bbf3</id>
>                 <name>ROOT</name>
>                 <level>0</level>
>                 <haschild>false</haschild>
>                 <path>ROOT</path>
>         </domain>
>         </listdomainsresponse>
>
> When I run the same command to create an keypair with the actual 
> domainId
> 1448af9f-161a-4d75-a8b4-3bb3b577bbf3 above , I get an error
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>         <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
>         <errorcode>431</errorcode>
>         <errortext>A key pair with name &apos;keypair-doc&apos; 
> already exists.</errortext> </createsshkeypairresponse>
>
> 1) Is it possible to remove this API keyAnd try with the correct domainid.
> 2) If you observe the response has the cloudstack API version with it. 
> I actually installed the Cloudstack 4 on management server, then I 
> expect to get the version like 4.0.x some thing.
> Is it normal?
>
>
> Thanks and Regards.
>
> Asmita
>
>
> -----Original Message-----
> From: Likitha Shetty [mailto:likitha.shetty@citrix.com]
> Sent: 04 January 2013 PM 05:58
> To: cloudstack-users@incubator.apache.org
> Subject: RE: CloudStack Installation Query
>
> Asmita,
>
>
>
> Please run the following command to confirm that you are using the 
> right domain-id, curl --globoff "http://torvm-cloudstack-
> mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-
> ad75cae8e8a2”.
>
> This command should return the domain with the right response tags, if 
> not then as Geoff pointed and as mentioned in the error it is because 
> the domainId is invalid.
>
>
>
> Thank you,
>
> Likitha
>
>
>
> > -----Original Message-----
>
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > Sent: Friday, January 04, 2013 5:44 PM
>
> > To: 'cloudstack-users@incubator.apache.org'
>
> > Subject: RE: CloudStack Installation Query
>
> >
>
> > yes, its as per documentation.
>
> >
>
> >
>
> >
>
> > Thanks and Regards.
>
> >
>
> > Asmita Patil Vagyani.
>
> >
>
> > -----Original Message-----
>
> > From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
>
> > Sent: 04 January 2013 PM 05:26
>
> > To: cloudstack-users@incubator.apache.org
>
> > Subject: RE: CloudStack Installation Query
>
> >
>
> > Hi Asmita
>
> >
>
> > The error message implies the DomainID is invalid, have you copied 
> > it correctly
>
> >
>
> > Regards
>
> >
>
> > Geoff
>
> >
>
> > -----Original Message-----
>
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > Sent: 04 January 2013 11:40
>
> > To: 'cloudstack-users@incubator.apache.org'
>
> > Subject: RE: CloudStack Installation Query
>
> >
>
> > Thanks Paul for sharing the solution.
>
> > The info abt 'integration.api.port' is missing in the documentation 
> > in the
>
> > installation guide.
>
> > I got this working by changing the port value in the MySQL Db.
>
> >
>
> > My next issue is:
>
> > When I run
>
> > [root@torvm-cloudstack-mgmt ~]# curl --globoff 
> > "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command
> > =c
> > reateSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-
> c44b-4
> > 2b5-9109-ad75cae8e8a2>
>
> >
> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin
> <http
> > ://torvm-cloudstack-
> mgmt:8096/?command=createSSHKeyPair&name=keypairdo
> > c&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>
>
> > &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-
> cloudstack-
> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin
> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"
>
> >
>
> > <?xml version="1.0" encoding="ISO-8859-1"?>
>
> >         <createsshkeypairresponse
> > cloud-stack-version="3.0.2.20120506223416">
>
> >                 <errorcode>431</errorcode>
>
> >                 <errortext>Unable to execute API command 
> > createsshkeypair due
>
> > curl --globoff
>
> >
> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac
> <
> >
> http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&acc
> o
> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>
>
> > count=admin&domainid=5163440e-c44b-42b5-9109-
> ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=
> keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-
> ad75cae8e8a2>"
>
> > <?xml version="1.0" encoding="ISO-8859-1"?>
>
> >         <createsshkeypairresponse
> > cloud-stack-version="3.0.2.20120506223416">
>
> >         <errorcode>431</errorcode>
>
> >         <errortext>Unable to execute API command createsshkeypair 
> > due to
>
> > invalid value. Object domain(uuid:
> > 5163440e-c44b-42b5-9109-ad75cae8e8a2)
>
> > does not exist.</errortext> </createsshkeypairresponse>[root@
>
> >
>
> > Its because the domain is missing.
>
> > Is there something that I need to do for enabling the domain?
>
> > I don’t see this documented in the installation guide.
>
> >
>
> >
>
> > Thanks and Regards.
>
> >
>
> > Asmita Patil Vagyani.
>
> > Tech Lead,  Sigma Software Solutions, Pune,
>
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> >
>
> >
>
> > -----Original Message-----
>
> > From: Paul Angus [mailto:paul.angus@shapeblue.com]
>
> > Sent: 04 January 2013 PM 02:19
>
> > To: cloudstack-users@incubator.apache.org
>
> > Subject: RE: CloudStack Installation Query
>
> >
>
> > Hi Asmiti,
>
> >
>
> > There's a global setting 'integration.api.port' which by default is 
> > empty (ie
>
> > disabled) you need to enter the port you want to use in there (8096) 
> > and restart
>
> > the management service.
>
> >
>
> > Regards,
>
> >
>
> > Paul Angus
>
> > Cloud Architect / Senior Consultant
>
> > paul.angus@shapeblue.com<ma...@shapeblue.com> | 
> > www.shapeblue.com<http://www.shapeblue.com> | Twitter:@shapeBlue
>
> > ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> >
>
> > -----Original Message-----
>
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > Sent: 04 January 2013 08:41
>
> > To: 'cloudstack-users@incubator.apache.org'
>
> > Subject: RE: CloudStack Installation Query
>
> >
>
> > Hi Marc,
>
> >
>
> > I am running the command from Management server only.
>
> > I specified that client is running on 8080 port, when I login to console.
>
> > But when I hit the API for 8096, it seems this point is not running.
>
> > I mean when I checked if anything is running on this 8096 port, I get nothing.
>
> > Am I missing something, because of which APIs are not getting accessed?
>
> >
>
> >
>
> > Thanks and Regards.
>
> >
>
> > Asmita Patil Vagyani.
>
> > Tech Lead,  Sigma Software Solutions, Pune,
>
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> >
>
> >
>
> > -----Original Message-----
>
> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>
> > Sent: 04 January 2013 PM 01:32
>
> > To: cloudstack-users
>
> > Subject: Re: CloudStack Installation Query
>
> >
>
> > Hi,
>
> >
>
> > First, this command is meant to be run on management server not from 
> > a
>
> > client (the 8096 is API integration port). Then, there are two 
> > things I can't
>
> > remember exactly (I don't have a working installation rigth now), but:
>
> >
>
> > 1- The domain id is always the same in every installation?
>
> > 2- Using integration port you need API path? So url is
>
> > http://localhost:8096/client/api?command=...
>
> >
>
> > Can someone shed a light on this?
>
> >
>
> > thx
>
> >
>
> >
>
> > On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani < 
> > Asmita.Vagyani@sigma-<ma...@sigma-systems.com>
>
> > systems.com<ma...@sigma-systems.com>> wrote:
>
> >
>
> > > Hi all,
>
> > > I managed to start the Cloud Management server on the RHEL OS.
>
> > > I am able to login to the management server console now after
>
> > > re-installing the mySQL DB.
>
> > >
>
> > > I am following the next step after changing the password, for 
> > > creating
>
> > > the ssh template.
>
> > >
>
> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>
> > > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-s
> > > sh
> > > -t
>
> > > emplate
>
> > >
>
> > > Section 5.2.2. Creating the SSH Keypair When I run the command 
> > > below
>
> > > on management server -
>
> > >
>
> > > curl --globoff "
>
> > >
>
> >
> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco
>
> > > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2
>
> > > "
>
> > >
>
> > > I get error curl: (7) couldn't connect to host
>
> > >
>
> > > On port 8080 I can see the client is running, I am not sure about 
> > > the
>
> > > webservice endpoint if its correct.(Here port is 8096) Other point 
> > > is
>
> > > domain Id- where can I get this domain id from?
>
> > >
>
> > > Thanks and Regards.
>
> > >
>
> > > Asmita
>
> > > -----Original Message-----
>
> > > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > > Sent: 03 January 2013 PM 07:52
>
> > > To: 'cloudstack-users@incubator.apache.org'
>
> > > Subject: RE: CloudStack Installation Query
>
> > >
>
> > > I used this command to deploy DB.
>
> > >
>
> > > $ cloud-setup-databases
>
> > > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m 
> > > password
>
> > > -k password
>
> > >
>
> > > Output was :
>
> > >
>
> > > Mysql user name:cloud
>
> > >       [ OK ]
>
> > > Mysql user password:sigma123
>
> > >      [ OK ]
>
> > > Mysql server ip:localhost
>
> > >       [ OK ]
>
> > > Mysql server port:3306
>
> > >      [ OK ]
>
> > > Mysql root user name:root
>
> > >       [ OK ]
>
> > > Mysql root user password:sigma123
>
> > >       [ OK ]
>
> > > Checking Cloud database files ...
>
> > >       [ OK ]
>
> > > Checking local machine hostname ...
>
> > >       [ OK ]
>
> > > Checking SELinux setup ...
>
> > >      [ OK ]
>
> > > Detected local IP address as <LOCAL IP address> will use as 
> > > cluster
>
> > > management server node IP[ OK ] Preparing
>
> > > /etc/cloud/management/db.properties
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/create-database.sql
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/create-schema.sql
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/create-database-premium.sql
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/create-schema-premium.sql
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/server-setup.sql
>
> > >      [ OK ]
>
> > > Applying /usr/share/cloud/setup/templates.sql
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/create-index-fk.sql
>
> > >       [ OK ]
>
> > > Processing encryption ...
>
> > >       [ OK ]
>
> > > Finalizing setup ...
>
> > >      [ OK ]
>
> > >
>
> > > CloudStack has successfully initialized database, you can check 
> > > your
>
> > > database configuration in /etc/cloud/management/db.properties
>
> > >
>
> > >
>
> > >
>
> > > Thanks and Regards.
>
> > >
>
> > > Asmita Patil Vagyani.
>
> > > Tech Lead,  Sigma Software Solutions, Pune,
>
> > > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> > >
>
> > >
>
> > > -----Original Message-----
>
> > > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>
> > > Sent: 03 January 2013 PM 07:47
>
> > > To: cloudstack-users
>
> > > Subject: Re: CloudStack Installation Query
>
> > >
>
> > > What was the output of cloud-setup-databases command?
>
> > >
>
> > > thx
>
> > >
>
> > >
>
> > > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui 
> > > <mc...@gmail.com>>
>
> > wrote:
>
> > >
>
> > > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on
>
> > > > your management server...".
>
> > > >
>
> > > > If it's there, I guess you did it (right?). Then may be a
>
> > > > permissions problem or NFSv4 in use. I read problems with people
>
> > > > using NFSv4 in this mailing list.
>
> > > >
>
> > > > thx
>
> > > >
>
> > > >
>
> > > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <
>
> > > > Asmita.Vagyani@sigma-systems.com<mailto:Asmita.Vagyani@sigma-
> systems.com>> wrote:
>
> > > >
>
> > > >> Hi Marc,
>
> > > >> I am using a separate NFS server for secondary storage, I think 
> > > >> the
>
> > > >> way you are going with is when you have nfs shared folder on 
> > > >> the
>
> > > >> same management server and mount it there itself.
>
> > > >> Am I right?
>
> > > >>
>
> > > >>
>
> > > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > > >> ta
> > > >> ck
>
> > > >> /4
>
> > > >> .0.0-incubating/html/Installation_Guide/management-server-insta
> > > >> ll
> > > >> -f
>
> > > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate 
> > > >> NFS
>
> > > >> Server
>
> > > >>
>
> > > >>
>
> > > >> Thanks and Regards.
>
> > > >>
>
> > > >> Asmita Patil Vagyani.
>
> > > >> Tech Lead,  Sigma Software Solutions, Pune,
>
> > > >> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> > > >>
>
> > > >>
>
> > > >> -----Original Message-----
>
> > > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>
> > > >> Sent: 03 January 2013 PM 07:30
>
> > > >> To: cloudstack-users
>
> > > >> Subject: Re: CloudStack Installation Query
>
> > > >>
>
> > > >> My point was that as the path given to the 
> > > >> cloud-install-sys-tmplt
>
> > > >> command
>
> > > >> (/mnt/secondary) and export path (/export), you need to mount 
> > > >> the
>
> > > >> export path for secondary storage (/export) on /mnt/secondary
>
> > > >> otherwise system vm template won't be able to download to 
> > > >> primary
>
> > > storage.
>
> > > >>
>
> > > >> thx.
>
> > > >>
>
> > > >>
>
> > > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
>
> > > >>
> geoff.higginbottom@shapeblue.com<mailto:geoff.higginbottom@shapeblue.c
> o
> m>> wrote:
>
> > > >>
>
> > > >> > Hi Asmita,
>
> > > >> >
>
> > > >> > You don't have to, but its best practice to do so.
>
> > > >> >
>
> > > >> > When you deploy a new Zone, the first thing that happens is 
> > > >> > that
>
> > > >> > the System VM Template, which you will have seeded to 
> > > >> > Secondary
>
> > > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then
>
> > > >> > connects to the Internet and downloads an example Template 
> > > >> > and
>
> > > >> > places it on secondary
>
> > > >> storage.
>
> > > >> >
>
> > > >> > All the above happens automatically as long as the 
> > > >> > configuration
>
> > > >> > of the Compute, Storage and Networking Layers is correct, and
>
> > > >> > seeing it happen is a great sanity check that everything is
>
> > > >> > configured
>
> > > correctly.
>
> > > >> >
>
> > > >> > Skipping configuring the Secondary Storage, and seeding it 
> > > >> > with
>
> > > >> > the appropriate System VM Templates for your chosen 
> > > >> > Hypervisors
>
> > > >> > will not break anything, and it can be added later, but as 
> > > >> > you
>
> > > >> > have to do it at some point, you might as well do it at the beginning.
>
> > > >> >
>
> > > >> > Regards
>
> > > >> >
>
> > > >> > Geoff
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Asmita Vagyani 
> > > >> > [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > > >> > Sent: 03 January 2013 13:34
>
> > > >> > To: 'cloudstack-users@incubator.apache.org'
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Hi all,
>
> > > >> >
>
> > > >> > Is it a mandate that we have to configure/mount a secondary
>
> > > >> > storage nfs server before cloudstack management server installation?
>
> > > >> >
>
> > > >> >
>
> > > >> >
>
> > > >> > Thanks and Regards.
>
> > > >> >
>
> > > >> > Asmita Patil Vagyani.
>
> > > >> > Tech Lead,  Sigma Software Solutions, Pune,
>
> > > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> > > >> >
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Asmita Vagyani 
> > > >> > [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > > >> > Sent: 03 January 2013 PM 12:49
>
> > > >> > To: 'cloudstack-users@incubator.apache.org'
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Hi all,
>
> > > >> >
>
> > > >> > I am following the Cloudstack 4 documentation for 
> > > >> > installation on
>
> > > RHEL.
>
> > > >> > Please refer
>
> > > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Clou
> > > >> > dS
> > > >> > ta
>
> > > >> > ck/4
>
> > > .
>
> > > >> > 0.0-incubating/html/Installation_Guide/management-server-inst
> > > >> > all-
> flow.
>
> > > >> > html#nfs-shares-on-separate-server
>
> > > >> > Step 4.5.7. Prepare the System VM Template
>
> > > >> >
>
> > > >> > I have mounted the secondary storage device on another NFS 
> > > >> > server
>
> > > >> > and can see that its mounted.
>
> > > >> > I added line below to my /etc/exports file also :
>
> > > >> > /export *(rw,async,no_root_squash)
>
> > > >> >
>
> > > >> > Then I run cloud-install-sys-tmplt command below to retrieve 
> > > >> > and
>
> > > >> > decompress the system VM template - For vSphere:
>
> > > >> >
>
> > > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-insta
> > > >> > ll
> > > >> > -s
>
> > > >> > ys
>
> > > >> > -tm
>
> > > >> > plt
>
> > > >> > -m /mnt/secondary -u
>
> > > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-
> > > >> > 0
>
> > > ^C12012.
>
> > > >> > ova
>
> > > >> >  -h vmware -s welcome123 -F
>
> > > >> >
>
> > > >> > I get the following error -
>
> > > >> > rm: cannot remove
>
> > > >> >
>
> > > >>
>
> > > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-
>
> > 97b901f09ae6.ova':
>
> > > >> > Permission denied
>
> > > >> > rm: cannot remove
>
> > > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
>
> > > >> > Permission denied
>
> > > >> > rm: cannot remove
> `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
>
> > > >> > Permission denied
>
> > > >> > rm: cannot remove
>
> > `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
>
> > > >> > Permission denied
>
> > > >> > rm: cannot remove
>
> > > >> `/mnt/secondary/template/tmpl/1/8//template.properties':
>
> > > >> > Permission denied Failed to clean up template directory
>
> > > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
>
> > > >> > Installation failed
>
> > > >> >
>
> > > >> > Did anyone of you face the same problem?
>
> > > >> >
>
> > > >> > Thanks and Regards.
>
> > > >> >
>
> > > >> > Asmita Patil Vagyani.
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Asmita Vagyani 
> > > >> > [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > > >> > Sent: 31 December 2012 PM 02:50
>
> > > >> > To: 'cloudstack-users@incubator.apache.org'
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > I am using RHEL
>
> > > >> >
>
> > > >> >
>
> > > >> >
>
> > > >> > Thanks and Regards.
>
> > > >> >
>
> > > >> > Asmita Patil Vagyani.
>
> > > >> > Tech Lead,  Sigma Software Solutions, Pune,
>
> > > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> > > >> >
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
>
> > > >> > Sent: 31 December 2012 PM 02:43
>
> > > >> > To: cloudstack-users@incubator.apache.org
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Hi,
>
> > > >> >
>
> > > >> > Please use below path if your setup is on Ubuntu.:
>
> > > >> >
>
> > > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install
> > > >> > -s
> > > >> > ys
>
> > > >> > -t
>
> > > >> > mpl
>
> > > >> > t
>
> > > >> >
>
> > > >> > Thanks,
>
> > > >> > Sailaja.M
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Asmita Vagyani 
> > > >> > [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > > >> > Sent: Monday, December 31, 2012 2:16 PM
>
> > > >> > To: 'cloudstack-users@incubator.apache.org'
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Hi all,
>
> > > >> >
>
> > > >> > I am following the Cloudstack 4 documentation for installation.
>
> > > >> > Please refer
>
> > > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Clou
> > > >> > dS
> > > >> > ta
>
> > > >> > ck/4
>
> > > .
>
> > > >> > 0.0-incubating/html/Installation_Guide/management-server-inst
> > > >> > all-
> flow.
>
> > > >> > html#nfs-shares-on-separate-server
>
> > > >> > Step 4.5.7. Prepare the System VM Template
>
> > > >> >
>
> > > >> > Its says to run one or more of the following
>
> > > >> > cloud-install-sys-tmplt commands to retrieve and decompress 
> > > >> > the
>
> > > >> > system VM template - For vSphere run command below:
>
> > > >> > #
>
> > > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-insta
> > > >> > ll
> > > >> > -s
>
> > > >> > ys
>
> > > >> > -tm
>
> > > >> > plt
>
> > > >> > -m /mnt/secondary -u
>
> > > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-
> > > >> > 08
> > > >> > 01
>
> > > >> > 2012
>
> > > .
>
> > > >> > ova-h vmware -s <optional-management-server-secret-key>  -F
>
> > > >> >
>
> > > >> > I made a correction in the file path and run the command as below:
>
> > > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-insta
> > > >> > ll
> > > >> > -s
>
> > > >> > ys
>
> > > >> > -tm
>
> > > >> > plt
>
> > > >> > -m /mnt/secondary -u
>
> > > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-
> > > >> > 08
> > > >> > 01
>
> > > >> > 2012
>
> > > .
>
> > > >> > ova-hvmware -s welcome123 -F
>
> > > >> >
>
> > > >> > It gives an error command not found.
>
> > > >> > cloud-install-sys-tmplt: command not found Any idea why this 
> > > >> > is
>
> > > >> > not working?
>
> > > >> >
>
> > > >> > Thanks and Regards.
>
> > > >> >
>
> > > >> > Asmita Patil Vagyani.
>
> > > >> > Tech Lead,  Sigma Software Solutions, Pune,
>
> > > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> > > >> >
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Radhika Puthiyetath
> > > >> > [mailto:radhika.puthiyetath@citrix.com]
>
> > > >> > Sent: 28 December 2012 AM 10:48
>
> > > >> > To: cloudstack-users@incubator.apache.org
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Thank you for pointing out the errors in docs.
>
> > > >> >
>
> > > >> > Please file a documentation defect in case you find any.
>
> > > >> >
>
> > > >> > Thanks
>
> > > >> > -Radhika
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: sebgoa [mailto:runseb@gmail.com]
>
> > > >> > Sent: Thursday, December 27, 2012 7:01 PM
>
> > > >> > To: cloudstack-users@incubator.apache.org
>
> > > >> > Subject: Re: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Asmita,
>
> > > >> >
>
> > > >> > I believe there is an issue with the documentation.
>
> > > >> >
>
> > > >> > try to replace the baseurl with:
>
> > > >> >
>
> > > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
>
> > > >> >
>
> > > >> > and do:
>
> > > >> >
>
> > > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
>
> > > >> >
>
> > > >> >
>
> > > >> > I have not tested it, so please let us know if it works or not.
>
> > > >> >
>
> > > >> > thanks,
>
> > > >> >
>
> > > >> > -Sebastien
>
> > > >> >
>
> > > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
>
> > > >> >
>
> > > >> > > Hi,
>
> > > >> > >
>
> > > >> > > Thanks Jerry for clarifying.
>
> > > >> > >
>
> > > >> > > My next query is:
>
> > > >> > > I am using an RPM-based system, I want to add the Yum
>
> > > >> > > repository so that
>
> > > >> > I can install CloudStack with Yum.
>
> > > >> > > I have created a repos file under /etc/yum.repos.d.
>
> > > >> > >
>
> > > >> > > [cloudstack]
>
> > > >> > > name=cloudstack
>
> > > >> > > baseurl=http://server.url/downloads/rpm/stable/
>
> > > >> > > enabled=1
>
> > > >> > > gpgcheck=1
>
> > > >> > >
>
> > > >> > > Next you'll want to add the GPG key:
>
> > > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
>
> > > >> > >
>
> > > >> > >
>
> > > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.
>
> > > >> > > ) What will be the value of server.url?
>
> > > >> > >
>
> > > >> > > Thanks and Regards.
>
> > > >> > >
>
> > > >> > > Asmita
>
> > > >> > >
>
> > > >> > >
>
> > > >> > > -----Original Message-----
>
> > > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
>
> > > >> > > Sent: 27 December 2012 PM 06:20
>
> > > >> > > To: cloudstack-users@incubator.apache.org
>
> > > >> > > Subject: Re: CloudStack Installation Query
>
> > > >> > >
>
> > > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
>
> > > >> > >
>
> > > >> > > Jerry
>
> > > >> > >
>
> > > >> > > ----- Original Message -----
>
> > > >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
>
> > > >> > > To: "cloudstack-users@incubator.apache.org"
>
> > > >> > > <cl...@incubator.apache.org>
>
> > > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM
>
> > > >> > > Subject: CloudStack Installation Query
>
> > > >> > >
>
> > > >> > > Hi,
>
> > > >> > >
>
> > > >> > > I am trying to install CloudStack 4 on the system.
>
> > > >> > > I am having RHEL 6.3 system for the CloudStack Management
>
> > > >> > > server
>
> > > >> > installation.
>
> > > >> > >
>
> > > >> > > I am following standard Installation guide to do so.
>
> > > >> > > Location -
>
> > > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Cl
> > > >> > > ou
> > > >> > > dS
>
> > > >> > > ta
>
> > > >> > > ck/4
>
> > > >> .
>
> > > >> > > 0.0-incubating/html/Installation_Guide/index.html
>
> > > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.
>
> > > >> > >
>
> > > >> > > I wanted to confirm if I should perform step in section 3.5
>
> > > >> > > only if my
>
> > > >> > server OS is Ubuntu and perform steps in section 3.6 if my
>
> > > >> > management server is RHEL server.
>
> > > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
>
> > > >> > >
>
> > > >> > > Please clarify.
>
> > > >> > >
>
> > > >> > > Thanks and Regards.
>
> > > >> > > Asmita.
>
> > > >> > >
>
> > > >> > >
>
> > > >> >
>
> > > >> > ShapeBlue provides a range of strategic and technical 
> > > >> > consulting
>
> > > >> > and implementation services to help IT Service Providers and
>
> > > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s
>
> > > >> > expertise, combined with CloudStack technology, allows IT 
> > > >> > Service
>
> > > >> > Providers and Enterprises to deliver true, utility based, 
> > > >> > IaaS to
>
> > > >> > the customer or
>
> > > >> end-user.
>
> > > >> >
>
> > > >> > ________________________________
>
> > > >> >
>
> > > >> > This email and any attachments to it may be confidential and 
> > > >> > are
>
> > > >> > intended solely for the use of the individual to whom it is addressed.
>
> > > >> > Any views or opinions expressed are solely those of the 
> > > >> > author
>
> > > >> > and do not necessarily represent those of Shape Blue Ltd. If 
> > > >> > you
>
> > > >> > are not the intended recipient of this email, you must 
> > > >> > neither
>
> > > >> > take any action based upon its contents, nor copy or show it to anyone.
>
> > > >> > Please contact the sender if you believe you have received 
> > > >> > this
>
> > > >> > email in error. Shape Blue Ltd is a company incorporated in
>
> > > >> > England &
>
> > > Wales.
>
> > > >> >
>
> > > >>
>
> > > >
>
> > > >
>
> > >
>
> > ShapeBlue provides a range of strategic and technical consulting and
>
> > implementation services to help IT Service Providers and Enterprises 
> > to build a
>
> > true IaaS compute cloud. ShapeBlue’s expertise, combined with 
> > CloudStack
>
> > technology, allows IT Service Providers and Enterprises to deliver 
> > true, utility
>
> > based, IaaS to the customer or end-user.
>
> >
>
> > ________________________________
>
> >
>
> > This email and any attachments to it may be confidential and are 
> > intended
>
> > solely for the use of the individual to whom it is addressed. Any 
> > views or
>
> > opinions expressed are solely those of the author and do not 
> > necessarily
>
> > represent those of Shape Blue Ltd. If you are not the intended 
> > recipient of this
>
> > email, you must neither take any action based upon its contents, nor 
> > copy or
>
> > show it to anyone. Please contact the sender if you believe you have 
> > received
>
> > this email in error. Shape Blue Ltd is a company incorporated in 
> > England &
>
> > Wales.
>
> > ShapeBlue provides a range of strategic and technical consulting and
>
> > implementation services to help IT Service Providers and Enterprises 
> > to build a
>
> > true IaaS compute cloud. ShapeBlue’s expertise, combined with 
> > CloudStack
>
> > technology, allows IT Service Providers and Enterprises to deliver 
> > true, utility
>
> > based, IaaS to the customer or end-user.
>
> >
>
> > ________________________________
>
> >
>
> > This email and any attachments to it may be confidential and are 
> > intended
>
> > solely for the use of the individual to whom it is addressed. Any 
> > views or
>
> > opinions expressed are solely those of the author and do not 
> > necessarily
>
> > represent those of Shape Blue Ltd. If you are not the intended 
> > recipient of this
>
> > email, you must neither take any action based upon its contents, nor 
> > copy or
>
> > show it to anyone. Please contact the sender if you believe you have 
> > received
>
> > this email in error. Shape Blue Ltd is a company incorporated in 
> > England &
>
> > Wales.
> ShapeBlue provides a range of strategic and technical consulting and 
> implementation services to help IT Service Providers and Enterprises 
> to build a true IaaS compute cloud. ShapeBlue’s expertise, combined 
> with CloudStack technology, allows IT Service Providers and 
> Enterprises to deliver true, utility based, IaaS to the customer or end-user.
>
> ________________________________
>
> This email and any attachments to it may be confidential and are 
> intended solely for the use of the individual to whom it is addressed. 
> Any views or opinions expressed are solely those of the author and do 
> not necessarily represent those of Shape Blue Ltd. If you are not the 
> intended recipient of this email, you must neither take any action 
> based upon its contents, nor copy or show it to anyone. Please contact 
> the sender if you believe you have received this email in error. Shape 
> Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi Geoff,
Does that mean to re-install the Cloudstack with these new rpms.
I used the Installation guide for installing the Cloudstack.

Could you please let me know if I need to repeat the whole procedure again for getting these new rpms started.

Thanks and Regards.

Asmita Patil Vagyani. 


-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com] 
Sent: 07 January 2013 PM 02:22
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Asmita,

Further to Sailaja's excellent advice about not using the wizard, you may also need to re-enable VMware support.

If you built CloudStack 4.0.0 from source, then the VMware plugin is not included (a licensing issue which will hopefully be resolved) so the easiest thing to is use the pre-built image from here http://cloudstack.apt-get.eu/rhel/4.0/

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbottom@shapeblue.com


-----Original Message-----
From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
Sent: 07 January 2013 08:39
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmita,

First time when you launch the browser with the management server IP, you get to see two options .

1. I have used CloudStack before , skip this guide 2. Continue with Basic installation . [Guided tour]

If you choose option 2 , then you get to see KVM and Xenserver only while adding the cluster.   So select first option ,  go to Infrastructure page to configure the Zone.  Zone configuration page will have an option to select all the supported hypervisors .

Security Group will get enabled based on the network offering that you choose while adding the zone .

Ex:  DefaultSharedNetworkOfferingWithSGService -  This is the Network Offering for Shared Security group enabled networks

Thanks,
Sailaja.M


-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Monday, January 07, 2013 1:42 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Geoff your comments says " If you add a new Zone WITHOUT Security Groups, you will be able to add a VMware Cluster".

How is that possible with Cloudstack 4?
I am using the Cloudstack 4 client console for configuring the zone, pod,cluster.
When I configure the Basic zone, it doesnot ask me abt the security zone.
Also after POD, Guest network I am taken to CLuster configuration where I don’t see the VMWare option.
I mean the security config comes later before cluster is configured on Cloudstack 4.



Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
Sent: 04 January 2013 PM 10:52
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmita,

If you only have XenServer and KVM listed you must be using a Basic Zone with Security Groups, these are only supported by XenServer and KVM.

If you add a new Zone WITHOUT Security Groups, you will be able to add a VMware Cluster

Remember you cannot add an Advanced Zone to this Cloud, as mixing Basic and Advanced is not supported (it appears to work but you get networking issues so I suggest you steer well clear)

Regards

Geoff Higginbottom

D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> | M: +447968161581<tel:+447968161581>

geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>

From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 17:07
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

You are very much right Geoff.
I checked in the mySQL DB domain table.
It had one entry with id column value as 1.

Other problem is while I configure the Cluster on the Client console of Cloudstack management server, I have to select the hypervisor.
The hypervisor shows only 2 dropdown options - XenServer and KVM.
I actually want to setup VMWare cluster.
How do I get the VM Ware listed here?
In the installation guide, it says the clustering in VMWare is a combination of VSphere and Cloud admin console configuration.
Does it mean that the VMWare option will be listed only if the cluster is configured on the VSphere first?
[cid:A021549DF2AD0643B04692789EC3276F@namprd05.prod.outlook.com]

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
Sent: 04 January 2013 PM 06:43
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: RE: CloudStack Installation Query

This looks like a bug in the API command.

It appears to be using the MySQL Record ID (in this case Record ID 1) rather than the actual Domain ID (uuid field in the DB table 'domain')

Suggest you file a bug report

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 13:08
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Likitha,
You are right.

I tried with domainId=1, the command worked, and generated an api keypair for me.

Then I used, the listDomains API, it gave me 1 domain with a different ID. - <listdomainsresponse cloud-stack-version="3.0.2.20120506223416">
        <count>1</count>
        <domain><id>1448af9f-161a-4d75-a8b4-3bb3b577bbf3</id>
                <name>ROOT</name>
                <level>0</level>
                <haschild>false</haschild>
                <path>ROOT</path>
        </domain>
        </listdomainsresponse>

When I run the same command to create an keypair with the actual domainId 1448af9f-161a-4d75-a8b4-3bb3b577bbf3 above , I get an error

<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
        <errorcode>431</errorcode>
        <errortext>A key pair with name &apos;keypair-doc&apos; already exists.</errortext> </createsshkeypairresponse>

1) Is it possible to remove this API keyAnd try with the correct domainid.
2) If you observe the response has the cloudstack API version with it. I actually installed the Cloudstack 4 on management server, then I expect to get the version like 4.0.x some thing.
Is it normal?


Thanks and Regards.

Asmita


-----Original Message-----
From: Likitha Shetty [mailto:likitha.shetty@citrix.com]
Sent: 04 January 2013 PM 05:58
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: RE: CloudStack Installation Query

Asmita,



Please run the following command to confirm that you are using the right domain-id, curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-ad75cae8e8a2”.

This command should return the domain with the right response tags, if not then as Geoff pointed and as mentioned in the error it is because the domainId is invalid.



Thank you,

Likitha



> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: Friday, January 04, 2013 5:44 PM

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> yes, its as per documentation.

>

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

>

> -----Original Message-----

> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]

> Sent: 04 January 2013 PM 05:26

> To:
> cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubato
> r.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmita

>

> The error message implies the DomainID is invalid, have you copied it 
> correctly

>

> Regards

>

> Geoff

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 11:40

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Thanks Paul for sharing the solution.

> The info abt 'integration.api.port' is missing in the documentation in 
> the

> installation guide.

> I got this working by changing the port value in the MySQL Db.

>

> My next issue is:

> When I run

> [root@torvm-cloudstack-mgmt ~]# curl --globoff 
> "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command=c
> reateSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-4
> 2b5-9109-ad75cae8e8a2>

> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin<http
> ://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdo
> c&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

>

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>                 <errorcode>431</errorcode>

>                 <errortext>Unable to execute API command 
> createsshkeypair due

> curl --globoff

> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac<
> http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> count=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>         <errorcode>431</errorcode>

>         <errortext>Unable to execute API command createsshkeypair due 
> to

> invalid value. Object domain(uuid:
> 5163440e-c44b-42b5-9109-ad75cae8e8a2)

> does not exist.</errortext> </createsshkeypairresponse>[root@

>

> Its because the domain is missing.

> Is there something that I need to do for enabling the domain?

> I don’t see this documented in the installation guide.

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Paul Angus [mailto:paul.angus@shapeblue.com]

> Sent: 04 January 2013 PM 02:19

> To:
> cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubato
> r.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmiti,

>

> There's a global setting 'integration.api.port' which by default is 
> empty (ie

> disabled) you need to enter the port you want to use in there (8096) 
> and restart

> the management service.

>

> Regards,

>

> Paul Angus

> Cloud Architect / Senior Consultant

> paul.angus@shapeblue.com<mailto:paul.angus@shapeblue.com<mailto:paul.a
> ngus@shapeblue.com%3cmailto:paul.angus@shapeblue.com>> | 
> www.shapeblue.com<http://www.shapeblue.com<http://www.shapeblue.com%3c
> http:/www.shapeblue.com>> | Twitter:@shapeBlue

> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 08:41

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Hi Marc,

>

> I am running the command from Management server only.

> I specified that client is running on 8080 port, when I login to console.

> But when I hit the API for 8096, it seems this point is not running.

> I mean when I checked if anything is running on this 8096 port, I get nothing.

> Am I missing something, because of which APIs are not getting accessed?

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> Sent: 04 January 2013 PM 01:32

> To: cloudstack-users

> Subject: Re: CloudStack Installation Query

>

> Hi,

>

> First, this command is meant to be run on management server not from a

> client (the 8096 is API integration port). Then, there are two things 
> I can't

> remember exactly (I don't have a working installation rigth now), but:

>

> 1- The domain id is always the same in every installation?

> 2- Using integration port you need API path? So url is

> http://localhost:8096/client/api?command=...

>

> Can someone shed a light on this?

>

> thx

>

>

> On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani < 
> Asmita.Vagyani@sigma-<mailto:Asmita.Vagyani@sigma-systems.com<mailto:A
> smita.Vagyani@sigma-%3cmailto:Asmita.Vagyani@sigma-systems.com>>

> systems.com<ma...@sigma-systems.com>> wrote:

>

> > Hi all,

> > I managed to start the Cloud Management server on the RHEL OS.

> > I am able to login to the management server console now after

> > re-installing the mySQL DB.

> >

> > I am following the next step after changing the password, for 
> > creating

> > the ssh template.

> >

> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.

> > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh
> > -t

> > emplate

> >

> > Section 5.2.2. Creating the SSH Keypair When I run the command below

> > on management server -

> >

> > curl --globoff "

> >

> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco

> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2

> > "

> >

> > I get error curl: (7) couldn't connect to host

> >

> > On port 8080 I can see the client is running, I am not sure about 
> > the

> > webservice endpoint if its correct.(Here port is 8096) Other point 
> > is

> > domain Id- where can I get this domain id from?

> >

> > Thanks and Regards.

> >

> > Asmita

> > -----Original Message-----

> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > Sent: 03 January 2013 PM 07:52

> > To: 'cloudstack-users@incubator.apache.org'

> > Subject: RE: CloudStack Installation Query

> >

> > I used this command to deploy DB.

> >

> > $ cloud-setup-databases

> > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m 
> > password

> > -k password

> >

> > Output was :

> >

> > Mysql user name:cloud

> >       [ OK ]

> > Mysql user password:sigma123

> >      [ OK ]

> > Mysql server ip:localhost

> >       [ OK ]

> > Mysql server port:3306

> >      [ OK ]

> > Mysql root user name:root

> >       [ OK ]

> > Mysql root user password:sigma123

> >       [ OK ]

> > Checking Cloud database files ...

> >       [ OK ]

> > Checking local machine hostname ...

> >       [ OK ]

> > Checking SELinux setup ...

> >      [ OK ]

> > Detected local IP address as <LOCAL IP address> will use as cluster

> > management server node IP[ OK ] Preparing

> > /etc/cloud/management/db.properties

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/server-setup.sql

> >      [ OK ]

> > Applying /usr/share/cloud/setup/templates.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-index-fk.sql

> >       [ OK ]

> > Processing encryption ...

> >       [ OK ]

> > Finalizing setup ...

> >      [ OK ]

> >

> > CloudStack has successfully initialized database, you can check your

> > database configuration in /etc/cloud/management/db.properties

> >

> >

> >

> > Thanks and Regards.

> >

> > Asmita Patil Vagyani.

> > Tech Lead,  Sigma Software Solutions, Pune,

> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> >

> >

> > -----Original Message-----

> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > Sent: 03 January 2013 PM 07:47

> > To: cloudstack-users

> > Subject: Re: CloudStack Installation Query

> >

> > What was the output of cloud-setup-databases command?

> >

> > thx

> >

> >

> > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui 
> > <mcirauqui@gmail.com<mailto:mcirauqui@gmail.com<mailto:mcirauqui@gma
> > il.com%3cmailto:mcirauqui@gmail.com>>>

> wrote:

> >

> > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on

> > > your management server...".

> > >

> > > If it's there, I guess you did it (right?). Then may be a

> > > permissions problem or NFSv4 in use. I read problems with people

> > > using NFSv4 in this mailing list.

> > >

> > > thx

> > >

> > >

> > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <

> > > Asmita.Vagyani@sigma-systems.com<ma...@sigma-systems.com>>> wrote:

> > >

> > >> Hi Marc,

> > >> I am using a separate NFS server for secondary storage, I think 
> > >> the

> > >> way you are going with is when you have nfs shared folder on the

> > >> same management server and mount it there itself.

> > >> Am I right?

> > >>

> > >>

> > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> > >> ck

> > >> /4

> > >> .0.0-incubating/html/Installation_Guide/management-server-install
> > >> -f

> > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate 
> > >> NFS

> > >> Server

> > >>

> > >>

> > >> Thanks and Regards.

> > >>

> > >> Asmita Patil Vagyani.

> > >> Tech Lead,  Sigma Software Solutions, Pune,

> > >> T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >>

> > >>

> > >> -----Original Message-----

> > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > >> Sent: 03 January 2013 PM 07:30

> > >> To: cloudstack-users

> > >> Subject: Re: CloudStack Installation Query

> > >>

> > >> My point was that as the path given to the 
> > >> cloud-install-sys-tmplt

> > >> command

> > >> (/mnt/secondary) and export path (/export), you need to mount the

> > >> export path for secondary storage (/export) on /mnt/secondary

> > >> otherwise system vm template won't be able to download to primary

> > storage.

> > >>

> > >> thx.

> > >>

> > >>

> > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <

> > >> geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>>> wrote:

> > >>

> > >> > Hi Asmita,

> > >> >

> > >> > You don't have to, but its best practice to do so.

> > >> >

> > >> > When you deploy a new Zone, the first thing that happens is 
> > >> > that

> > >> > the System VM Template, which you will have seeded to Secondary

> > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then

> > >> > connects to the Internet and downloads an example Template and

> > >> > places it on secondary

> > >> storage.

> > >> >

> > >> > All the above happens automatically as long as the 
> > >> > configuration

> > >> > of the Compute, Storage and Networking Layers is correct, and

> > >> > seeing it happen is a great sanity check that everything is

> > >> > configured

> > correctly.

> > >> >

> > >> > Skipping configuring the Secondary Storage, and seeding it with

> > >> > the appropriate System VM Templates for your chosen Hypervisors

> > >> > will not break anything, and it can be added later, but as you

> > >> > have to do it at some point, you might as well do it at the beginning.

> > >> >

> > >> > Regards

> > >> >

> > >> > Geoff

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 13:34

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > Is it a mandate that we have to configure/mount a secondary

> > >> > storage nfs server before cloudstack management server installation?

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 PM 12:49

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation 
> > >> > on

> > RHEL.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > I have mounted the secondary storage device on another NFS 
> > >> > server

> > >> > and can see that its mounted.

> > >> > I added line below to my /etc/exports file also :

> > >> > /export *(rw,async,no_root_squash)

> > >> >

> > >> > Then I run cloud-install-sys-tmplt command below to retrieve 
> > >> > and

> > >> > decompress the system VM template - For vSphere:

> > >> >

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0

> > ^C12012.

> > >> > ova

> > >> >  -h vmware -s welcome123 -F

> > >> >

> > >> > I get the following error -

> > >> > rm: cannot remove

> > >> >

> > >>

> > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-

> 97b901f09ae6.ova':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':

> > >> > Permission denied

> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':

> > >> > Permission denied

> > >> > rm: cannot remove

> `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//template.properties':

> > >> > Permission denied Failed to clean up template directory

> > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?

> > >> > Installation failed

> > >> >

> > >> > Did anyone of you face the same problem?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 31 December 2012 PM 02:50

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > I am using RHEL

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]

> > >> > Sent: 31 December 2012 PM 02:43

> > >> > To:
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi,

> > >> >

> > >> > Please use below path if your setup is on Ubuntu.:

> > >> >

> > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-s
> > >> > ys

> > >> > -t

> > >> > mpl

> > >> > t

> > >> >

> > >> > Thanks,

> > >> > Sailaja.M

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: Monday, December 31, 2012 2:16 PM

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > Its says to run one or more of the following

> > >> > cloud-install-sys-tmplt commands to retrieve and decompress the

> > >> > system VM template - For vSphere run command below:

> > >> > #

> > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-h vmware -s <optional-management-server-secret-key>  -F

> > >> >

> > >> > I made a correction in the file path and run the command as below:

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-hvmware -s welcome123 -F

> > >> >

> > >> > It gives an error command not found.

> > >> > cloud-install-sys-tmplt: command not found Any idea why this is

> > >> > not working?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Radhika Puthiyetath
> > >> > [mailto:radhika.puthiyetath@citrix.com]

> > >> > Sent: 28 December 2012 AM 10:48

> > >> > To:
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Thank you for pointing out the errors in docs.

> > >> >

> > >> > Please file a documentation defect in case you find any.

> > >> >

> > >> > Thanks

> > >> > -Radhika

> > >> >

> > >> > -----Original Message-----

> > >> > From: sebgoa [mailto:runseb@gmail.com]

> > >> > Sent: Thursday, December 27, 2012 7:01 PM

> > >> > To:
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: Re: CloudStack Installation Query

> > >> >

> > >> > Asmita,

> > >> >

> > >> > I believe there is an issue with the documentation.

> > >> >

> > >> > try to replace the baseurl with:

> > >> >

> > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

> > >> >

> > >> > and do:

> > >> >

> > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc

> > >> >

> > >> >

> > >> > I have not tested it, so please let us know if it works or not.

> > >> >

> > >> > thanks,

> > >> >

> > >> > -Sebastien

> > >> >

> > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> > >> >

> > >> > > Hi,

> > >> > >

> > >> > > Thanks Jerry for clarifying.

> > >> > >

> > >> > > My next query is:

> > >> > > I am using an RPM-based system, I want to add the Yum

> > >> > > repository so that

> > >> > I can install CloudStack with Yum.

> > >> > > I have created a repos file under /etc/yum.repos.d.

> > >> > >

> > >> > > [cloudstack]

> > >> > > name=cloudstack

> > >> > > baseurl=http://server.url/downloads/rpm/stable/

> > >> > > enabled=1

> > >> > > gpgcheck=1

> > >> > >

> > >> > > Next you'll want to add the GPG key:

> > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt

> > >> > >

> > >> > >

> > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.

> > >> > > ) What will be the value of server.url?

> > >> > >

> > >> > > Thanks and Regards.

> > >> > >

> > >> > > Asmita

> > >> > >

> > >> > >

> > >> > > -----Original Message-----

> > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]

> > >> > > Sent: 27 December 2012 PM 06:20

> > >> > > To:
> > >> > > cloudstack-users@incubator.apache.org<mailto:cloudstack-users
> > >> > > @incubator.apache.org>

> > >> > > Subject: Re: CloudStack Installation Query

> > >> > >

> > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS

> > >> > >

> > >> > > Jerry

> > >> > >

> > >> > > ----- Original Message -----

> > >> > > From: "Asmita Vagyani"
> > >> > > <Asmita.Vagyani@sigma-systems.com<mailto:Asmita.Vagyani@sigma
> > >> > > -systems.com>>

> > >> > > To: "cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>"

> > >> > > <cloudstack-users@incubator.apache.org<mailto:cloudstack-user
> > >> > > s@incubator.apache.org>>

> > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM

> > >> > > Subject: CloudStack Installation Query

> > >> > >

> > >> > > Hi,

> > >> > >

> > >> > > I am trying to install CloudStack 4 on the system.

> > >> > > I am having RHEL 6.3 system for the CloudStack Management

> > >> > > server

> > >> > installation.

> > >> > >

> > >> > > I am following standard Installation guide to do so.

> > >> > > Location -

> > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Clou
> > >> > > dS

> > >> > > ta

> > >> > > ck/4

> > >> .

> > >> > > 0.0-incubating/html/Installation_Guide/index.html

> > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.

> > >> > >

> > >> > > I wanted to confirm if I should perform step in section 3.5

> > >> > > only if my

> > >> > server OS is Ubuntu and perform steps in section 3.6 if my

> > >> > management server is RHEL server.

> > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

> > >> > >

> > >> > > Please clarify.

> > >> > >

> > >> > > Thanks and Regards.

> > >> > > Asmita.

> > >> > >

> > >> > >

> > >> >

> > >> > ShapeBlue provides a range of strategic and technical 
> > >> > consulting

> > >> > and implementation services to help IT Service Providers and

> > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s

> > >> > expertise, combined with CloudStack technology, allows IT 
> > >> > Service

> > >> > Providers and Enterprises to deliver true, utility based, IaaS 
> > >> > to

> > >> > the customer or

> > >> end-user.

> > >> >

> > >> > ________________________________

> > >> >

> > >> > This email and any attachments to it may be confidential and 
> > >> > are

> > >> > intended solely for the use of the individual to whom it is addressed.

> > >> > Any views or opinions expressed are solely those of the author

> > >> > and do not necessarily represent those of Shape Blue Ltd. If 
> > >> > you

> > >> > are not the intended recipient of this email, you must neither

> > >> > take any action based upon its contents, nor copy or show it to anyone.

> > >> > Please contact the sender if you believe you have received this

> > >> > email in error. Shape Blue Ltd is a company incorporated in

> > >> > England &

> > Wales.

> > >> >

> > >>

> > >

> > >

> >

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises 
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with 
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver 
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are 
> intended

> solely for the use of the individual to whom it is addressed. Any 
> views or

> opinions expressed are solely those of the author and do not 
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended 
> recipient of this

> email, you must neither take any action based upon its contents, nor 
> copy or

> show it to anyone. Please contact the sender if you believe you have 
> received

> this email in error. Shape Blue Ltd is a company incorporated in 
> England &

> Wales.

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises 
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with 
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver 
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are 
> intended

> solely for the use of the individual to whom it is addressed. Any 
> views or

> opinions expressed are solely those of the author and do not 
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended 
> recipient of this

> email, you must neither take any action based upon its contents, nor 
> copy or

> show it to anyone. Please contact the sender if you believe you have 
> received

> this email in error. Shape Blue Ltd is a company incorporated in 
> England &

> Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Geoff Higginbottom <ge...@shapeblue.com>.
Asmita,

Further to Sailaja's excellent advice about not using the wizard, you may also need to re-enable VMware support.

If you built CloudStack 4.0.0 from source, then the VMware plugin is not included (a licensing issue which will hopefully be resolved) so the easiest thing to is use the pre-built image from here http://cloudstack.apt-get.eu/rhel/4.0/

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbottom@shapeblue.com


-----Original Message-----
From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
Sent: 07 January 2013 08:39
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmita,

First time when you launch the browser with the management server IP, you get to see two options .

1. I have used CloudStack before , skip this guide
2. Continue with Basic installation . [Guided tour]

If you choose option 2 , then you get to see KVM and Xenserver only while adding the cluster.   So select first option ,  go to Infrastructure page to configure the Zone.  Zone configuration page will have an option to select all the supported hypervisors .

Security Group will get enabled based on the network offering that you choose while adding the zone .

Ex:  DefaultSharedNetworkOfferingWithSGService -  This is the Network Offering for Shared Security group enabled networks

Thanks,
Sailaja.M


-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Monday, January 07, 2013 1:42 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Geoff your comments says " If you add a new Zone WITHOUT Security Groups, you will be able to add a VMware Cluster".

How is that possible with Cloudstack 4?
I am using the Cloudstack 4 client console for configuring the zone, pod,cluster.
When I configure the Basic zone, it doesnot ask me abt the security zone.
Also after POD, Guest network I am taken to CLuster configuration where I don’t see the VMWare option.
I mean the security config comes later before cluster is configured on Cloudstack 4.



Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
Sent: 04 January 2013 PM 10:52
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmita,

If you only have XenServer and KVM listed you must be using a Basic Zone with Security Groups, these are only supported by XenServer and KVM.

If you add a new Zone WITHOUT Security Groups, you will be able to add a VMware Cluster

Remember you cannot add an Advanced Zone to this Cloud, as mixing Basic and Advanced is not supported (it appears to work but you get networking issues so I suggest you steer well clear)

Regards

Geoff Higginbottom

D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> | M: +447968161581<tel:+447968161581>

geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>

From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 17:07
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

You are very much right Geoff.
I checked in the mySQL DB domain table.
It had one entry with id column value as 1.

Other problem is while I configure the Cluster on the Client console of Cloudstack management server, I have to select the hypervisor.
The hypervisor shows only 2 dropdown options - XenServer and KVM.
I actually want to setup VMWare cluster.
How do I get the VM Ware listed here?
In the installation guide, it says the clustering in VMWare is a combination of VSphere and Cloud admin console configuration.
Does it mean that the VMWare option will be listed only if the cluster is configured on the VSphere first?
[cid:A021549DF2AD0643B04692789EC3276F@namprd05.prod.outlook.com]

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
Sent: 04 January 2013 PM 06:43
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: RE: CloudStack Installation Query

This looks like a bug in the API command.

It appears to be using the MySQL Record ID (in this case Record ID 1) rather than the actual Domain ID (uuid field in the DB table 'domain')

Suggest you file a bug report

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 13:08
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Likitha,
You are right.

I tried with domainId=1, the command worked, and generated an api keypair for me.

Then I used, the listDomains API, it gave me 1 domain with a different ID. - <listdomainsresponse cloud-stack-version="3.0.2.20120506223416">
        <count>1</count>
        <domain><id>1448af9f-161a-4d75-a8b4-3bb3b577bbf3</id>
                <name>ROOT</name>
                <level>0</level>
                <haschild>false</haschild>
                <path>ROOT</path>
        </domain>
        </listdomainsresponse>

When I run the same command to create an keypair with the actual domainId 1448af9f-161a-4d75-a8b4-3bb3b577bbf3 above , I get an error

<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
        <errorcode>431</errorcode>
        <errortext>A key pair with name &apos;keypair-doc&apos; already exists.</errortext> </createsshkeypairresponse>

1) Is it possible to remove this API keyAnd try with the correct domainid.
2) If you observe the response has the cloudstack API version with it. I actually installed the Cloudstack 4 on management server, then I expect to get the version like 4.0.x some thing.
Is it normal?


Thanks and Regards.

Asmita


-----Original Message-----
From: Likitha Shetty [mailto:likitha.shetty@citrix.com]
Sent: 04 January 2013 PM 05:58
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: RE: CloudStack Installation Query

Asmita,



Please run the following command to confirm that you are using the right domain-id, curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-ad75cae8e8a2”.

This command should return the domain with the right response tags, if not then as Geoff pointed and as mentioned in the error it is because the domainId is invalid.



Thank you,

Likitha



> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: Friday, January 04, 2013 5:44 PM

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> yes, its as per documentation.

>

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

>

> -----Original Message-----

> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]

> Sent: 04 January 2013 PM 05:26

> To:
> cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubato
> r.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmita

>

> The error message implies the DomainID is invalid, have you copied it
> correctly

>

> Regards

>

> Geoff

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 11:40

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Thanks Paul for sharing the solution.

> The info abt 'integration.api.port' is missing in the documentation in
> the

> installation guide.

> I got this working by changing the port value in the MySQL Db.

>

> My next issue is:

> When I run

> [root@torvm-cloudstack-mgmt ~]# curl --globoff
> "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command=c
> reateSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-4
> 2b5-9109-ad75cae8e8a2>

> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin<http
> ://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdo
> c&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

>

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>                 <errorcode>431</errorcode>

>                 <errortext>Unable to execute API command
> createsshkeypair due

> curl --globoff

> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac<
> http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> count=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>         <errorcode>431</errorcode>

>         <errortext>Unable to execute API command createsshkeypair due
> to

> invalid value. Object domain(uuid:
> 5163440e-c44b-42b5-9109-ad75cae8e8a2)

> does not exist.</errortext> </createsshkeypairresponse>[root@

>

> Its because the domain is missing.

> Is there something that I need to do for enabling the domain?

> I don’t see this documented in the installation guide.

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Paul Angus [mailto:paul.angus@shapeblue.com]

> Sent: 04 January 2013 PM 02:19

> To:
> cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubato
> r.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmiti,

>

> There's a global setting 'integration.api.port' which by default is
> empty (ie

> disabled) you need to enter the port you want to use in there (8096)
> and restart

> the management service.

>

> Regards,

>

> Paul Angus

> Cloud Architect / Senior Consultant

> paul.angus@shapeblue.com<mailto:paul.angus@shapeblue.com<mailto:paul.a
> ngus@shapeblue.com%3cmailto:paul.angus@shapeblue.com>> |
> www.shapeblue.com<http://www.shapeblue.com<http://www.shapeblue.com%3c
> http:/www.shapeblue.com>> | Twitter:@shapeBlue

> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 08:41

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Hi Marc,

>

> I am running the command from Management server only.

> I specified that client is running on 8080 port, when I login to console.

> But when I hit the API for 8096, it seems this point is not running.

> I mean when I checked if anything is running on this 8096 port, I get nothing.

> Am I missing something, because of which APIs are not getting accessed?

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> Sent: 04 January 2013 PM 01:32

> To: cloudstack-users

> Subject: Re: CloudStack Installation Query

>

> Hi,

>

> First, this command is meant to be run on management server not from a

> client (the 8096 is API integration port). Then, there are two things
> I can't

> remember exactly (I don't have a working installation rigth now), but:

>

> 1- The domain id is always the same in every installation?

> 2- Using integration port you need API path? So url is

> http://localhost:8096/client/api?command=...

>

> Can someone shed a light on this?

>

> thx

>

>

> On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani <
> Asmita.Vagyani@sigma-<mailto:Asmita.Vagyani@sigma-systems.com<mailto:A
> smita.Vagyani@sigma-%3cmailto:Asmita.Vagyani@sigma-systems.com>>

> systems.com<ma...@sigma-systems.com>> wrote:

>

> > Hi all,

> > I managed to start the Cloud Management server on the RHEL OS.

> > I am able to login to the management server console now after

> > re-installing the mySQL DB.

> >

> > I am following the next step after changing the password, for
> > creating

> > the ssh template.

> >

> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.

> > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh
> > -t

> > emplate

> >

> > Section 5.2.2. Creating the SSH Keypair When I run the command below

> > on management server -

> >

> > curl --globoff "

> >

> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco

> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2

> > "

> >

> > I get error curl: (7) couldn't connect to host

> >

> > On port 8080 I can see the client is running, I am not sure about
> > the

> > webservice endpoint if its correct.(Here port is 8096) Other point
> > is

> > domain Id- where can I get this domain id from?

> >

> > Thanks and Regards.

> >

> > Asmita

> > -----Original Message-----

> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > Sent: 03 January 2013 PM 07:52

> > To: 'cloudstack-users@incubator.apache.org'

> > Subject: RE: CloudStack Installation Query

> >

> > I used this command to deploy DB.

> >

> > $ cloud-setup-databases

> > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m
> > password

> > -k password

> >

> > Output was :

> >

> > Mysql user name:cloud

> >       [ OK ]

> > Mysql user password:sigma123

> >      [ OK ]

> > Mysql server ip:localhost

> >       [ OK ]

> > Mysql server port:3306

> >      [ OK ]

> > Mysql root user name:root

> >       [ OK ]

> > Mysql root user password:sigma123

> >       [ OK ]

> > Checking Cloud database files ...

> >       [ OK ]

> > Checking local machine hostname ...

> >       [ OK ]

> > Checking SELinux setup ...

> >      [ OK ]

> > Detected local IP address as <LOCAL IP address> will use as cluster

> > management server node IP[ OK ] Preparing

> > /etc/cloud/management/db.properties

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/server-setup.sql

> >      [ OK ]

> > Applying /usr/share/cloud/setup/templates.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-index-fk.sql

> >       [ OK ]

> > Processing encryption ...

> >       [ OK ]

> > Finalizing setup ...

> >      [ OK ]

> >

> > CloudStack has successfully initialized database, you can check your

> > database configuration in /etc/cloud/management/db.properties

> >

> >

> >

> > Thanks and Regards.

> >

> > Asmita Patil Vagyani.

> > Tech Lead,  Sigma Software Solutions, Pune,

> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> >

> >

> > -----Original Message-----

> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > Sent: 03 January 2013 PM 07:47

> > To: cloudstack-users

> > Subject: Re: CloudStack Installation Query

> >

> > What was the output of cloud-setup-databases command?

> >

> > thx

> >

> >

> > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui
> > <mcirauqui@gmail.com<mailto:mcirauqui@gmail.com<mailto:mcirauqui@gma
> > il.com%3cmailto:mcirauqui@gmail.com>>>

> wrote:

> >

> > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on

> > > your management server...".

> > >

> > > If it's there, I guess you did it (right?). Then may be a

> > > permissions problem or NFSv4 in use. I read problems with people

> > > using NFSv4 in this mailing list.

> > >

> > > thx

> > >

> > >

> > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <

> > > Asmita.Vagyani@sigma-systems.com<ma...@sigma-systems.com>>> wrote:

> > >

> > >> Hi Marc,

> > >> I am using a separate NFS server for secondary storage, I think
> > >> the

> > >> way you are going with is when you have nfs shared folder on the

> > >> same management server and mount it there itself.

> > >> Am I right?

> > >>

> > >>

> > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> > >> ck

> > >> /4

> > >> .0.0-incubating/html/Installation_Guide/management-server-install
> > >> -f

> > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate
> > >> NFS

> > >> Server

> > >>

> > >>

> > >> Thanks and Regards.

> > >>

> > >> Asmita Patil Vagyani.

> > >> Tech Lead,  Sigma Software Solutions, Pune,

> > >> T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >>

> > >>

> > >> -----Original Message-----

> > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > >> Sent: 03 January 2013 PM 07:30

> > >> To: cloudstack-users

> > >> Subject: Re: CloudStack Installation Query

> > >>

> > >> My point was that as the path given to the
> > >> cloud-install-sys-tmplt

> > >> command

> > >> (/mnt/secondary) and export path (/export), you need to mount the

> > >> export path for secondary storage (/export) on /mnt/secondary

> > >> otherwise system vm template won't be able to download to primary

> > storage.

> > >>

> > >> thx.

> > >>

> > >>

> > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <

> > >> geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>>> wrote:

> > >>

> > >> > Hi Asmita,

> > >> >

> > >> > You don't have to, but its best practice to do so.

> > >> >

> > >> > When you deploy a new Zone, the first thing that happens is
> > >> > that

> > >> > the System VM Template, which you will have seeded to Secondary

> > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then

> > >> > connects to the Internet and downloads an example Template and

> > >> > places it on secondary

> > >> storage.

> > >> >

> > >> > All the above happens automatically as long as the
> > >> > configuration

> > >> > of the Compute, Storage and Networking Layers is correct, and

> > >> > seeing it happen is a great sanity check that everything is

> > >> > configured

> > correctly.

> > >> >

> > >> > Skipping configuring the Secondary Storage, and seeding it with

> > >> > the appropriate System VM Templates for your chosen Hypervisors

> > >> > will not break anything, and it can be added later, but as you

> > >> > have to do it at some point, you might as well do it at the beginning.

> > >> >

> > >> > Regards

> > >> >

> > >> > Geoff

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 13:34

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > Is it a mandate that we have to configure/mount a secondary

> > >> > storage nfs server before cloudstack management server installation?

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 PM 12:49

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation
> > >> > on

> > RHEL.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > I have mounted the secondary storage device on another NFS
> > >> > server

> > >> > and can see that its mounted.

> > >> > I added line below to my /etc/exports file also :

> > >> > /export *(rw,async,no_root_squash)

> > >> >

> > >> > Then I run cloud-install-sys-tmplt command below to retrieve
> > >> > and

> > >> > decompress the system VM template - For vSphere:

> > >> >

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0

> > ^C12012.

> > >> > ova

> > >> >  -h vmware -s welcome123 -F

> > >> >

> > >> > I get the following error -

> > >> > rm: cannot remove

> > >> >

> > >>

> > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-

> 97b901f09ae6.ova':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':

> > >> > Permission denied

> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':

> > >> > Permission denied

> > >> > rm: cannot remove

> `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//template.properties':

> > >> > Permission denied Failed to clean up template directory

> > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?

> > >> > Installation failed

> > >> >

> > >> > Did anyone of you face the same problem?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 31 December 2012 PM 02:50

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > I am using RHEL

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]

> > >> > Sent: 31 December 2012 PM 02:43

> > >> > To:
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi,

> > >> >

> > >> > Please use below path if your setup is on Ubuntu.:

> > >> >

> > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-s
> > >> > ys

> > >> > -t

> > >> > mpl

> > >> > t

> > >> >

> > >> > Thanks,

> > >> > Sailaja.M

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: Monday, December 31, 2012 2:16 PM

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > Its says to run one or more of the following

> > >> > cloud-install-sys-tmplt commands to retrieve and decompress the

> > >> > system VM template - For vSphere run command below:

> > >> > #

> > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-h vmware -s <optional-management-server-secret-key>  -F

> > >> >

> > >> > I made a correction in the file path and run the command as below:

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-hvmware -s welcome123 -F

> > >> >

> > >> > It gives an error command not found.

> > >> > cloud-install-sys-tmplt: command not found Any idea why this is

> > >> > not working?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Radhika Puthiyetath
> > >> > [mailto:radhika.puthiyetath@citrix.com]

> > >> > Sent: 28 December 2012 AM 10:48

> > >> > To:
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Thank you for pointing out the errors in docs.

> > >> >

> > >> > Please file a documentation defect in case you find any.

> > >> >

> > >> > Thanks

> > >> > -Radhika

> > >> >

> > >> > -----Original Message-----

> > >> > From: sebgoa [mailto:runseb@gmail.com]

> > >> > Sent: Thursday, December 27, 2012 7:01 PM

> > >> > To:
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: Re: CloudStack Installation Query

> > >> >

> > >> > Asmita,

> > >> >

> > >> > I believe there is an issue with the documentation.

> > >> >

> > >> > try to replace the baseurl with:

> > >> >

> > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

> > >> >

> > >> > and do:

> > >> >

> > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc

> > >> >

> > >> >

> > >> > I have not tested it, so please let us know if it works or not.

> > >> >

> > >> > thanks,

> > >> >

> > >> > -Sebastien

> > >> >

> > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> > >> >

> > >> > > Hi,

> > >> > >

> > >> > > Thanks Jerry for clarifying.

> > >> > >

> > >> > > My next query is:

> > >> > > I am using an RPM-based system, I want to add the Yum

> > >> > > repository so that

> > >> > I can install CloudStack with Yum.

> > >> > > I have created a repos file under /etc/yum.repos.d.

> > >> > >

> > >> > > [cloudstack]

> > >> > > name=cloudstack

> > >> > > baseurl=http://server.url/downloads/rpm/stable/

> > >> > > enabled=1

> > >> > > gpgcheck=1

> > >> > >

> > >> > > Next you'll want to add the GPG key:

> > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt

> > >> > >

> > >> > >

> > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.

> > >> > > ) What will be the value of server.url?

> > >> > >

> > >> > > Thanks and Regards.

> > >> > >

> > >> > > Asmita

> > >> > >

> > >> > >

> > >> > > -----Original Message-----

> > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]

> > >> > > Sent: 27 December 2012 PM 06:20

> > >> > > To:
> > >> > > cloudstack-users@incubator.apache.org<mailto:cloudstack-users
> > >> > > @incubator.apache.org>

> > >> > > Subject: Re: CloudStack Installation Query

> > >> > >

> > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS

> > >> > >

> > >> > > Jerry

> > >> > >

> > >> > > ----- Original Message -----

> > >> > > From: "Asmita Vagyani"
> > >> > > <Asmita.Vagyani@sigma-systems.com<mailto:Asmita.Vagyani@sigma
> > >> > > -systems.com>>

> > >> > > To: "cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>"

> > >> > > <cloudstack-users@incubator.apache.org<mailto:cloudstack-user
> > >> > > s@incubator.apache.org>>

> > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM

> > >> > > Subject: CloudStack Installation Query

> > >> > >

> > >> > > Hi,

> > >> > >

> > >> > > I am trying to install CloudStack 4 on the system.

> > >> > > I am having RHEL 6.3 system for the CloudStack Management

> > >> > > server

> > >> > installation.

> > >> > >

> > >> > > I am following standard Installation guide to do so.

> > >> > > Location -

> > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Clou
> > >> > > dS

> > >> > > ta

> > >> > > ck/4

> > >> .

> > >> > > 0.0-incubating/html/Installation_Guide/index.html

> > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.

> > >> > >

> > >> > > I wanted to confirm if I should perform step in section 3.5

> > >> > > only if my

> > >> > server OS is Ubuntu and perform steps in section 3.6 if my

> > >> > management server is RHEL server.

> > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

> > >> > >

> > >> > > Please clarify.

> > >> > >

> > >> > > Thanks and Regards.

> > >> > > Asmita.

> > >> > >

> > >> > >

> > >> >

> > >> > ShapeBlue provides a range of strategic and technical
> > >> > consulting

> > >> > and implementation services to help IT Service Providers and

> > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s

> > >> > expertise, combined with CloudStack technology, allows IT
> > >> > Service

> > >> > Providers and Enterprises to deliver true, utility based, IaaS
> > >> > to

> > >> > the customer or

> > >> end-user.

> > >> >

> > >> > ________________________________

> > >> >

> > >> > This email and any attachments to it may be confidential and
> > >> > are

> > >> > intended solely for the use of the individual to whom it is addressed.

> > >> > Any views or opinions expressed are solely those of the author

> > >> > and do not necessarily represent those of Shape Blue Ltd. If
> > >> > you

> > >> > are not the intended recipient of this email, you must neither

> > >> > take any action based upon its contents, nor copy or show it to anyone.

> > >> > Please contact the sender if you believe you have received this

> > >> > email in error. Shape Blue Ltd is a company incorporated in

> > >> > England &

> > Wales.

> > >> >

> > >>

> > >

> > >

> >

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are
> intended

> solely for the use of the individual to whom it is addressed. Any
> views or

> opinions expressed are solely those of the author and do not
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended
> recipient of this

> email, you must neither take any action based upon its contents, nor
> copy or

> show it to anyone. Please contact the sender if you believe you have
> received

> this email in error. Shape Blue Ltd is a company incorporated in
> England &

> Wales.

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are
> intended

> solely for the use of the individual to whom it is addressed. Any
> views or

> opinions expressed are solely those of the author and do not
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended
> recipient of this

> email, you must neither take any action based upon its contents, nor
> copy or

> show it to anyone. Please contact the sender if you believe you have
> received

> this email in error. Shape Blue Ltd is a company incorporated in
> England &

> Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Sailaja Mada <sa...@citrix.com>.
Hi Asmita,

First time when you launch the browser with the management server IP, you get to see two options .

1. I have used CloudStack before , skip this guide
2. Continue with Basic installation . [Guided tour]

If you choose option 2 , then you get to see KVM and Xenserver only while adding the cluster.   So select first option ,  go to Infrastructure page to configure the Zone.  Zone configuration page will have an option to select all the supported hypervisors .

Security Group will get enabled based on the network offering that you choose while adding the zone .

Ex:  DefaultSharedNetworkOfferingWithSGService -  This is the Network Offering for Shared Security group enabled networks

Thanks,
Sailaja.M


-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Monday, January 07, 2013 1:42 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Geoff your comments says " If you add a new Zone WITHOUT Security Groups, you will be able to add a VMware Cluster".

How is that possible with Cloudstack 4?
I am using the Cloudstack 4 client console for configuring the zone, pod,cluster.
When I configure the Basic zone, it doesnot ask me abt the security zone.
Also after POD, Guest network I am taken to CLuster configuration where I don’t see the VMWare option.
I mean the security config comes later before cluster is configured on Cloudstack 4.



Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
Sent: 04 January 2013 PM 10:52
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmita,

If you only have XenServer and KVM listed you must be using a Basic Zone with Security Groups, these are only supported by XenServer and KVM.

If you add a new Zone WITHOUT Security Groups, you will be able to add a VMware Cluster

Remember you cannot add an Advanced Zone to this Cloud, as mixing Basic and Advanced is not supported (it appears to work but you get networking issues so I suggest you steer well clear)

Regards

Geoff Higginbottom

D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> | M: +447968161581<tel:+447968161581>

geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>

From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 17:07
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

You are very much right Geoff.
I checked in the mySQL DB domain table.
It had one entry with id column value as 1.

Other problem is while I configure the Cluster on the Client console of Cloudstack management server, I have to select the hypervisor.
The hypervisor shows only 2 dropdown options - XenServer and KVM.
I actually want to setup VMWare cluster.
How do I get the VM Ware listed here?
In the installation guide, it says the clustering in VMWare is a combination of VSphere and Cloud admin console configuration.
Does it mean that the VMWare option will be listed only if the cluster is configured on the VSphere first?
[cid:A021549DF2AD0643B04692789EC3276F@namprd05.prod.outlook.com]

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
Sent: 04 January 2013 PM 06:43
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: RE: CloudStack Installation Query

This looks like a bug in the API command.

It appears to be using the MySQL Record ID (in this case Record ID 1) rather than the actual Domain ID (uuid field in the DB table 'domain')

Suggest you file a bug report

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 13:08
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Likitha,
You are right.

I tried with domainId=1, the command worked, and generated an api keypair for me.

Then I used, the listDomains API, it gave me 1 domain with a different ID. - <listdomainsresponse cloud-stack-version="3.0.2.20120506223416">
        <count>1</count>
        <domain><id>1448af9f-161a-4d75-a8b4-3bb3b577bbf3</id>
                <name>ROOT</name>
                <level>0</level>
                <haschild>false</haschild>
                <path>ROOT</path>
        </domain>
        </listdomainsresponse>

When I run the same command to create an keypair with the actual domainId 1448af9f-161a-4d75-a8b4-3bb3b577bbf3 above , I get an error

<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
        <errorcode>431</errorcode>
        <errortext>A key pair with name &apos;keypair-doc&apos; already exists.</errortext> </createsshkeypairresponse>

1) Is it possible to remove this API keyAnd try with the correct domainid.
2) If you observe the response has the cloudstack API version with it. I actually installed the Cloudstack 4 on management server, then I expect to get the version like 4.0.x some thing.
Is it normal?


Thanks and Regards.

Asmita


-----Original Message-----
From: Likitha Shetty [mailto:likitha.shetty@citrix.com]
Sent: 04 January 2013 PM 05:58
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: RE: CloudStack Installation Query

Asmita,



Please run the following command to confirm that you are using the right domain-id, curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-ad75cae8e8a2”.

This command should return the domain with the right response tags, if not then as Geoff pointed and as mentioned in the error it is because the domainId is invalid.



Thank you,

Likitha



> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: Friday, January 04, 2013 5:44 PM

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> yes, its as per documentation.

>

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

>

> -----Original Message-----

> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]

> Sent: 04 January 2013 PM 05:26

> To:
> cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubato
> r.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmita

>

> The error message implies the DomainID is invalid, have you copied it
> correctly

>

> Regards

>

> Geoff

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 11:40

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Thanks Paul for sharing the solution.

> The info abt 'integration.api.port' is missing in the documentation in
> the

> installation guide.

> I got this working by changing the port value in the MySQL Db.

>

> My next issue is:

> When I run

> [root@torvm-cloudstack-mgmt ~]# curl --globoff
> "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command=c
> reateSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-4
> 2b5-9109-ad75cae8e8a2>

> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin<http
> ://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdo
> c&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

>

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>                 <errorcode>431</errorcode>

>                 <errortext>Unable to execute API command
> createsshkeypair due

> curl --globoff

> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac<
> http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> count=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>         <errorcode>431</errorcode>

>         <errortext>Unable to execute API command createsshkeypair due
> to

> invalid value. Object domain(uuid:
> 5163440e-c44b-42b5-9109-ad75cae8e8a2)

> does not exist.</errortext> </createsshkeypairresponse>[root@

>

> Its because the domain is missing.

> Is there something that I need to do for enabling the domain?

> I don’t see this documented in the installation guide.

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Paul Angus [mailto:paul.angus@shapeblue.com]

> Sent: 04 January 2013 PM 02:19

> To:
> cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubato
> r.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmiti,

>

> There's a global setting 'integration.api.port' which by default is
> empty (ie

> disabled) you need to enter the port you want to use in there (8096)
> and restart

> the management service.

>

> Regards,

>

> Paul Angus

> Cloud Architect / Senior Consultant

> paul.angus@shapeblue.com<mailto:paul.angus@shapeblue.com<mailto:paul.a
> ngus@shapeblue.com%3cmailto:paul.angus@shapeblue.com>> |
> www.shapeblue.com<http://www.shapeblue.com<http://www.shapeblue.com%3c
> http:/www.shapeblue.com>> | Twitter:@shapeBlue

> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 08:41

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Hi Marc,

>

> I am running the command from Management server only.

> I specified that client is running on 8080 port, when I login to console.

> But when I hit the API for 8096, it seems this point is not running.

> I mean when I checked if anything is running on this 8096 port, I get nothing.

> Am I missing something, because of which APIs are not getting accessed?

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> Sent: 04 January 2013 PM 01:32

> To: cloudstack-users

> Subject: Re: CloudStack Installation Query

>

> Hi,

>

> First, this command is meant to be run on management server not from a

> client (the 8096 is API integration port). Then, there are two things
> I can't

> remember exactly (I don't have a working installation rigth now), but:

>

> 1- The domain id is always the same in every installation?

> 2- Using integration port you need API path? So url is

> http://localhost:8096/client/api?command=...

>

> Can someone shed a light on this?

>

> thx

>

>

> On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani <
> Asmita.Vagyani@sigma-<mailto:Asmita.Vagyani@sigma-systems.com<mailto:A
> smita.Vagyani@sigma-%3cmailto:Asmita.Vagyani@sigma-systems.com>>

> systems.com<ma...@sigma-systems.com>> wrote:

>

> > Hi all,

> > I managed to start the Cloud Management server on the RHEL OS.

> > I am able to login to the management server console now after

> > re-installing the mySQL DB.

> >

> > I am following the next step after changing the password, for
> > creating

> > the ssh template.

> >

> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.

> > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh
> > -t

> > emplate

> >

> > Section 5.2.2. Creating the SSH Keypair When I run the command below

> > on management server -

> >

> > curl --globoff "

> >

> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco

> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2

> > "

> >

> > I get error curl: (7) couldn't connect to host

> >

> > On port 8080 I can see the client is running, I am not sure about
> > the

> > webservice endpoint if its correct.(Here port is 8096) Other point
> > is

> > domain Id- where can I get this domain id from?

> >

> > Thanks and Regards.

> >

> > Asmita

> > -----Original Message-----

> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > Sent: 03 January 2013 PM 07:52

> > To: 'cloudstack-users@incubator.apache.org'

> > Subject: RE: CloudStack Installation Query

> >

> > I used this command to deploy DB.

> >

> > $ cloud-setup-databases

> > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m
> > password

> > -k password

> >

> > Output was :

> >

> > Mysql user name:cloud

> >       [ OK ]

> > Mysql user password:sigma123

> >      [ OK ]

> > Mysql server ip:localhost

> >       [ OK ]

> > Mysql server port:3306

> >      [ OK ]

> > Mysql root user name:root

> >       [ OK ]

> > Mysql root user password:sigma123

> >       [ OK ]

> > Checking Cloud database files ...

> >       [ OK ]

> > Checking local machine hostname ...

> >       [ OK ]

> > Checking SELinux setup ...

> >      [ OK ]

> > Detected local IP address as <LOCAL IP address> will use as cluster

> > management server node IP[ OK ] Preparing

> > /etc/cloud/management/db.properties

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/server-setup.sql

> >      [ OK ]

> > Applying /usr/share/cloud/setup/templates.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-index-fk.sql

> >       [ OK ]

> > Processing encryption ...

> >       [ OK ]

> > Finalizing setup ...

> >      [ OK ]

> >

> > CloudStack has successfully initialized database, you can check your

> > database configuration in /etc/cloud/management/db.properties

> >

> >

> >

> > Thanks and Regards.

> >

> > Asmita Patil Vagyani.

> > Tech Lead,  Sigma Software Solutions, Pune,

> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> >

> >

> > -----Original Message-----

> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > Sent: 03 January 2013 PM 07:47

> > To: cloudstack-users

> > Subject: Re: CloudStack Installation Query

> >

> > What was the output of cloud-setup-databases command?

> >

> > thx

> >

> >

> > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui
> > <mcirauqui@gmail.com<mailto:mcirauqui@gmail.com<mailto:mcirauqui@gma
> > il.com%3cmailto:mcirauqui@gmail.com>>>

> wrote:

> >

> > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on

> > > your management server...".

> > >

> > > If it's there, I guess you did it (right?). Then may be a

> > > permissions problem or NFSv4 in use. I read problems with people

> > > using NFSv4 in this mailing list.

> > >

> > > thx

> > >

> > >

> > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <

> > > Asmita.Vagyani@sigma-systems.com<ma...@sigma-systems.com>>> wrote:

> > >

> > >> Hi Marc,

> > >> I am using a separate NFS server for secondary storage, I think
> > >> the

> > >> way you are going with is when you have nfs shared folder on the

> > >> same management server and mount it there itself.

> > >> Am I right?

> > >>

> > >>

> > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> > >> ck

> > >> /4

> > >> .0.0-incubating/html/Installation_Guide/management-server-install
> > >> -f

> > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate
> > >> NFS

> > >> Server

> > >>

> > >>

> > >> Thanks and Regards.

> > >>

> > >> Asmita Patil Vagyani.

> > >> Tech Lead,  Sigma Software Solutions, Pune,

> > >> T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >>

> > >>

> > >> -----Original Message-----

> > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > >> Sent: 03 January 2013 PM 07:30

> > >> To: cloudstack-users

> > >> Subject: Re: CloudStack Installation Query

> > >>

> > >> My point was that as the path given to the
> > >> cloud-install-sys-tmplt

> > >> command

> > >> (/mnt/secondary) and export path (/export), you need to mount the

> > >> export path for secondary storage (/export) on /mnt/secondary

> > >> otherwise system vm template won't be able to download to primary

> > storage.

> > >>

> > >> thx.

> > >>

> > >>

> > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <

> > >> geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>>> wrote:

> > >>

> > >> > Hi Asmita,

> > >> >

> > >> > You don't have to, but its best practice to do so.

> > >> >

> > >> > When you deploy a new Zone, the first thing that happens is
> > >> > that

> > >> > the System VM Template, which you will have seeded to Secondary

> > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then

> > >> > connects to the Internet and downloads an example Template and

> > >> > places it on secondary

> > >> storage.

> > >> >

> > >> > All the above happens automatically as long as the
> > >> > configuration

> > >> > of the Compute, Storage and Networking Layers is correct, and

> > >> > seeing it happen is a great sanity check that everything is

> > >> > configured

> > correctly.

> > >> >

> > >> > Skipping configuring the Secondary Storage, and seeding it with

> > >> > the appropriate System VM Templates for your chosen Hypervisors

> > >> > will not break anything, and it can be added later, but as you

> > >> > have to do it at some point, you might as well do it at the beginning.

> > >> >

> > >> > Regards

> > >> >

> > >> > Geoff

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 13:34

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > Is it a mandate that we have to configure/mount a secondary

> > >> > storage nfs server before cloudstack management server installation?

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 PM 12:49

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation
> > >> > on

> > RHEL.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > I have mounted the secondary storage device on another NFS
> > >> > server

> > >> > and can see that its mounted.

> > >> > I added line below to my /etc/exports file also :

> > >> > /export *(rw,async,no_root_squash)

> > >> >

> > >> > Then I run cloud-install-sys-tmplt command below to retrieve
> > >> > and

> > >> > decompress the system VM template - For vSphere:

> > >> >

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0

> > ^C12012.

> > >> > ova

> > >> >  -h vmware -s welcome123 -F

> > >> >

> > >> > I get the following error -

> > >> > rm: cannot remove

> > >> >

> > >>

> > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-

> 97b901f09ae6.ova':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':

> > >> > Permission denied

> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':

> > >> > Permission denied

> > >> > rm: cannot remove

> `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//template.properties':

> > >> > Permission denied Failed to clean up template directory

> > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?

> > >> > Installation failed

> > >> >

> > >> > Did anyone of you face the same problem?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 31 December 2012 PM 02:50

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > I am using RHEL

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]

> > >> > Sent: 31 December 2012 PM 02:43

> > >> > To:
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi,

> > >> >

> > >> > Please use below path if your setup is on Ubuntu.:

> > >> >

> > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-s
> > >> > ys

> > >> > -t

> > >> > mpl

> > >> > t

> > >> >

> > >> > Thanks,

> > >> > Sailaja.M

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: Monday, December 31, 2012 2:16 PM

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > Its says to run one or more of the following

> > >> > cloud-install-sys-tmplt commands to retrieve and decompress the

> > >> > system VM template - For vSphere run command below:

> > >> > #

> > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-h vmware -s <optional-management-server-secret-key>  -F

> > >> >

> > >> > I made a correction in the file path and run the command as below:

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-hvmware -s welcome123 -F

> > >> >

> > >> > It gives an error command not found.

> > >> > cloud-install-sys-tmplt: command not found Any idea why this is

> > >> > not working?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Radhika Puthiyetath
> > >> > [mailto:radhika.puthiyetath@citrix.com]

> > >> > Sent: 28 December 2012 AM 10:48

> > >> > To:
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Thank you for pointing out the errors in docs.

> > >> >

> > >> > Please file a documentation defect in case you find any.

> > >> >

> > >> > Thanks

> > >> > -Radhika

> > >> >

> > >> > -----Original Message-----

> > >> > From: sebgoa [mailto:runseb@gmail.com]

> > >> > Sent: Thursday, December 27, 2012 7:01 PM

> > >> > To:
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: Re: CloudStack Installation Query

> > >> >

> > >> > Asmita,

> > >> >

> > >> > I believe there is an issue with the documentation.

> > >> >

> > >> > try to replace the baseurl with:

> > >> >

> > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

> > >> >

> > >> > and do:

> > >> >

> > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc

> > >> >

> > >> >

> > >> > I have not tested it, so please let us know if it works or not.

> > >> >

> > >> > thanks,

> > >> >

> > >> > -Sebastien

> > >> >

> > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> > >> >

> > >> > > Hi,

> > >> > >

> > >> > > Thanks Jerry for clarifying.

> > >> > >

> > >> > > My next query is:

> > >> > > I am using an RPM-based system, I want to add the Yum

> > >> > > repository so that

> > >> > I can install CloudStack with Yum.

> > >> > > I have created a repos file under /etc/yum.repos.d.

> > >> > >

> > >> > > [cloudstack]

> > >> > > name=cloudstack

> > >> > > baseurl=http://server.url/downloads/rpm/stable/

> > >> > > enabled=1

> > >> > > gpgcheck=1

> > >> > >

> > >> > > Next you'll want to add the GPG key:

> > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt

> > >> > >

> > >> > >

> > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.

> > >> > > ) What will be the value of server.url?

> > >> > >

> > >> > > Thanks and Regards.

> > >> > >

> > >> > > Asmita

> > >> > >

> > >> > >

> > >> > > -----Original Message-----

> > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]

> > >> > > Sent: 27 December 2012 PM 06:20

> > >> > > To:
> > >> > > cloudstack-users@incubator.apache.org<mailto:cloudstack-users
> > >> > > @incubator.apache.org>

> > >> > > Subject: Re: CloudStack Installation Query

> > >> > >

> > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS

> > >> > >

> > >> > > Jerry

> > >> > >

> > >> > > ----- Original Message -----

> > >> > > From: "Asmita Vagyani"
> > >> > > <Asmita.Vagyani@sigma-systems.com<mailto:Asmita.Vagyani@sigma
> > >> > > -systems.com>>

> > >> > > To: "cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>"

> > >> > > <cloudstack-users@incubator.apache.org<mailto:cloudstack-user
> > >> > > s@incubator.apache.org>>

> > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM

> > >> > > Subject: CloudStack Installation Query

> > >> > >

> > >> > > Hi,

> > >> > >

> > >> > > I am trying to install CloudStack 4 on the system.

> > >> > > I am having RHEL 6.3 system for the CloudStack Management

> > >> > > server

> > >> > installation.

> > >> > >

> > >> > > I am following standard Installation guide to do so.

> > >> > > Location -

> > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Clou
> > >> > > dS

> > >> > > ta

> > >> > > ck/4

> > >> .

> > >> > > 0.0-incubating/html/Installation_Guide/index.html

> > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.

> > >> > >

> > >> > > I wanted to confirm if I should perform step in section 3.5

> > >> > > only if my

> > >> > server OS is Ubuntu and perform steps in section 3.6 if my

> > >> > management server is RHEL server.

> > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

> > >> > >

> > >> > > Please clarify.

> > >> > >

> > >> > > Thanks and Regards.

> > >> > > Asmita.

> > >> > >

> > >> > >

> > >> >

> > >> > ShapeBlue provides a range of strategic and technical
> > >> > consulting

> > >> > and implementation services to help IT Service Providers and

> > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s

> > >> > expertise, combined with CloudStack technology, allows IT
> > >> > Service

> > >> > Providers and Enterprises to deliver true, utility based, IaaS
> > >> > to

> > >> > the customer or

> > >> end-user.

> > >> >

> > >> > ________________________________

> > >> >

> > >> > This email and any attachments to it may be confidential and
> > >> > are

> > >> > intended solely for the use of the individual to whom it is addressed.

> > >> > Any views or opinions expressed are solely those of the author

> > >> > and do not necessarily represent those of Shape Blue Ltd. If
> > >> > you

> > >> > are not the intended recipient of this email, you must neither

> > >> > take any action based upon its contents, nor copy or show it to anyone.

> > >> > Please contact the sender if you believe you have received this

> > >> > email in error. Shape Blue Ltd is a company incorporated in

> > >> > England &

> > Wales.

> > >> >

> > >>

> > >

> > >

> >

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are
> intended

> solely for the use of the individual to whom it is addressed. Any
> views or

> opinions expressed are solely those of the author and do not
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended
> recipient of this

> email, you must neither take any action based upon its contents, nor
> copy or

> show it to anyone. Please contact the sender if you believe you have
> received

> this email in error. Shape Blue Ltd is a company incorporated in
> England &

> Wales.

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are
> intended

> solely for the use of the individual to whom it is addressed. Any
> views or

> opinions expressed are solely those of the author and do not
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended
> recipient of this

> email, you must neither take any action based upon its contents, nor
> copy or

> show it to anyone. Please contact the sender if you believe you have
> received

> this email in error. Shape Blue Ltd is a company incorporated in
> England &

> Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi Geoff your comments says " If you add a new Zone WITHOUT Security Groups, you will be able to add a VMware Cluster".

How is that possible with Cloudstack 4?
I am using the Cloudstack 4 client console for configuring the zone, pod,cluster.
When I configure the Basic zone, it doesnot ask me abt the security zone.
Also after POD, Guest network I am taken to CLuster configuration where I don’t see the VMWare option.
I mean the security config comes later before cluster is configured on Cloudstack 4.



Thanks and Regards.

Asmita Patil Vagyani. 

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com] 
Sent: 04 January 2013 PM 10:52
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmita,

If you only have XenServer and KVM listed you must be using a Basic Zone with Security Groups, these are only supported by XenServer and KVM.

If you add a new Zone WITHOUT Security Groups, you will be able to add a VMware Cluster

Remember you cannot add an Advanced Zone to this Cloud, as mixing Basic and Advanced is not supported (it appears to work but you get networking issues so I suggest you steer well clear)

Regards

Geoff Higginbottom

D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> | M: +447968161581<tel:+447968161581>

geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>

From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 17:07
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

You are very much right Geoff.
I checked in the mySQL DB domain table.
It had one entry with id column value as 1.

Other problem is while I configure the Cluster on the Client console of Cloudstack management server, I have to select the hypervisor.
The hypervisor shows only 2 dropdown options - XenServer and KVM.
I actually want to setup VMWare cluster.
How do I get the VM Ware listed here?
In the installation guide, it says the clustering in VMWare is a combination of VSphere and Cloud admin console configuration.
Does it mean that the VMWare option will be listed only if the cluster is configured on the VSphere first?
[cid:A021549DF2AD0643B04692789EC3276F@namprd05.prod.outlook.com]

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
Sent: 04 January 2013 PM 06:43
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: RE: CloudStack Installation Query

This looks like a bug in the API command.

It appears to be using the MySQL Record ID (in this case Record ID 1) rather than the actual Domain ID (uuid field in the DB table 'domain')

Suggest you file a bug report

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 13:08
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Likitha,
You are right.

I tried with domainId=1, the command worked, and generated an api keypair for me.

Then I used, the listDomains API, it gave me 1 domain with a different ID. - <listdomainsresponse cloud-stack-version="3.0.2.20120506223416">
        <count>1</count>
        <domain><id>1448af9f-161a-4d75-a8b4-3bb3b577bbf3</id>
                <name>ROOT</name>
                <level>0</level>
                <haschild>false</haschild>
                <path>ROOT</path>
        </domain>
        </listdomainsresponse>

When I run the same command to create an keypair with the actual domainId 1448af9f-161a-4d75-a8b4-3bb3b577bbf3 above , I get an error

<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
        <errorcode>431</errorcode>
        <errortext>A key pair with name &apos;keypair-doc&apos; already exists.</errortext> </createsshkeypairresponse>

1) Is it possible to remove this API keyAnd try with the correct domainid.
2) If you observe the response has the cloudstack API version with it. I actually installed the Cloudstack 4 on management server, then I expect to get the version like 4.0.x some thing.
Is it normal?


Thanks and Regards.

Asmita


-----Original Message-----
From: Likitha Shetty [mailto:likitha.shetty@citrix.com]
Sent: 04 January 2013 PM 05:58
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: RE: CloudStack Installation Query

Asmita,



Please run the following command to confirm that you are using the right domain-id, curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-ad75cae8e8a2”.

This command should return the domain with the right response tags, if not then as Geoff pointed and as mentioned in the error it is because the domainId is invalid.



Thank you,

Likitha



> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: Friday, January 04, 2013 5:44 PM

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> yes, its as per documentation.

>

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

>

> -----Original Message-----

> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]

> Sent: 04 January 2013 PM 05:26

> To: 
> cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubato
> r.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmita

>

> The error message implies the DomainID is invalid, have you copied it 
> correctly

>

> Regards

>

> Geoff

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 11:40

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Thanks Paul for sharing the solution.

> The info abt 'integration.api.port' is missing in the documentation in 
> the

> installation guide.

> I got this working by changing the port value in the MySQL Db.

>

> My next issue is:

> When I run

> [root@torvm-cloudstack-mgmt ~]# curl --globoff 
> "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command=c
> reateSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-4
> 2b5-9109-ad75cae8e8a2>

> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin<http
> ://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdo
> c&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

>

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>                 <errorcode>431</errorcode>

>                 <errortext>Unable to execute API command 
> createsshkeypair due

> curl --globoff

> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac<
> http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> count=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>         <errorcode>431</errorcode>

>         <errortext>Unable to execute API command createsshkeypair due 
> to

> invalid value. Object domain(uuid:
> 5163440e-c44b-42b5-9109-ad75cae8e8a2)

> does not exist.</errortext> </createsshkeypairresponse>[root@

>

> Its because the domain is missing.

> Is there something that I need to do for enabling the domain?

> I don’t see this documented in the installation guide.

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Paul Angus [mailto:paul.angus@shapeblue.com]

> Sent: 04 January 2013 PM 02:19

> To: 
> cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubato
> r.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmiti,

>

> There's a global setting 'integration.api.port' which by default is 
> empty (ie

> disabled) you need to enter the port you want to use in there (8096) 
> and restart

> the management service.

>

> Regards,

>

> Paul Angus

> Cloud Architect / Senior Consultant

> paul.angus@shapeblue.com<mailto:paul.angus@shapeblue.com<mailto:paul.a
> ngus@shapeblue.com%3cmailto:paul.angus@shapeblue.com>> | 
> www.shapeblue.com<http://www.shapeblue.com<http://www.shapeblue.com%3c
> http:/www.shapeblue.com>> | Twitter:@shapeBlue

> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 08:41

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Hi Marc,

>

> I am running the command from Management server only.

> I specified that client is running on 8080 port, when I login to console.

> But when I hit the API for 8096, it seems this point is not running.

> I mean when I checked if anything is running on this 8096 port, I get nothing.

> Am I missing something, because of which APIs are not getting accessed?

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> Sent: 04 January 2013 PM 01:32

> To: cloudstack-users

> Subject: Re: CloudStack Installation Query

>

> Hi,

>

> First, this command is meant to be run on management server not from a

> client (the 8096 is API integration port). Then, there are two things 
> I can't

> remember exactly (I don't have a working installation rigth now), but:

>

> 1- The domain id is always the same in every installation?

> 2- Using integration port you need API path? So url is

> http://localhost:8096/client/api?command=...

>

> Can someone shed a light on this?

>

> thx

>

>

> On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani < 
> Asmita.Vagyani@sigma-<mailto:Asmita.Vagyani@sigma-systems.com<mailto:A
> smita.Vagyani@sigma-%3cmailto:Asmita.Vagyani@sigma-systems.com>>

> systems.com<ma...@sigma-systems.com>> wrote:

>

> > Hi all,

> > I managed to start the Cloud Management server on the RHEL OS.

> > I am able to login to the management server console now after

> > re-installing the mySQL DB.

> >

> > I am following the next step after changing the password, for 
> > creating

> > the ssh template.

> >

> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.

> > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh
> > -t

> > emplate

> >

> > Section 5.2.2. Creating the SSH Keypair When I run the command below

> > on management server -

> >

> > curl --globoff "

> >

> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco

> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2

> > "

> >

> > I get error curl: (7) couldn't connect to host

> >

> > On port 8080 I can see the client is running, I am not sure about 
> > the

> > webservice endpoint if its correct.(Here port is 8096) Other point 
> > is

> > domain Id- where can I get this domain id from?

> >

> > Thanks and Regards.

> >

> > Asmita

> > -----Original Message-----

> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > Sent: 03 January 2013 PM 07:52

> > To: 'cloudstack-users@incubator.apache.org'

> > Subject: RE: CloudStack Installation Query

> >

> > I used this command to deploy DB.

> >

> > $ cloud-setup-databases

> > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m 
> > password

> > -k password

> >

> > Output was :

> >

> > Mysql user name:cloud

> >       [ OK ]

> > Mysql user password:sigma123

> >      [ OK ]

> > Mysql server ip:localhost

> >       [ OK ]

> > Mysql server port:3306

> >      [ OK ]

> > Mysql root user name:root

> >       [ OK ]

> > Mysql root user password:sigma123

> >       [ OK ]

> > Checking Cloud database files ...

> >       [ OK ]

> > Checking local machine hostname ...

> >       [ OK ]

> > Checking SELinux setup ...

> >      [ OK ]

> > Detected local IP address as <LOCAL IP address> will use as cluster

> > management server node IP[ OK ] Preparing

> > /etc/cloud/management/db.properties

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/server-setup.sql

> >      [ OK ]

> > Applying /usr/share/cloud/setup/templates.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-index-fk.sql

> >       [ OK ]

> > Processing encryption ...

> >       [ OK ]

> > Finalizing setup ...

> >      [ OK ]

> >

> > CloudStack has successfully initialized database, you can check your

> > database configuration in /etc/cloud/management/db.properties

> >

> >

> >

> > Thanks and Regards.

> >

> > Asmita Patil Vagyani.

> > Tech Lead,  Sigma Software Solutions, Pune,

> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> >

> >

> > -----Original Message-----

> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > Sent: 03 January 2013 PM 07:47

> > To: cloudstack-users

> > Subject: Re: CloudStack Installation Query

> >

> > What was the output of cloud-setup-databases command?

> >

> > thx

> >

> >

> > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui 
> > <mcirauqui@gmail.com<mailto:mcirauqui@gmail.com<mailto:mcirauqui@gma
> > il.com%3cmailto:mcirauqui@gmail.com>>>

> wrote:

> >

> > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on

> > > your management server...".

> > >

> > > If it's there, I guess you did it (right?). Then may be a

> > > permissions problem or NFSv4 in use. I read problems with people

> > > using NFSv4 in this mailing list.

> > >

> > > thx

> > >

> > >

> > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <

> > > Asmita.Vagyani@sigma-systems.com<ma...@sigma-systems.com>>> wrote:

> > >

> > >> Hi Marc,

> > >> I am using a separate NFS server for secondary storage, I think 
> > >> the

> > >> way you are going with is when you have nfs shared folder on the

> > >> same management server and mount it there itself.

> > >> Am I right?

> > >>

> > >>

> > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> > >> ck

> > >> /4

> > >> .0.0-incubating/html/Installation_Guide/management-server-install
> > >> -f

> > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate 
> > >> NFS

> > >> Server

> > >>

> > >>

> > >> Thanks and Regards.

> > >>

> > >> Asmita Patil Vagyani.

> > >> Tech Lead,  Sigma Software Solutions, Pune,

> > >> T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >>

> > >>

> > >> -----Original Message-----

> > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > >> Sent: 03 January 2013 PM 07:30

> > >> To: cloudstack-users

> > >> Subject: Re: CloudStack Installation Query

> > >>

> > >> My point was that as the path given to the 
> > >> cloud-install-sys-tmplt

> > >> command

> > >> (/mnt/secondary) and export path (/export), you need to mount the

> > >> export path for secondary storage (/export) on /mnt/secondary

> > >> otherwise system vm template won't be able to download to primary

> > storage.

> > >>

> > >> thx.

> > >>

> > >>

> > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <

> > >> geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>>> wrote:

> > >>

> > >> > Hi Asmita,

> > >> >

> > >> > You don't have to, but its best practice to do so.

> > >> >

> > >> > When you deploy a new Zone, the first thing that happens is 
> > >> > that

> > >> > the System VM Template, which you will have seeded to Secondary

> > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then

> > >> > connects to the Internet and downloads an example Template and

> > >> > places it on secondary

> > >> storage.

> > >> >

> > >> > All the above happens automatically as long as the 
> > >> > configuration

> > >> > of the Compute, Storage and Networking Layers is correct, and

> > >> > seeing it happen is a great sanity check that everything is

> > >> > configured

> > correctly.

> > >> >

> > >> > Skipping configuring the Secondary Storage, and seeding it with

> > >> > the appropriate System VM Templates for your chosen Hypervisors

> > >> > will not break anything, and it can be added later, but as you

> > >> > have to do it at some point, you might as well do it at the beginning.

> > >> >

> > >> > Regards

> > >> >

> > >> > Geoff

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 13:34

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > Is it a mandate that we have to configure/mount a secondary

> > >> > storage nfs server before cloudstack management server installation?

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 PM 12:49

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation 
> > >> > on

> > RHEL.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > I have mounted the secondary storage device on another NFS 
> > >> > server

> > >> > and can see that its mounted.

> > >> > I added line below to my /etc/exports file also :

> > >> > /export *(rw,async,no_root_squash)

> > >> >

> > >> > Then I run cloud-install-sys-tmplt command below to retrieve 
> > >> > and

> > >> > decompress the system VM template - For vSphere:

> > >> >

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0

> > ^C12012.

> > >> > ova

> > >> >  -h vmware -s welcome123 -F

> > >> >

> > >> > I get the following error -

> > >> > rm: cannot remove

> > >> >

> > >>

> > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-

> 97b901f09ae6.ova':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':

> > >> > Permission denied

> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':

> > >> > Permission denied

> > >> > rm: cannot remove

> `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//template.properties':

> > >> > Permission denied Failed to clean up template directory

> > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?

> > >> > Installation failed

> > >> >

> > >> > Did anyone of you face the same problem?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 31 December 2012 PM 02:50

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > I am using RHEL

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]

> > >> > Sent: 31 December 2012 PM 02:43

> > >> > To: 
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi,

> > >> >

> > >> > Please use below path if your setup is on Ubuntu.:

> > >> >

> > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-s
> > >> > ys

> > >> > -t

> > >> > mpl

> > >> > t

> > >> >

> > >> > Thanks,

> > >> > Sailaja.M

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: Monday, December 31, 2012 2:16 PM

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > Its says to run one or more of the following

> > >> > cloud-install-sys-tmplt commands to retrieve and decompress the

> > >> > system VM template - For vSphere run command below:

> > >> > #

> > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-h vmware -s <optional-management-server-secret-key>  -F

> > >> >

> > >> > I made a correction in the file path and run the command as below:

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-hvmware -s welcome123 -F

> > >> >

> > >> > It gives an error command not found.

> > >> > cloud-install-sys-tmplt: command not found Any idea why this is

> > >> > not working?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Radhika Puthiyetath
> > >> > [mailto:radhika.puthiyetath@citrix.com]

> > >> > Sent: 28 December 2012 AM 10:48

> > >> > To: 
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Thank you for pointing out the errors in docs.

> > >> >

> > >> > Please file a documentation defect in case you find any.

> > >> >

> > >> > Thanks

> > >> > -Radhika

> > >> >

> > >> > -----Original Message-----

> > >> > From: sebgoa [mailto:runseb@gmail.com]

> > >> > Sent: Thursday, December 27, 2012 7:01 PM

> > >> > To: 
> > >> > cloudstack-users@incubator.apache.org<mailto:cloudstack-users@i
> > >> > ncubator.apache.org>

> > >> > Subject: Re: CloudStack Installation Query

> > >> >

> > >> > Asmita,

> > >> >

> > >> > I believe there is an issue with the documentation.

> > >> >

> > >> > try to replace the baseurl with:

> > >> >

> > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

> > >> >

> > >> > and do:

> > >> >

> > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc

> > >> >

> > >> >

> > >> > I have not tested it, so please let us know if it works or not.

> > >> >

> > >> > thanks,

> > >> >

> > >> > -Sebastien

> > >> >

> > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> > >> >

> > >> > > Hi,

> > >> > >

> > >> > > Thanks Jerry for clarifying.

> > >> > >

> > >> > > My next query is:

> > >> > > I am using an RPM-based system, I want to add the Yum

> > >> > > repository so that

> > >> > I can install CloudStack with Yum.

> > >> > > I have created a repos file under /etc/yum.repos.d.

> > >> > >

> > >> > > [cloudstack]

> > >> > > name=cloudstack

> > >> > > baseurl=http://server.url/downloads/rpm/stable/

> > >> > > enabled=1

> > >> > > gpgcheck=1

> > >> > >

> > >> > > Next you'll want to add the GPG key:

> > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt

> > >> > >

> > >> > >

> > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.

> > >> > > ) What will be the value of server.url?

> > >> > >

> > >> > > Thanks and Regards.

> > >> > >

> > >> > > Asmita

> > >> > >

> > >> > >

> > >> > > -----Original Message-----

> > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]

> > >> > > Sent: 27 December 2012 PM 06:20

> > >> > > To: 
> > >> > > cloudstack-users@incubator.apache.org<mailto:cloudstack-users
> > >> > > @incubator.apache.org>

> > >> > > Subject: Re: CloudStack Installation Query

> > >> > >

> > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS

> > >> > >

> > >> > > Jerry

> > >> > >

> > >> > > ----- Original Message -----

> > >> > > From: "Asmita Vagyani" 
> > >> > > <Asmita.Vagyani@sigma-systems.com<mailto:Asmita.Vagyani@sigma
> > >> > > -systems.com>>

> > >> > > To: "cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>"

> > >> > > <cloudstack-users@incubator.apache.org<mailto:cloudstack-user
> > >> > > s@incubator.apache.org>>

> > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM

> > >> > > Subject: CloudStack Installation Query

> > >> > >

> > >> > > Hi,

> > >> > >

> > >> > > I am trying to install CloudStack 4 on the system.

> > >> > > I am having RHEL 6.3 system for the CloudStack Management

> > >> > > server

> > >> > installation.

> > >> > >

> > >> > > I am following standard Installation guide to do so.

> > >> > > Location -

> > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Clou
> > >> > > dS

> > >> > > ta

> > >> > > ck/4

> > >> .

> > >> > > 0.0-incubating/html/Installation_Guide/index.html

> > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.

> > >> > >

> > >> > > I wanted to confirm if I should perform step in section 3.5

> > >> > > only if my

> > >> > server OS is Ubuntu and perform steps in section 3.6 if my

> > >> > management server is RHEL server.

> > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

> > >> > >

> > >> > > Please clarify.

> > >> > >

> > >> > > Thanks and Regards.

> > >> > > Asmita.

> > >> > >

> > >> > >

> > >> >

> > >> > ShapeBlue provides a range of strategic and technical 
> > >> > consulting

> > >> > and implementation services to help IT Service Providers and

> > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s

> > >> > expertise, combined with CloudStack technology, allows IT 
> > >> > Service

> > >> > Providers and Enterprises to deliver true, utility based, IaaS 
> > >> > to

> > >> > the customer or

> > >> end-user.

> > >> >

> > >> > ________________________________

> > >> >

> > >> > This email and any attachments to it may be confidential and 
> > >> > are

> > >> > intended solely for the use of the individual to whom it is addressed.

> > >> > Any views or opinions expressed are solely those of the author

> > >> > and do not necessarily represent those of Shape Blue Ltd. If 
> > >> > you

> > >> > are not the intended recipient of this email, you must neither

> > >> > take any action based upon its contents, nor copy or show it to anyone.

> > >> > Please contact the sender if you believe you have received this

> > >> > email in error. Shape Blue Ltd is a company incorporated in

> > >> > England &

> > Wales.

> > >> >

> > >>

> > >

> > >

> >

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises 
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with 
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver 
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are 
> intended

> solely for the use of the individual to whom it is addressed. Any 
> views or

> opinions expressed are solely those of the author and do not 
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended 
> recipient of this

> email, you must neither take any action based upon its contents, nor 
> copy or

> show it to anyone. Please contact the sender if you believe you have 
> received

> this email in error. Shape Blue Ltd is a company incorporated in 
> England &

> Wales.

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises 
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with 
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver 
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are 
> intended

> solely for the use of the individual to whom it is addressed. Any 
> views or

> opinions expressed are solely those of the author and do not 
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended 
> recipient of this

> email, you must neither take any action based upon its contents, nor 
> copy or

> show it to anyone. Please contact the sender if you believe you have 
> received

> this email in error. Shape Blue Ltd is a company incorporated in 
> England &

> Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Geoff Higginbottom <ge...@shapeblue.com>.
Hi Asmita,

If you only have XenServer and KVM listed you must be using a Basic Zone with Security Groups, these are only supported by XenServer and KVM.

If you add a new Zone WITHOUT Security Groups, you will be able to add a VMware Cluster

Remember you cannot add an Advanced Zone to this Cloud, as mixing Basic and Advanced is not supported (it appears to work but you get networking issues so I suggest you steer well clear)

Regards

Geoff Higginbottom

D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> | M: +447968161581<tel:+447968161581>

geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>

From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 17:07
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

You are very much right Geoff.
I checked in the mySQL DB domain table.
It had one entry with id column value as 1.

Other problem is while I configure the Cluster on the Client console of Cloudstack management server, I have to select the hypervisor.
The hypervisor shows only 2 dropdown options - XenServer and KVM.
I actually want to setup VMWare cluster.
How do I get the VM Ware listed here?
In the installation guide, it says the clustering in VMWare is a combination of VSphere and Cloud admin console configuration.
Does it mean that the VMWare option will be listed only if the cluster is configured on the VSphere first?
[cid:A021549DF2AD0643B04692789EC3276F@namprd05.prod.outlook.com]

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
Sent: 04 January 2013 PM 06:43
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: RE: CloudStack Installation Query

This looks like a bug in the API command.

It appears to be using the MySQL Record ID (in this case Record ID 1) rather than the actual Domain ID (uuid field in the DB table 'domain')

Suggest you file a bug report

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 13:08
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Likitha,
You are right.

I tried with domainId=1, the command worked, and generated an api keypair for me.

Then I used, the listDomains API, it gave me 1 domain with a different ID. - <listdomainsresponse cloud-stack-version="3.0.2.20120506223416">
        <count>1</count>
        <domain><id>1448af9f-161a-4d75-a8b4-3bb3b577bbf3</id>
                <name>ROOT</name>
                <level>0</level>
                <haschild>false</haschild>
                <path>ROOT</path>
        </domain>
        </listdomainsresponse>

When I run the same command to create an keypair with the actual domainId 1448af9f-161a-4d75-a8b4-3bb3b577bbf3 above , I get an error

<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
        <errorcode>431</errorcode>
        <errortext>A key pair with name &apos;keypair-doc&apos; already exists.</errortext> </createsshkeypairresponse>

1) Is it possible to remove this API keyAnd try with the correct domainid.
2) If you observe the response has the cloudstack API version with it. I actually installed the Cloudstack 4 on management server, then I expect to get the version like 4.0.x some thing.
Is it normal?


Thanks and Regards.

Asmita


-----Original Message-----
From: Likitha Shetty [mailto:likitha.shetty@citrix.com]
Sent: 04 January 2013 PM 05:58
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: RE: CloudStack Installation Query

Asmita,



Please run the following command to confirm that you are using the right domain-id, curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-ad75cae8e8a2”.

This command should return the domain with the right response tags, if not then as Geoff pointed and as mentioned in the error it is because the domainId is invalid.



Thank you,

Likitha



> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: Friday, January 04, 2013 5:44 PM

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> yes, its as per documentation.

>

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

>

> -----Original Message-----

> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]

> Sent: 04 January 2013 PM 05:26

> To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmita

>

> The error message implies the DomainID is invalid, have you copied it
> correctly

>

> Regards

>

> Geoff

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 11:40

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Thanks Paul for sharing the solution.

> The info abt 'integration.api.port' is missing in the documentation in
> the

> installation guide.

> I got this working by changing the port value in the MySQL Db.

>

> My next issue is:

> When I run

> [root@torvm-cloudstack-mgmt ~]# curl --globoff
> "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command=c
> reateSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-4
> 2b5-9109-ad75cae8e8a2>

> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin<http
> ://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdo
> c&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

>

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>                 <errorcode>431</errorcode>

>                 <errortext>Unable to execute API command
> createsshkeypair due

> curl --globoff

> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac<
> http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> count=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>         <errorcode>431</errorcode>

>         <errortext>Unable to execute API command createsshkeypair due
> to

> invalid value. Object domain(uuid:
> 5163440e-c44b-42b5-9109-ad75cae8e8a2)

> does not exist.</errortext> </createsshkeypairresponse>[root@

>

> Its because the domain is missing.

> Is there something that I need to do for enabling the domain?

> I don’t see this documented in the installation guide.

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Paul Angus [mailto:paul.angus@shapeblue.com]

> Sent: 04 January 2013 PM 02:19

> To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmiti,

>

> There's a global setting 'integration.api.port' which by default is
> empty (ie

> disabled) you need to enter the port you want to use in there (8096)
> and restart

> the management service.

>

> Regards,

>

> Paul Angus

> Cloud Architect / Senior Consultant

> paul.angus@shapeblue.com<ma...@shapeblue.com>> |
> www.shapeblue.com<http://www.shapeblue.com<http://www.shapeblue.com%3chttp:/www.shapeblue.com>> | Twitter:@shapeBlue

> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 08:41

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Hi Marc,

>

> I am running the command from Management server only.

> I specified that client is running on 8080 port, when I login to console.

> But when I hit the API for 8096, it seems this point is not running.

> I mean when I checked if anything is running on this 8096 port, I get nothing.

> Am I missing something, because of which APIs are not getting accessed?

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> Sent: 04 January 2013 PM 01:32

> To: cloudstack-users

> Subject: Re: CloudStack Installation Query

>

> Hi,

>

> First, this command is meant to be run on management server not from a

> client (the 8096 is API integration port). Then, there are two things
> I can't

> remember exactly (I don't have a working installation rigth now), but:

>

> 1- The domain id is always the same in every installation?

> 2- Using integration port you need API path? So url is

> http://localhost:8096/client/api?command=...

>

> Can someone shed a light on this?

>

> thx

>

>

> On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani <
> Asmita.Vagyani@sigma-<ma...@sigma-systems.com>>

> systems.com<ma...@sigma-systems.com>> wrote:

>

> > Hi all,

> > I managed to start the Cloud Management server on the RHEL OS.

> > I am able to login to the management server console now after

> > re-installing the mySQL DB.

> >

> > I am following the next step after changing the password, for
> > creating

> > the ssh template.

> >

> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.

> > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh
> > -t

> > emplate

> >

> > Section 5.2.2. Creating the SSH Keypair When I run the command below

> > on management server -

> >

> > curl --globoff "

> >

> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco

> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2

> > "

> >

> > I get error curl: (7) couldn't connect to host

> >

> > On port 8080 I can see the client is running, I am not sure about
> > the

> > webservice endpoint if its correct.(Here port is 8096) Other point
> > is

> > domain Id- where can I get this domain id from?

> >

> > Thanks and Regards.

> >

> > Asmita

> > -----Original Message-----

> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > Sent: 03 January 2013 PM 07:52

> > To: 'cloudstack-users@incubator.apache.org'

> > Subject: RE: CloudStack Installation Query

> >

> > I used this command to deploy DB.

> >

> > $ cloud-setup-databases

> > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m
> > password

> > -k password

> >

> > Output was :

> >

> > Mysql user name:cloud

> >       [ OK ]

> > Mysql user password:sigma123

> >      [ OK ]

> > Mysql server ip:localhost

> >       [ OK ]

> > Mysql server port:3306

> >      [ OK ]

> > Mysql root user name:root

> >       [ OK ]

> > Mysql root user password:sigma123

> >       [ OK ]

> > Checking Cloud database files ...

> >       [ OK ]

> > Checking local machine hostname ...

> >       [ OK ]

> > Checking SELinux setup ...

> >      [ OK ]

> > Detected local IP address as <LOCAL IP address> will use as cluster

> > management server node IP[ OK ] Preparing

> > /etc/cloud/management/db.properties

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/server-setup.sql

> >      [ OK ]

> > Applying /usr/share/cloud/setup/templates.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-index-fk.sql

> >       [ OK ]

> > Processing encryption ...

> >       [ OK ]

> > Finalizing setup ...

> >      [ OK ]

> >

> > CloudStack has successfully initialized database, you can check your

> > database configuration in /etc/cloud/management/db.properties

> >

> >

> >

> > Thanks and Regards.

> >

> > Asmita Patil Vagyani.

> > Tech Lead,  Sigma Software Solutions, Pune,

> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> >

> >

> > -----Original Message-----

> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > Sent: 03 January 2013 PM 07:47

> > To: cloudstack-users

> > Subject: Re: CloudStack Installation Query

> >

> > What was the output of cloud-setup-databases command?

> >

> > thx

> >

> >

> > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui
> > <mc...@gmail.com>>>

> wrote:

> >

> > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on

> > > your management server...".

> > >

> > > If it's there, I guess you did it (right?). Then may be a

> > > permissions problem or NFSv4 in use. I read problems with people

> > > using NFSv4 in this mailing list.

> > >

> > > thx

> > >

> > >

> > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <

> > > Asmita.Vagyani@sigma-systems.com<ma...@sigma-systems.com>>> wrote:

> > >

> > >> Hi Marc,

> > >> I am using a separate NFS server for secondary storage, I think
> > >> the

> > >> way you are going with is when you have nfs shared folder on the

> > >> same management server and mount it there itself.

> > >> Am I right?

> > >>

> > >>

> > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> > >> ck

> > >> /4

> > >> .0.0-incubating/html/Installation_Guide/management-server-install
> > >> -f

> > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate
> > >> NFS

> > >> Server

> > >>

> > >>

> > >> Thanks and Regards.

> > >>

> > >> Asmita Patil Vagyani.

> > >> Tech Lead,  Sigma Software Solutions, Pune,

> > >> T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >>

> > >>

> > >> -----Original Message-----

> > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > >> Sent: 03 January 2013 PM 07:30

> > >> To: cloudstack-users

> > >> Subject: Re: CloudStack Installation Query

> > >>

> > >> My point was that as the path given to the
> > >> cloud-install-sys-tmplt

> > >> command

> > >> (/mnt/secondary) and export path (/export), you need to mount the

> > >> export path for secondary storage (/export) on /mnt/secondary

> > >> otherwise system vm template won't be able to download to primary

> > storage.

> > >>

> > >> thx.

> > >>

> > >>

> > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <

> > >> geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>>> wrote:

> > >>

> > >> > Hi Asmita,

> > >> >

> > >> > You don't have to, but its best practice to do so.

> > >> >

> > >> > When you deploy a new Zone, the first thing that happens is
> > >> > that

> > >> > the System VM Template, which you will have seeded to Secondary

> > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then

> > >> > connects to the Internet and downloads an example Template and

> > >> > places it on secondary

> > >> storage.

> > >> >

> > >> > All the above happens automatically as long as the
> > >> > configuration

> > >> > of the Compute, Storage and Networking Layers is correct, and

> > >> > seeing it happen is a great sanity check that everything is

> > >> > configured

> > correctly.

> > >> >

> > >> > Skipping configuring the Secondary Storage, and seeding it with

> > >> > the appropriate System VM Templates for your chosen Hypervisors

> > >> > will not break anything, and it can be added later, but as you

> > >> > have to do it at some point, you might as well do it at the beginning.

> > >> >

> > >> > Regards

> > >> >

> > >> > Geoff

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 13:34

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > Is it a mandate that we have to configure/mount a secondary

> > >> > storage nfs server before cloudstack management server installation?

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 PM 12:49

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation
> > >> > on

> > RHEL.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > I have mounted the secondary storage device on another NFS
> > >> > server

> > >> > and can see that its mounted.

> > >> > I added line below to my /etc/exports file also :

> > >> > /export *(rw,async,no_root_squash)

> > >> >

> > >> > Then I run cloud-install-sys-tmplt command below to retrieve
> > >> > and

> > >> > decompress the system VM template - For vSphere:

> > >> >

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0

> > ^C12012.

> > >> > ova

> > >> >  -h vmware -s welcome123 -F

> > >> >

> > >> > I get the following error -

> > >> > rm: cannot remove

> > >> >

> > >>

> > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-

> 97b901f09ae6.ova':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':

> > >> > Permission denied

> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':

> > >> > Permission denied

> > >> > rm: cannot remove

> `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//template.properties':

> > >> > Permission denied Failed to clean up template directory

> > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?

> > >> > Installation failed

> > >> >

> > >> > Did anyone of you face the same problem?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 31 December 2012 PM 02:50

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > I am using RHEL

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]

> > >> > Sent: 31 December 2012 PM 02:43

> > >> > To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi,

> > >> >

> > >> > Please use below path if your setup is on Ubuntu.:

> > >> >

> > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-s
> > >> > ys

> > >> > -t

> > >> > mpl

> > >> > t

> > >> >

> > >> > Thanks,

> > >> > Sailaja.M

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: Monday, December 31, 2012 2:16 PM

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > Its says to run one or more of the following

> > >> > cloud-install-sys-tmplt commands to retrieve and decompress the

> > >> > system VM template - For vSphere run command below:

> > >> > #

> > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-h vmware -s <optional-management-server-secret-key>  -F

> > >> >

> > >> > I made a correction in the file path and run the command as below:

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-hvmware -s welcome123 -F

> > >> >

> > >> > It gives an error command not found.

> > >> > cloud-install-sys-tmplt: command not found Any idea why this is

> > >> > not working?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Radhika Puthiyetath
> > >> > [mailto:radhika.puthiyetath@citrix.com]

> > >> > Sent: 28 December 2012 AM 10:48

> > >> > To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Thank you for pointing out the errors in docs.

> > >> >

> > >> > Please file a documentation defect in case you find any.

> > >> >

> > >> > Thanks

> > >> > -Radhika

> > >> >

> > >> > -----Original Message-----

> > >> > From: sebgoa [mailto:runseb@gmail.com]

> > >> > Sent: Thursday, December 27, 2012 7:01 PM

> > >> > To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> > >> > Subject: Re: CloudStack Installation Query

> > >> >

> > >> > Asmita,

> > >> >

> > >> > I believe there is an issue with the documentation.

> > >> >

> > >> > try to replace the baseurl with:

> > >> >

> > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

> > >> >

> > >> > and do:

> > >> >

> > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc

> > >> >

> > >> >

> > >> > I have not tested it, so please let us know if it works or not.

> > >> >

> > >> > thanks,

> > >> >

> > >> > -Sebastien

> > >> >

> > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> > >> >

> > >> > > Hi,

> > >> > >

> > >> > > Thanks Jerry for clarifying.

> > >> > >

> > >> > > My next query is:

> > >> > > I am using an RPM-based system, I want to add the Yum

> > >> > > repository so that

> > >> > I can install CloudStack with Yum.

> > >> > > I have created a repos file under /etc/yum.repos.d.

> > >> > >

> > >> > > [cloudstack]

> > >> > > name=cloudstack

> > >> > > baseurl=http://server.url/downloads/rpm/stable/

> > >> > > enabled=1

> > >> > > gpgcheck=1

> > >> > >

> > >> > > Next you'll want to add the GPG key:

> > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt

> > >> > >

> > >> > >

> > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.

> > >> > > ) What will be the value of server.url?

> > >> > >

> > >> > > Thanks and Regards.

> > >> > >

> > >> > > Asmita

> > >> > >

> > >> > >

> > >> > > -----Original Message-----

> > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]

> > >> > > Sent: 27 December 2012 PM 06:20

> > >> > > To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> > >> > > Subject: Re: CloudStack Installation Query

> > >> > >

> > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS

> > >> > >

> > >> > > Jerry

> > >> > >

> > >> > > ----- Original Message -----

> > >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>>

> > >> > > To: "cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>"

> > >> > > <cl...@incubator.apache.org>>

> > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM

> > >> > > Subject: CloudStack Installation Query

> > >> > >

> > >> > > Hi,

> > >> > >

> > >> > > I am trying to install CloudStack 4 on the system.

> > >> > > I am having RHEL 6.3 system for the CloudStack Management

> > >> > > server

> > >> > installation.

> > >> > >

> > >> > > I am following standard Installation guide to do so.

> > >> > > Location -

> > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Clou
> > >> > > dS

> > >> > > ta

> > >> > > ck/4

> > >> .

> > >> > > 0.0-incubating/html/Installation_Guide/index.html

> > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.

> > >> > >

> > >> > > I wanted to confirm if I should perform step in section 3.5

> > >> > > only if my

> > >> > server OS is Ubuntu and perform steps in section 3.6 if my

> > >> > management server is RHEL server.

> > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

> > >> > >

> > >> > > Please clarify.

> > >> > >

> > >> > > Thanks and Regards.

> > >> > > Asmita.

> > >> > >

> > >> > >

> > >> >

> > >> > ShapeBlue provides a range of strategic and technical
> > >> > consulting

> > >> > and implementation services to help IT Service Providers and

> > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s

> > >> > expertise, combined with CloudStack technology, allows IT
> > >> > Service

> > >> > Providers and Enterprises to deliver true, utility based, IaaS
> > >> > to

> > >> > the customer or

> > >> end-user.

> > >> >

> > >> > ________________________________

> > >> >

> > >> > This email and any attachments to it may be confidential and
> > >> > are

> > >> > intended solely for the use of the individual to whom it is addressed.

> > >> > Any views or opinions expressed are solely those of the author

> > >> > and do not necessarily represent those of Shape Blue Ltd. If
> > >> > you

> > >> > are not the intended recipient of this email, you must neither

> > >> > take any action based upon its contents, nor copy or show it to anyone.

> > >> > Please contact the sender if you believe you have received this

> > >> > email in error. Shape Blue Ltd is a company incorporated in

> > >> > England &

> > Wales.

> > >> >

> > >>

> > >

> > >

> >

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are
> intended

> solely for the use of the individual to whom it is addressed. Any
> views or

> opinions expressed are solely those of the author and do not
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended
> recipient of this

> email, you must neither take any action based upon its contents, nor
> copy or

> show it to anyone. Please contact the sender if you believe you have
> received

> this email in error. Shape Blue Ltd is a company incorporated in
> England &

> Wales.

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are
> intended

> solely for the use of the individual to whom it is addressed. Any
> views or

> opinions expressed are solely those of the author and do not
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended
> recipient of this

> email, you must neither take any action based upon its contents, nor
> copy or

> show it to anyone. Please contact the sender if you believe you have
> received

> this email in error. Shape Blue Ltd is a company incorporated in
> England &

> Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Likitha Shetty <li...@citrix.com>.
Asmita, this error is because you have already created the key-pair with the name 'keypairdoc'. Try creating a key pair with a different name and use the domain-id returned by listDomains API i.e. 1448af9f-161a-4d75-a8b4-3bb3b577bbf3.

Thank you,
Likitha
> -----Original Message-----
> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
> Sent: Friday, January 04, 2013 6:43 PM
> To: cloudstack-users@incubator.apache.org
> Subject: RE: CloudStack Installation Query
>
> This looks like a bug in the API command.
>
> It appears to be using the MySQL Record ID (in this case Record ID 1) rather
> than the actual Domain ID (uuid field in the DB table 'domain')
>
> Suggest you file a bug report
>
> Regards
>
> Geoff
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 04 January 2013 13:08
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> Hi Likitha,
> You are right.
>
> I tried with domainId=1, the command worked, and generated an api keypair
> for me.
>
> Then I used, the listDomains API, it gave me 1 domain with a different ID. -
> <listdomainsresponse cloud-stack-version="3.0.2.20120506223416">
>         <count>1</count>
>         <domain><id>1448af9f-161a-4d75-a8b4-3bb3b577bbf3</id>
>                 <name>ROOT</name>
>                 <level>0</level>
>                 <haschild>false</haschild>
>                 <path>ROOT</path>
>         </domain>
>         </listdomainsresponse>
>
> When I run the same command to create an keypair with the actual domainId
> 1448af9f-161a-4d75-a8b4-3bb3b577bbf3 above , I get an error
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>         <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
>         <errorcode>431</errorcode>
>         <errortext>A key pair with name &apos;keypair-doc&apos; already
> exists.</errortext> </createsshkeypairresponse>
>
> 1) Is it possible to remove this API keyAnd try with the correct domainid.
> 2) If you observe the response has the cloudstack API version with it. I actually
> installed the Cloudstack 4 on management server, then I expect to get the
> version like 4.0.x some thing.
> Is it normal?
>
>
> Thanks and Regards.
>
> Asmita
>
>
> -----Original Message-----
> From: Likitha Shetty [mailto:likitha.shetty@citrix.com]
> Sent: 04 January 2013 PM 05:58
> To: cloudstack-users@incubator.apache.org
> Subject: RE: CloudStack Installation Query
>
> Asmita,
>
>
>
> Please run the following command to confirm that you are using the right
> domain-id, curl --globoff "http://torvm-cloudstack-
> mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-
> ad75cae8e8a2”.
>
> This command should return the domain with the right response tags, if not
> then as Geoff pointed and as mentioned in the error it is because the domainId
> is invalid.
>
>
>
> Thank you,
>
> Likitha
>
>
>
> > -----Original Message-----
>
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > Sent: Friday, January 04, 2013 5:44 PM
>
> > To: 'cloudstack-users@incubator.apache.org'
>
> > Subject: RE: CloudStack Installation Query
>
> >
>
> > yes, its as per documentation.
>
> >
>
> >
>
> >
>
> > Thanks and Regards.
>
> >
>
> > Asmita Patil Vagyani.
>
> >
>
> > -----Original Message-----
>
> > From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
>
> > Sent: 04 January 2013 PM 05:26
>
> > To: cloudstack-users@incubator.apache.org
>
> > Subject: RE: CloudStack Installation Query
>
> >
>
> > Hi Asmita
>
> >
>
> > The error message implies the DomainID is invalid, have you copied it
> > correctly
>
> >
>
> > Regards
>
> >
>
> > Geoff
>
> >
>
> > -----Original Message-----
>
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > Sent: 04 January 2013 11:40
>
> > To: 'cloudstack-users@incubator.apache.org'
>
> > Subject: RE: CloudStack Installation Query
>
> >
>
> > Thanks Paul for sharing the solution.
>
> > The info abt 'integration.api.port' is missing in the documentation in
> > the
>
> > installation guide.
>
> > I got this working by changing the port value in the MySQL Db.
>
> >
>
> > My next issue is:
>
> > When I run
>
> > [root@torvm-cloudstack-mgmt ~]# curl --globoff
> > "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command=c
> > reateSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-
> c44b-4
> > 2b5-9109-ad75cae8e8a2>
>
> >
> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin
> <http
> > ://torvm-cloudstack-
> mgmt:8096/?command=createSSHKeyPair&name=keypairdo
> > c&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>
>
> > &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-
> cloudstack-
> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin
> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"
>
> >
>
> > <?xml version="1.0" encoding="ISO-8859-1"?>
>
> >         <createsshkeypairresponse
> > cloud-stack-version="3.0.2.20120506223416">
>
> >                 <errorcode>431</errorcode>
>
> >                 <errortext>Unable to execute API command
> > createsshkeypair due
>
> > curl --globoff
>
> >
> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac
> <
> >
> http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&acc
> o
> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>
>
> > count=admin&domainid=5163440e-c44b-42b5-9109-
> ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=
> keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-
> ad75cae8e8a2>"
>
> > <?xml version="1.0" encoding="ISO-8859-1"?>
>
> >         <createsshkeypairresponse
> > cloud-stack-version="3.0.2.20120506223416">
>
> >         <errorcode>431</errorcode>
>
> >         <errortext>Unable to execute API command createsshkeypair due
> > to
>
> > invalid value. Object domain(uuid:
> > 5163440e-c44b-42b5-9109-ad75cae8e8a2)
>
> > does not exist.</errortext> </createsshkeypairresponse>[root@
>
> >
>
> > Its because the domain is missing.
>
> > Is there something that I need to do for enabling the domain?
>
> > I don’t see this documented in the installation guide.
>
> >
>
> >
>
> > Thanks and Regards.
>
> >
>
> > Asmita Patil Vagyani.
>
> > Tech Lead,  Sigma Software Solutions, Pune,
>
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> >
>
> >
>
> > -----Original Message-----
>
> > From: Paul Angus [mailto:paul.angus@shapeblue.com]
>
> > Sent: 04 January 2013 PM 02:19
>
> > To: cloudstack-users@incubator.apache.org
>
> > Subject: RE: CloudStack Installation Query
>
> >
>
> > Hi Asmiti,
>
> >
>
> > There's a global setting 'integration.api.port' which by default is
> > empty (ie
>
> > disabled) you need to enter the port you want to use in there (8096)
> > and restart
>
> > the management service.
>
> >
>
> > Regards,
>
> >
>
> > Paul Angus
>
> > Cloud Architect / Senior Consultant
>
> > paul.angus@shapeblue.com<ma...@shapeblue.com> |
> > www.shapeblue.com<http://www.shapeblue.com> | Twitter:@shapeBlue
>
> > ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> >
>
> > -----Original Message-----
>
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > Sent: 04 January 2013 08:41
>
> > To: 'cloudstack-users@incubator.apache.org'
>
> > Subject: RE: CloudStack Installation Query
>
> >
>
> > Hi Marc,
>
> >
>
> > I am running the command from Management server only.
>
> > I specified that client is running on 8080 port, when I login to console.
>
> > But when I hit the API for 8096, it seems this point is not running.
>
> > I mean when I checked if anything is running on this 8096 port, I get nothing.
>
> > Am I missing something, because of which APIs are not getting accessed?
>
> >
>
> >
>
> > Thanks and Regards.
>
> >
>
> > Asmita Patil Vagyani.
>
> > Tech Lead,  Sigma Software Solutions, Pune,
>
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> >
>
> >
>
> > -----Original Message-----
>
> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>
> > Sent: 04 January 2013 PM 01:32
>
> > To: cloudstack-users
>
> > Subject: Re: CloudStack Installation Query
>
> >
>
> > Hi,
>
> >
>
> > First, this command is meant to be run on management server not from a
>
> > client (the 8096 is API integration port). Then, there are two things
> > I can't
>
> > remember exactly (I don't have a working installation rigth now), but:
>
> >
>
> > 1- The domain id is always the same in every installation?
>
> > 2- Using integration port you need API path? So url is
>
> > http://localhost:8096/client/api?command=...
>
> >
>
> > Can someone shed a light on this?
>
> >
>
> > thx
>
> >
>
> >
>
> > On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani <
> > Asmita.Vagyani@sigma-<ma...@sigma-systems.com>
>
> > systems.com<ma...@sigma-systems.com>> wrote:
>
> >
>
> > > Hi all,
>
> > > I managed to start the Cloud Management server on the RHEL OS.
>
> > > I am able to login to the management server console now after
>
> > > re-installing the mySQL DB.
>
> > >
>
> > > I am following the next step after changing the password, for
> > > creating
>
> > > the ssh template.
>
> > >
>
> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>
> > > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh
> > > -t
>
> > > emplate
>
> > >
>
> > > Section 5.2.2. Creating the SSH Keypair When I run the command below
>
> > > on management server -
>
> > >
>
> > > curl --globoff "
>
> > >
>
> >
> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco
>
> > > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2
>
> > > "
>
> > >
>
> > > I get error curl: (7) couldn't connect to host
>
> > >
>
> > > On port 8080 I can see the client is running, I am not sure about
> > > the
>
> > > webservice endpoint if its correct.(Here port is 8096) Other point
> > > is
>
> > > domain Id- where can I get this domain id from?
>
> > >
>
> > > Thanks and Regards.
>
> > >
>
> > > Asmita
>
> > > -----Original Message-----
>
> > > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > > Sent: 03 January 2013 PM 07:52
>
> > > To: 'cloudstack-users@incubator.apache.org'
>
> > > Subject: RE: CloudStack Installation Query
>
> > >
>
> > > I used this command to deploy DB.
>
> > >
>
> > > $ cloud-setup-databases
>
> > > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m
> > > password
>
> > > -k password
>
> > >
>
> > > Output was :
>
> > >
>
> > > Mysql user name:cloud
>
> > >       [ OK ]
>
> > > Mysql user password:sigma123
>
> > >      [ OK ]
>
> > > Mysql server ip:localhost
>
> > >       [ OK ]
>
> > > Mysql server port:3306
>
> > >      [ OK ]
>
> > > Mysql root user name:root
>
> > >       [ OK ]
>
> > > Mysql root user password:sigma123
>
> > >       [ OK ]
>
> > > Checking Cloud database files ...
>
> > >       [ OK ]
>
> > > Checking local machine hostname ...
>
> > >       [ OK ]
>
> > > Checking SELinux setup ...
>
> > >      [ OK ]
>
> > > Detected local IP address as <LOCAL IP address> will use as cluster
>
> > > management server node IP[ OK ] Preparing
>
> > > /etc/cloud/management/db.properties
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/create-database.sql
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/create-schema.sql
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/create-database-premium.sql
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/create-schema-premium.sql
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/server-setup.sql
>
> > >      [ OK ]
>
> > > Applying /usr/share/cloud/setup/templates.sql
>
> > >       [ OK ]
>
> > > Applying /usr/share/cloud/setup/create-index-fk.sql
>
> > >       [ OK ]
>
> > > Processing encryption ...
>
> > >       [ OK ]
>
> > > Finalizing setup ...
>
> > >      [ OK ]
>
> > >
>
> > > CloudStack has successfully initialized database, you can check your
>
> > > database configuration in /etc/cloud/management/db.properties
>
> > >
>
> > >
>
> > >
>
> > > Thanks and Regards.
>
> > >
>
> > > Asmita Patil Vagyani.
>
> > > Tech Lead,  Sigma Software Solutions, Pune,
>
> > > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> > >
>
> > >
>
> > > -----Original Message-----
>
> > > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>
> > > Sent: 03 January 2013 PM 07:47
>
> > > To: cloudstack-users
>
> > > Subject: Re: CloudStack Installation Query
>
> > >
>
> > > What was the output of cloud-setup-databases command?
>
> > >
>
> > > thx
>
> > >
>
> > >
>
> > > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui
> > > <mc...@gmail.com>>
>
> > wrote:
>
> > >
>
> > > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on
>
> > > > your management server...".
>
> > > >
>
> > > > If it's there, I guess you did it (right?). Then may be a
>
> > > > permissions problem or NFSv4 in use. I read problems with people
>
> > > > using NFSv4 in this mailing list.
>
> > > >
>
> > > > thx
>
> > > >
>
> > > >
>
> > > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <
>
> > > > Asmita.Vagyani@sigma-systems.com<mailto:Asmita.Vagyani@sigma-
> systems.com>> wrote:
>
> > > >
>
> > > >> Hi Marc,
>
> > > >> I am using a separate NFS server for secondary storage, I think
> > > >> the
>
> > > >> way you are going with is when you have nfs shared folder on the
>
> > > >> same management server and mount it there itself.
>
> > > >> Am I right?
>
> > > >>
>
> > > >>
>
> > > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> > > >> ck
>
> > > >> /4
>
> > > >> .0.0-incubating/html/Installation_Guide/management-server-install
> > > >> -f
>
> > > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate
> > > >> NFS
>
> > > >> Server
>
> > > >>
>
> > > >>
>
> > > >> Thanks and Regards.
>
> > > >>
>
> > > >> Asmita Patil Vagyani.
>
> > > >> Tech Lead,  Sigma Software Solutions, Pune,
>
> > > >> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> > > >>
>
> > > >>
>
> > > >> -----Original Message-----
>
> > > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>
> > > >> Sent: 03 January 2013 PM 07:30
>
> > > >> To: cloudstack-users
>
> > > >> Subject: Re: CloudStack Installation Query
>
> > > >>
>
> > > >> My point was that as the path given to the
> > > >> cloud-install-sys-tmplt
>
> > > >> command
>
> > > >> (/mnt/secondary) and export path (/export), you need to mount the
>
> > > >> export path for secondary storage (/export) on /mnt/secondary
>
> > > >> otherwise system vm template won't be able to download to primary
>
> > > storage.
>
> > > >>
>
> > > >> thx.
>
> > > >>
>
> > > >>
>
> > > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
>
> > > >>
> geoff.higginbottom@shapeblue.com<mailto:geoff.higginbottom@shapeblue.co
> m>> wrote:
>
> > > >>
>
> > > >> > Hi Asmita,
>
> > > >> >
>
> > > >> > You don't have to, but its best practice to do so.
>
> > > >> >
>
> > > >> > When you deploy a new Zone, the first thing that happens is
> > > >> > that
>
> > > >> > the System VM Template, which you will have seeded to Secondary
>
> > > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then
>
> > > >> > connects to the Internet and downloads an example Template and
>
> > > >> > places it on secondary
>
> > > >> storage.
>
> > > >> >
>
> > > >> > All the above happens automatically as long as the
> > > >> > configuration
>
> > > >> > of the Compute, Storage and Networking Layers is correct, and
>
> > > >> > seeing it happen is a great sanity check that everything is
>
> > > >> > configured
>
> > > correctly.
>
> > > >> >
>
> > > >> > Skipping configuring the Secondary Storage, and seeding it with
>
> > > >> > the appropriate System VM Templates for your chosen Hypervisors
>
> > > >> > will not break anything, and it can be added later, but as you
>
> > > >> > have to do it at some point, you might as well do it at the beginning.
>
> > > >> >
>
> > > >> > Regards
>
> > > >> >
>
> > > >> > Geoff
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > > >> > Sent: 03 January 2013 13:34
>
> > > >> > To: 'cloudstack-users@incubator.apache.org'
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Hi all,
>
> > > >> >
>
> > > >> > Is it a mandate that we have to configure/mount a secondary
>
> > > >> > storage nfs server before cloudstack management server installation?
>
> > > >> >
>
> > > >> >
>
> > > >> >
>
> > > >> > Thanks and Regards.
>
> > > >> >
>
> > > >> > Asmita Patil Vagyani.
>
> > > >> > Tech Lead,  Sigma Software Solutions, Pune,
>
> > > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> > > >> >
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > > >> > Sent: 03 January 2013 PM 12:49
>
> > > >> > To: 'cloudstack-users@incubator.apache.org'
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Hi all,
>
> > > >> >
>
> > > >> > I am following the Cloudstack 4 documentation for installation
> > > >> > on
>
> > > RHEL.
>
> > > >> > Please refer
>
> > > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > > >> > ta
>
> > > >> > ck/4
>
> > > .
>
> > > >> > 0.0-incubating/html/Installation_Guide/management-server-install-
> flow.
>
> > > >> > html#nfs-shares-on-separate-server
>
> > > >> > Step 4.5.7. Prepare the System VM Template
>
> > > >> >
>
> > > >> > I have mounted the secondary storage device on another NFS
> > > >> > server
>
> > > >> > and can see that its mounted.
>
> > > >> > I added line below to my /etc/exports file also :
>
> > > >> > /export *(rw,async,no_root_squash)
>
> > > >> >
>
> > > >> > Then I run cloud-install-sys-tmplt command below to retrieve
> > > >> > and
>
> > > >> > decompress the system VM template - For vSphere:
>
> > > >> >
>
> > > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > > >> > -s
>
> > > >> > ys
>
> > > >> > -tm
>
> > > >> > plt
>
> > > >> > -m /mnt/secondary -u
>
> > > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0
>
> > > ^C12012.
>
> > > >> > ova
>
> > > >> >  -h vmware -s welcome123 -F
>
> > > >> >
>
> > > >> > I get the following error -
>
> > > >> > rm: cannot remove
>
> > > >> >
>
> > > >>
>
> > > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-
>
> > 97b901f09ae6.ova':
>
> > > >> > Permission denied
>
> > > >> > rm: cannot remove
>
> > > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
>
> > > >> > Permission denied
>
> > > >> > rm: cannot remove
> `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
>
> > > >> > Permission denied
>
> > > >> > rm: cannot remove
>
> > `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
>
> > > >> > Permission denied
>
> > > >> > rm: cannot remove
>
> > > >> `/mnt/secondary/template/tmpl/1/8//template.properties':
>
> > > >> > Permission denied Failed to clean up template directory
>
> > > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
>
> > > >> > Installation failed
>
> > > >> >
>
> > > >> > Did anyone of you face the same problem?
>
> > > >> >
>
> > > >> > Thanks and Regards.
>
> > > >> >
>
> > > >> > Asmita Patil Vagyani.
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > > >> > Sent: 31 December 2012 PM 02:50
>
> > > >> > To: 'cloudstack-users@incubator.apache.org'
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > I am using RHEL
>
> > > >> >
>
> > > >> >
>
> > > >> >
>
> > > >> > Thanks and Regards.
>
> > > >> >
>
> > > >> > Asmita Patil Vagyani.
>
> > > >> > Tech Lead,  Sigma Software Solutions, Pune,
>
> > > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> > > >> >
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
>
> > > >> > Sent: 31 December 2012 PM 02:43
>
> > > >> > To: cloudstack-users@incubator.apache.org
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Hi,
>
> > > >> >
>
> > > >> > Please use below path if your setup is on Ubuntu.:
>
> > > >> >
>
> > > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-s
> > > >> > ys
>
> > > >> > -t
>
> > > >> > mpl
>
> > > >> > t
>
> > > >> >
>
> > > >> > Thanks,
>
> > > >> > Sailaja.M
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>
> > > >> > Sent: Monday, December 31, 2012 2:16 PM
>
> > > >> > To: 'cloudstack-users@incubator.apache.org'
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Hi all,
>
> > > >> >
>
> > > >> > I am following the Cloudstack 4 documentation for installation.
>
> > > >> > Please refer
>
> > > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > > >> > ta
>
> > > >> > ck/4
>
> > > .
>
> > > >> > 0.0-incubating/html/Installation_Guide/management-server-install-
> flow.
>
> > > >> > html#nfs-shares-on-separate-server
>
> > > >> > Step 4.5.7. Prepare the System VM Template
>
> > > >> >
>
> > > >> > Its says to run one or more of the following
>
> > > >> > cloud-install-sys-tmplt commands to retrieve and decompress the
>
> > > >> > system VM template - For vSphere run command below:
>
> > > >> > #
>
> > > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install
> > > >> > -s
>
> > > >> > ys
>
> > > >> > -tm
>
> > > >> > plt
>
> > > >> > -m /mnt/secondary -u
>
> > > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > > >> > 01
>
> > > >> > 2012
>
> > > .
>
> > > >> > ova-h vmware -s <optional-management-server-secret-key>  -F
>
> > > >> >
>
> > > >> > I made a correction in the file path and run the command as below:
>
> > > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > > >> > -s
>
> > > >> > ys
>
> > > >> > -tm
>
> > > >> > plt
>
> > > >> > -m /mnt/secondary -u
>
> > > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > > >> > 01
>
> > > >> > 2012
>
> > > .
>
> > > >> > ova-hvmware -s welcome123 -F
>
> > > >> >
>
> > > >> > It gives an error command not found.
>
> > > >> > cloud-install-sys-tmplt: command not found Any idea why this is
>
> > > >> > not working?
>
> > > >> >
>
> > > >> > Thanks and Regards.
>
> > > >> >
>
> > > >> > Asmita Patil Vagyani.
>
> > > >> > Tech Lead,  Sigma Software Solutions, Pune,
>
> > > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>
> > > >> >
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: Radhika Puthiyetath
> > > >> > [mailto:radhika.puthiyetath@citrix.com]
>
> > > >> > Sent: 28 December 2012 AM 10:48
>
> > > >> > To: cloudstack-users@incubator.apache.org
>
> > > >> > Subject: RE: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Thank you for pointing out the errors in docs.
>
> > > >> >
>
> > > >> > Please file a documentation defect in case you find any.
>
> > > >> >
>
> > > >> > Thanks
>
> > > >> > -Radhika
>
> > > >> >
>
> > > >> > -----Original Message-----
>
> > > >> > From: sebgoa [mailto:runseb@gmail.com]
>
> > > >> > Sent: Thursday, December 27, 2012 7:01 PM
>
> > > >> > To: cloudstack-users@incubator.apache.org
>
> > > >> > Subject: Re: CloudStack Installation Query
>
> > > >> >
>
> > > >> > Asmita,
>
> > > >> >
>
> > > >> > I believe there is an issue with the documentation.
>
> > > >> >
>
> > > >> > try to replace the baseurl with:
>
> > > >> >
>
> > > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
>
> > > >> >
>
> > > >> > and do:
>
> > > >> >
>
> > > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
>
> > > >> >
>
> > > >> >
>
> > > >> > I have not tested it, so please let us know if it works or not.
>
> > > >> >
>
> > > >> > thanks,
>
> > > >> >
>
> > > >> > -Sebastien
>
> > > >> >
>
> > > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
>
> > > >> >
>
> > > >> > > Hi,
>
> > > >> > >
>
> > > >> > > Thanks Jerry for clarifying.
>
> > > >> > >
>
> > > >> > > My next query is:
>
> > > >> > > I am using an RPM-based system, I want to add the Yum
>
> > > >> > > repository so that
>
> > > >> > I can install CloudStack with Yum.
>
> > > >> > > I have created a repos file under /etc/yum.repos.d.
>
> > > >> > >
>
> > > >> > > [cloudstack]
>
> > > >> > > name=cloudstack
>
> > > >> > > baseurl=http://server.url/downloads/rpm/stable/
>
> > > >> > > enabled=1
>
> > > >> > > gpgcheck=1
>
> > > >> > >
>
> > > >> > > Next you'll want to add the GPG key:
>
> > > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
>
> > > >> > >
>
> > > >> > >
>
> > > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.
>
> > > >> > > ) What will be the value of server.url?
>
> > > >> > >
>
> > > >> > > Thanks and Regards.
>
> > > >> > >
>
> > > >> > > Asmita
>
> > > >> > >
>
> > > >> > >
>
> > > >> > > -----Original Message-----
>
> > > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
>
> > > >> > > Sent: 27 December 2012 PM 06:20
>
> > > >> > > To: cloudstack-users@incubator.apache.org
>
> > > >> > > Subject: Re: CloudStack Installation Query
>
> > > >> > >
>
> > > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
>
> > > >> > >
>
> > > >> > > Jerry
>
> > > >> > >
>
> > > >> > > ----- Original Message -----
>
> > > >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
>
> > > >> > > To: "cloudstack-users@incubator.apache.org"
>
> > > >> > > <cl...@incubator.apache.org>
>
> > > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM
>
> > > >> > > Subject: CloudStack Installation Query
>
> > > >> > >
>
> > > >> > > Hi,
>
> > > >> > >
>
> > > >> > > I am trying to install CloudStack 4 on the system.
>
> > > >> > > I am having RHEL 6.3 system for the CloudStack Management
>
> > > >> > > server
>
> > > >> > installation.
>
> > > >> > >
>
> > > >> > > I am following standard Installation guide to do so.
>
> > > >> > > Location -
>
> > > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Clou
> > > >> > > dS
>
> > > >> > > ta
>
> > > >> > > ck/4
>
> > > >> .
>
> > > >> > > 0.0-incubating/html/Installation_Guide/index.html
>
> > > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.
>
> > > >> > >
>
> > > >> > > I wanted to confirm if I should perform step in section 3.5
>
> > > >> > > only if my
>
> > > >> > server OS is Ubuntu and perform steps in section 3.6 if my
>
> > > >> > management server is RHEL server.
>
> > > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
>
> > > >> > >
>
> > > >> > > Please clarify.
>
> > > >> > >
>
> > > >> > > Thanks and Regards.
>
> > > >> > > Asmita.
>
> > > >> > >
>
> > > >> > >
>
> > > >> >
>
> > > >> > ShapeBlue provides a range of strategic and technical
> > > >> > consulting
>
> > > >> > and implementation services to help IT Service Providers and
>
> > > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s
>
> > > >> > expertise, combined with CloudStack technology, allows IT
> > > >> > Service
>
> > > >> > Providers and Enterprises to deliver true, utility based, IaaS
> > > >> > to
>
> > > >> > the customer or
>
> > > >> end-user.
>
> > > >> >
>
> > > >> > ________________________________
>
> > > >> >
>
> > > >> > This email and any attachments to it may be confidential and
> > > >> > are
>
> > > >> > intended solely for the use of the individual to whom it is addressed.
>
> > > >> > Any views or opinions expressed are solely those of the author
>
> > > >> > and do not necessarily represent those of Shape Blue Ltd. If
> > > >> > you
>
> > > >> > are not the intended recipient of this email, you must neither
>
> > > >> > take any action based upon its contents, nor copy or show it to anyone.
>
> > > >> > Please contact the sender if you believe you have received this
>
> > > >> > email in error. Shape Blue Ltd is a company incorporated in
>
> > > >> > England &
>
> > > Wales.
>
> > > >> >
>
> > > >>
>
> > > >
>
> > > >
>
> > >
>
> > ShapeBlue provides a range of strategic and technical consulting and
>
> > implementation services to help IT Service Providers and Enterprises
> > to build a
>
> > true IaaS compute cloud. ShapeBlue’s expertise, combined with
> > CloudStack
>
> > technology, allows IT Service Providers and Enterprises to deliver
> > true, utility
>
> > based, IaaS to the customer or end-user.
>
> >
>
> > ________________________________
>
> >
>
> > This email and any attachments to it may be confidential and are
> > intended
>
> > solely for the use of the individual to whom it is addressed. Any
> > views or
>
> > opinions expressed are solely those of the author and do not
> > necessarily
>
> > represent those of Shape Blue Ltd. If you are not the intended
> > recipient of this
>
> > email, you must neither take any action based upon its contents, nor
> > copy or
>
> > show it to anyone. Please contact the sender if you believe you have
> > received
>
> > this email in error. Shape Blue Ltd is a company incorporated in
> > England &
>
> > Wales.
>
> > ShapeBlue provides a range of strategic and technical consulting and
>
> > implementation services to help IT Service Providers and Enterprises
> > to build a
>
> > true IaaS compute cloud. ShapeBlue’s expertise, combined with
> > CloudStack
>
> > technology, allows IT Service Providers and Enterprises to deliver
> > true, utility
>
> > based, IaaS to the customer or end-user.
>
> >
>
> > ________________________________
>
> >
>
> > This email and any attachments to it may be confidential and are
> > intended
>
> > solely for the use of the individual to whom it is addressed. Any
> > views or
>
> > opinions expressed are solely those of the author and do not
> > necessarily
>
> > represent those of Shape Blue Ltd. If you are not the intended
> > recipient of this
>
> > email, you must neither take any action based upon its contents, nor
> > copy or
>
> > show it to anyone. Please contact the sender if you believe you have
> > received
>
> > this email in error. Shape Blue Ltd is a company incorporated in
> > England &
>
> > Wales.
> ShapeBlue provides a range of strategic and technical consulting and
> implementation services to help IT Service Providers and Enterprises to build a
> true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack
> technology, allows IT Service Providers and Enterprises to deliver true, utility
> based, IaaS to the customer or end-user.
>
> ________________________________
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd. If you are not the intended recipient of this
> email, you must neither take any action based upon its contents, nor copy or
> show it to anyone. Please contact the sender if you believe you have received
> this email in error. Shape Blue Ltd is a company incorporated in England &
> Wales.

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
You are very much right Geoff.
I checked in the mySQL DB domain table.
It had one entry with id column value as 1.

Other problem is while I configure the Cluster on the Client console of Cloudstack management server, I have to select the hypervisor.
The hypervisor shows only 2 dropdown options - XenServer and KVM.
I actually want to setup VMWare cluster.
How do I get the VM Ware listed here?
In the installation guide, it says the clustering in VMWare is a combination of VSphere and Cloud admin console configuration.
Does it mean that the VMWare option will be listed only if the cluster is configured on the VSphere first?


Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]
Sent: 04 January 2013 PM 06:43
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

This looks like a bug in the API command.

It appears to be using the MySQL Record ID (in this case Record ID 1) rather than the actual Domain ID (uuid field in the DB table 'domain')

Suggest you file a bug report

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 13:08
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Likitha,
You are right.

I tried with domainId=1, the command worked, and generated an api keypair for me.

Then I used, the listDomains API, it gave me 1 domain with a different ID. - <listdomainsresponse cloud-stack-version="3.0.2.20120506223416">
        <count>1</count>
        <domain><id>1448af9f-161a-4d75-a8b4-3bb3b577bbf3</id>
                <name>ROOT</name>
                <level>0</level>
                <haschild>false</haschild>
                <path>ROOT</path>
        </domain>
        </listdomainsresponse>

When I run the same command to create an keypair with the actual domainId 1448af9f-161a-4d75-a8b4-3bb3b577bbf3 above , I get an error

<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
        <errorcode>431</errorcode>
        <errortext>A key pair with name &apos;keypair-doc&apos; already exists.</errortext> </createsshkeypairresponse>

1) Is it possible to remove this API keyAnd try with the correct domainid.
2) If you observe the response has the cloudstack API version with it. I actually installed the Cloudstack 4 on management server, then I expect to get the version like 4.0.x some thing.
Is it normal?


Thanks and Regards.

Asmita


-----Original Message-----
From: Likitha Shetty [mailto:likitha.shetty@citrix.com]
Sent: 04 January 2013 PM 05:58
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Asmita,



Please run the following command to confirm that you are using the right domain-id, curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-ad75cae8e8a2”.

This command should return the domain with the right response tags, if not then as Geoff pointed and as mentioned in the error it is because the domainId is invalid.



Thank you,

Likitha



> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: Friday, January 04, 2013 5:44 PM

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> yes, its as per documentation.

>

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

>

> -----Original Message-----

> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]

> Sent: 04 January 2013 PM 05:26

> To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmita

>

> The error message implies the DomainID is invalid, have you copied it
> correctly

>

> Regards

>

> Geoff

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 11:40

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Thanks Paul for sharing the solution.

> The info abt 'integration.api.port' is missing in the documentation in
> the

> installation guide.

> I got this working by changing the port value in the MySQL Db.

>

> My next issue is:

> When I run

> [root@torvm-cloudstack-mgmt ~]# curl --globoff
> "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command=c
> reateSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-4
> 2b5-9109-ad75cae8e8a2>

> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin<http
> ://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdo
> c&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

>

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>                 <errorcode>431</errorcode>

>                 <errortext>Unable to execute API command
> createsshkeypair due

> curl --globoff

> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac<
> http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> count=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>         <errorcode>431</errorcode>

>         <errortext>Unable to execute API command createsshkeypair due
> to

> invalid value. Object domain(uuid:
> 5163440e-c44b-42b5-9109-ad75cae8e8a2)

> does not exist.</errortext> </createsshkeypairresponse>[root@

>

> Its because the domain is missing.

> Is there something that I need to do for enabling the domain?

> I don’t see this documented in the installation guide.

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Paul Angus [mailto:paul.angus@shapeblue.com]

> Sent: 04 January 2013 PM 02:19

> To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> Subject: RE: CloudStack Installation Query

>

> Hi Asmiti,

>

> There's a global setting 'integration.api.port' which by default is
> empty (ie

> disabled) you need to enter the port you want to use in there (8096)
> and restart

> the management service.

>

> Regards,

>

> Paul Angus

> Cloud Architect / Senior Consultant

> paul.angus@shapeblue.com<ma...@shapeblue.com>> |
> www.shapeblue.com<http://www.shapeblue.com<http://www.shapeblue.com<http://www.shapeblue.com>> | Twitter:@shapeBlue

> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 08:41

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Hi Marc,

>

> I am running the command from Management server only.

> I specified that client is running on 8080 port, when I login to console.

> But when I hit the API for 8096, it seems this point is not running.

> I mean when I checked if anything is running on this 8096 port, I get nothing.

> Am I missing something, because of which APIs are not getting accessed?

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> Sent: 04 January 2013 PM 01:32

> To: cloudstack-users

> Subject: Re: CloudStack Installation Query

>

> Hi,

>

> First, this command is meant to be run on management server not from a

> client (the 8096 is API integration port). Then, there are two things
> I can't

> remember exactly (I don't have a working installation rigth now), but:

>

> 1- The domain id is always the same in every installation?

> 2- Using integration port you need API path? So url is

> http://localhost:8096/client/api?command=...

>

> Can someone shed a light on this?

>

> thx

>

>

> On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani <
> Asmita.Vagyani@sigma-<ma...@sigma-systems.com>>

> systems.com<ma...@sigma-systems.com>> wrote:

>

> > Hi all,

> > I managed to start the Cloud Management server on the RHEL OS.

> > I am able to login to the management server console now after

> > re-installing the mySQL DB.

> >

> > I am following the next step after changing the password, for
> > creating

> > the ssh template.

> >

> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.

> > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh
> > -t

> > emplate

> >

> > Section 5.2.2. Creating the SSH Keypair When I run the command below

> > on management server -

> >

> > curl --globoff "

> >

> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco

> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2

> > "

> >

> > I get error curl: (7) couldn't connect to host

> >

> > On port 8080 I can see the client is running, I am not sure about
> > the

> > webservice endpoint if its correct.(Here port is 8096) Other point
> > is

> > domain Id- where can I get this domain id from?

> >

> > Thanks and Regards.

> >

> > Asmita

> > -----Original Message-----

> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > Sent: 03 January 2013 PM 07:52

> > To: 'cloudstack-users@incubator.apache.org'

> > Subject: RE: CloudStack Installation Query

> >

> > I used this command to deploy DB.

> >

> > $ cloud-setup-databases

> > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m
> > password

> > -k password

> >

> > Output was :

> >

> > Mysql user name:cloud

> >       [ OK ]

> > Mysql user password:sigma123

> >      [ OK ]

> > Mysql server ip:localhost

> >       [ OK ]

> > Mysql server port:3306

> >      [ OK ]

> > Mysql root user name:root

> >       [ OK ]

> > Mysql root user password:sigma123

> >       [ OK ]

> > Checking Cloud database files ...

> >       [ OK ]

> > Checking local machine hostname ...

> >       [ OK ]

> > Checking SELinux setup ...

> >      [ OK ]

> > Detected local IP address as <LOCAL IP address> will use as cluster

> > management server node IP[ OK ] Preparing

> > /etc/cloud/management/db.properties

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/server-setup.sql

> >      [ OK ]

> > Applying /usr/share/cloud/setup/templates.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-index-fk.sql

> >       [ OK ]

> > Processing encryption ...

> >       [ OK ]

> > Finalizing setup ...

> >      [ OK ]

> >

> > CloudStack has successfully initialized database, you can check your

> > database configuration in /etc/cloud/management/db.properties

> >

> >

> >

> > Thanks and Regards.

> >

> > Asmita Patil Vagyani.

> > Tech Lead,  Sigma Software Solutions, Pune,

> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> >

> >

> > -----Original Message-----

> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > Sent: 03 January 2013 PM 07:47

> > To: cloudstack-users

> > Subject: Re: CloudStack Installation Query

> >

> > What was the output of cloud-setup-databases command?

> >

> > thx

> >

> >

> > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui
> > <mc...@gmail.com>>>

> wrote:

> >

> > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on

> > > your management server...".

> > >

> > > If it's there, I guess you did it (right?). Then may be a

> > > permissions problem or NFSv4 in use. I read problems with people

> > > using NFSv4 in this mailing list.

> > >

> > > thx

> > >

> > >

> > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <

> > > Asmita.Vagyani@sigma-systems.com<ma...@sigma-systems.com>>> wrote:

> > >

> > >> Hi Marc,

> > >> I am using a separate NFS server for secondary storage, I think
> > >> the

> > >> way you are going with is when you have nfs shared folder on the

> > >> same management server and mount it there itself.

> > >> Am I right?

> > >>

> > >>

> > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> > >> ck

> > >> /4

> > >> .0.0-incubating/html/Installation_Guide/management-server-install
> > >> -f

> > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate
> > >> NFS

> > >> Server

> > >>

> > >>

> > >> Thanks and Regards.

> > >>

> > >> Asmita Patil Vagyani.

> > >> Tech Lead,  Sigma Software Solutions, Pune,

> > >> T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >>

> > >>

> > >> -----Original Message-----

> > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > >> Sent: 03 January 2013 PM 07:30

> > >> To: cloudstack-users

> > >> Subject: Re: CloudStack Installation Query

> > >>

> > >> My point was that as the path given to the
> > >> cloud-install-sys-tmplt

> > >> command

> > >> (/mnt/secondary) and export path (/export), you need to mount the

> > >> export path for secondary storage (/export) on /mnt/secondary

> > >> otherwise system vm template won't be able to download to primary

> > storage.

> > >>

> > >> thx.

> > >>

> > >>

> > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <

> > >> geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>>> wrote:

> > >>

> > >> > Hi Asmita,

> > >> >

> > >> > You don't have to, but its best practice to do so.

> > >> >

> > >> > When you deploy a new Zone, the first thing that happens is
> > >> > that

> > >> > the System VM Template, which you will have seeded to Secondary

> > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then

> > >> > connects to the Internet and downloads an example Template and

> > >> > places it on secondary

> > >> storage.

> > >> >

> > >> > All the above happens automatically as long as the
> > >> > configuration

> > >> > of the Compute, Storage and Networking Layers is correct, and

> > >> > seeing it happen is a great sanity check that everything is

> > >> > configured

> > correctly.

> > >> >

> > >> > Skipping configuring the Secondary Storage, and seeding it with

> > >> > the appropriate System VM Templates for your chosen Hypervisors

> > >> > will not break anything, and it can be added later, but as you

> > >> > have to do it at some point, you might as well do it at the beginning.

> > >> >

> > >> > Regards

> > >> >

> > >> > Geoff

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 13:34

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > Is it a mandate that we have to configure/mount a secondary

> > >> > storage nfs server before cloudstack management server installation?

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 PM 12:49

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation
> > >> > on

> > RHEL.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > I have mounted the secondary storage device on another NFS
> > >> > server

> > >> > and can see that its mounted.

> > >> > I added line below to my /etc/exports file also :

> > >> > /export *(rw,async,no_root_squash)

> > >> >

> > >> > Then I run cloud-install-sys-tmplt command below to retrieve
> > >> > and

> > >> > decompress the system VM template - For vSphere:

> > >> >

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0

> > ^C12012.

> > >> > ova

> > >> >  -h vmware -s welcome123 -F

> > >> >

> > >> > I get the following error -

> > >> > rm: cannot remove

> > >> >

> > >>

> > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-

> 97b901f09ae6.ova':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':

> > >> > Permission denied

> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':

> > >> > Permission denied

> > >> > rm: cannot remove

> `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//template.properties':

> > >> > Permission denied Failed to clean up template directory

> > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?

> > >> > Installation failed

> > >> >

> > >> > Did anyone of you face the same problem?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 31 December 2012 PM 02:50

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > I am using RHEL

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]

> > >> > Sent: 31 December 2012 PM 02:43

> > >> > To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi,

> > >> >

> > >> > Please use below path if your setup is on Ubuntu.:

> > >> >

> > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-s
> > >> > ys

> > >> > -t

> > >> > mpl

> > >> > t

> > >> >

> > >> > Thanks,

> > >> > Sailaja.M

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: Monday, December 31, 2012 2:16 PM

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > Its says to run one or more of the following

> > >> > cloud-install-sys-tmplt commands to retrieve and decompress the

> > >> > system VM template - For vSphere run command below:

> > >> > #

> > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-h vmware -s <optional-management-server-secret-key>  -F

> > >> >

> > >> > I made a correction in the file path and run the command as below:

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-hvmware -s welcome123 -F

> > >> >

> > >> > It gives an error command not found.

> > >> > cloud-install-sys-tmplt: command not found Any idea why this is

> > >> > not working?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Radhika Puthiyetath
> > >> > [mailto:radhika.puthiyetath@citrix.com]

> > >> > Sent: 28 December 2012 AM 10:48

> > >> > To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Thank you for pointing out the errors in docs.

> > >> >

> > >> > Please file a documentation defect in case you find any.

> > >> >

> > >> > Thanks

> > >> > -Radhika

> > >> >

> > >> > -----Original Message-----

> > >> > From: sebgoa [mailto:runseb@gmail.com]

> > >> > Sent: Thursday, December 27, 2012 7:01 PM

> > >> > To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> > >> > Subject: Re: CloudStack Installation Query

> > >> >

> > >> > Asmita,

> > >> >

> > >> > I believe there is an issue with the documentation.

> > >> >

> > >> > try to replace the baseurl with:

> > >> >

> > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

> > >> >

> > >> > and do:

> > >> >

> > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc

> > >> >

> > >> >

> > >> > I have not tested it, so please let us know if it works or not.

> > >> >

> > >> > thanks,

> > >> >

> > >> > -Sebastien

> > >> >

> > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> > >> >

> > >> > > Hi,

> > >> > >

> > >> > > Thanks Jerry for clarifying.

> > >> > >

> > >> > > My next query is:

> > >> > > I am using an RPM-based system, I want to add the Yum

> > >> > > repository so that

> > >> > I can install CloudStack with Yum.

> > >> > > I have created a repos file under /etc/yum.repos.d.

> > >> > >

> > >> > > [cloudstack]

> > >> > > name=cloudstack

> > >> > > baseurl=http://server.url/downloads/rpm/stable/

> > >> > > enabled=1

> > >> > > gpgcheck=1

> > >> > >

> > >> > > Next you'll want to add the GPG key:

> > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt

> > >> > >

> > >> > >

> > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.

> > >> > > ) What will be the value of server.url?

> > >> > >

> > >> > > Thanks and Regards.

> > >> > >

> > >> > > Asmita

> > >> > >

> > >> > >

> > >> > > -----Original Message-----

> > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]

> > >> > > Sent: 27 December 2012 PM 06:20

> > >> > > To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>

> > >> > > Subject: Re: CloudStack Installation Query

> > >> > >

> > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS

> > >> > >

> > >> > > Jerry

> > >> > >

> > >> > > ----- Original Message -----

> > >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>

> > >> > > To: "cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>"

> > >> > > <cl...@incubator.apache.org>>

> > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM

> > >> > > Subject: CloudStack Installation Query

> > >> > >

> > >> > > Hi,

> > >> > >

> > >> > > I am trying to install CloudStack 4 on the system.

> > >> > > I am having RHEL 6.3 system for the CloudStack Management

> > >> > > server

> > >> > installation.

> > >> > >

> > >> > > I am following standard Installation guide to do so.

> > >> > > Location -

> > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Clou
> > >> > > dS

> > >> > > ta

> > >> > > ck/4

> > >> .

> > >> > > 0.0-incubating/html/Installation_Guide/index.html

> > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.

> > >> > >

> > >> > > I wanted to confirm if I should perform step in section 3.5

> > >> > > only if my

> > >> > server OS is Ubuntu and perform steps in section 3.6 if my

> > >> > management server is RHEL server.

> > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

> > >> > >

> > >> > > Please clarify.

> > >> > >

> > >> > > Thanks and Regards.

> > >> > > Asmita.

> > >> > >

> > >> > >

> > >> >

> > >> > ShapeBlue provides a range of strategic and technical
> > >> > consulting

> > >> > and implementation services to help IT Service Providers and

> > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s

> > >> > expertise, combined with CloudStack technology, allows IT
> > >> > Service

> > >> > Providers and Enterprises to deliver true, utility based, IaaS
> > >> > to

> > >> > the customer or

> > >> end-user.

> > >> >

> > >> > ________________________________

> > >> >

> > >> > This email and any attachments to it may be confidential and
> > >> > are

> > >> > intended solely for the use of the individual to whom it is addressed.

> > >> > Any views or opinions expressed are solely those of the author

> > >> > and do not necessarily represent those of Shape Blue Ltd. If
> > >> > you

> > >> > are not the intended recipient of this email, you must neither

> > >> > take any action based upon its contents, nor copy or show it to anyone.

> > >> > Please contact the sender if you believe you have received this

> > >> > email in error. Shape Blue Ltd is a company incorporated in

> > >> > England &

> > Wales.

> > >> >

> > >>

> > >

> > >

> >

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are
> intended

> solely for the use of the individual to whom it is addressed. Any
> views or

> opinions expressed are solely those of the author and do not
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended
> recipient of this

> email, you must neither take any action based upon its contents, nor
> copy or

> show it to anyone. Please contact the sender if you believe you have
> received

> this email in error. Shape Blue Ltd is a company incorporated in
> England &

> Wales.

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are
> intended

> solely for the use of the individual to whom it is addressed. Any
> views or

> opinions expressed are solely those of the author and do not
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended
> recipient of this

> email, you must neither take any action based upon its contents, nor
> copy or

> show it to anyone. Please contact the sender if you believe you have
> received

> this email in error. Shape Blue Ltd is a company incorporated in
> England &

> Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.


RE: CloudStack Installation Query

Posted by Geoff Higginbottom <ge...@shapeblue.com>.
This looks like a bug in the API command.

It appears to be using the MySQL Record ID (in this case Record ID 1) rather than the actual Domain ID (uuid field in the DB table 'domain')

Suggest you file a bug report

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 13:08
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Likitha,
You are right.

I tried with domainId=1, the command worked, and generated an api keypair for me.

Then I used, the listDomains API, it gave me 1 domain with a different ID. - <listdomainsresponse cloud-stack-version="3.0.2.20120506223416">
        <count>1</count>
        <domain><id>1448af9f-161a-4d75-a8b4-3bb3b577bbf3</id>
                <name>ROOT</name>
                <level>0</level>
                <haschild>false</haschild>
                <path>ROOT</path>
        </domain>
        </listdomainsresponse>

When I run the same command to create an keypair with the actual domainId 1448af9f-161a-4d75-a8b4-3bb3b577bbf3 above , I get an error

<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
        <errorcode>431</errorcode>
        <errortext>A key pair with name &apos;keypair-doc&apos; already exists.</errortext> </createsshkeypairresponse>

1) Is it possible to remove this API keyAnd try with the correct domainid.
2) If you observe the response has the cloudstack API version with it. I actually installed the Cloudstack 4 on management server, then I expect to get the version like 4.0.x some thing.
Is it normal?


Thanks and Regards.

Asmita


-----Original Message-----
From: Likitha Shetty [mailto:likitha.shetty@citrix.com]
Sent: 04 January 2013 PM 05:58
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Asmita,



Please run the following command to confirm that you are using the right domain-id, curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-ad75cae8e8a2”.

This command should return the domain with the right response tags, if not then as Geoff pointed and as mentioned in the error it is because the domainId is invalid.



Thank you,

Likitha



> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: Friday, January 04, 2013 5:44 PM

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> yes, its as per documentation.

>

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

>

> -----Original Message-----

> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]

> Sent: 04 January 2013 PM 05:26

> To: cloudstack-users@incubator.apache.org

> Subject: RE: CloudStack Installation Query

>

> Hi Asmita

>

> The error message implies the DomainID is invalid, have you copied it
> correctly

>

> Regards

>

> Geoff

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 11:40

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Thanks Paul for sharing the solution.

> The info abt 'integration.api.port' is missing in the documentation in
> the

> installation guide.

> I got this working by changing the port value in the MySQL Db.

>

> My next issue is:

> When I run

> [root@torvm-cloudstack-mgmt ~]# curl --globoff
> "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command=c
> reateSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-4
> 2b5-9109-ad75cae8e8a2>

> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin<http
> ://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdo
> c&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

>

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>                 <errorcode>431</errorcode>

>                 <errortext>Unable to execute API command
> createsshkeypair due

> curl --globoff

> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac<
> http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> count=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse
> cloud-stack-version="3.0.2.20120506223416">

>         <errorcode>431</errorcode>

>         <errortext>Unable to execute API command createsshkeypair due
> to

> invalid value. Object domain(uuid:
> 5163440e-c44b-42b5-9109-ad75cae8e8a2)

> does not exist.</errortext> </createsshkeypairresponse>[root@

>

> Its because the domain is missing.

> Is there something that I need to do for enabling the domain?

> I don’t see this documented in the installation guide.

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Paul Angus [mailto:paul.angus@shapeblue.com]

> Sent: 04 January 2013 PM 02:19

> To: cloudstack-users@incubator.apache.org

> Subject: RE: CloudStack Installation Query

>

> Hi Asmiti,

>

> There's a global setting 'integration.api.port' which by default is
> empty (ie

> disabled) you need to enter the port you want to use in there (8096)
> and restart

> the management service.

>

> Regards,

>

> Paul Angus

> Cloud Architect / Senior Consultant

> paul.angus@shapeblue.com<ma...@shapeblue.com> |
> www.shapeblue.com<http://www.shapeblue.com> | Twitter:@shapeBlue

> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 08:41

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Hi Marc,

>

> I am running the command from Management server only.

> I specified that client is running on 8080 port, when I login to console.

> But when I hit the API for 8096, it seems this point is not running.

> I mean when I checked if anything is running on this 8096 port, I get nothing.

> Am I missing something, because of which APIs are not getting accessed?

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> Sent: 04 January 2013 PM 01:32

> To: cloudstack-users

> Subject: Re: CloudStack Installation Query

>

> Hi,

>

> First, this command is meant to be run on management server not from a

> client (the 8096 is API integration port). Then, there are two things
> I can't

> remember exactly (I don't have a working installation rigth now), but:

>

> 1- The domain id is always the same in every installation?

> 2- Using integration port you need API path? So url is

> http://localhost:8096/client/api?command=...

>

> Can someone shed a light on this?

>

> thx

>

>

> On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani <
> Asmita.Vagyani@sigma-<ma...@sigma-systems.com>

> systems.com<ma...@sigma-systems.com>> wrote:

>

> > Hi all,

> > I managed to start the Cloud Management server on the RHEL OS.

> > I am able to login to the management server console now after

> > re-installing the mySQL DB.

> >

> > I am following the next step after changing the password, for
> > creating

> > the ssh template.

> >

> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.

> > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh
> > -t

> > emplate

> >

> > Section 5.2.2. Creating the SSH Keypair When I run the command below

> > on management server -

> >

> > curl --globoff "

> >

> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco

> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2

> > "

> >

> > I get error curl: (7) couldn't connect to host

> >

> > On port 8080 I can see the client is running, I am not sure about
> > the

> > webservice endpoint if its correct.(Here port is 8096) Other point
> > is

> > domain Id- where can I get this domain id from?

> >

> > Thanks and Regards.

> >

> > Asmita

> > -----Original Message-----

> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > Sent: 03 January 2013 PM 07:52

> > To: 'cloudstack-users@incubator.apache.org'

> > Subject: RE: CloudStack Installation Query

> >

> > I used this command to deploy DB.

> >

> > $ cloud-setup-databases

> > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m
> > password

> > -k password

> >

> > Output was :

> >

> > Mysql user name:cloud

> >       [ OK ]

> > Mysql user password:sigma123

> >      [ OK ]

> > Mysql server ip:localhost

> >       [ OK ]

> > Mysql server port:3306

> >      [ OK ]

> > Mysql root user name:root

> >       [ OK ]

> > Mysql root user password:sigma123

> >       [ OK ]

> > Checking Cloud database files ...

> >       [ OK ]

> > Checking local machine hostname ...

> >       [ OK ]

> > Checking SELinux setup ...

> >      [ OK ]

> > Detected local IP address as <LOCAL IP address> will use as cluster

> > management server node IP[ OK ] Preparing

> > /etc/cloud/management/db.properties

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/server-setup.sql

> >      [ OK ]

> > Applying /usr/share/cloud/setup/templates.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-index-fk.sql

> >       [ OK ]

> > Processing encryption ...

> >       [ OK ]

> > Finalizing setup ...

> >      [ OK ]

> >

> > CloudStack has successfully initialized database, you can check your

> > database configuration in /etc/cloud/management/db.properties

> >

> >

> >

> > Thanks and Regards.

> >

> > Asmita Patil Vagyani.

> > Tech Lead,  Sigma Software Solutions, Pune,

> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> >

> >

> > -----Original Message-----

> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > Sent: 03 January 2013 PM 07:47

> > To: cloudstack-users

> > Subject: Re: CloudStack Installation Query

> >

> > What was the output of cloud-setup-databases command?

> >

> > thx

> >

> >

> > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui
> > <mc...@gmail.com>>

> wrote:

> >

> > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on

> > > your management server...".

> > >

> > > If it's there, I guess you did it (right?). Then may be a

> > > permissions problem or NFSv4 in use. I read problems with people

> > > using NFSv4 in this mailing list.

> > >

> > > thx

> > >

> > >

> > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <

> > > Asmita.Vagyani@sigma-systems.com<ma...@sigma-systems.com>> wrote:

> > >

> > >> Hi Marc,

> > >> I am using a separate NFS server for secondary storage, I think
> > >> the

> > >> way you are going with is when you have nfs shared folder on the

> > >> same management server and mount it there itself.

> > >> Am I right?

> > >>

> > >>

> > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> > >> ck

> > >> /4

> > >> .0.0-incubating/html/Installation_Guide/management-server-install
> > >> -f

> > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate
> > >> NFS

> > >> Server

> > >>

> > >>

> > >> Thanks and Regards.

> > >>

> > >> Asmita Patil Vagyani.

> > >> Tech Lead,  Sigma Software Solutions, Pune,

> > >> T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >>

> > >>

> > >> -----Original Message-----

> > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > >> Sent: 03 January 2013 PM 07:30

> > >> To: cloudstack-users

> > >> Subject: Re: CloudStack Installation Query

> > >>

> > >> My point was that as the path given to the
> > >> cloud-install-sys-tmplt

> > >> command

> > >> (/mnt/secondary) and export path (/export), you need to mount the

> > >> export path for secondary storage (/export) on /mnt/secondary

> > >> otherwise system vm template won't be able to download to primary

> > storage.

> > >>

> > >> thx.

> > >>

> > >>

> > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <

> > >> geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>> wrote:

> > >>

> > >> > Hi Asmita,

> > >> >

> > >> > You don't have to, but its best practice to do so.

> > >> >

> > >> > When you deploy a new Zone, the first thing that happens is
> > >> > that

> > >> > the System VM Template, which you will have seeded to Secondary

> > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then

> > >> > connects to the Internet and downloads an example Template and

> > >> > places it on secondary

> > >> storage.

> > >> >

> > >> > All the above happens automatically as long as the
> > >> > configuration

> > >> > of the Compute, Storage and Networking Layers is correct, and

> > >> > seeing it happen is a great sanity check that everything is

> > >> > configured

> > correctly.

> > >> >

> > >> > Skipping configuring the Secondary Storage, and seeding it with

> > >> > the appropriate System VM Templates for your chosen Hypervisors

> > >> > will not break anything, and it can be added later, but as you

> > >> > have to do it at some point, you might as well do it at the beginning.

> > >> >

> > >> > Regards

> > >> >

> > >> > Geoff

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 13:34

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > Is it a mandate that we have to configure/mount a secondary

> > >> > storage nfs server before cloudstack management server installation?

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 PM 12:49

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation
> > >> > on

> > RHEL.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > I have mounted the secondary storage device on another NFS
> > >> > server

> > >> > and can see that its mounted.

> > >> > I added line below to my /etc/exports file also :

> > >> > /export *(rw,async,no_root_squash)

> > >> >

> > >> > Then I run cloud-install-sys-tmplt command below to retrieve
> > >> > and

> > >> > decompress the system VM template - For vSphere:

> > >> >

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0

> > ^C12012.

> > >> > ova

> > >> >  -h vmware -s welcome123 -F

> > >> >

> > >> > I get the following error -

> > >> > rm: cannot remove

> > >> >

> > >>

> > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-

> 97b901f09ae6.ova':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':

> > >> > Permission denied

> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':

> > >> > Permission denied

> > >> > rm: cannot remove

> `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//template.properties':

> > >> > Permission denied Failed to clean up template directory

> > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?

> > >> > Installation failed

> > >> >

> > >> > Did anyone of you face the same problem?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 31 December 2012 PM 02:50

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > I am using RHEL

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]

> > >> > Sent: 31 December 2012 PM 02:43

> > >> > To: cloudstack-users@incubator.apache.org

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi,

> > >> >

> > >> > Please use below path if your setup is on Ubuntu.:

> > >> >

> > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-s
> > >> > ys

> > >> > -t

> > >> > mpl

> > >> > t

> > >> >

> > >> > Thanks,

> > >> > Sailaja.M

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: Monday, December 31, 2012 2:16 PM

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> > >> > ta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > Its says to run one or more of the following

> > >> > cloud-install-sys-tmplt commands to retrieve and decompress the

> > >> > system VM template - For vSphere run command below:

> > >> > #

> > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-h vmware -s <optional-management-server-secret-key>  -F

> > >> >

> > >> > I made a correction in the file path and run the command as below:

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install
> > >> > -s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08
> > >> > 01

> > >> > 2012

> > .

> > >> > ova-hvmware -s welcome123 -F

> > >> >

> > >> > It gives an error command not found.

> > >> > cloud-install-sys-tmplt: command not found Any idea why this is

> > >> > not working?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Radhika Puthiyetath
> > >> > [mailto:radhika.puthiyetath@citrix.com]

> > >> > Sent: 28 December 2012 AM 10:48

> > >> > To: cloudstack-users@incubator.apache.org

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Thank you for pointing out the errors in docs.

> > >> >

> > >> > Please file a documentation defect in case you find any.

> > >> >

> > >> > Thanks

> > >> > -Radhika

> > >> >

> > >> > -----Original Message-----

> > >> > From: sebgoa [mailto:runseb@gmail.com]

> > >> > Sent: Thursday, December 27, 2012 7:01 PM

> > >> > To: cloudstack-users@incubator.apache.org

> > >> > Subject: Re: CloudStack Installation Query

> > >> >

> > >> > Asmita,

> > >> >

> > >> > I believe there is an issue with the documentation.

> > >> >

> > >> > try to replace the baseurl with:

> > >> >

> > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

> > >> >

> > >> > and do:

> > >> >

> > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc

> > >> >

> > >> >

> > >> > I have not tested it, so please let us know if it works or not.

> > >> >

> > >> > thanks,

> > >> >

> > >> > -Sebastien

> > >> >

> > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> > >> >

> > >> > > Hi,

> > >> > >

> > >> > > Thanks Jerry for clarifying.

> > >> > >

> > >> > > My next query is:

> > >> > > I am using an RPM-based system, I want to add the Yum

> > >> > > repository so that

> > >> > I can install CloudStack with Yum.

> > >> > > I have created a repos file under /etc/yum.repos.d.

> > >> > >

> > >> > > [cloudstack]

> > >> > > name=cloudstack

> > >> > > baseurl=http://server.url/downloads/rpm/stable/

> > >> > > enabled=1

> > >> > > gpgcheck=1

> > >> > >

> > >> > > Next you'll want to add the GPG key:

> > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt

> > >> > >

> > >> > >

> > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.

> > >> > > ) What will be the value of server.url?

> > >> > >

> > >> > > Thanks and Regards.

> > >> > >

> > >> > > Asmita

> > >> > >

> > >> > >

> > >> > > -----Original Message-----

> > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]

> > >> > > Sent: 27 December 2012 PM 06:20

> > >> > > To: cloudstack-users@incubator.apache.org

> > >> > > Subject: Re: CloudStack Installation Query

> > >> > >

> > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS

> > >> > >

> > >> > > Jerry

> > >> > >

> > >> > > ----- Original Message -----

> > >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>

> > >> > > To: "cloudstack-users@incubator.apache.org"

> > >> > > <cl...@incubator.apache.org>

> > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM

> > >> > > Subject: CloudStack Installation Query

> > >> > >

> > >> > > Hi,

> > >> > >

> > >> > > I am trying to install CloudStack 4 on the system.

> > >> > > I am having RHEL 6.3 system for the CloudStack Management

> > >> > > server

> > >> > installation.

> > >> > >

> > >> > > I am following standard Installation guide to do so.

> > >> > > Location -

> > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_Clou
> > >> > > dS

> > >> > > ta

> > >> > > ck/4

> > >> .

> > >> > > 0.0-incubating/html/Installation_Guide/index.html

> > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.

> > >> > >

> > >> > > I wanted to confirm if I should perform step in section 3.5

> > >> > > only if my

> > >> > server OS is Ubuntu and perform steps in section 3.6 if my

> > >> > management server is RHEL server.

> > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

> > >> > >

> > >> > > Please clarify.

> > >> > >

> > >> > > Thanks and Regards.

> > >> > > Asmita.

> > >> > >

> > >> > >

> > >> >

> > >> > ShapeBlue provides a range of strategic and technical
> > >> > consulting

> > >> > and implementation services to help IT Service Providers and

> > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s

> > >> > expertise, combined with CloudStack technology, allows IT
> > >> > Service

> > >> > Providers and Enterprises to deliver true, utility based, IaaS
> > >> > to

> > >> > the customer or

> > >> end-user.

> > >> >

> > >> > ________________________________

> > >> >

> > >> > This email and any attachments to it may be confidential and
> > >> > are

> > >> > intended solely for the use of the individual to whom it is addressed.

> > >> > Any views or opinions expressed are solely those of the author

> > >> > and do not necessarily represent those of Shape Blue Ltd. If
> > >> > you

> > >> > are not the intended recipient of this email, you must neither

> > >> > take any action based upon its contents, nor copy or show it to anyone.

> > >> > Please contact the sender if you believe you have received this

> > >> > email in error. Shape Blue Ltd is a company incorporated in

> > >> > England &

> > Wales.

> > >> >

> > >>

> > >

> > >

> >

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are
> intended

> solely for the use of the individual to whom it is addressed. Any
> views or

> opinions expressed are solely those of the author and do not
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended
> recipient of this

> email, you must neither take any action based upon its contents, nor
> copy or

> show it to anyone. Please contact the sender if you believe you have
> received

> this email in error. Shape Blue Ltd is a company incorporated in
> England &

> Wales.

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises
> to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack

> technology, allows IT Service Providers and Enterprises to deliver
> true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are
> intended

> solely for the use of the individual to whom it is addressed. Any
> views or

> opinions expressed are solely those of the author and do not
> necessarily

> represent those of Shape Blue Ltd. If you are not the intended
> recipient of this

> email, you must neither take any action based upon its contents, nor
> copy or

> show it to anyone. Please contact the sender if you believe you have
> received

> this email in error. Shape Blue Ltd is a company incorporated in
> England &

> Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi Likitha,
You are right.

I tried with domainId=1, the command worked, and generated an api keypair for me.

Then I used, the listDomains API, it gave me 1 domain with a different ID. - 
<listdomainsresponse cloud-stack-version="3.0.2.20120506223416">
	<count>1</count>
	<domain><id>1448af9f-161a-4d75-a8b4-3bb3b577bbf3</id>
		<name>ROOT</name>
		<level>0</level>
		<haschild>false</haschild>
		<path>ROOT</path>
	</domain>
	</listdomainsresponse>

When I run the same command to create an keypair with the actual domainId 1448af9f-161a-4d75-a8b4-3bb3b577bbf3 above , I get an error 

<?xml version="1.0" encoding="ISO-8859-1"?>
	<createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
	<errorcode>431</errorcode>
	<errortext>A key pair with name &apos;keypair-doc&apos; already exists.</errortext>
</createsshkeypairresponse>

1) Is it possible to remove this API keyAnd try with the correct domainid.
2) If you observe the response has the cloudstack API version with it. I actually installed the Cloudstack 4 on management server, then I expect to get the version like 4.0.x some thing.
Is it normal?


Thanks and Regards.

Asmita 


-----Original Message-----
From: Likitha Shetty [mailto:likitha.shetty@citrix.com] 
Sent: 04 January 2013 PM 05:58
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Asmita,



Please run the following command to confirm that you are using the right domain-id, curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-ad75cae8e8a2”.

This command should return the domain with the right response tags, if not then as Geoff pointed and as mentioned in the error it is because the domainId is invalid.



Thank you,

Likitha



> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: Friday, January 04, 2013 5:44 PM

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> yes, its as per documentation.

>

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

>

> -----Original Message-----

> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]

> Sent: 04 January 2013 PM 05:26

> To: cloudstack-users@incubator.apache.org

> Subject: RE: CloudStack Installation Query

>

> Hi Asmita

>

> The error message implies the DomainID is invalid, have you copied it correctly

>

> Regards

>

> Geoff

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 11:40

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Thanks Paul for sharing the solution.

> The info abt 'integration.api.port' is missing in the documentation in the

> installation guide.

> I got this working by changing the port value in the MySQL Db.

>

> My next issue is:

> When I run

> [root@torvm-cloudstack-mgmt ~]# curl --globoff "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

>

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">

>                 <errorcode>431</errorcode>

>                 <errortext>Unable to execute API command createsshkeypair due

> curl --globoff

> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> count=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">

>         <errorcode>431</errorcode>

>         <errortext>Unable to execute API command createsshkeypair due to

> invalid value. Object domain(uuid: 5163440e-c44b-42b5-9109-ad75cae8e8a2)

> does not exist.</errortext> </createsshkeypairresponse>[root@

>

> Its because the domain is missing.

> Is there something that I need to do for enabling the domain?

> I don’t see this documented in the installation guide.

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Paul Angus [mailto:paul.angus@shapeblue.com]

> Sent: 04 January 2013 PM 02:19

> To: cloudstack-users@incubator.apache.org

> Subject: RE: CloudStack Installation Query

>

> Hi Asmiti,

>

> There's a global setting 'integration.api.port' which by default is empty (ie

> disabled) you need to enter the port you want to use in there (8096) and restart

> the management service.

>

> Regards,

>

> Paul Angus

> Cloud Architect / Senior Consultant

> paul.angus@shapeblue.com<ma...@shapeblue.com> | www.shapeblue.com<http://www.shapeblue.com> | Twitter:@shapeBlue

> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 08:41

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Hi Marc,

>

> I am running the command from Management server only.

> I specified that client is running on 8080 port, when I login to console.

> But when I hit the API for 8096, it seems this point is not running.

> I mean when I checked if anything is running on this 8096 port, I get nothing.

> Am I missing something, because of which APIs are not getting accessed?

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> Sent: 04 January 2013 PM 01:32

> To: cloudstack-users

> Subject: Re: CloudStack Installation Query

>

> Hi,

>

> First, this command is meant to be run on management server not from a

> client (the 8096 is API integration port). Then, there are two things I can't

> remember exactly (I don't have a working installation rigth now), but:

>

> 1- The domain id is always the same in every installation?

> 2- Using integration port you need API path? So url is

> http://localhost:8096/client/api?command=...

>

> Can someone shed a light on this?

>

> thx

>

>

> On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani < Asmita.Vagyani@sigma-<ma...@sigma-systems.com>

> systems.com<ma...@sigma-systems.com>> wrote:

>

> > Hi all,

> > I managed to start the Cloud Management server on the RHEL OS.

> > I am able to login to the management server console now after

> > re-installing the mySQL DB.

> >

> > I am following the next step after changing the password, for creating

> > the ssh template.

> >

> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.

> > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh-t

> > emplate

> >

> > Section 5.2.2. Creating the SSH Keypair When I run the command below

> > on management server -

> >

> > curl --globoff "

> >

> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco

> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2

> > "

> >

> > I get error curl: (7) couldn't connect to host

> >

> > On port 8080 I can see the client is running, I am not sure about the

> > webservice endpoint if its correct.(Here port is 8096) Other point is

> > domain Id- where can I get this domain id from?

> >

> > Thanks and Regards.

> >

> > Asmita

> > -----Original Message-----

> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > Sent: 03 January 2013 PM 07:52

> > To: 'cloudstack-users@incubator.apache.org'

> > Subject: RE: CloudStack Installation Query

> >

> > I used this command to deploy DB.

> >

> > $ cloud-setup-databases

> > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m password

> > -k password

> >

> > Output was :

> >

> > Mysql user name:cloud

> >       [ OK ]

> > Mysql user password:sigma123

> >      [ OK ]

> > Mysql server ip:localhost

> >       [ OK ]

> > Mysql server port:3306

> >      [ OK ]

> > Mysql root user name:root

> >       [ OK ]

> > Mysql root user password:sigma123

> >       [ OK ]

> > Checking Cloud database files ...

> >       [ OK ]

> > Checking local machine hostname ...

> >       [ OK ]

> > Checking SELinux setup ...

> >      [ OK ]

> > Detected local IP address as <LOCAL IP address> will use as cluster

> > management server node IP[ OK ] Preparing

> > /etc/cloud/management/db.properties

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/server-setup.sql

> >      [ OK ]

> > Applying /usr/share/cloud/setup/templates.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-index-fk.sql

> >       [ OK ]

> > Processing encryption ...

> >       [ OK ]

> > Finalizing setup ...

> >      [ OK ]

> >

> > CloudStack has successfully initialized database, you can check your

> > database configuration in /etc/cloud/management/db.properties

> >

> >

> >

> > Thanks and Regards.

> >

> > Asmita Patil Vagyani.

> > Tech Lead,  Sigma Software Solutions, Pune,

> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> >

> >

> > -----Original Message-----

> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > Sent: 03 January 2013 PM 07:47

> > To: cloudstack-users

> > Subject: Re: CloudStack Installation Query

> >

> > What was the output of cloud-setup-databases command?

> >

> > thx

> >

> >

> > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com>>

> wrote:

> >

> > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on

> > > your management server...".

> > >

> > > If it's there, I guess you did it (right?). Then may be a

> > > permissions problem or NFSv4 in use. I read problems with people

> > > using NFSv4 in this mailing list.

> > >

> > > thx

> > >

> > >

> > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <

> > > Asmita.Vagyani@sigma-systems.com<ma...@sigma-systems.com>> wrote:

> > >

> > >> Hi Marc,

> > >> I am using a separate NFS server for secondary storage, I think the

> > >> way you are going with is when you have nfs shared folder on the

> > >> same management server and mount it there itself.

> > >> Am I right?

> > >>

> > >>

> > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack

> > >> /4

> > >> .0.0-incubating/html/Installation_Guide/management-server-install-f

> > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS

> > >> Server

> > >>

> > >>

> > >> Thanks and Regards.

> > >>

> > >> Asmita Patil Vagyani.

> > >> Tech Lead,  Sigma Software Solutions, Pune,

> > >> T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >>

> > >>

> > >> -----Original Message-----

> > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > >> Sent: 03 January 2013 PM 07:30

> > >> To: cloudstack-users

> > >> Subject: Re: CloudStack Installation Query

> > >>

> > >> My point was that as the path given to the cloud-install-sys-tmplt

> > >> command

> > >> (/mnt/secondary) and export path (/export), you need to mount the

> > >> export path for secondary storage (/export) on /mnt/secondary

> > >> otherwise system vm template won't be able to download to primary

> > storage.

> > >>

> > >> thx.

> > >>

> > >>

> > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <

> > >> geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>> wrote:

> > >>

> > >> > Hi Asmita,

> > >> >

> > >> > You don't have to, but its best practice to do so.

> > >> >

> > >> > When you deploy a new Zone, the first thing that happens is that

> > >> > the System VM Template, which you will have seeded to Secondary

> > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then

> > >> > connects to the Internet and downloads an example Template and

> > >> > places it on secondary

> > >> storage.

> > >> >

> > >> > All the above happens automatically as long as the configuration

> > >> > of the Compute, Storage and Networking Layers is correct, and

> > >> > seeing it happen is a great sanity check that everything is

> > >> > configured

> > correctly.

> > >> >

> > >> > Skipping configuring the Secondary Storage, and seeding it with

> > >> > the appropriate System VM Templates for your chosen Hypervisors

> > >> > will not break anything, and it can be added later, but as you

> > >> > have to do it at some point, you might as well do it at the beginning.

> > >> >

> > >> > Regards

> > >> >

> > >> > Geoff

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 13:34

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > Is it a mandate that we have to configure/mount a secondary

> > >> > storage nfs server before cloudstack management server installation?

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 PM 12:49

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation on

> > RHEL.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > I have mounted the secondary storage device on another NFS server

> > >> > and can see that its mounted.

> > >> > I added line below to my /etc/exports file also :

> > >> > /export *(rw,async,no_root_squash)

> > >> >

> > >> > Then I run cloud-install-sys-tmplt command below to retrieve and

> > >> > decompress the system VM template - For vSphere:

> > >> >

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0

> > ^C12012.

> > >> > ova

> > >> >  -h vmware -s welcome123 -F

> > >> >

> > >> > I get the following error -

> > >> > rm: cannot remove

> > >> >

> > >>

> > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-

> 97b901f09ae6.ova':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':

> > >> > Permission denied

> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':

> > >> > Permission denied

> > >> > rm: cannot remove

> `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//template.properties':

> > >> > Permission denied Failed to clean up template directory

> > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?

> > >> > Installation failed

> > >> >

> > >> > Did anyone of you face the same problem?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 31 December 2012 PM 02:50

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > I am using RHEL

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]

> > >> > Sent: 31 December 2012 PM 02:43

> > >> > To: cloudstack-users@incubator.apache.org

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi,

> > >> >

> > >> > Please use below path if your setup is on Ubuntu.:

> > >> >

> > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys

> > >> > -t

> > >> > mpl

> > >> > t

> > >> >

> > >> > Thanks,

> > >> > Sailaja.M

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: Monday, December 31, 2012 2:16 PM

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > Its says to run one or more of the following

> > >> > cloud-install-sys-tmplt commands to retrieve and decompress the

> > >> > system VM template - For vSphere run command below:

> > >> > #

> > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801

> > >> > 2012

> > .

> > >> > ova-h vmware -s <optional-management-server-secret-key>  -F

> > >> >

> > >> > I made a correction in the file path and run the command as below:

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801

> > >> > 2012

> > .

> > >> > ova-hvmware -s welcome123 -F

> > >> >

> > >> > It gives an error command not found.

> > >> > cloud-install-sys-tmplt: command not found Any idea why this is

> > >> > not working?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]

> > >> > Sent: 28 December 2012 AM 10:48

> > >> > To: cloudstack-users@incubator.apache.org

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Thank you for pointing out the errors in docs.

> > >> >

> > >> > Please file a documentation defect in case you find any.

> > >> >

> > >> > Thanks

> > >> > -Radhika

> > >> >

> > >> > -----Original Message-----

> > >> > From: sebgoa [mailto:runseb@gmail.com]

> > >> > Sent: Thursday, December 27, 2012 7:01 PM

> > >> > To: cloudstack-users@incubator.apache.org

> > >> > Subject: Re: CloudStack Installation Query

> > >> >

> > >> > Asmita,

> > >> >

> > >> > I believe there is an issue with the documentation.

> > >> >

> > >> > try to replace the baseurl with:

> > >> >

> > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

> > >> >

> > >> > and do:

> > >> >

> > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc

> > >> >

> > >> >

> > >> > I have not tested it, so please let us know if it works or not.

> > >> >

> > >> > thanks,

> > >> >

> > >> > -Sebastien

> > >> >

> > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> > >> >

> > >> > > Hi,

> > >> > >

> > >> > > Thanks Jerry for clarifying.

> > >> > >

> > >> > > My next query is:

> > >> > > I am using an RPM-based system, I want to add the Yum

> > >> > > repository so that

> > >> > I can install CloudStack with Yum.

> > >> > > I have created a repos file under /etc/yum.repos.d.

> > >> > >

> > >> > > [cloudstack]

> > >> > > name=cloudstack

> > >> > > baseurl=http://server.url/downloads/rpm/stable/

> > >> > > enabled=1

> > >> > > gpgcheck=1

> > >> > >

> > >> > > Next you'll want to add the GPG key:

> > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt

> > >> > >

> > >> > >

> > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.

> > >> > > ) What will be the value of server.url?

> > >> > >

> > >> > > Thanks and Regards.

> > >> > >

> > >> > > Asmita

> > >> > >

> > >> > >

> > >> > > -----Original Message-----

> > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]

> > >> > > Sent: 27 December 2012 PM 06:20

> > >> > > To: cloudstack-users@incubator.apache.org

> > >> > > Subject: Re: CloudStack Installation Query

> > >> > >

> > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS

> > >> > >

> > >> > > Jerry

> > >> > >

> > >> > > ----- Original Message -----

> > >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>

> > >> > > To: "cloudstack-users@incubator.apache.org"

> > >> > > <cl...@incubator.apache.org>

> > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM

> > >> > > Subject: CloudStack Installation Query

> > >> > >

> > >> > > Hi,

> > >> > >

> > >> > > I am trying to install CloudStack 4 on the system.

> > >> > > I am having RHEL 6.3 system for the CloudStack Management

> > >> > > server

> > >> > installation.

> > >> > >

> > >> > > I am following standard Installation guide to do so.

> > >> > > Location -

> > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS

> > >> > > ta

> > >> > > ck/4

> > >> .

> > >> > > 0.0-incubating/html/Installation_Guide/index.html

> > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.

> > >> > >

> > >> > > I wanted to confirm if I should perform step in section 3.5

> > >> > > only if my

> > >> > server OS is Ubuntu and perform steps in section 3.6 if my

> > >> > management server is RHEL server.

> > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

> > >> > >

> > >> > > Please clarify.

> > >> > >

> > >> > > Thanks and Regards.

> > >> > > Asmita.

> > >> > >

> > >> > >

> > >> >

> > >> > ShapeBlue provides a range of strategic and technical consulting

> > >> > and implementation services to help IT Service Providers and

> > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s

> > >> > expertise, combined with CloudStack technology, allows IT Service

> > >> > Providers and Enterprises to deliver true, utility based, IaaS to

> > >> > the customer or

> > >> end-user.

> > >> >

> > >> > ________________________________

> > >> >

> > >> > This email and any attachments to it may be confidential and are

> > >> > intended solely for the use of the individual to whom it is addressed.

> > >> > Any views or opinions expressed are solely those of the author

> > >> > and do not necessarily represent those of Shape Blue Ltd. If you

> > >> > are not the intended recipient of this email, you must neither

> > >> > take any action based upon its contents, nor copy or show it to anyone.

> > >> > Please contact the sender if you believe you have received this

> > >> > email in error. Shape Blue Ltd is a company incorporated in

> > >> > England &

> > Wales.

> > >> >

> > >>

> > >

> > >

> >

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack

> technology, allows IT Service Providers and Enterprises to deliver true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are intended

> solely for the use of the individual to whom it is addressed. Any views or

> opinions expressed are solely those of the author and do not necessarily

> represent those of Shape Blue Ltd. If you are not the intended recipient of this

> email, you must neither take any action based upon its contents, nor copy or

> show it to anyone. Please contact the sender if you believe you have received

> this email in error. Shape Blue Ltd is a company incorporated in England &

> Wales.

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack

> technology, allows IT Service Providers and Enterprises to deliver true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are intended

> solely for the use of the individual to whom it is addressed. Any views or

> opinions expressed are solely those of the author and do not necessarily

> represent those of Shape Blue Ltd. If you are not the intended recipient of this

> email, you must neither take any action based upon its contents, nor copy or

> show it to anyone. Please contact the sender if you believe you have received

> this email in error. Shape Blue Ltd is a company incorporated in England &

> Wales.

RE: CloudStack Installation Query

Posted by Likitha Shetty <li...@citrix.com>.
Asmita,



Please run the following command to confirm that you are using the right domain-id, curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=listDomains&id5163440e-c44b-42b5-9109-ad75cae8e8a2”.

This command should return the domain with the right response tags, if not then as Geoff pointed and as mentioned in the error it is because the domainId is invalid.



Thank you,

Likitha



> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: Friday, January 04, 2013 5:44 PM

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> yes, its as per documentation.

>

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

>

> -----Original Message-----

> From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com]

> Sent: 04 January 2013 PM 05:26

> To: cloudstack-users@incubator.apache.org

> Subject: RE: CloudStack Installation Query

>

> Hi Asmita

>

> The error message implies the DomainID is invalid, have you copied it correctly

>

> Regards

>

> Geoff

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 11:40

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Thanks Paul for sharing the solution.

> The info abt 'integration.api.port' is missing in the documentation in the

> installation guide.

> I got this working by changing the port value in the MySQL Db.

>

> My next issue is:

> When I run

> [root@torvm-cloudstack-mgmt ~]# curl --globoff "http://torvm-cloudstack-<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> &domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

>

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">

>                 <errorcode>431</errorcode>

>                 <errortext>Unable to execute API command createsshkeypair due

> curl --globoff

> "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&ac<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>

> count=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2<http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2>"

> <?xml version="1.0" encoding="ISO-8859-1"?>

>         <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">

>         <errorcode>431</errorcode>

>         <errortext>Unable to execute API command createsshkeypair due to

> invalid value. Object domain(uuid: 5163440e-c44b-42b5-9109-ad75cae8e8a2)

> does not exist.</errortext> </createsshkeypairresponse>[root@

>

> Its because the domain is missing.

> Is there something that I need to do for enabling the domain?

> I don’t see this documented in the installation guide.

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Paul Angus [mailto:paul.angus@shapeblue.com]

> Sent: 04 January 2013 PM 02:19

> To: cloudstack-users@incubator.apache.org

> Subject: RE: CloudStack Installation Query

>

> Hi Asmiti,

>

> There's a global setting 'integration.api.port' which by default is empty (ie

> disabled) you need to enter the port you want to use in there (8096) and restart

> the management service.

>

> Regards,

>

> Paul Angus

> Cloud Architect / Senior Consultant

> paul.angus@shapeblue.com<ma...@shapeblue.com> | www.shapeblue.com<http://www.shapeblue.com> | Twitter:@shapeBlue

> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

>

> -----Original Message-----

> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> Sent: 04 January 2013 08:41

> To: 'cloudstack-users@incubator.apache.org'

> Subject: RE: CloudStack Installation Query

>

> Hi Marc,

>

> I am running the command from Management server only.

> I specified that client is running on 8080 port, when I login to console.

> But when I hit the API for 8096, it seems this point is not running.

> I mean when I checked if anything is running on this 8096 port, I get nothing.

> Am I missing something, because of which APIs are not getting accessed?

>

>

> Thanks and Regards.

>

> Asmita Patil Vagyani.

> Tech Lead,  Sigma Software Solutions, Pune,

> T: +91-20-25661992 / 93 / 94. Extn. : 286

>

>

> -----Original Message-----

> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> Sent: 04 January 2013 PM 01:32

> To: cloudstack-users

> Subject: Re: CloudStack Installation Query

>

> Hi,

>

> First, this command is meant to be run on management server not from a

> client (the 8096 is API integration port). Then, there are two things I can't

> remember exactly (I don't have a working installation rigth now), but:

>

> 1- The domain id is always the same in every installation?

> 2- Using integration port you need API path? So url is

> http://localhost:8096/client/api?command=...

>

> Can someone shed a light on this?

>

> thx

>

>

> On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani < Asmita.Vagyani@sigma-<ma...@sigma-systems.com>

> systems.com<ma...@sigma-systems.com>> wrote:

>

> > Hi all,

> > I managed to start the Cloud Management server on the RHEL OS.

> > I am able to login to the management server console now after

> > re-installing the mySQL DB.

> >

> > I am following the next step after changing the password, for creating

> > the ssh template.

> >

> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.

> > 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh-t

> > emplate

> >

> > Section 5.2.2. Creating the SSH Keypair When I run the command below

> > on management server -

> >

> > curl --globoff "

> >

> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco

> > unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2

> > "

> >

> > I get error curl: (7) couldn't connect to host

> >

> > On port 8080 I can see the client is running, I am not sure about the

> > webservice endpoint if its correct.(Here port is 8096) Other point is

> > domain Id- where can I get this domain id from?

> >

> > Thanks and Regards.

> >

> > Asmita

> > -----Original Message-----

> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > Sent: 03 January 2013 PM 07:52

> > To: 'cloudstack-users@incubator.apache.org'

> > Subject: RE: CloudStack Installation Query

> >

> > I used this command to deploy DB.

> >

> > $ cloud-setup-databases

> > cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m password

> > -k password

> >

> > Output was :

> >

> > Mysql user name:cloud

> >       [ OK ]

> > Mysql user password:sigma123

> >      [ OK ]

> > Mysql server ip:localhost

> >       [ OK ]

> > Mysql server port:3306

> >      [ OK ]

> > Mysql root user name:root

> >       [ OK ]

> > Mysql root user password:sigma123

> >       [ OK ]

> > Checking Cloud database files ...

> >       [ OK ]

> > Checking local machine hostname ...

> >       [ OK ]

> > Checking SELinux setup ...

> >      [ OK ]

> > Detected local IP address as <LOCAL IP address> will use as cluster

> > management server node IP[ OK ] Preparing

> > /etc/cloud/management/db.properties

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-database-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-schema-premium.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/server-setup.sql

> >      [ OK ]

> > Applying /usr/share/cloud/setup/templates.sql

> >       [ OK ]

> > Applying /usr/share/cloud/setup/create-index-fk.sql

> >       [ OK ]

> > Processing encryption ...

> >       [ OK ]

> > Finalizing setup ...

> >      [ OK ]

> >

> > CloudStack has successfully initialized database, you can check your

> > database configuration in /etc/cloud/management/db.properties

> >

> >

> >

> > Thanks and Regards.

> >

> > Asmita Patil Vagyani.

> > Tech Lead,  Sigma Software Solutions, Pune,

> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> >

> >

> > -----Original Message-----

> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > Sent: 03 January 2013 PM 07:47

> > To: cloudstack-users

> > Subject: Re: CloudStack Installation Query

> >

> > What was the output of cloud-setup-databases command?

> >

> > thx

> >

> >

> > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com>>

> wrote:

> >

> > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on

> > > your management server...".

> > >

> > > If it's there, I guess you did it (right?). Then may be a

> > > permissions problem or NFSv4 in use. I read problems with people

> > > using NFSv4 in this mailing list.

> > >

> > > thx

> > >

> > >

> > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <

> > > Asmita.Vagyani@sigma-systems.com<ma...@sigma-systems.com>> wrote:

> > >

> > >> Hi Marc,

> > >> I am using a separate NFS server for secondary storage, I think the

> > >> way you are going with is when you have nfs shared folder on the

> > >> same management server and mount it there itself.

> > >> Am I right?

> > >>

> > >>

> > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack

> > >> /4

> > >> .0.0-incubating/html/Installation_Guide/management-server-install-f

> > >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS

> > >> Server

> > >>

> > >>

> > >> Thanks and Regards.

> > >>

> > >> Asmita Patil Vagyani.

> > >> Tech Lead,  Sigma Software Solutions, Pune,

> > >> T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >>

> > >>

> > >> -----Original Message-----

> > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]

> > >> Sent: 03 January 2013 PM 07:30

> > >> To: cloudstack-users

> > >> Subject: Re: CloudStack Installation Query

> > >>

> > >> My point was that as the path given to the cloud-install-sys-tmplt

> > >> command

> > >> (/mnt/secondary) and export path (/export), you need to mount the

> > >> export path for secondary storage (/export) on /mnt/secondary

> > >> otherwise system vm template won't be able to download to primary

> > storage.

> > >>

> > >> thx.

> > >>

> > >>

> > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <

> > >> geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>> wrote:

> > >>

> > >> > Hi Asmita,

> > >> >

> > >> > You don't have to, but its best practice to do so.

> > >> >

> > >> > When you deploy a new Zone, the first thing that happens is that

> > >> > the System VM Template, which you will have seeded to Secondary

> > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then

> > >> > connects to the Internet and downloads an example Template and

> > >> > places it on secondary

> > >> storage.

> > >> >

> > >> > All the above happens automatically as long as the configuration

> > >> > of the Compute, Storage and Networking Layers is correct, and

> > >> > seeing it happen is a great sanity check that everything is

> > >> > configured

> > correctly.

> > >> >

> > >> > Skipping configuring the Secondary Storage, and seeding it with

> > >> > the appropriate System VM Templates for your chosen Hypervisors

> > >> > will not break anything, and it can be added later, but as you

> > >> > have to do it at some point, you might as well do it at the beginning.

> > >> >

> > >> > Regards

> > >> >

> > >> > Geoff

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 13:34

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > Is it a mandate that we have to configure/mount a secondary

> > >> > storage nfs server before cloudstack management server installation?

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 03 January 2013 PM 12:49

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation on

> > RHEL.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > I have mounted the secondary storage device on another NFS server

> > >> > and can see that its mounted.

> > >> > I added line below to my /etc/exports file also :

> > >> > /export *(rw,async,no_root_squash)

> > >> >

> > >> > Then I run cloud-install-sys-tmplt command below to retrieve and

> > >> > decompress the system VM template - For vSphere:

> > >> >

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0

> > ^C12012.

> > >> > ova

> > >> >  -h vmware -s welcome123 -F

> > >> >

> > >> > I get the following error -

> > >> > rm: cannot remove

> > >> >

> > >>

> > `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-

> 97b901f09ae6.ova':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':

> > >> > Permission denied

> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':

> > >> > Permission denied

> > >> > rm: cannot remove

> `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':

> > >> > Permission denied

> > >> > rm: cannot remove

> > >> `/mnt/secondary/template/tmpl/1/8//template.properties':

> > >> > Permission denied Failed to clean up template directory

> > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?

> > >> > Installation failed

> > >> >

> > >> > Did anyone of you face the same problem?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: 31 December 2012 PM 02:50

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > I am using RHEL

> > >> >

> > >> >

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]

> > >> > Sent: 31 December 2012 PM 02:43

> > >> > To: cloudstack-users@incubator.apache.org

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi,

> > >> >

> > >> > Please use below path if your setup is on Ubuntu.:

> > >> >

> > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys

> > >> > -t

> > >> > mpl

> > >> > t

> > >> >

> > >> > Thanks,

> > >> > Sailaja.M

> > >> >

> > >> > -----Original Message-----

> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]

> > >> > Sent: Monday, December 31, 2012 2:16 PM

> > >> > To: 'cloudstack-users@incubator.apache.org'

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Hi all,

> > >> >

> > >> > I am following the Cloudstack 4 documentation for installation.

> > >> > Please refer

> > >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta

> > >> > ck/4

> > .

> > >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.

> > >> > html#nfs-shares-on-separate-server

> > >> > Step 4.5.7. Prepare the System VM Template

> > >> >

> > >> > Its says to run one or more of the following

> > >> > cloud-install-sys-tmplt commands to retrieve and decompress the

> > >> > system VM template - For vSphere run command below:

> > >> > #

> > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801

> > >> > 2012

> > .

> > >> > ova-h vmware -s <optional-management-server-secret-key>  -F

> > >> >

> > >> > I made a correction in the file path and run the command as below:

> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s

> > >> > ys

> > >> > -tm

> > >> > plt

> > >> > -m /mnt/secondary -u

> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801

> > >> > 2012

> > .

> > >> > ova-hvmware -s welcome123 -F

> > >> >

> > >> > It gives an error command not found.

> > >> > cloud-install-sys-tmplt: command not found Any idea why this is

> > >> > not working?

> > >> >

> > >> > Thanks and Regards.

> > >> >

> > >> > Asmita Patil Vagyani.

> > >> > Tech Lead,  Sigma Software Solutions, Pune,

> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286

> > >> >

> > >> >

> > >> > -----Original Message-----

> > >> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]

> > >> > Sent: 28 December 2012 AM 10:48

> > >> > To: cloudstack-users@incubator.apache.org

> > >> > Subject: RE: CloudStack Installation Query

> > >> >

> > >> > Thank you for pointing out the errors in docs.

> > >> >

> > >> > Please file a documentation defect in case you find any.

> > >> >

> > >> > Thanks

> > >> > -Radhika

> > >> >

> > >> > -----Original Message-----

> > >> > From: sebgoa [mailto:runseb@gmail.com]

> > >> > Sent: Thursday, December 27, 2012 7:01 PM

> > >> > To: cloudstack-users@incubator.apache.org

> > >> > Subject: Re: CloudStack Installation Query

> > >> >

> > >> > Asmita,

> > >> >

> > >> > I believe there is an issue with the documentation.

> > >> >

> > >> > try to replace the baseurl with:

> > >> >

> > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

> > >> >

> > >> > and do:

> > >> >

> > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc

> > >> >

> > >> >

> > >> > I have not tested it, so please let us know if it works or not.

> > >> >

> > >> > thanks,

> > >> >

> > >> > -Sebastien

> > >> >

> > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> > >> >

> > >> > > Hi,

> > >> > >

> > >> > > Thanks Jerry for clarifying.

> > >> > >

> > >> > > My next query is:

> > >> > > I am using an RPM-based system, I want to add the Yum

> > >> > > repository so that

> > >> > I can install CloudStack with Yum.

> > >> > > I have created a repos file under /etc/yum.repos.d.

> > >> > >

> > >> > > [cloudstack]

> > >> > > name=cloudstack

> > >> > > baseurl=http://server.url/downloads/rpm/stable/

> > >> > > enabled=1

> > >> > > gpgcheck=1

> > >> > >

> > >> > > Next you'll want to add the GPG key:

> > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt

> > >> > >

> > >> > >

> > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.

> > >> > > ) What will be the value of server.url?

> > >> > >

> > >> > > Thanks and Regards.

> > >> > >

> > >> > > Asmita

> > >> > >

> > >> > >

> > >> > > -----Original Message-----

> > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]

> > >> > > Sent: 27 December 2012 PM 06:20

> > >> > > To: cloudstack-users@incubator.apache.org

> > >> > > Subject: Re: CloudStack Installation Query

> > >> > >

> > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS

> > >> > >

> > >> > > Jerry

> > >> > >

> > >> > > ----- Original Message -----

> > >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>

> > >> > > To: "cloudstack-users@incubator.apache.org"

> > >> > > <cl...@incubator.apache.org>

> > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM

> > >> > > Subject: CloudStack Installation Query

> > >> > >

> > >> > > Hi,

> > >> > >

> > >> > > I am trying to install CloudStack 4 on the system.

> > >> > > I am having RHEL 6.3 system for the CloudStack Management

> > >> > > server

> > >> > installation.

> > >> > >

> > >> > > I am following standard Installation guide to do so.

> > >> > > Location -

> > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS

> > >> > > ta

> > >> > > ck/4

> > >> .

> > >> > > 0.0-incubating/html/Installation_Guide/index.html

> > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.

> > >> > >

> > >> > > I wanted to confirm if I should perform step in section 3.5

> > >> > > only if my

> > >> > server OS is Ubuntu and perform steps in section 3.6 if my

> > >> > management server is RHEL server.

> > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

> > >> > >

> > >> > > Please clarify.

> > >> > >

> > >> > > Thanks and Regards.

> > >> > > Asmita.

> > >> > >

> > >> > >

> > >> >

> > >> > ShapeBlue provides a range of strategic and technical consulting

> > >> > and implementation services to help IT Service Providers and

> > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s

> > >> > expertise, combined with CloudStack technology, allows IT Service

> > >> > Providers and Enterprises to deliver true, utility based, IaaS to

> > >> > the customer or

> > >> end-user.

> > >> >

> > >> > ________________________________

> > >> >

> > >> > This email and any attachments to it may be confidential and are

> > >> > intended solely for the use of the individual to whom it is addressed.

> > >> > Any views or opinions expressed are solely those of the author

> > >> > and do not necessarily represent those of Shape Blue Ltd. If you

> > >> > are not the intended recipient of this email, you must neither

> > >> > take any action based upon its contents, nor copy or show it to anyone.

> > >> > Please contact the sender if you believe you have received this

> > >> > email in error. Shape Blue Ltd is a company incorporated in

> > >> > England &

> > Wales.

> > >> >

> > >>

> > >

> > >

> >

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack

> technology, allows IT Service Providers and Enterprises to deliver true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are intended

> solely for the use of the individual to whom it is addressed. Any views or

> opinions expressed are solely those of the author and do not necessarily

> represent those of Shape Blue Ltd. If you are not the intended recipient of this

> email, you must neither take any action based upon its contents, nor copy or

> show it to anyone. Please contact the sender if you believe you have received

> this email in error. Shape Blue Ltd is a company incorporated in England &

> Wales.

> ShapeBlue provides a range of strategic and technical consulting and

> implementation services to help IT Service Providers and Enterprises to build a

> true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack

> technology, allows IT Service Providers and Enterprises to deliver true, utility

> based, IaaS to the customer or end-user.

>

> ________________________________

>

> This email and any attachments to it may be confidential and are intended

> solely for the use of the individual to whom it is addressed. Any views or

> opinions expressed are solely those of the author and do not necessarily

> represent those of Shape Blue Ltd. If you are not the intended recipient of this

> email, you must neither take any action based upon its contents, nor copy or

> show it to anyone. Please contact the sender if you believe you have received

> this email in error. Shape Blue Ltd is a company incorporated in England &

> Wales.

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
yes, its as per documentation.



Thanks and Regards.

Asmita Patil Vagyani. 

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com] 
Sent: 04 January 2013 PM 05:26
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmita

The error message implies the DomainID is invalid, have you copied it correctly

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 11:40
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Thanks Paul for sharing the solution.
The info abt 'integration.api.port' is missing in the documentation in the installation guide.
I got this working by changing the port value in the MySQL Db.

My next issue is:
When I run
[root@torvm-cloudstack-mgmt ~]# curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2"

<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
                <errorcode>431</errorcode>
                <errortext>Unable to execute API command createsshkeypair due curl --globoff "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2"
<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
        <errorcode>431</errorcode>
        <errortext>Unable to execute API command createsshkeypair due to invalid value. Object domain(uuid: 5163440e-c44b-42b5-9109-ad75cae8e8a2) does not exist.</errortext> </createsshkeypairresponse>[root@

Its because the domain is missing.
Is there something that I need to do for enabling the domain?
I don’t see this documented in the installation guide.


Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 04 January 2013 PM 02:19
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmiti,

There's a global setting 'integration.api.port' which by default is empty (ie disabled) you need to enter the port you want to use in there (8096) and restart the management service.

Regards,

Paul Angus
Cloud Architect / Senior Consultant
paul.angus@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 08:41
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Marc,

I am running the command from Management server only.
I specified that client is running on 8080 port, when I login to console.
But when I hit the API for 8096, it seems this point is not running.
I mean when I checked if anything is running on this 8096 port, I get nothing.
Am I missing something, because of which APIs are not getting accessed?


Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
Sent: 04 January 2013 PM 01:32
To: cloudstack-users
Subject: Re: CloudStack Installation Query

Hi,

First, this command is meant to be run on management server not from a client (the 8096 is API integration port). Then, there are two things I can't remember exactly (I don't have a working installation rigth now), but:

1- The domain id is always the same in every installation?
2- Using integration port you need API path? So url is http://localhost:8096/client/api?command=...

Can someone shed a light on this?

thx


On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani < Asmita.Vagyani@sigma-systems.com> wrote:

> Hi all,
> I managed to start the Cloud Management server on the RHEL OS.
> I am able to login to the management server console now after 
> re-installing the mySQL DB.
>
> I am following the next step after changing the password, for creating 
> the ssh template.
>
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh-t
> emplate
>
> Section 5.2.2. Creating the SSH Keypair When I run the command below 
> on management server -
>
> curl --globoff "
> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2
> "
>
> I get error curl: (7) couldn't connect to host
>
> On port 8080 I can see the client is running, I am not sure about the 
> webservice endpoint if its correct.(Here port is 8096) Other point is 
> domain Id- where can I get this domain id from?
>
> Thanks and Regards.
>
> Asmita
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 PM 07:52
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> I used this command to deploy DB.
>
> $ cloud-setup-databases
> cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m password 
> -k password
>
> Output was :
>
> Mysql user name:cloud
>       [ OK ]
> Mysql user password:sigma123
>      [ OK ]
> Mysql server ip:localhost
>       [ OK ]
> Mysql server port:3306
>      [ OK ]
> Mysql root user name:root
>       [ OK ]
> Mysql root user password:sigma123
>       [ OK ]
> Checking Cloud database files ...
>       [ OK ]
> Checking local machine hostname ...
>       [ OK ]
> Checking SELinux setup ...
>      [ OK ]
> Detected local IP address as <LOCAL IP address> will use as cluster 
> management server node IP[ OK ] Preparing 
> /etc/cloud/management/db.properties
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/server-setup.sql
>      [ OK ]
> Applying /usr/share/cloud/setup/templates.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-index-fk.sql
>       [ OK ]
> Processing encryption ...
>       [ OK ]
> Finalizing setup ...
>      [ OK ]
>
> CloudStack has successfully initialized database, you can check your 
> database configuration in /etc/cloud/management/db.properties
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 PM 07:47
> To: cloudstack-users
> Subject: Re: CloudStack Installation Query
>
> What was the output of cloud-setup-databases command?
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:
>
> > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on 
> > your management server...".
> >
> > If it's there, I guess you did it (right?). Then may be a 
> > permissions problem or NFSv4 in use. I read problems with people 
> > using NFSv4 in this mailing list.
> >
> > thx
> >
> >
> > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani < 
> > Asmita.Vagyani@sigma-systems.com> wrote:
> >
> >> Hi Marc,
> >> I am using a separate NFS server for secondary storage, I think the 
> >> way you are going with is when you have nfs shared folder on the 
> >> same management server and mount it there itself.
> >> Am I right?
> >>
> >>
> >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack
> >> /4
> >> .0.0-incubating/html/Installation_Guide/management-server-install-f
> >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS 
> >> Server
> >>
> >>
> >> Thanks and Regards.
> >>
> >> Asmita Patil Vagyani.
> >> Tech Lead,  Sigma Software Solutions, Pune,
> >> T: +91-20-25661992 / 93 / 94. Extn. : 286
> >>
> >>
> >> -----Original Message-----
> >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> >> Sent: 03 January 2013 PM 07:30
> >> To: cloudstack-users
> >> Subject: Re: CloudStack Installation Query
> >>
> >> My point was that as the path given to the cloud-install-sys-tmplt 
> >> command
> >> (/mnt/secondary) and export path (/export), you need to mount the 
> >> export path for secondary storage (/export) on /mnt/secondary 
> >> otherwise system vm template won't be able to download to primary
> storage.
> >>
> >> thx.
> >>
> >>
> >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom < 
> >> geoff.higginbottom@shapeblue.com> wrote:
> >>
> >> > Hi Asmita,
> >> >
> >> > You don't have to, but its best practice to do so.
> >> >
> >> > When you deploy a new Zone, the first thing that happens is that 
> >> > the System VM Template, which you will have seeded to Secondary 
> >> > Storage is used to deploy the SSVM and CPVM, the SSVM then 
> >> > connects to the Internet and downloads an example Template and 
> >> > places it on secondary
> >> storage.
> >> >
> >> > All the above happens automatically as long as the configuration 
> >> > of the Compute, Storage and Networking Layers is correct, and 
> >> > seeing it happen is a great sanity check that everything is 
> >> > configured
> correctly.
> >> >
> >> > Skipping configuring the Secondary Storage, and seeding it with 
> >> > the appropriate System VM Templates for your chosen Hypervisors 
> >> > will not break anything, and it can be added later, but as you 
> >> > have to do it at some point, you might as well do it at the beginning.
> >> >
> >> > Regards
> >> >
> >> > Geoff
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 13:34
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > Is it a mandate that we have to configure/mount a secondary 
> >> > storage nfs server before cloudstack management server installation?
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 PM 12:49
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation on
> RHEL.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > ck/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > I have mounted the secondary storage device on another NFS server 
> >> > and can see that its mounted.
> >> > I added line below to my /etc/exports file also :
> >> > /export *(rw,async,no_root_squash)
> >> >
> >> > Then I run cloud-install-sys-tmplt command below to retrieve and 
> >> > decompress the system VM template - For vSphere:
> >> >
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0
> ^C12012.
> >> > ova
> >> >  -h vmware -s welcome123 -F
> >> >
> >> > I get the following error -
> >> > rm: cannot remove
> >> >
> >>
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//template.properties':
> >> > Permission denied Failed to clean up template directory 
> >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> >> > Installation failed
> >> >
> >> > Did anyone of you face the same problem?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 31 December 2012 PM 02:50
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > I am using RHEL
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> >> > Sent: 31 December 2012 PM 02:43
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi,
> >> >
> >> > Please use below path if your setup is on Ubuntu.:
> >> >
> >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys
> >> > -t
> >> > mpl
> >> > t
> >> >
> >> > Thanks,
> >> > Sailaja.M
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: Monday, December 31, 2012 2:16 PM
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > ck/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > Its says to run one or more of the following 
> >> > cloud-install-sys-tmplt commands to retrieve and decompress the 
> >> > system VM template - For vSphere run command below:
> >> > #
> >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801
> >> > 2012
> .
> >> > ova-h vmware -s <optional-management-server-secret-key>  -F
> >> >
> >> > I made a correction in the file path and run the command as below:
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801
> >> > 2012
> .
> >> > ova-hvmware -s welcome123 -F
> >> >
> >> > It gives an error command not found.
> >> > cloud-install-sys-tmplt: command not found Any idea why this is 
> >> > not working?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> >> > Sent: 28 December 2012 AM 10:48
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Thank you for pointing out the errors in docs.
> >> >
> >> > Please file a documentation defect in case you find any.
> >> >
> >> > Thanks
> >> > -Radhika
> >> >
> >> > -----Original Message-----
> >> > From: sebgoa [mailto:runseb@gmail.com]
> >> > Sent: Thursday, December 27, 2012 7:01 PM
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: Re: CloudStack Installation Query
> >> >
> >> > Asmita,
> >> >
> >> > I believe there is an issue with the documentation.
> >> >
> >> > try to replace the baseurl with:
> >> >
> >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
> >> >
> >> > and do:
> >> >
> >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
> >> >
> >> >
> >> > I have not tested it, so please let us know if it works or not.
> >> >
> >> > thanks,
> >> >
> >> > -Sebastien
> >> >
> >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > Thanks Jerry for clarifying.
> >> > >
> >> > > My next query is:
> >> > > I am using an RPM-based system, I want to add the Yum 
> >> > > repository so that
> >> > I can install CloudStack with Yum.
> >> > > I have created a repos file under /etc/yum.repos.d.
> >> > >
> >> > > [cloudstack]
> >> > > name=cloudstack
> >> > > baseurl=http://server.url/downloads/rpm/stable/
> >> > > enabled=1
> >> > > gpgcheck=1
> >> > >
> >> > > Next you'll want to add the GPG key:
> >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> >> > >
> >> > >
> >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.
> >> > > ) What will be the value of server.url?
> >> > >
> >> > > Thanks and Regards.
> >> > >
> >> > > Asmita
> >> > >
> >> > >
> >> > > -----Original Message-----
> >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> >> > > Sent: 27 December 2012 PM 06:20
> >> > > To: cloudstack-users@incubator.apache.org
> >> > > Subject: Re: CloudStack Installation Query
> >> > >
> >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> >> > >
> >> > > Jerry
> >> > >
> >> > > ----- Original Message -----
> >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
> >> > > To: "cloudstack-users@incubator.apache.org"
> >> > > <cl...@incubator.apache.org>
> >> > > Sent: Thursday, December 27, 2012 8:33:05 PM
> >> > > Subject: CloudStack Installation Query
> >> > >
> >> > > Hi,
> >> > >
> >> > > I am trying to install CloudStack 4 on the system.
> >> > > I am having RHEL 6.3 system for the CloudStack Management 
> >> > > server
> >> > installation.
> >> > >
> >> > > I am following standard Installation guide to do so.
> >> > > Location -
> >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> >> > > ta
> >> > > ck/4
> >> .
> >> > > 0.0-incubating/html/Installation_Guide/index.html
> >> > > I am referring to Section 3, 3.5 and 3.6 particularly.
> >> > >
> >> > > I wanted to confirm if I should perform step in section 3.5 
> >> > > only if my
> >> > server OS is Ubuntu and perform steps in section 3.6 if my 
> >> > management server is RHEL server.
> >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> >> > >
> >> > > Please clarify.
> >> > >
> >> > > Thanks and Regards.
> >> > > Asmita.
> >> > >
> >> > >
> >> >
> >> > ShapeBlue provides a range of strategic and technical consulting 
> >> > and implementation services to help IT Service Providers and 
> >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s 
> >> > expertise, combined with CloudStack technology, allows IT Service 
> >> > Providers and Enterprises to deliver true, utility based, IaaS to 
> >> > the customer or
> >> end-user.
> >> >
> >> > ________________________________
> >> >
> >> > This email and any attachments to it may be confidential and are 
> >> > intended solely for the use of the individual to whom it is addressed.
> >> > Any views or opinions expressed are solely those of the author 
> >> > and do not necessarily represent those of Shape Blue Ltd. If you 
> >> > are not the intended recipient of this email, you must neither 
> >> > take any action based upon its contents, nor copy or show it to anyone.
> >> > Please contact the sender if you believe you have received this 
> >> > email in error. Shape Blue Ltd is a company incorporated in 
> >> > England &
> Wales.
> >> >
> >>
> >
> >
>
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Geoff Higginbottom <ge...@shapeblue.com>.
Hi Asmita

The error message implies the DomainID is invalid, have you copied it correctly

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 11:40
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Thanks Paul for sharing the solution.
The info abt 'integration.api.port' is missing in the documentation in the installation guide.
I got this working by changing the port value in the MySQL Db.

My next issue is:
When I run
[root@torvm-cloudstack-mgmt ~]# curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2"

<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
                <errorcode>431</errorcode>
                <errortext>Unable to execute API command createsshkeypair due curl --globoff "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2"
<?xml version="1.0" encoding="ISO-8859-1"?>
        <createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
        <errorcode>431</errorcode>
        <errortext>Unable to execute API command createsshkeypair due to invalid value. Object domain(uuid: 5163440e-c44b-42b5-9109-ad75cae8e8a2) does not exist.</errortext>
</createsshkeypairresponse>[root@

Its because the domain is missing.
Is there something that I need to do for enabling the domain?
I don’t see this documented in the installation guide.


Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 04 January 2013 PM 02:19
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmiti,

There's a global setting 'integration.api.port' which by default is empty (ie disabled) you need to enter the port you want to use in there (8096) and restart the management service.

Regards,

Paul Angus
Cloud Architect / Senior Consultant
paul.angus@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 08:41
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Marc,

I am running the command from Management server only.
I specified that client is running on 8080 port, when I login to console.
But when I hit the API for 8096, it seems this point is not running.
I mean when I checked if anything is running on this 8096 port, I get nothing.
Am I missing something, because of which APIs are not getting accessed?


Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
Sent: 04 January 2013 PM 01:32
To: cloudstack-users
Subject: Re: CloudStack Installation Query

Hi,

First, this command is meant to be run on management server not from a client (the 8096 is API integration port). Then, there are two things I can't remember exactly (I don't have a working installation rigth now), but:

1- The domain id is always the same in every installation?
2- Using integration port you need API path? So url is http://localhost:8096/client/api?command=...

Can someone shed a light on this?

thx


On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani < Asmita.Vagyani@sigma-systems.com> wrote:

> Hi all,
> I managed to start the Cloud Management server on the RHEL OS.
> I am able to login to the management server console now after
> re-installing the mySQL DB.
>
> I am following the next step after changing the password, for creating
> the ssh template.
>
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh-t
> emplate
>
> Section 5.2.2. Creating the SSH Keypair When I run the command below
> on management server -
>
> curl --globoff "
> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2
> "
>
> I get error curl: (7) couldn't connect to host
>
> On port 8080 I can see the client is running, I am not sure about the
> webservice endpoint if its correct.(Here port is 8096) Other point is
> domain Id- where can I get this domain id from?
>
> Thanks and Regards.
>
> Asmita
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 PM 07:52
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> I used this command to deploy DB.
>
> $ cloud-setup-databases
> cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m password
> -k password
>
> Output was :
>
> Mysql user name:cloud
>       [ OK ]
> Mysql user password:sigma123
>      [ OK ]
> Mysql server ip:localhost
>       [ OK ]
> Mysql server port:3306
>      [ OK ]
> Mysql root user name:root
>       [ OK ]
> Mysql root user password:sigma123
>       [ OK ]
> Checking Cloud database files ...
>       [ OK ]
> Checking local machine hostname ...
>       [ OK ]
> Checking SELinux setup ...
>      [ OK ]
> Detected local IP address as <LOCAL IP address> will use as cluster
> management server node IP[ OK ] Preparing
> /etc/cloud/management/db.properties
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/server-setup.sql
>      [ OK ]
> Applying /usr/share/cloud/setup/templates.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-index-fk.sql
>       [ OK ]
> Processing encryption ...
>       [ OK ]
> Finalizing setup ...
>      [ OK ]
>
> CloudStack has successfully initialized database, you can check your
> database configuration in /etc/cloud/management/db.properties
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 PM 07:47
> To: cloudstack-users
> Subject: Re: CloudStack Installation Query
>
> What was the output of cloud-setup-databases command?
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:
>
> > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on
> > your management server...".
> >
> > If it's there, I guess you did it (right?). Then may be a
> > permissions problem or NFSv4 in use. I read problems with people
> > using NFSv4 in this mailing list.
> >
> > thx
> >
> >
> > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <
> > Asmita.Vagyani@sigma-systems.com> wrote:
> >
> >> Hi Marc,
> >> I am using a separate NFS server for secondary storage, I think the
> >> way you are going with is when you have nfs shared folder on the
> >> same management server and mount it there itself.
> >> Am I right?
> >>
> >>
> >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack
> >> /4
> >> .0.0-incubating/html/Installation_Guide/management-server-install-f
> >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS
> >> Server
> >>
> >>
> >> Thanks and Regards.
> >>
> >> Asmita Patil Vagyani.
> >> Tech Lead,  Sigma Software Solutions, Pune,
> >> T: +91-20-25661992 / 93 / 94. Extn. : 286
> >>
> >>
> >> -----Original Message-----
> >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> >> Sent: 03 January 2013 PM 07:30
> >> To: cloudstack-users
> >> Subject: Re: CloudStack Installation Query
> >>
> >> My point was that as the path given to the cloud-install-sys-tmplt
> >> command
> >> (/mnt/secondary) and export path (/export), you need to mount the
> >> export path for secondary storage (/export) on /mnt/secondary
> >> otherwise system vm template won't be able to download to primary
> storage.
> >>
> >> thx.
> >>
> >>
> >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
> >> geoff.higginbottom@shapeblue.com> wrote:
> >>
> >> > Hi Asmita,
> >> >
> >> > You don't have to, but its best practice to do so.
> >> >
> >> > When you deploy a new Zone, the first thing that happens is that
> >> > the System VM Template, which you will have seeded to Secondary
> >> > Storage is used to deploy the SSVM and CPVM, the SSVM then
> >> > connects to the Internet and downloads an example Template and
> >> > places it on secondary
> >> storage.
> >> >
> >> > All the above happens automatically as long as the configuration
> >> > of the Compute, Storage and Networking Layers is correct, and
> >> > seeing it happen is a great sanity check that everything is
> >> > configured
> correctly.
> >> >
> >> > Skipping configuring the Secondary Storage, and seeding it with
> >> > the appropriate System VM Templates for your chosen Hypervisors
> >> > will not break anything, and it can be added later, but as you
> >> > have to do it at some point, you might as well do it at the beginning.
> >> >
> >> > Regards
> >> >
> >> > Geoff
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 13:34
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > Is it a mandate that we have to configure/mount a secondary
> >> > storage nfs server before cloudstack management server installation?
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 PM 12:49
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation on
> RHEL.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > ck/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > I have mounted the secondary storage device on another NFS server
> >> > and can see that its mounted.
> >> > I added line below to my /etc/exports file also :
> >> > /export *(rw,async,no_root_squash)
> >> >
> >> > Then I run cloud-install-sys-tmplt command below to retrieve and
> >> > decompress the system VM template - For vSphere:
> >> >
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0
> ^C12012.
> >> > ova
> >> >  -h vmware -s welcome123 -F
> >> >
> >> > I get the following error -
> >> > rm: cannot remove
> >> >
> >>
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//template.properties':
> >> > Permission denied Failed to clean up template directory
> >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> >> > Installation failed
> >> >
> >> > Did anyone of you face the same problem?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 31 December 2012 PM 02:50
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > I am using RHEL
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> >> > Sent: 31 December 2012 PM 02:43
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi,
> >> >
> >> > Please use below path if your setup is on Ubuntu.:
> >> >
> >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys
> >> > -t
> >> > mpl
> >> > t
> >> >
> >> > Thanks,
> >> > Sailaja.M
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: Monday, December 31, 2012 2:16 PM
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > ck/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > Its says to run one or more of the following
> >> > cloud-install-sys-tmplt commands to retrieve and decompress the
> >> > system VM template - For vSphere run command below:
> >> > #
> >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801
> >> > 2012
> .
> >> > ova-h vmware -s <optional-management-server-secret-key>  -F
> >> >
> >> > I made a correction in the file path and run the command as below:
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801
> >> > 2012
> .
> >> > ova-hvmware -s welcome123 -F
> >> >
> >> > It gives an error command not found.
> >> > cloud-install-sys-tmplt: command not found Any idea why this is
> >> > not working?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> >> > Sent: 28 December 2012 AM 10:48
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Thank you for pointing out the errors in docs.
> >> >
> >> > Please file a documentation defect in case you find any.
> >> >
> >> > Thanks
> >> > -Radhika
> >> >
> >> > -----Original Message-----
> >> > From: sebgoa [mailto:runseb@gmail.com]
> >> > Sent: Thursday, December 27, 2012 7:01 PM
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: Re: CloudStack Installation Query
> >> >
> >> > Asmita,
> >> >
> >> > I believe there is an issue with the documentation.
> >> >
> >> > try to replace the baseurl with:
> >> >
> >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
> >> >
> >> > and do:
> >> >
> >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
> >> >
> >> >
> >> > I have not tested it, so please let us know if it works or not.
> >> >
> >> > thanks,
> >> >
> >> > -Sebastien
> >> >
> >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > Thanks Jerry for clarifying.
> >> > >
> >> > > My next query is:
> >> > > I am using an RPM-based system, I want to add the Yum
> >> > > repository so that
> >> > I can install CloudStack with Yum.
> >> > > I have created a repos file under /etc/yum.repos.d.
> >> > >
> >> > > [cloudstack]
> >> > > name=cloudstack
> >> > > baseurl=http://server.url/downloads/rpm/stable/
> >> > > enabled=1
> >> > > gpgcheck=1
> >> > >
> >> > > Next you'll want to add the GPG key:
> >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> >> > >
> >> > >
> >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.
> >> > > ) What will be the value of server.url?
> >> > >
> >> > > Thanks and Regards.
> >> > >
> >> > > Asmita
> >> > >
> >> > >
> >> > > -----Original Message-----
> >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> >> > > Sent: 27 December 2012 PM 06:20
> >> > > To: cloudstack-users@incubator.apache.org
> >> > > Subject: Re: CloudStack Installation Query
> >> > >
> >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> >> > >
> >> > > Jerry
> >> > >
> >> > > ----- Original Message -----
> >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
> >> > > To: "cloudstack-users@incubator.apache.org"
> >> > > <cl...@incubator.apache.org>
> >> > > Sent: Thursday, December 27, 2012 8:33:05 PM
> >> > > Subject: CloudStack Installation Query
> >> > >
> >> > > Hi,
> >> > >
> >> > > I am trying to install CloudStack 4 on the system.
> >> > > I am having RHEL 6.3 system for the CloudStack Management
> >> > > server
> >> > installation.
> >> > >
> >> > > I am following standard Installation guide to do so.
> >> > > Location -
> >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> >> > > ta
> >> > > ck/4
> >> .
> >> > > 0.0-incubating/html/Installation_Guide/index.html
> >> > > I am referring to Section 3, 3.5 and 3.6 particularly.
> >> > >
> >> > > I wanted to confirm if I should perform step in section 3.5
> >> > > only if my
> >> > server OS is Ubuntu and perform steps in section 3.6 if my
> >> > management server is RHEL server.
> >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> >> > >
> >> > > Please clarify.
> >> > >
> >> > > Thanks and Regards.
> >> > > Asmita.
> >> > >
> >> > >
> >> >
> >> > ShapeBlue provides a range of strategic and technical consulting
> >> > and implementation services to help IT Service Providers and
> >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s
> >> > expertise, combined with CloudStack technology, allows IT Service
> >> > Providers and Enterprises to deliver true, utility based, IaaS to
> >> > the customer or
> >> end-user.
> >> >
> >> > ________________________________
> >> >
> >> > This email and any attachments to it may be confidential and are
> >> > intended solely for the use of the individual to whom it is addressed.
> >> > Any views or opinions expressed are solely those of the author
> >> > and do not necessarily represent those of Shape Blue Ltd. If you
> >> > are not the intended recipient of this email, you must neither
> >> > take any action based upon its contents, nor copy or show it to anyone.
> >> > Please contact the sender if you believe you have received this
> >> > email in error. Shape Blue Ltd is a company incorporated in
> >> > England &
> Wales.
> >> >
> >>
> >
> >
>
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Thanks Paul for sharing the solution.
The info abt 'integration.api.port' is missing in the documentation in the installation guide.
I got this working by changing the port value in the MySQL Db.

My next issue is:
When I run 
[root@torvm-cloudstack-mgmt ~]# curl --globoff "http://torvm-cloudstack-mgmt:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2"

<?xml version="1.0" encoding="ISO-8859-1"?>
	<createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
		<errorcode>431</errorcode>
		<errortext>Unable to execute API command createsshkeypair due curl --globoff "http://10.0.100.83:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2"
<?xml version="1.0" encoding="ISO-8859-1"?>
	<createsshkeypairresponse cloud-stack-version="3.0.2.20120506223416">
	<errorcode>431</errorcode>
	<errortext>Unable to execute API command createsshkeypair due to invalid value. Object domain(uuid: 5163440e-c44b-42b5-9109-ad75cae8e8a2) does not exist.</errortext>
</createsshkeypairresponse>[root@

Its because the domain is missing.
Is there something that I need to do for enabling the domain?
I don’t see this documented in the installation guide.


Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com] 
Sent: 04 January 2013 PM 02:19
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmiti,

There's a global setting 'integration.api.port' which by default is empty (ie disabled) you need to enter the port you want to use in there (8096) and restart the management service.

Regards,

Paul Angus
Cloud Architect / Senior Consultant
paul.angus@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 08:41
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Marc,

I am running the command from Management server only.
I specified that client is running on 8080 port, when I login to console.
But when I hit the API for 8096, it seems this point is not running.
I mean when I checked if anything is running on this 8096 port, I get nothing.
Am I missing something, because of which APIs are not getting accessed?


Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
Sent: 04 January 2013 PM 01:32
To: cloudstack-users
Subject: Re: CloudStack Installation Query

Hi,

First, this command is meant to be run on management server not from a client (the 8096 is API integration port). Then, there are two things I can't remember exactly (I don't have a working installation rigth now), but:

1- The domain id is always the same in every installation?
2- Using integration port you need API path? So url is http://localhost:8096/client/api?command=...

Can someone shed a light on this?

thx


On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani < Asmita.Vagyani@sigma-systems.com> wrote:

> Hi all,
> I managed to start the Cloud Management server on the RHEL OS.
> I am able to login to the management server console now after 
> re-installing the mySQL DB.
>
> I am following the next step after changing the password, for creating 
> the ssh template.
>
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh-t
> emplate
>
> Section 5.2.2. Creating the SSH Keypair When I run the command below 
> on management server -
>
> curl --globoff "
> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2
> "
>
> I get error curl: (7) couldn't connect to host
>
> On port 8080 I can see the client is running, I am not sure about the 
> webservice endpoint if its correct.(Here port is 8096) Other point is 
> domain Id- where can I get this domain id from?
>
> Thanks and Regards.
>
> Asmita
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 PM 07:52
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> I used this command to deploy DB.
>
> $ cloud-setup-databases
> cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m password 
> -k password
>
> Output was :
>
> Mysql user name:cloud
>       [ OK ]
> Mysql user password:sigma123
>      [ OK ]
> Mysql server ip:localhost
>       [ OK ]
> Mysql server port:3306
>      [ OK ]
> Mysql root user name:root
>       [ OK ]
> Mysql root user password:sigma123
>       [ OK ]
> Checking Cloud database files ...
>       [ OK ]
> Checking local machine hostname ...
>       [ OK ]
> Checking SELinux setup ...
>      [ OK ]
> Detected local IP address as <LOCAL IP address> will use as cluster 
> management server node IP[ OK ] Preparing 
> /etc/cloud/management/db.properties
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/server-setup.sql
>      [ OK ]
> Applying /usr/share/cloud/setup/templates.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-index-fk.sql
>       [ OK ]
> Processing encryption ...
>       [ OK ]
> Finalizing setup ...
>      [ OK ]
>
> CloudStack has successfully initialized database, you can check your 
> database configuration in /etc/cloud/management/db.properties
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 PM 07:47
> To: cloudstack-users
> Subject: Re: CloudStack Installation Query
>
> What was the output of cloud-setup-databases command?
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:
>
> > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on 
> > your management server...".
> >
> > If it's there, I guess you did it (right?). Then may be a 
> > permissions problem or NFSv4 in use. I read problems with people 
> > using NFSv4 in this mailing list.
> >
> > thx
> >
> >
> > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani < 
> > Asmita.Vagyani@sigma-systems.com> wrote:
> >
> >> Hi Marc,
> >> I am using a separate NFS server for secondary storage, I think the 
> >> way you are going with is when you have nfs shared folder on the 
> >> same management server and mount it there itself.
> >> Am I right?
> >>
> >>
> >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack
> >> /4
> >> .0.0-incubating/html/Installation_Guide/management-server-install-f
> >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS 
> >> Server
> >>
> >>
> >> Thanks and Regards.
> >>
> >> Asmita Patil Vagyani.
> >> Tech Lead,  Sigma Software Solutions, Pune,
> >> T: +91-20-25661992 / 93 / 94. Extn. : 286
> >>
> >>
> >> -----Original Message-----
> >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> >> Sent: 03 January 2013 PM 07:30
> >> To: cloudstack-users
> >> Subject: Re: CloudStack Installation Query
> >>
> >> My point was that as the path given to the cloud-install-sys-tmplt 
> >> command
> >> (/mnt/secondary) and export path (/export), you need to mount the 
> >> export path for secondary storage (/export) on /mnt/secondary 
> >> otherwise system vm template won't be able to download to primary
> storage.
> >>
> >> thx.
> >>
> >>
> >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom < 
> >> geoff.higginbottom@shapeblue.com> wrote:
> >>
> >> > Hi Asmita,
> >> >
> >> > You don't have to, but its best practice to do so.
> >> >
> >> > When you deploy a new Zone, the first thing that happens is that 
> >> > the System VM Template, which you will have seeded to Secondary 
> >> > Storage is used to deploy the SSVM and CPVM, the SSVM then 
> >> > connects to the Internet and downloads an example Template and 
> >> > places it on secondary
> >> storage.
> >> >
> >> > All the above happens automatically as long as the configuration 
> >> > of the Compute, Storage and Networking Layers is correct, and 
> >> > seeing it happen is a great sanity check that everything is 
> >> > configured
> correctly.
> >> >
> >> > Skipping configuring the Secondary Storage, and seeding it with 
> >> > the appropriate System VM Templates for your chosen Hypervisors 
> >> > will not break anything, and it can be added later, but as you 
> >> > have to do it at some point, you might as well do it at the beginning.
> >> >
> >> > Regards
> >> >
> >> > Geoff
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 13:34
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > Is it a mandate that we have to configure/mount a secondary 
> >> > storage nfs server before cloudstack management server installation?
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 PM 12:49
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation on
> RHEL.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > ck/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > I have mounted the secondary storage device on another NFS server 
> >> > and can see that its mounted.
> >> > I added line below to my /etc/exports file also :
> >> > /export *(rw,async,no_root_squash)
> >> >
> >> > Then I run cloud-install-sys-tmplt command below to retrieve and 
> >> > decompress the system VM template - For vSphere:
> >> >
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0
> ^C12012.
> >> > ova
> >> >  -h vmware -s welcome123 -F
> >> >
> >> > I get the following error -
> >> > rm: cannot remove
> >> >
> >>
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//template.properties':
> >> > Permission denied Failed to clean up template directory 
> >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> >> > Installation failed
> >> >
> >> > Did anyone of you face the same problem?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 31 December 2012 PM 02:50
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > I am using RHEL
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> >> > Sent: 31 December 2012 PM 02:43
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi,
> >> >
> >> > Please use below path if your setup is on Ubuntu.:
> >> >
> >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys
> >> > -t
> >> > mpl
> >> > t
> >> >
> >> > Thanks,
> >> > Sailaja.M
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: Monday, December 31, 2012 2:16 PM
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > ck/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > Its says to run one or more of the following 
> >> > cloud-install-sys-tmplt commands to retrieve and decompress the 
> >> > system VM template - For vSphere run command below:
> >> > #
> >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801
> >> > 2012
> .
> >> > ova-h vmware -s <optional-management-server-secret-key>  -F
> >> >
> >> > I made a correction in the file path and run the command as below:
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801
> >> > 2012
> .
> >> > ova-hvmware -s welcome123 -F
> >> >
> >> > It gives an error command not found.
> >> > cloud-install-sys-tmplt: command not found Any idea why this is 
> >> > not working?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> >> > Sent: 28 December 2012 AM 10:48
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Thank you for pointing out the errors in docs.
> >> >
> >> > Please file a documentation defect in case you find any.
> >> >
> >> > Thanks
> >> > -Radhika
> >> >
> >> > -----Original Message-----
> >> > From: sebgoa [mailto:runseb@gmail.com]
> >> > Sent: Thursday, December 27, 2012 7:01 PM
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: Re: CloudStack Installation Query
> >> >
> >> > Asmita,
> >> >
> >> > I believe there is an issue with the documentation.
> >> >
> >> > try to replace the baseurl with:
> >> >
> >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
> >> >
> >> > and do:
> >> >
> >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
> >> >
> >> >
> >> > I have not tested it, so please let us know if it works or not.
> >> >
> >> > thanks,
> >> >
> >> > -Sebastien
> >> >
> >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > Thanks Jerry for clarifying.
> >> > >
> >> > > My next query is:
> >> > > I am using an RPM-based system, I want to add the Yum 
> >> > > repository so that
> >> > I can install CloudStack with Yum.
> >> > > I have created a repos file under /etc/yum.repos.d.
> >> > >
> >> > > [cloudstack]
> >> > > name=cloudstack
> >> > > baseurl=http://server.url/downloads/rpm/stable/
> >> > > enabled=1
> >> > > gpgcheck=1
> >> > >
> >> > > Next you'll want to add the GPG key:
> >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> >> > >
> >> > >
> >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.
> >> > > ) What will be the value of server.url?
> >> > >
> >> > > Thanks and Regards.
> >> > >
> >> > > Asmita
> >> > >
> >> > >
> >> > > -----Original Message-----
> >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> >> > > Sent: 27 December 2012 PM 06:20
> >> > > To: cloudstack-users@incubator.apache.org
> >> > > Subject: Re: CloudStack Installation Query
> >> > >
> >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> >> > >
> >> > > Jerry
> >> > >
> >> > > ----- Original Message -----
> >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
> >> > > To: "cloudstack-users@incubator.apache.org"
> >> > > <cl...@incubator.apache.org>
> >> > > Sent: Thursday, December 27, 2012 8:33:05 PM
> >> > > Subject: CloudStack Installation Query
> >> > >
> >> > > Hi,
> >> > >
> >> > > I am trying to install CloudStack 4 on the system.
> >> > > I am having RHEL 6.3 system for the CloudStack Management 
> >> > > server
> >> > installation.
> >> > >
> >> > > I am following standard Installation guide to do so.
> >> > > Location -
> >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> >> > > ta
> >> > > ck/4
> >> .
> >> > > 0.0-incubating/html/Installation_Guide/index.html
> >> > > I am referring to Section 3, 3.5 and 3.6 particularly.
> >> > >
> >> > > I wanted to confirm if I should perform step in section 3.5 
> >> > > only if my
> >> > server OS is Ubuntu and perform steps in section 3.6 if my 
> >> > management server is RHEL server.
> >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> >> > >
> >> > > Please clarify.
> >> > >
> >> > > Thanks and Regards.
> >> > > Asmita.
> >> > >
> >> > >
> >> >
> >> > ShapeBlue provides a range of strategic and technical consulting 
> >> > and implementation services to help IT Service Providers and 
> >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s 
> >> > expertise, combined with CloudStack technology, allows IT Service 
> >> > Providers and Enterprises to deliver true, utility based, IaaS to 
> >> > the customer or
> >> end-user.
> >> >
> >> > ________________________________
> >> >
> >> > This email and any attachments to it may be confidential and are 
> >> > intended solely for the use of the individual to whom it is addressed.
> >> > Any views or opinions expressed are solely those of the author 
> >> > and do not necessarily represent those of Shape Blue Ltd. If you 
> >> > are not the intended recipient of this email, you must neither 
> >> > take any action based upon its contents, nor copy or show it to anyone.
> >> > Please contact the sender if you believe you have received this 
> >> > email in error. Shape Blue Ltd is a company incorporated in 
> >> > England &
> Wales.
> >> >
> >>
> >
> >
>
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Paul Angus <pa...@shapeblue.com>.
Hi Asmiti,

There's a global setting 'integration.api.port' which by default is empty (ie disabled) you need to enter the port you want to use in there (8096) and restart the management service.

Regards,

Paul Angus
Cloud Architect / Senior Consultant
paul.angus@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 04 January 2013 08:41
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi Marc,

I am running the command from Management server only.
I specified that client is running on 8080 port, when I login to console.
But when I hit the API for 8096, it seems this point is not running.
I mean when I checked if anything is running on this 8096 port, I get nothing.
Am I missing something, because of which APIs are not getting accessed?


Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
Sent: 04 January 2013 PM 01:32
To: cloudstack-users
Subject: Re: CloudStack Installation Query

Hi,

First, this command is meant to be run on management server not from a client (the 8096 is API integration port). Then, there are two things I can't remember exactly (I don't have a working installation rigth now), but:

1- The domain id is always the same in every installation?
2- Using integration port you need API path? So url is http://localhost:8096/client/api?command=...

Can someone shed a light on this?

thx


On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani < Asmita.Vagyani@sigma-systems.com> wrote:

> Hi all,
> I managed to start the Cloud Management server on the RHEL OS.
> I am able to login to the management server console now after
> re-installing the mySQL DB.
>
> I am following the next step after changing the password, for creating
> the ssh template.
>
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh-t
> emplate
>
> Section 5.2.2. Creating the SSH Keypair When I run the command below
> on management server -
>
> curl --globoff "
> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2
> "
>
> I get error curl: (7) couldn't connect to host
>
> On port 8080 I can see the client is running, I am not sure about the
> webservice endpoint if its correct.(Here port is 8096) Other point is
> domain Id- where can I get this domain id from?
>
> Thanks and Regards.
>
> Asmita
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 PM 07:52
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> I used this command to deploy DB.
>
> $ cloud-setup-databases
> cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m password
> -k password
>
> Output was :
>
> Mysql user name:cloud
>       [ OK ]
> Mysql user password:sigma123
>      [ OK ]
> Mysql server ip:localhost
>       [ OK ]
> Mysql server port:3306
>      [ OK ]
> Mysql root user name:root
>       [ OK ]
> Mysql root user password:sigma123
>       [ OK ]
> Checking Cloud database files ...
>       [ OK ]
> Checking local machine hostname ...
>       [ OK ]
> Checking SELinux setup ...
>      [ OK ]
> Detected local IP address as <LOCAL IP address> will use as cluster
> management server node IP[ OK ] Preparing
> /etc/cloud/management/db.properties
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/server-setup.sql
>      [ OK ]
> Applying /usr/share/cloud/setup/templates.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-index-fk.sql
>       [ OK ]
> Processing encryption ...
>       [ OK ]
> Finalizing setup ...
>      [ OK ]
>
> CloudStack has successfully initialized database, you can check your
> database configuration in /etc/cloud/management/db.properties
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 PM 07:47
> To: cloudstack-users
> Subject: Re: CloudStack Installation Query
>
> What was the output of cloud-setup-databases command?
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:
>
> > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on
> > your management server...".
> >
> > If it's there, I guess you did it (right?). Then may be a
> > permissions problem or NFSv4 in use. I read problems with people
> > using NFSv4 in this mailing list.
> >
> > thx
> >
> >
> > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <
> > Asmita.Vagyani@sigma-systems.com> wrote:
> >
> >> Hi Marc,
> >> I am using a separate NFS server for secondary storage, I think the
> >> way you are going with is when you have nfs shared folder on the
> >> same management server and mount it there itself.
> >> Am I right?
> >>
> >>
> >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack
> >> /4
> >> .0.0-incubating/html/Installation_Guide/management-server-install-f
> >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS
> >> Server
> >>
> >>
> >> Thanks and Regards.
> >>
> >> Asmita Patil Vagyani.
> >> Tech Lead,  Sigma Software Solutions, Pune,
> >> T: +91-20-25661992 / 93 / 94. Extn. : 286
> >>
> >>
> >> -----Original Message-----
> >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> >> Sent: 03 January 2013 PM 07:30
> >> To: cloudstack-users
> >> Subject: Re: CloudStack Installation Query
> >>
> >> My point was that as the path given to the cloud-install-sys-tmplt
> >> command
> >> (/mnt/secondary) and export path (/export), you need to mount the
> >> export path for secondary storage (/export) on /mnt/secondary
> >> otherwise system vm template won't be able to download to primary
> storage.
> >>
> >> thx.
> >>
> >>
> >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
> >> geoff.higginbottom@shapeblue.com> wrote:
> >>
> >> > Hi Asmita,
> >> >
> >> > You don't have to, but its best practice to do so.
> >> >
> >> > When you deploy a new Zone, the first thing that happens is that
> >> > the System VM Template, which you will have seeded to Secondary
> >> > Storage is used to deploy the SSVM and CPVM, the SSVM then
> >> > connects to the Internet and downloads an example Template and
> >> > places it on secondary
> >> storage.
> >> >
> >> > All the above happens automatically as long as the configuration
> >> > of the Compute, Storage and Networking Layers is correct, and
> >> > seeing it happen is a great sanity check that everything is
> >> > configured
> correctly.
> >> >
> >> > Skipping configuring the Secondary Storage, and seeding it with
> >> > the appropriate System VM Templates for your chosen Hypervisors
> >> > will not break anything, and it can be added later, but as you
> >> > have to do it at some point, you might as well do it at the beginning.
> >> >
> >> > Regards
> >> >
> >> > Geoff
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 13:34
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > Is it a mandate that we have to configure/mount a secondary
> >> > storage nfs server before cloudstack management server installation?
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 PM 12:49
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation on
> RHEL.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > ck/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > I have mounted the secondary storage device on another NFS server
> >> > and can see that its mounted.
> >> > I added line below to my /etc/exports file also :
> >> > /export *(rw,async,no_root_squash)
> >> >
> >> > Then I run cloud-install-sys-tmplt command below to retrieve and
> >> > decompress the system VM template - For vSphere:
> >> >
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0
> ^C12012.
> >> > ova
> >> >  -h vmware -s welcome123 -F
> >> >
> >> > I get the following error -
> >> > rm: cannot remove
> >> >
> >>
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//template.properties':
> >> > Permission denied Failed to clean up template directory
> >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> >> > Installation failed
> >> >
> >> > Did anyone of you face the same problem?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 31 December 2012 PM 02:50
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > I am using RHEL
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> >> > Sent: 31 December 2012 PM 02:43
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi,
> >> >
> >> > Please use below path if your setup is on Ubuntu.:
> >> >
> >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys
> >> > -t
> >> > mpl
> >> > t
> >> >
> >> > Thanks,
> >> > Sailaja.M
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: Monday, December 31, 2012 2:16 PM
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > ck/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > Its says to run one or more of the following
> >> > cloud-install-sys-tmplt commands to retrieve and decompress the
> >> > system VM template - For vSphere run command below:
> >> > #
> >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801
> >> > 2012
> .
> >> > ova-h vmware -s <optional-management-server-secret-key>  -F
> >> >
> >> > I made a correction in the file path and run the command as below:
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801
> >> > 2012
> .
> >> > ova-hvmware -s welcome123 -F
> >> >
> >> > It gives an error command not found.
> >> > cloud-install-sys-tmplt: command not found Any idea why this is
> >> > not working?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> >> > Sent: 28 December 2012 AM 10:48
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Thank you for pointing out the errors in docs.
> >> >
> >> > Please file a documentation defect in case you find any.
> >> >
> >> > Thanks
> >> > -Radhika
> >> >
> >> > -----Original Message-----
> >> > From: sebgoa [mailto:runseb@gmail.com]
> >> > Sent: Thursday, December 27, 2012 7:01 PM
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: Re: CloudStack Installation Query
> >> >
> >> > Asmita,
> >> >
> >> > I believe there is an issue with the documentation.
> >> >
> >> > try to replace the baseurl with:
> >> >
> >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
> >> >
> >> > and do:
> >> >
> >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
> >> >
> >> >
> >> > I have not tested it, so please let us know if it works or not.
> >> >
> >> > thanks,
> >> >
> >> > -Sebastien
> >> >
> >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > Thanks Jerry for clarifying.
> >> > >
> >> > > My next query is:
> >> > > I am using an RPM-based system, I want to add the Yum
> >> > > repository so that
> >> > I can install CloudStack with Yum.
> >> > > I have created a repos file under /etc/yum.repos.d.
> >> > >
> >> > > [cloudstack]
> >> > > name=cloudstack
> >> > > baseurl=http://server.url/downloads/rpm/stable/
> >> > > enabled=1
> >> > > gpgcheck=1
> >> > >
> >> > > Next you'll want to add the GPG key:
> >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> >> > >
> >> > >
> >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2.
> >> > > ) What will be the value of server.url?
> >> > >
> >> > > Thanks and Regards.
> >> > >
> >> > > Asmita
> >> > >
> >> > >
> >> > > -----Original Message-----
> >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> >> > > Sent: 27 December 2012 PM 06:20
> >> > > To: cloudstack-users@incubator.apache.org
> >> > > Subject: Re: CloudStack Installation Query
> >> > >
> >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> >> > >
> >> > > Jerry
> >> > >
> >> > > ----- Original Message -----
> >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
> >> > > To: "cloudstack-users@incubator.apache.org"
> >> > > <cl...@incubator.apache.org>
> >> > > Sent: Thursday, December 27, 2012 8:33:05 PM
> >> > > Subject: CloudStack Installation Query
> >> > >
> >> > > Hi,
> >> > >
> >> > > I am trying to install CloudStack 4 on the system.
> >> > > I am having RHEL 6.3 system for the CloudStack Management
> >> > > server
> >> > installation.
> >> > >
> >> > > I am following standard Installation guide to do so.
> >> > > Location -
> >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> >> > > ta
> >> > > ck/4
> >> .
> >> > > 0.0-incubating/html/Installation_Guide/index.html
> >> > > I am referring to Section 3, 3.5 and 3.6 particularly.
> >> > >
> >> > > I wanted to confirm if I should perform step in section 3.5
> >> > > only if my
> >> > server OS is Ubuntu and perform steps in section 3.6 if my
> >> > management server is RHEL server.
> >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> >> > >
> >> > > Please clarify.
> >> > >
> >> > > Thanks and Regards.
> >> > > Asmita.
> >> > >
> >> > >
> >> >
> >> > ShapeBlue provides a range of strategic and technical consulting
> >> > and implementation services to help IT Service Providers and
> >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s
> >> > expertise, combined with CloudStack technology, allows IT Service
> >> > Providers and Enterprises to deliver true, utility based, IaaS to
> >> > the customer or
> >> end-user.
> >> >
> >> > ________________________________
> >> >
> >> > This email and any attachments to it may be confidential and are
> >> > intended solely for the use of the individual to whom it is addressed.
> >> > Any views or opinions expressed are solely those of the author
> >> > and do not necessarily represent those of Shape Blue Ltd. If you
> >> > are not the intended recipient of this email, you must neither
> >> > take any action based upon its contents, nor copy or show it to anyone.
> >> > Please contact the sender if you believe you have received this
> >> > email in error. Shape Blue Ltd is a company incorporated in
> >> > England &
> Wales.
> >> >
> >>
> >
> >
>
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi Marc,

I am running the command from Management server only.
I specified that client is running on 8080 port, when I login to console.
But when I hit the API for 8096, it seems this point is not running.
I mean when I checked if anything is running on this 8096 port, I get nothing.
Am I missing something, because of which APIs are not getting accessed?


Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com] 
Sent: 04 January 2013 PM 01:32
To: cloudstack-users
Subject: Re: CloudStack Installation Query

Hi,

First, this command is meant to be run on management server not from a client (the 8096 is API integration port). Then, there are two things I can't remember exactly (I don't have a working installation rigth now), but:

1- The domain id is always the same in every installation?
2- Using integration port you need API path? So url is http://localhost:8096/client/api?command=...

Can someone shed a light on this?

thx


On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani < Asmita.Vagyani@sigma-systems.com> wrote:

> Hi all,
> I managed to start the Cloud Management server on the RHEL OS.
> I am able to login to the management server console now after 
> re-installing the mySQL DB.
>
> I am following the next step after changing the password, for creating 
> the ssh template.
>
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh-t
> emplate
>
> Section 5.2.2. Creating the SSH Keypair When I run the command below 
> on management server -
>
> curl --globoff "
> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&acco
> unt=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2
> "
>
> I get error curl: (7) couldn't connect to host
>
> On port 8080 I can see the client is running, I am not sure about the 
> webservice endpoint if its correct.(Here port is 8096) Other point is 
> domain Id- where can I get this domain id from?
>
> Thanks and Regards.
>
> Asmita
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 PM 07:52
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> I used this command to deploy DB.
>
> $ cloud-setup-databases 
> cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m password 
> -k password
>
> Output was :
>
> Mysql user name:cloud
>       [ OK ]
> Mysql user password:sigma123
>      [ OK ]
> Mysql server ip:localhost
>       [ OK ]
> Mysql server port:3306
>      [ OK ]
> Mysql root user name:root
>       [ OK ]
> Mysql root user password:sigma123
>       [ OK ]
> Checking Cloud database files ...
>       [ OK ]
> Checking local machine hostname ...
>       [ OK ]
> Checking SELinux setup ...
>      [ OK ]
> Detected local IP address as <LOCAL IP address> will use as cluster 
> management server node IP[ OK ] Preparing 
> /etc/cloud/management/db.properties
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/server-setup.sql
>      [ OK ]
> Applying /usr/share/cloud/setup/templates.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-index-fk.sql
>       [ OK ]
> Processing encryption ...
>       [ OK ]
> Finalizing setup ...
>      [ OK ]
>
> CloudStack has successfully initialized database, you can check your 
> database configuration in /etc/cloud/management/db.properties
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 PM 07:47
> To: cloudstack-users
> Subject: Re: CloudStack Installation Query
>
> What was the output of cloud-setup-databases command?
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:
>
> > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on 
> > your management server...".
> >
> > If it's there, I guess you did it (right?). Then may be a 
> > permissions problem or NFSv4 in use. I read problems with people 
> > using NFSv4 in this mailing list.
> >
> > thx
> >
> >
> > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani < 
> > Asmita.Vagyani@sigma-systems.com> wrote:
> >
> >> Hi Marc,
> >> I am using a separate NFS server for secondary storage, I think the 
> >> way you are going with is when you have nfs shared folder on the 
> >> same management server and mount it there itself.
> >> Am I right?
> >>
> >>
> >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack
> >> /4 
> >> .0.0-incubating/html/Installation_Guide/management-server-install-f
> >> lo w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS 
> >> Server
> >>
> >>
> >> Thanks and Regards.
> >>
> >> Asmita Patil Vagyani.
> >> Tech Lead,  Sigma Software Solutions, Pune,
> >> T: +91-20-25661992 / 93 / 94. Extn. : 286
> >>
> >>
> >> -----Original Message-----
> >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> >> Sent: 03 January 2013 PM 07:30
> >> To: cloudstack-users
> >> Subject: Re: CloudStack Installation Query
> >>
> >> My point was that as the path given to the cloud-install-sys-tmplt 
> >> command
> >> (/mnt/secondary) and export path (/export), you need to mount the 
> >> export path for secondary storage (/export) on /mnt/secondary 
> >> otherwise system vm template won't be able to download to primary
> storage.
> >>
> >> thx.
> >>
> >>
> >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom < 
> >> geoff.higginbottom@shapeblue.com> wrote:
> >>
> >> > Hi Asmita,
> >> >
> >> > You don't have to, but its best practice to do so.
> >> >
> >> > When you deploy a new Zone, the first thing that happens is that 
> >> > the System VM Template, which you will have seeded to Secondary 
> >> > Storage is used to deploy the SSVM and CPVM, the SSVM then 
> >> > connects to the Internet and downloads an example Template and 
> >> > places it on secondary
> >> storage.
> >> >
> >> > All the above happens automatically as long as the configuration 
> >> > of the Compute, Storage and Networking Layers is correct, and 
> >> > seeing it happen is a great sanity check that everything is 
> >> > configured
> correctly.
> >> >
> >> > Skipping configuring the Secondary Storage, and seeding it with 
> >> > the appropriate System VM Templates for your chosen Hypervisors 
> >> > will not break anything, and it can be added later, but as you 
> >> > have to do it at some point, you might as well do it at the beginning.
> >> >
> >> > Regards
> >> >
> >> > Geoff
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 13:34
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > Is it a mandate that we have to configure/mount a secondary 
> >> > storage nfs server before cloudstack management server installation?
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 PM 12:49
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation on
> RHEL.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > ck/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > I have mounted the secondary storage device on another NFS server 
> >> > and can see that its mounted.
> >> > I added line below to my /etc/exports file also :
> >> > /export *(rw,async,no_root_squash)
> >> >
> >> > Then I run cloud-install-sys-tmplt command below to retrieve and 
> >> > decompress the system VM template - For vSphere:
> >> >
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0
> ^C12012.
> >> > ova
> >> >  -h vmware -s welcome123 -F
> >> >
> >> > I get the following error -
> >> > rm: cannot remove
> >> >
> >>
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//template.properties':
> >> > Permission denied Failed to clean up template directory 
> >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> >> > Installation failed
> >> >
> >> > Did anyone of you face the same problem?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 31 December 2012 PM 02:50
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > I am using RHEL
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> >> > Sent: 31 December 2012 PM 02:43
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi,
> >> >
> >> > Please use below path if your setup is on Ubuntu.:
> >> >
> >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys
> >> > -t
> >> > mpl
> >> > t
> >> >
> >> > Thanks,
> >> > Sailaja.M
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: Monday, December 31, 2012 2:16 PM
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > ck/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > Its says to run one or more of the following 
> >> > cloud-install-sys-tmplt commands to retrieve and decompress the 
> >> > system VM template - For vSphere run command below:
> >> > #
> >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801
> >> > 2012
> .
> >> > ova-h vmware -s <optional-management-server-secret-key>  -F
> >> >
> >> > I made a correction in the file path and run the command as below:
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-s
> >> > ys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0801
> >> > 2012
> .
> >> > ova-hvmware -s welcome123 -F
> >> >
> >> > It gives an error command not found.
> >> > cloud-install-sys-tmplt: command not found Any idea why this is 
> >> > not working?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> >> > Sent: 28 December 2012 AM 10:48
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Thank you for pointing out the errors in docs.
> >> >
> >> > Please file a documentation defect in case you find any.
> >> >
> >> > Thanks
> >> > -Radhika
> >> >
> >> > -----Original Message-----
> >> > From: sebgoa [mailto:runseb@gmail.com]
> >> > Sent: Thursday, December 27, 2012 7:01 PM
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: Re: CloudStack Installation Query
> >> >
> >> > Asmita,
> >> >
> >> > I believe there is an issue with the documentation.
> >> >
> >> > try to replace the baseurl with:
> >> >
> >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
> >> >
> >> > and do:
> >> >
> >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
> >> >
> >> >
> >> > I have not tested it, so please let us know if it works or not.
> >> >
> >> > thanks,
> >> >
> >> > -Sebastien
> >> >
> >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > Thanks Jerry for clarifying.
> >> > >
> >> > > My next query is:
> >> > > I am using an RPM-based system, I want to add the Yum 
> >> > > repository so that
> >> > I can install CloudStack with Yum.
> >> > > I have created a repos file under /etc/yum.repos.d.
> >> > >
> >> > > [cloudstack]
> >> > > name=cloudstack
> >> > > baseurl=http://server.url/downloads/rpm/stable/
> >> > > enabled=1
> >> > > gpgcheck=1
> >> > >
> >> > > Next you'll want to add the GPG key:
> >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> >> > >
> >> > >
> >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2. 
> >> > > ) What will be the value of server.url?
> >> > >
> >> > > Thanks and Regards.
> >> > >
> >> > > Asmita
> >> > >
> >> > >
> >> > > -----Original Message-----
> >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> >> > > Sent: 27 December 2012 PM 06:20
> >> > > To: cloudstack-users@incubator.apache.org
> >> > > Subject: Re: CloudStack Installation Query
> >> > >
> >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> >> > >
> >> > > Jerry
> >> > >
> >> > > ----- Original Message -----
> >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
> >> > > To: "cloudstack-users@incubator.apache.org"
> >> > > <cl...@incubator.apache.org>
> >> > > Sent: Thursday, December 27, 2012 8:33:05 PM
> >> > > Subject: CloudStack Installation Query
> >> > >
> >> > > Hi,
> >> > >
> >> > > I am trying to install CloudStack 4 on the system.
> >> > > I am having RHEL 6.3 system for the CloudStack Management 
> >> > > server
> >> > installation.
> >> > >
> >> > > I am following standard Installation guide to do so.
> >> > > Location -
> >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudS
> >> > > ta
> >> > > ck/4
> >> .
> >> > > 0.0-incubating/html/Installation_Guide/index.html
> >> > > I am referring to Section 3, 3.5 and 3.6 particularly.
> >> > >
> >> > > I wanted to confirm if I should perform step in section 3.5 
> >> > > only if my
> >> > server OS is Ubuntu and perform steps in section 3.6 if my 
> >> > management server is RHEL server.
> >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> >> > >
> >> > > Please clarify.
> >> > >
> >> > > Thanks and Regards.
> >> > > Asmita.
> >> > >
> >> > >
> >> >
> >> > ShapeBlue provides a range of strategic and technical consulting 
> >> > and implementation services to help IT Service Providers and 
> >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s 
> >> > expertise, combined with CloudStack technology, allows IT Service 
> >> > Providers and Enterprises to deliver true, utility based, IaaS to 
> >> > the customer or
> >> end-user.
> >> >
> >> > ________________________________
> >> >
> >> > This email and any attachments to it may be confidential and are 
> >> > intended solely for the use of the individual to whom it is addressed.
> >> > Any views or opinions expressed are solely those of the author 
> >> > and do not necessarily represent those of Shape Blue Ltd. If you 
> >> > are not the intended recipient of this email, you must neither 
> >> > take any action based upon its contents, nor copy or show it to anyone.
> >> > Please contact the sender if you believe you have received this 
> >> > email in error. Shape Blue Ltd is a company incorporated in 
> >> > England &
> Wales.
> >> >
> >>
> >
> >
>

Re: CloudStack Installation Query

Posted by Marc Cirauqui <mc...@gmail.com>.
Hi,

First, this command is meant to be run on management server not from a
client (the 8096 is API integration port). Then, there are two things I
can't remember exactly (I don't have a working installation rigth now), but:

1- The domain id is always the same in every installation?
2- Using integration port you need API path? So url is
http://localhost:8096/client/api?command=...

Can someone shed a light on this?

thx


On Fri, Jan 4, 2013 at 8:50 AM, Asmita Vagyani <
Asmita.Vagyani@sigma-systems.com> wrote:

> Hi all,
> I managed to start the Cloud Management server on the RHEL OS.
> I am able to login to the management server console now after
> re-installing the mySQL DB.
>
> I am following the next step after changing the password, for creating the
> ssh template.
>
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh-template
>
> Section 5.2.2. Creating the SSH Keypair
> When I run the command below on management server -
>
> curl --globoff "
> http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2
> "
>
> I get error curl: (7) couldn't connect to host
>
> On port 8080 I can see the client is running, I am not sure about the
> webservice endpoint if its correct.(Here port is 8096)
> Other point is domain Id- where can I get this domain id from?
>
> Thanks and Regards.
>
> Asmita
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 PM 07:52
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> I used this command to deploy DB.
>
> $ cloud-setup-databases cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m password -k password
>
> Output was :
>
> Mysql user name:cloud
>       [ OK ]
> Mysql user password:sigma123
>      [ OK ]
> Mysql server ip:localhost
>       [ OK ]
> Mysql server port:3306
>      [ OK ]
> Mysql root user name:root
>       [ OK ]
> Mysql root user password:sigma123
>       [ OK ]
> Checking Cloud database files ...
>       [ OK ]
> Checking local machine hostname ...
>       [ OK ]
> Checking SELinux setup ...
>      [ OK ]
> Detected local IP address as <LOCAL IP address> will use as cluster
> management server node IP[ OK ]
> Preparing /etc/cloud/management/db.properties
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/server-setup.sql
>      [ OK ]
> Applying /usr/share/cloud/setup/templates.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-index-fk.sql
>       [ OK ]
> Processing encryption ...
>       [ OK ]
> Finalizing setup ...
>      [ OK ]
>
> CloudStack has successfully initialized database, you can check your
> database configuration in /etc/cloud/management/db.properties
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 PM 07:47
> To: cloudstack-users
> Subject: Re: CloudStack Installation Query
>
> What was the output of cloud-setup-databases command?
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:
>
> > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on your
> > management server...".
> >
> > If it's there, I guess you did it (right?). Then may be a permissions
> > problem or NFSv4 in use. I read problems with people using NFSv4 in
> > this mailing list.
> >
> > thx
> >
> >
> > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <
> > Asmita.Vagyani@sigma-systems.com> wrote:
> >
> >> Hi Marc,
> >> I am using a separate NFS server for secondary storage, I think the
> >> way you are going with is when you have nfs shared folder on the same
> >> management server and mount it there itself.
> >> Am I right?
> >>
> >>
> >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
> >> .0.0-incubating/html/Installation_Guide/management-server-install-flo
> >> w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS
> >> Server
> >>
> >>
> >> Thanks and Regards.
> >>
> >> Asmita Patil Vagyani.
> >> Tech Lead,  Sigma Software Solutions, Pune,
> >> T: +91-20-25661992 / 93 / 94. Extn. : 286
> >>
> >>
> >> -----Original Message-----
> >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> >> Sent: 03 January 2013 PM 07:30
> >> To: cloudstack-users
> >> Subject: Re: CloudStack Installation Query
> >>
> >> My point was that as the path given to the cloud-install-sys-tmplt
> >> command
> >> (/mnt/secondary) and export path (/export), you need to mount the
> >> export path for secondary storage (/export) on /mnt/secondary
> >> otherwise system vm template won't be able to download to primary
> storage.
> >>
> >> thx.
> >>
> >>
> >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
> >> geoff.higginbottom@shapeblue.com> wrote:
> >>
> >> > Hi Asmita,
> >> >
> >> > You don't have to, but its best practice to do so.
> >> >
> >> > When you deploy a new Zone, the first thing that happens is that
> >> > the System VM Template, which you will have seeded to Secondary
> >> > Storage is used to deploy the SSVM and CPVM, the SSVM then connects
> >> > to the Internet and downloads an example Template and places it on
> >> > secondary
> >> storage.
> >> >
> >> > All the above happens automatically as long as the configuration of
> >> > the Compute, Storage and Networking Layers is correct, and seeing
> >> > it happen is a great sanity check that everything is configured
> correctly.
> >> >
> >> > Skipping configuring the Secondary Storage, and seeding it with the
> >> > appropriate System VM Templates for your chosen Hypervisors will
> >> > not break anything, and it can be added later, but as you have to
> >> > do it at some point, you might as well do it at the beginning.
> >> >
> >> > Regards
> >> >
> >> > Geoff
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 13:34
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > Is it a mandate that we have to configure/mount a secondary storage
> >> > nfs server before cloudstack management server installation?
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 PM 12:49
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation on
> RHEL.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > I have mounted the secondary storage device on another NFS server
> >> > and can see that its mounted.
> >> > I added line below to my /etc/exports file also :
> >> > /export *(rw,async,no_root_squash)
> >> >
> >> > Then I run cloud-install-sys-tmplt command below to retrieve and
> >> > decompress the system VM template - For vSphere:
> >> >
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0
> ^C12012.
> >> > ova
> >> >  -h vmware -s welcome123 -F
> >> >
> >> > I get the following error -
> >> > rm: cannot remove
> >> >
> >>
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//template.properties':
> >> > Permission denied Failed to clean up template directory
> >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> >> > Installation failed
> >> >
> >> > Did anyone of you face the same problem?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 31 December 2012 PM 02:50
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > I am using RHEL
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> >> > Sent: 31 December 2012 PM 02:43
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi,
> >> >
> >> > Please use below path if your setup is on Ubuntu.:
> >> >
> >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-t
> >> > mpl
> >> > t
> >> >
> >> > Thanks,
> >> > Sailaja.M
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: Monday, December 31, 2012 2:16 PM
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > Its says to run one or more of the following
> >> > cloud-install-sys-tmplt commands to retrieve and decompress the
> >> > system VM template - For vSphere run command below:
> >> > #
> >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012
> .
> >> > ova-h vmware -s <optional-management-server-secret-key>  -F
> >> >
> >> > I made a correction in the file path and run the command as below:
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012
> .
> >> > ova-hvmware -s welcome123 -F
> >> >
> >> > It gives an error command not found.
> >> > cloud-install-sys-tmplt: command not found Any idea why this is not
> >> > working?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> >> > Sent: 28 December 2012 AM 10:48
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Thank you for pointing out the errors in docs.
> >> >
> >> > Please file a documentation defect in case you find any.
> >> >
> >> > Thanks
> >> > -Radhika
> >> >
> >> > -----Original Message-----
> >> > From: sebgoa [mailto:runseb@gmail.com]
> >> > Sent: Thursday, December 27, 2012 7:01 PM
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: Re: CloudStack Installation Query
> >> >
> >> > Asmita,
> >> >
> >> > I believe there is an issue with the documentation.
> >> >
> >> > try to replace the baseurl with:
> >> >
> >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
> >> >
> >> > and do:
> >> >
> >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
> >> >
> >> >
> >> > I have not tested it, so please let us know if it works or not.
> >> >
> >> > thanks,
> >> >
> >> > -Sebastien
> >> >
> >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > Thanks Jerry for clarifying.
> >> > >
> >> > > My next query is:
> >> > > I am using an RPM-based system, I want to add the Yum repository
> >> > > so that
> >> > I can install CloudStack with Yum.
> >> > > I have created a repos file under /etc/yum.repos.d.
> >> > >
> >> > > [cloudstack]
> >> > > name=cloudstack
> >> > > baseurl=http://server.url/downloads/rpm/stable/
> >> > > enabled=1
> >> > > gpgcheck=1
> >> > >
> >> > > Next you'll want to add the GPG key:
> >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> >> > >
> >> > >
> >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2. )
> >> > > What will be the value of server.url?
> >> > >
> >> > > Thanks and Regards.
> >> > >
> >> > > Asmita
> >> > >
> >> > >
> >> > > -----Original Message-----
> >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> >> > > Sent: 27 December 2012 PM 06:20
> >> > > To: cloudstack-users@incubator.apache.org
> >> > > Subject: Re: CloudStack Installation Query
> >> > >
> >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> >> > >
> >> > > Jerry
> >> > >
> >> > > ----- Original Message -----
> >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
> >> > > To: "cloudstack-users@incubator.apache.org"
> >> > > <cl...@incubator.apache.org>
> >> > > Sent: Thursday, December 27, 2012 8:33:05 PM
> >> > > Subject: CloudStack Installation Query
> >> > >
> >> > > Hi,
> >> > >
> >> > > I am trying to install CloudStack 4 on the system.
> >> > > I am having RHEL 6.3 system for the CloudStack Management server
> >> > installation.
> >> > >
> >> > > I am following standard Installation guide to do so.
> >> > > Location -
> >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > > ck/4
> >> .
> >> > > 0.0-incubating/html/Installation_Guide/index.html
> >> > > I am referring to Section 3, 3.5 and 3.6 particularly.
> >> > >
> >> > > I wanted to confirm if I should perform step in section 3.5 only
> >> > > if my
> >> > server OS is Ubuntu and perform steps in section 3.6 if my
> >> > management server is RHEL server.
> >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> >> > >
> >> > > Please clarify.
> >> > >
> >> > > Thanks and Regards.
> >> > > Asmita.
> >> > >
> >> > >
> >> >
> >> > ShapeBlue provides a range of strategic and technical consulting
> >> > and implementation services to help IT Service Providers and
> >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s
> >> > expertise, combined with CloudStack technology, allows IT Service
> >> > Providers and Enterprises to deliver true, utility based, IaaS to
> >> > the customer or
> >> end-user.
> >> >
> >> > ________________________________
> >> >
> >> > This email and any attachments to it may be confidential and are
> >> > intended solely for the use of the individual to whom it is addressed.
> >> > Any views or opinions expressed are solely those of the author and
> >> > do not necessarily represent those of Shape Blue Ltd. If you are
> >> > not the intended recipient of this email, you must neither take any
> >> > action based upon its contents, nor copy or show it to anyone.
> >> > Please contact the sender if you believe you have received this
> >> > email in error. Shape Blue Ltd is a company incorporated in England &
> Wales.
> >> >
> >>
> >
> >
>

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi all,
I managed to start the Cloud Management server on the RHEL OS.
I am able to login to the management server console now after re-installing the mySQL DB.

I am following the next step after changing the password, for creating the ssh template.
http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/using-sshkeys.html#create-ssh-template

Section 5.2.2. Creating the SSH Keypair
When I run the command below on management server -

curl --globoff "http://localhostIP:8096/?command=createSSHKeyPair&name=keypairdoc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2"

I get error curl: (7) couldn't connect to host

On port 8080 I can see the client is running, I am not sure about the webservice endpoint if its correct.(Here port is 8096)
Other point is domain Id- where can I get this domain id from?

Thanks and Regards.

Asmita 
-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com] 
Sent: 03 January 2013 PM 07:52
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

I used this command to deploy DB.

$ cloud-setup-databases cloud:sigma123@localhost --deploy-as=root:sigma123 -e file -m password -k password

Output was :

Mysql user name:cloud                                                           [ OK ]
Mysql user password:sigma123                                                    [ OK ]
Mysql server ip:localhost                                                       [ OK ]
Mysql server port:3306                                                          [ OK ]
Mysql root user name:root                                                       [ OK ]
Mysql root user password:sigma123                                               [ OK ]
Checking Cloud database files ...                                               [ OK ]
Checking local machine hostname ...                                             [ OK ]
Checking SELinux setup ...                                                      [ OK ]
Detected local IP address as <LOCAL IP address> will use as cluster management server node IP[ OK ]
Preparing /etc/cloud/management/db.properties                                   [ OK ]
Applying /usr/share/cloud/setup/create-database.sql                             [ OK ]
Applying /usr/share/cloud/setup/create-schema.sql                               [ OK ]
Applying /usr/share/cloud/setup/create-database-premium.sql                     [ OK ]
Applying /usr/share/cloud/setup/create-schema-premium.sql                       [ OK ]
Applying /usr/share/cloud/setup/server-setup.sql                                [ OK ]
Applying /usr/share/cloud/setup/templates.sql                                   [ OK ]
Applying /usr/share/cloud/setup/create-index-fk.sql                             [ OK ]
Processing encryption ...                                                       [ OK ]
Finalizing setup ...                                                            [ OK ]

CloudStack has successfully initialized database, you can check your database configuration in /etc/cloud/management/db.properties



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com] 
Sent: 03 January 2013 PM 07:47
To: cloudstack-users
Subject: Re: CloudStack Installation Query

What was the output of cloud-setup-databases command?

thx


On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:

> Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on your 
> management server...".
>
> If it's there, I guess you did it (right?). Then may be a permissions 
> problem or NFSv4 in use. I read problems with people using NFSv4 in 
> this mailing list.
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani < 
> Asmita.Vagyani@sigma-systems.com> wrote:
>
>> Hi Marc,
>> I am using a separate NFS server for secondary storage, I think the 
>> way you are going with is when you have nfs shared folder on the same 
>> management server and mount it there itself.
>> Am I right?
>>
>>
>> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
>> .0.0-incubating/html/Installation_Guide/management-server-install-flo
>> w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS 
>> Server
>>
>>
>> Thanks and Regards.
>>
>> Asmita Patil Vagyani.
>> Tech Lead,  Sigma Software Solutions, Pune,
>> T: +91-20-25661992 / 93 / 94. Extn. : 286
>>
>>
>> -----Original Message-----
>> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>> Sent: 03 January 2013 PM 07:30
>> To: cloudstack-users
>> Subject: Re: CloudStack Installation Query
>>
>> My point was that as the path given to the cloud-install-sys-tmplt 
>> command
>> (/mnt/secondary) and export path (/export), you need to mount the 
>> export path for secondary storage (/export) on /mnt/secondary 
>> otherwise system vm template won't be able to download to primary storage.
>>
>> thx.
>>
>>
>> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom < 
>> geoff.higginbottom@shapeblue.com> wrote:
>>
>> > Hi Asmita,
>> >
>> > You don't have to, but its best practice to do so.
>> >
>> > When you deploy a new Zone, the first thing that happens is that 
>> > the System VM Template, which you will have seeded to Secondary 
>> > Storage is used to deploy the SSVM and CPVM, the SSVM then connects 
>> > to the Internet and downloads an example Template and places it on 
>> > secondary
>> storage.
>> >
>> > All the above happens automatically as long as the configuration of 
>> > the Compute, Storage and Networking Layers is correct, and seeing 
>> > it happen is a great sanity check that everything is configured correctly.
>> >
>> > Skipping configuring the Secondary Storage, and seeding it with the 
>> > appropriate System VM Templates for your chosen Hypervisors will 
>> > not break anything, and it can be added later, but as you have to 
>> > do it at some point, you might as well do it at the beginning.
>> >
>> > Regards
>> >
>> > Geoff
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: 03 January 2013 13:34
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi all,
>> >
>> > Is it a mandate that we have to configure/mount a secondary storage 
>> > nfs server before cloudstack management server installation?
>> >
>> >
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> > Tech Lead,  Sigma Software Solutions, Pune,
>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>> >
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: 03 January 2013 PM 12:49
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi all,
>> >
>> > I am following the Cloudstack 4 documentation for installation on RHEL.
>> > Please refer
>> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
>> > html#nfs-shares-on-separate-server
>> > Step 4.5.7. Prepare the System VM Template
>> >
>> > I have mounted the secondary storage device on another NFS server 
>> > and can see that its mounted.
>> > I added line below to my /etc/exports file also :
>> > /export *(rw,async,no_root_squash)
>> >
>> > Then I run cloud-install-sys-tmplt command below to retrieve and 
>> > decompress the system VM template - For vSphere:
>> >
>> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys
>> > -tm
>> > plt
>> > -m /mnt/secondary -u
>> > http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.
>> > ova
>> >  -h vmware -s welcome123 -F
>> >
>> > I get the following error -
>> > rm: cannot remove
>> >
>> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
>> > Permission denied
>> > rm: cannot remove
>> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
>> > Permission denied
>> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
>> > Permission denied
>> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
>> > Permission denied
>> > rm: cannot remove
>> `/mnt/secondary/template/tmpl/1/8//template.properties':
>> > Permission denied Failed to clean up template directory 
>> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
>> > Installation failed
>> >
>> > Did anyone of you face the same problem?
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: 31 December 2012 PM 02:50
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > I am using RHEL
>> >
>> >
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> > Tech Lead,  Sigma Software Solutions, Pune,
>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>> >
>> >
>> > -----Original Message-----
>> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
>> > Sent: 31 December 2012 PM 02:43
>> > To: cloudstack-users@incubator.apache.org
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi,
>> >
>> > Please use below path if your setup is on Ubuntu.:
>> >
>> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-t
>> > mpl
>> > t
>> >
>> > Thanks,
>> > Sailaja.M
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: Monday, December 31, 2012 2:16 PM
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi all,
>> >
>> > I am following the Cloudstack 4 documentation for installation.
>> > Please refer
>> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
>> > html#nfs-shares-on-separate-server
>> > Step 4.5.7. Prepare the System VM Template
>> >
>> > Its says to run one or more of the following 
>> > cloud-install-sys-tmplt commands to retrieve and decompress the 
>> > system VM template - For vSphere run command below:
>> > #
>> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys
>> > -tm
>> > plt
>> > -m /mnt/secondary -u
>> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
>> > ova-h vmware -s <optional-management-server-secret-key>  -F
>> >
>> > I made a correction in the file path and run the command as below:
>> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys
>> > -tm
>> > plt
>> > -m /mnt/secondary -u
>> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
>> > ova-hvmware -s welcome123 -F
>> >
>> > It gives an error command not found.
>> > cloud-install-sys-tmplt: command not found Any idea why this is not 
>> > working?
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> > Tech Lead,  Sigma Software Solutions, Pune,
>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>> >
>> >
>> > -----Original Message-----
>> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
>> > Sent: 28 December 2012 AM 10:48
>> > To: cloudstack-users@incubator.apache.org
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Thank you for pointing out the errors in docs.
>> >
>> > Please file a documentation defect in case you find any.
>> >
>> > Thanks
>> > -Radhika
>> >
>> > -----Original Message-----
>> > From: sebgoa [mailto:runseb@gmail.com]
>> > Sent: Thursday, December 27, 2012 7:01 PM
>> > To: cloudstack-users@incubator.apache.org
>> > Subject: Re: CloudStack Installation Query
>> >
>> > Asmita,
>> >
>> > I believe there is an issue with the documentation.
>> >
>> > try to replace the baseurl with:
>> >
>> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
>> >
>> > and do:
>> >
>> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
>> >
>> >
>> > I have not tested it, so please let us know if it works or not.
>> >
>> > thanks,
>> >
>> > -Sebastien
>> >
>> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
>> >
>> > > Hi,
>> > >
>> > > Thanks Jerry for clarifying.
>> > >
>> > > My next query is:
>> > > I am using an RPM-based system, I want to add the Yum repository 
>> > > so that
>> > I can install CloudStack with Yum.
>> > > I have created a repos file under /etc/yum.repos.d.
>> > >
>> > > [cloudstack]
>> > > name=cloudstack
>> > > baseurl=http://server.url/downloads/rpm/stable/
>> > > enabled=1
>> > > gpgcheck=1
>> > >
>> > > Next you'll want to add the GPG key:
>> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
>> > >
>> > >
>> > > (Refer Documentation of CloudStack Installation -Section 4.4.2. ) 
>> > > What will be the value of server.url?
>> > >
>> > > Thanks and Regards.
>> > >
>> > > Asmita
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
>> > > Sent: 27 December 2012 PM 06:20
>> > > To: cloudstack-users@incubator.apache.org
>> > > Subject: Re: CloudStack Installation Query
>> > >
>> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
>> > >
>> > > Jerry
>> > >
>> > > ----- Original Message -----
>> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
>> > > To: "cloudstack-users@incubator.apache.org"
>> > > <cl...@incubator.apache.org>
>> > > Sent: Thursday, December 27, 2012 8:33:05 PM
>> > > Subject: CloudStack Installation Query
>> > >
>> > > Hi,
>> > >
>> > > I am trying to install CloudStack 4 on the system.
>> > > I am having RHEL 6.3 system for the CloudStack Management server
>> > installation.
>> > >
>> > > I am following standard Installation guide to do so.
>> > > Location -
>> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
>> > > ck/4
>> .
>> > > 0.0-incubating/html/Installation_Guide/index.html
>> > > I am referring to Section 3, 3.5 and 3.6 particularly.
>> > >
>> > > I wanted to confirm if I should perform step in section 3.5 only 
>> > > if my
>> > server OS is Ubuntu and perform steps in section 3.6 if my 
>> > management server is RHEL server.
>> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
>> > >
>> > > Please clarify.
>> > >
>> > > Thanks and Regards.
>> > > Asmita.
>> > >
>> > >
>> >
>> > ShapeBlue provides a range of strategic and technical consulting 
>> > and implementation services to help IT Service Providers and 
>> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s 
>> > expertise, combined with CloudStack technology, allows IT Service 
>> > Providers and Enterprises to deliver true, utility based, IaaS to 
>> > the customer or
>> end-user.
>> >
>> > ________________________________
>> >
>> > This email and any attachments to it may be confidential and are 
>> > intended solely for the use of the individual to whom it is addressed.
>> > Any views or opinions expressed are solely those of the author and 
>> > do not necessarily represent those of Shape Blue Ltd. If you are 
>> > not the intended recipient of this email, you must neither take any 
>> > action based upon its contents, nor copy or show it to anyone. 
>> > Please contact the sender if you believe you have received this 
>> > email in error. Shape Blue Ltd is a company incorporated in England & Wales.
>> >
>>
>
>

Re: CloudStack Installation Query

Posted by linuxsupport <li...@gmail.com>.
I also had problem with login when I was using default RPMS provided for
CentOS6

I rebuilt the RPMS on CentOS 6 machine and it worked well.

I have created a yum repository for that so others can use if they wish

/etc/yum.repos.d/cloud.repo

[root@mx4 x86_64]# cat /etc/yum.repos.d/cloud.repo
[cloudstack]
name=cloudstack
baseurl=http://repo.linuxwizard.org/cloudstack/CentOS/6/RPMS/x86_64
enabled=1
gpgcheck=0

Thanks

On Thu, Jan 3, 2013 at 7:58 PM, Marc Cirauqui <mc...@gmail.com> wrote:

> I've been unable to find cloud-setup-management in the docs, did you run
> it?
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:21 PM, Asmita Vagyani <
> Asmita.Vagyani@sigma-systems.com> wrote:
>
> > I used this command to deploy DB.
> >
> > $ cloud-setup-databases cloud:sigma123@localhost--deploy-as=root:sigma123
> -e file -m password -k password
> >
> > Output was :
> >
> > Mysql user name:cloud
> >       [ OK ]
> > Mysql user password:sigma123
> >      [ OK ]
> > Mysql server ip:localhost
> >       [ OK ]
> > Mysql server port:3306
> >      [ OK ]
> > Mysql root user name:root
> >       [ OK ]
> > Mysql root user password:sigma123
> >       [ OK ]
> > Checking Cloud database files ...
> >       [ OK ]
> > Checking local machine hostname ...
> >       [ OK ]
> > Checking SELinux setup ...
> >      [ OK ]
> > Detected local IP address as <LOCAL IP address> will use as cluster
> > management server node IP[ OK ]
> > Preparing /etc/cloud/management/db.properties
> >       [ OK ]
> > Applying /usr/share/cloud/setup/create-database.sql
> >       [ OK ]
> > Applying /usr/share/cloud/setup/create-schema.sql
> >       [ OK ]
> > Applying /usr/share/cloud/setup/create-database-premium.sql
> >       [ OK ]
> > Applying /usr/share/cloud/setup/create-schema-premium.sql
> >       [ OK ]
> > Applying /usr/share/cloud/setup/server-setup.sql
> >      [ OK ]
> > Applying /usr/share/cloud/setup/templates.sql
> >       [ OK ]
> > Applying /usr/share/cloud/setup/create-index-fk.sql
> >       [ OK ]
> > Processing encryption ...
> >       [ OK ]
> > Finalizing setup ...
> >      [ OK ]
> >
> > CloudStack has successfully initialized database, you can check your
> > database configuration in /etc/cloud/management/db.properties
> >
> >
> >
> > Thanks and Regards.
> >
> > Asmita Patil Vagyani.
> > Tech Lead,  Sigma Software Solutions, Pune,
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >
> >
> > -----Original Message-----
> > From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> > Sent: 03 January 2013 PM 07:47
> > To: cloudstack-users
> > Subject: Re: CloudStack Installation Query
> >
> > What was the output of cloud-setup-databases command?
> >
> > thx
> >
> >
> > On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com>
> wrote:
> >
> > > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on your
> > > management server...".
> > >
> > > If it's there, I guess you did it (right?). Then may be a permissions
> > > problem or NFSv4 in use. I read problems with people using NFSv4 in
> > > this mailing list.
> > >
> > > thx
> > >
> > >
> > > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <
> > > Asmita.Vagyani@sigma-systems.com> wrote:
> > >
> > >> Hi Marc,
> > >> I am using a separate NFS server for secondary storage, I think the
> > >> way you are going with is when you have nfs shared folder on the same
> > >> management server and mount it there itself.
> > >> Am I right?
> > >>
> > >>
> > >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
> > >> .0.0-incubating/html/Installation_Guide/management-server-install-flo
> > >> w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS
> > >> Server
> > >>
> > >>
> > >> Thanks and Regards.
> > >>
> > >> Asmita Patil Vagyani.
> > >> Tech Lead,  Sigma Software Solutions, Pune,
> > >> T: +91-20-25661992 / 93 / 94. Extn. : 286
> > >>
> > >>
> > >> -----Original Message-----
> > >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> > >> Sent: 03 January 2013 PM 07:30
> > >> To: cloudstack-users
> > >> Subject: Re: CloudStack Installation Query
> > >>
> > >> My point was that as the path given to the cloud-install-sys-tmplt
> > >> command
> > >> (/mnt/secondary) and export path (/export), you need to mount the
> > >> export path for secondary storage (/export) on /mnt/secondary
> > >> otherwise system vm template won't be able to download to primary
> > storage.
> > >>
> > >> thx.
> > >>
> > >>
> > >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
> > >> geoff.higginbottom@shapeblue.com> wrote:
> > >>
> > >> > Hi Asmita,
> > >> >
> > >> > You don't have to, but its best practice to do so.
> > >> >
> > >> > When you deploy a new Zone, the first thing that happens is that
> > >> > the System VM Template, which you will have seeded to Secondary
> > >> > Storage is used to deploy the SSVM and CPVM, the SSVM then connects
> > >> > to the Internet and downloads an example Template and places it on
> > >> > secondary
> > >> storage.
> > >> >
> > >> > All the above happens automatically as long as the configuration of
> > >> > the Compute, Storage and Networking Layers is correct, and seeing
> > >> > it happen is a great sanity check that everything is configured
> > correctly.
> > >> >
> > >> > Skipping configuring the Secondary Storage, and seeding it with the
> > >> > appropriate System VM Templates for your chosen Hypervisors will
> > >> > not break anything, and it can be added later, but as you have to
> > >> > do it at some point, you might as well do it at the beginning.
> > >> >
> > >> > Regards
> > >> >
> > >> > Geoff
> > >> >
> > >> > -----Original Message-----
> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > >> > Sent: 03 January 2013 13:34
> > >> > To: 'cloudstack-users@incubator.apache.org'
> > >> > Subject: RE: CloudStack Installation Query
> > >> >
> > >> > Hi all,
> > >> >
> > >> > Is it a mandate that we have to configure/mount a secondary storage
> > >> > nfs server before cloudstack management server installation?
> > >> >
> > >> >
> > >> >
> > >> > Thanks and Regards.
> > >> >
> > >> > Asmita Patil Vagyani.
> > >> > Tech Lead,  Sigma Software Solutions, Pune,
> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> > >> >
> > >> >
> > >> > -----Original Message-----
> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > >> > Sent: 03 January 2013 PM 12:49
> > >> > To: 'cloudstack-users@incubator.apache.org'
> > >> > Subject: RE: CloudStack Installation Query
> > >> >
> > >> > Hi all,
> > >> >
> > >> > I am following the Cloudstack 4 documentation for installation on
> > RHEL.
> > >> > Please refer
> > >> >
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
> > .
> > >> >
> 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> > >> > html#nfs-shares-on-separate-server
> > >> > Step 4.5.7. Prepare the System VM Template
> > >> >
> > >> > I have mounted the secondary storage device on another NFS server
> > >> > and can see that its mounted.
> > >> > I added line below to my /etc/exports file also :
> > >> > /export *(rw,async,no_root_squash)
> > >> >
> > >> > Then I run cloud-install-sys-tmplt command below to retrieve and
> > >> > decompress the system VM template - For vSphere:
> > >> >
> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys
> > >> > -tm
> > >> > plt
> > >> > -m /mnt/secondary -u
> > >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0
> > ^C12012.
> > >> > ova
> > >> >  -h vmware -s welcome123 -F
> > >> >
> > >> > I get the following error -
> > >> > rm: cannot remove
> > >> >
> > >>
> >
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> > >> > Permission denied
> > >> > rm: cannot remove
> > >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> > >> > Permission denied
> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> > >> > Permission denied
> > >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> > >> > Permission denied
> > >> > rm: cannot remove
> > >> `/mnt/secondary/template/tmpl/1/8//template.properties':
> > >> > Permission denied Failed to clean up template directory
> > >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> > >> > Installation failed
> > >> >
> > >> > Did anyone of you face the same problem?
> > >> >
> > >> > Thanks and Regards.
> > >> >
> > >> > Asmita Patil Vagyani.
> > >> >
> > >> > -----Original Message-----
> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > >> > Sent: 31 December 2012 PM 02:50
> > >> > To: 'cloudstack-users@incubator.apache.org'
> > >> > Subject: RE: CloudStack Installation Query
> > >> >
> > >> > I am using RHEL
> > >> >
> > >> >
> > >> >
> > >> > Thanks and Regards.
> > >> >
> > >> > Asmita Patil Vagyani.
> > >> > Tech Lead,  Sigma Software Solutions, Pune,
> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> > >> >
> > >> >
> > >> > -----Original Message-----
> > >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> > >> > Sent: 31 December 2012 PM 02:43
> > >> > To: cloudstack-users@incubator.apache.org
> > >> > Subject: RE: CloudStack Installation Query
> > >> >
> > >> > Hi,
> > >> >
> > >> > Please use below path if your setup is on Ubuntu.:
> > >> >
> > >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-t
> > >> > mpl
> > >> > t
> > >> >
> > >> > Thanks,
> > >> > Sailaja.M
> > >> >
> > >> > -----Original Message-----
> > >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > >> > Sent: Monday, December 31, 2012 2:16 PM
> > >> > To: 'cloudstack-users@incubator.apache.org'
> > >> > Subject: RE: CloudStack Installation Query
> > >> >
> > >> > Hi all,
> > >> >
> > >> > I am following the Cloudstack 4 documentation for installation.
> > >> > Please refer
> > >> >
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
> > .
> > >> >
> 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> > >> > html#nfs-shares-on-separate-server
> > >> > Step 4.5.7. Prepare the System VM Template
> > >> >
> > >> > Its says to run one or more of the following
> > >> > cloud-install-sys-tmplt commands to retrieve and decompress the
> > >> > system VM template - For vSphere run command below:
> > >> > #
> > >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys
> > >> > -tm
> > >> > plt
> > >> > -m /mnt/secondary -u
> > >> >
> http://download.cloud.com/templates/burbank/burbank-systemvm-08012012
> > .
> > >> > ova-h vmware -s <optional-management-server-secret-key>  -F
> > >> >
> > >> > I made a correction in the file path and run the command as below:
> > >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys
> > >> > -tm
> > >> > plt
> > >> > -m /mnt/secondary -u
> > >> >
> http://download.cloud.com/templates/burbank/burbank-systemvm-08012012
> > .
> > >> > ova-hvmware -s welcome123 -F
> > >> >
> > >> > It gives an error command not found.
> > >> > cloud-install-sys-tmplt: command not found Any idea why this is not
> > >> > working?
> > >> >
> > >> > Thanks and Regards.
> > >> >
> > >> > Asmita Patil Vagyani.
> > >> > Tech Lead,  Sigma Software Solutions, Pune,
> > >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> > >> >
> > >> >
> > >> > -----Original Message-----
> > >> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> > >> > Sent: 28 December 2012 AM 10:48
> > >> > To: cloudstack-users@incubator.apache.org
> > >> > Subject: RE: CloudStack Installation Query
> > >> >
> > >> > Thank you for pointing out the errors in docs.
> > >> >
> > >> > Please file a documentation defect in case you find any.
> > >> >
> > >> > Thanks
> > >> > -Radhika
> > >> >
> > >> > -----Original Message-----
> > >> > From: sebgoa [mailto:runseb@gmail.com]
> > >> > Sent: Thursday, December 27, 2012 7:01 PM
> > >> > To: cloudstack-users@incubator.apache.org
> > >> > Subject: Re: CloudStack Installation Query
> > >> >
> > >> > Asmita,
> > >> >
> > >> > I believe there is an issue with the documentation.
> > >> >
> > >> > try to replace the baseurl with:
> > >> >
> > >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
> > >> >
> > >> > and do:
> > >> >
> > >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
> > >> >
> > >> >
> > >> > I have not tested it, so please let us know if it works or not.
> > >> >
> > >> > thanks,
> > >> >
> > >> > -Sebastien
> > >> >
> > >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
> > >> >
> > >> > > Hi,
> > >> > >
> > >> > > Thanks Jerry for clarifying.
> > >> > >
> > >> > > My next query is:
> > >> > > I am using an RPM-based system, I want to add the Yum repository
> > >> > > so that
> > >> > I can install CloudStack with Yum.
> > >> > > I have created a repos file under /etc/yum.repos.d.
> > >> > >
> > >> > > [cloudstack]
> > >> > > name=cloudstack
> > >> > > baseurl=http://server.url/downloads/rpm/stable/
> > >> > > enabled=1
> > >> > > gpgcheck=1
> > >> > >
> > >> > > Next you'll want to add the GPG key:
> > >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> > >> > >
> > >> > >
> > >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2. )
> > >> > > What will be the value of server.url?
> > >> > >
> > >> > > Thanks and Regards.
> > >> > >
> > >> > > Asmita
> > >> > >
> > >> > >
> > >> > > -----Original Message-----
> > >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> > >> > > Sent: 27 December 2012 PM 06:20
> > >> > > To: cloudstack-users@incubator.apache.org
> > >> > > Subject: Re: CloudStack Installation Query
> > >> > >
> > >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> > >> > >
> > >> > > Jerry
> > >> > >
> > >> > > ----- Original Message -----
> > >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
> > >> > > To: "cloudstack-users@incubator.apache.org"
> > >> > > <cl...@incubator.apache.org>
> > >> > > Sent: Thursday, December 27, 2012 8:33:05 PM
> > >> > > Subject: CloudStack Installation Query
> > >> > >
> > >> > > Hi,
> > >> > >
> > >> > > I am trying to install CloudStack 4 on the system.
> > >> > > I am having RHEL 6.3 system for the CloudStack Management server
> > >> > installation.
> > >> > >
> > >> > > I am following standard Installation guide to do so.
> > >> > > Location -
> > >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> > >> > > ck/4
> > >> .
> > >> > > 0.0-incubating/html/Installation_Guide/index.html
> > >> > > I am referring to Section 3, 3.5 and 3.6 particularly.
> > >> > >
> > >> > > I wanted to confirm if I should perform step in section 3.5 only
> > >> > > if my
> > >> > server OS is Ubuntu and perform steps in section 3.6 if my
> > >> > management server is RHEL server.
> > >> > > So, if I have RHEL OS I will just build RPMs and not DEBs,
> correct?
> > >> > >
> > >> > > Please clarify.
> > >> > >
> > >> > > Thanks and Regards.
> > >> > > Asmita.
> > >> > >
> > >> > >
> > >> >
> > >> > ShapeBlue provides a range of strategic and technical consulting
> > >> > and implementation services to help IT Service Providers and
> > >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s
> > >> > expertise, combined with CloudStack technology, allows IT Service
> > >> > Providers and Enterprises to deliver true, utility based, IaaS to
> > >> > the customer or
> > >> end-user.
> > >> >
> > >> > ________________________________
> > >> >
> > >> > This email and any attachments to it may be confidential and are
> > >> > intended solely for the use of the individual to whom it is
> addressed.
> > >> > Any views or opinions expressed are solely those of the author and
> > >> > do not necessarily represent those of Shape Blue Ltd. If you are
> > >> > not the intended recipient of this email, you must neither take any
> > >> > action based upon its contents, nor copy or show it to anyone.
> > >> > Please contact the sender if you believe you have received this
> > >> > email in error. Shape Blue Ltd is a company incorporated in England
> &
> > Wales.
> > >> >
> > >>
> > >
> > >
> >
>

Re: CloudStack Installation Query

Posted by Marc Cirauqui <mc...@gmail.com>.
I've been unable to find cloud-setup-management in the docs, did you run it?

thx


On Thu, Jan 3, 2013 at 3:21 PM, Asmita Vagyani <
Asmita.Vagyani@sigma-systems.com> wrote:

> I used this command to deploy DB.
>
> $ cloud-setup-databases cloud:sigma123@localhost--deploy-as=root:sigma123 -e file -m password -k password
>
> Output was :
>
> Mysql user name:cloud
>       [ OK ]
> Mysql user password:sigma123
>      [ OK ]
> Mysql server ip:localhost
>       [ OK ]
> Mysql server port:3306
>      [ OK ]
> Mysql root user name:root
>       [ OK ]
> Mysql root user password:sigma123
>       [ OK ]
> Checking Cloud database files ...
>       [ OK ]
> Checking local machine hostname ...
>       [ OK ]
> Checking SELinux setup ...
>      [ OK ]
> Detected local IP address as <LOCAL IP address> will use as cluster
> management server node IP[ OK ]
> Preparing /etc/cloud/management/db.properties
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-database-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-schema-premium.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/server-setup.sql
>      [ OK ]
> Applying /usr/share/cloud/setup/templates.sql
>       [ OK ]
> Applying /usr/share/cloud/setup/create-index-fk.sql
>       [ OK ]
> Processing encryption ...
>       [ OK ]
> Finalizing setup ...
>      [ OK ]
>
> CloudStack has successfully initialized database, you can check your
> database configuration in /etc/cloud/management/db.properties
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 PM 07:47
> To: cloudstack-users
> Subject: Re: CloudStack Installation Query
>
> What was the output of cloud-setup-databases command?
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:
>
> > Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on your
> > management server...".
> >
> > If it's there, I guess you did it (right?). Then may be a permissions
> > problem or NFSv4 in use. I read problems with people using NFSv4 in
> > this mailing list.
> >
> > thx
> >
> >
> > On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <
> > Asmita.Vagyani@sigma-systems.com> wrote:
> >
> >> Hi Marc,
> >> I am using a separate NFS server for secondary storage, I think the
> >> way you are going with is when you have nfs shared folder on the same
> >> management server and mount it there itself.
> >> Am I right?
> >>
> >>
> >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
> >> .0.0-incubating/html/Installation_Guide/management-server-install-flo
> >> w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS
> >> Server
> >>
> >>
> >> Thanks and Regards.
> >>
> >> Asmita Patil Vagyani.
> >> Tech Lead,  Sigma Software Solutions, Pune,
> >> T: +91-20-25661992 / 93 / 94. Extn. : 286
> >>
> >>
> >> -----Original Message-----
> >> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> >> Sent: 03 January 2013 PM 07:30
> >> To: cloudstack-users
> >> Subject: Re: CloudStack Installation Query
> >>
> >> My point was that as the path given to the cloud-install-sys-tmplt
> >> command
> >> (/mnt/secondary) and export path (/export), you need to mount the
> >> export path for secondary storage (/export) on /mnt/secondary
> >> otherwise system vm template won't be able to download to primary
> storage.
> >>
> >> thx.
> >>
> >>
> >> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
> >> geoff.higginbottom@shapeblue.com> wrote:
> >>
> >> > Hi Asmita,
> >> >
> >> > You don't have to, but its best practice to do so.
> >> >
> >> > When you deploy a new Zone, the first thing that happens is that
> >> > the System VM Template, which you will have seeded to Secondary
> >> > Storage is used to deploy the SSVM and CPVM, the SSVM then connects
> >> > to the Internet and downloads an example Template and places it on
> >> > secondary
> >> storage.
> >> >
> >> > All the above happens automatically as long as the configuration of
> >> > the Compute, Storage and Networking Layers is correct, and seeing
> >> > it happen is a great sanity check that everything is configured
> correctly.
> >> >
> >> > Skipping configuring the Secondary Storage, and seeding it with the
> >> > appropriate System VM Templates for your chosen Hypervisors will
> >> > not break anything, and it can be added later, but as you have to
> >> > do it at some point, you might as well do it at the beginning.
> >> >
> >> > Regards
> >> >
> >> > Geoff
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 13:34
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > Is it a mandate that we have to configure/mount a secondary storage
> >> > nfs server before cloudstack management server installation?
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 03 January 2013 PM 12:49
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation on
> RHEL.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > I have mounted the secondary storage device on another NFS server
> >> > and can see that its mounted.
> >> > I added line below to my /etc/exports file also :
> >> > /export *(rw,async,no_root_squash)
> >> >
> >> > Then I run cloud-install-sys-tmplt command below to retrieve and
> >> > decompress the system VM template - For vSphere:
> >> >
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-0
> ^C12012.
> >> > ova
> >> >  -h vmware -s welcome123 -F
> >> >
> >> > I get the following error -
> >> > rm: cannot remove
> >> >
> >>
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> >> > Permission denied
> >> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> >> > Permission denied
> >> > rm: cannot remove
> >> `/mnt/secondary/template/tmpl/1/8//template.properties':
> >> > Permission denied Failed to clean up template directory
> >> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> >> > Installation failed
> >> >
> >> > Did anyone of you face the same problem?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: 31 December 2012 PM 02:50
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > I am using RHEL
> >> >
> >> >
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> >> > Sent: 31 December 2012 PM 02:43
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi,
> >> >
> >> > Please use below path if your setup is on Ubuntu.:
> >> >
> >> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-t
> >> > mpl
> >> > t
> >> >
> >> > Thanks,
> >> > Sailaja.M
> >> >
> >> > -----Original Message-----
> >> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> >> > Sent: Monday, December 31, 2012 2:16 PM
> >> > To: 'cloudstack-users@incubator.apache.org'
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Hi all,
> >> >
> >> > I am following the Cloudstack 4 documentation for installation.
> >> > Please refer
> >> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
> .
> >> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> >> > html#nfs-shares-on-separate-server
> >> > Step 4.5.7. Prepare the System VM Template
> >> >
> >> > Its says to run one or more of the following
> >> > cloud-install-sys-tmplt commands to retrieve and decompress the
> >> > system VM template - For vSphere run command below:
> >> > #
> >> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012
> .
> >> > ova-h vmware -s <optional-management-server-secret-key>  -F
> >> >
> >> > I made a correction in the file path and run the command as below:
> >> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys
> >> > -tm
> >> > plt
> >> > -m /mnt/secondary -u
> >> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012
> .
> >> > ova-hvmware -s welcome123 -F
> >> >
> >> > It gives an error command not found.
> >> > cloud-install-sys-tmplt: command not found Any idea why this is not
> >> > working?
> >> >
> >> > Thanks and Regards.
> >> >
> >> > Asmita Patil Vagyani.
> >> > Tech Lead,  Sigma Software Solutions, Pune,
> >> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> >> > Sent: 28 December 2012 AM 10:48
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: RE: CloudStack Installation Query
> >> >
> >> > Thank you for pointing out the errors in docs.
> >> >
> >> > Please file a documentation defect in case you find any.
> >> >
> >> > Thanks
> >> > -Radhika
> >> >
> >> > -----Original Message-----
> >> > From: sebgoa [mailto:runseb@gmail.com]
> >> > Sent: Thursday, December 27, 2012 7:01 PM
> >> > To: cloudstack-users@incubator.apache.org
> >> > Subject: Re: CloudStack Installation Query
> >> >
> >> > Asmita,
> >> >
> >> > I believe there is an issue with the documentation.
> >> >
> >> > try to replace the baseurl with:
> >> >
> >> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
> >> >
> >> > and do:
> >> >
> >> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
> >> >
> >> >
> >> > I have not tested it, so please let us know if it works or not.
> >> >
> >> > thanks,
> >> >
> >> > -Sebastien
> >> >
> >> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > Thanks Jerry for clarifying.
> >> > >
> >> > > My next query is:
> >> > > I am using an RPM-based system, I want to add the Yum repository
> >> > > so that
> >> > I can install CloudStack with Yum.
> >> > > I have created a repos file under /etc/yum.repos.d.
> >> > >
> >> > > [cloudstack]
> >> > > name=cloudstack
> >> > > baseurl=http://server.url/downloads/rpm/stable/
> >> > > enabled=1
> >> > > gpgcheck=1
> >> > >
> >> > > Next you'll want to add the GPG key:
> >> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> >> > >
> >> > >
> >> > > (Refer Documentation of CloudStack Installation -Section 4.4.2. )
> >> > > What will be the value of server.url?
> >> > >
> >> > > Thanks and Regards.
> >> > >
> >> > > Asmita
> >> > >
> >> > >
> >> > > -----Original Message-----
> >> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> >> > > Sent: 27 December 2012 PM 06:20
> >> > > To: cloudstack-users@incubator.apache.org
> >> > > Subject: Re: CloudStack Installation Query
> >> > >
> >> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> >> > >
> >> > > Jerry
> >> > >
> >> > > ----- Original Message -----
> >> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
> >> > > To: "cloudstack-users@incubator.apache.org"
> >> > > <cl...@incubator.apache.org>
> >> > > Sent: Thursday, December 27, 2012 8:33:05 PM
> >> > > Subject: CloudStack Installation Query
> >> > >
> >> > > Hi,
> >> > >
> >> > > I am trying to install CloudStack 4 on the system.
> >> > > I am having RHEL 6.3 system for the CloudStack Management server
> >> > installation.
> >> > >
> >> > > I am following standard Installation guide to do so.
> >> > > Location -
> >> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
> >> > > ck/4
> >> .
> >> > > 0.0-incubating/html/Installation_Guide/index.html
> >> > > I am referring to Section 3, 3.5 and 3.6 particularly.
> >> > >
> >> > > I wanted to confirm if I should perform step in section 3.5 only
> >> > > if my
> >> > server OS is Ubuntu and perform steps in section 3.6 if my
> >> > management server is RHEL server.
> >> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> >> > >
> >> > > Please clarify.
> >> > >
> >> > > Thanks and Regards.
> >> > > Asmita.
> >> > >
> >> > >
> >> >
> >> > ShapeBlue provides a range of strategic and technical consulting
> >> > and implementation services to help IT Service Providers and
> >> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s
> >> > expertise, combined with CloudStack technology, allows IT Service
> >> > Providers and Enterprises to deliver true, utility based, IaaS to
> >> > the customer or
> >> end-user.
> >> >
> >> > ________________________________
> >> >
> >> > This email and any attachments to it may be confidential and are
> >> > intended solely for the use of the individual to whom it is addressed.
> >> > Any views or opinions expressed are solely those of the author and
> >> > do not necessarily represent those of Shape Blue Ltd. If you are
> >> > not the intended recipient of this email, you must neither take any
> >> > action based upon its contents, nor copy or show it to anyone.
> >> > Please contact the sender if you believe you have received this
> >> > email in error. Shape Blue Ltd is a company incorporated in England &
> Wales.
> >> >
> >>
> >
> >
>

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
I used this command to deploy DB.

$ cloud-setup-databases cloud:sigma123@localhost --deploy-as=root:sigma123 -e file -m password -k password

Output was :

Mysql user name:cloud                                                           [ OK ]
Mysql user password:sigma123                                                    [ OK ]
Mysql server ip:localhost                                                       [ OK ]
Mysql server port:3306                                                          [ OK ]
Mysql root user name:root                                                       [ OK ]
Mysql root user password:sigma123                                               [ OK ]
Checking Cloud database files ...                                               [ OK ]
Checking local machine hostname ...                                             [ OK ]
Checking SELinux setup ...                                                      [ OK ]
Detected local IP address as <LOCAL IP address> will use as cluster management server node IP[ OK ]
Preparing /etc/cloud/management/db.properties                                   [ OK ]
Applying /usr/share/cloud/setup/create-database.sql                             [ OK ]
Applying /usr/share/cloud/setup/create-schema.sql                               [ OK ]
Applying /usr/share/cloud/setup/create-database-premium.sql                     [ OK ]
Applying /usr/share/cloud/setup/create-schema-premium.sql                       [ OK ]
Applying /usr/share/cloud/setup/server-setup.sql                                [ OK ]
Applying /usr/share/cloud/setup/templates.sql                                   [ OK ]
Applying /usr/share/cloud/setup/create-index-fk.sql                             [ OK ]
Processing encryption ...                                                       [ OK ]
Finalizing setup ...                                                            [ OK ]

CloudStack has successfully initialized database, you can check your database configuration in /etc/cloud/management/db.properties



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com] 
Sent: 03 January 2013 PM 07:47
To: cloudstack-users
Subject: Re: CloudStack Installation Query

What was the output of cloud-setup-databases command?

thx


On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:

> Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on your 
> management server...".
>
> If it's there, I guess you did it (right?). Then may be a permissions 
> problem or NFSv4 in use. I read problems with people using NFSv4 in 
> this mailing list.
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani < 
> Asmita.Vagyani@sigma-systems.com> wrote:
>
>> Hi Marc,
>> I am using a separate NFS server for secondary storage, I think the 
>> way you are going with is when you have nfs shared folder on the same 
>> management server and mount it there itself.
>> Am I right?
>>
>>
>> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
>> .0.0-incubating/html/Installation_Guide/management-server-install-flo
>> w.html#prepare-nfs-shares Section 4.5.5.1. Using a Separate NFS 
>> Server
>>
>>
>> Thanks and Regards.
>>
>> Asmita Patil Vagyani.
>> Tech Lead,  Sigma Software Solutions, Pune,
>> T: +91-20-25661992 / 93 / 94. Extn. : 286
>>
>>
>> -----Original Message-----
>> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>> Sent: 03 January 2013 PM 07:30
>> To: cloudstack-users
>> Subject: Re: CloudStack Installation Query
>>
>> My point was that as the path given to the cloud-install-sys-tmplt 
>> command
>> (/mnt/secondary) and export path (/export), you need to mount the 
>> export path for secondary storage (/export) on /mnt/secondary 
>> otherwise system vm template won't be able to download to primary storage.
>>
>> thx.
>>
>>
>> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom < 
>> geoff.higginbottom@shapeblue.com> wrote:
>>
>> > Hi Asmita,
>> >
>> > You don't have to, but its best practice to do so.
>> >
>> > When you deploy a new Zone, the first thing that happens is that 
>> > the System VM Template, which you will have seeded to Secondary 
>> > Storage is used to deploy the SSVM and CPVM, the SSVM then connects 
>> > to the Internet and downloads an example Template and places it on 
>> > secondary
>> storage.
>> >
>> > All the above happens automatically as long as the configuration of 
>> > the Compute, Storage and Networking Layers is correct, and seeing 
>> > it happen is a great sanity check that everything is configured correctly.
>> >
>> > Skipping configuring the Secondary Storage, and seeding it with the 
>> > appropriate System VM Templates for your chosen Hypervisors will 
>> > not break anything, and it can be added later, but as you have to 
>> > do it at some point, you might as well do it at the beginning.
>> >
>> > Regards
>> >
>> > Geoff
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: 03 January 2013 13:34
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi all,
>> >
>> > Is it a mandate that we have to configure/mount a secondary storage 
>> > nfs server before cloudstack management server installation?
>> >
>> >
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> > Tech Lead,  Sigma Software Solutions, Pune,
>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>> >
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: 03 January 2013 PM 12:49
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi all,
>> >
>> > I am following the Cloudstack 4 documentation for installation on RHEL.
>> > Please refer
>> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
>> > html#nfs-shares-on-separate-server
>> > Step 4.5.7. Prepare the System VM Template
>> >
>> > I have mounted the secondary storage device on another NFS server 
>> > and can see that its mounted.
>> > I added line below to my /etc/exports file also :
>> > /export *(rw,async,no_root_squash)
>> >
>> > Then I run cloud-install-sys-tmplt command below to retrieve and 
>> > decompress the system VM template - For vSphere:
>> >
>> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys
>> > -tm
>> > plt
>> > -m /mnt/secondary -u
>> > http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.
>> > ova
>> >  -h vmware -s welcome123 -F
>> >
>> > I get the following error -
>> > rm: cannot remove
>> >
>> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
>> > Permission denied
>> > rm: cannot remove
>> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
>> > Permission denied
>> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
>> > Permission denied
>> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
>> > Permission denied
>> > rm: cannot remove
>> `/mnt/secondary/template/tmpl/1/8//template.properties':
>> > Permission denied Failed to clean up template directory 
>> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
>> > Installation failed
>> >
>> > Did anyone of you face the same problem?
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: 31 December 2012 PM 02:50
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > I am using RHEL
>> >
>> >
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> > Tech Lead,  Sigma Software Solutions, Pune,
>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>> >
>> >
>> > -----Original Message-----
>> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
>> > Sent: 31 December 2012 PM 02:43
>> > To: cloudstack-users@incubator.apache.org
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi,
>> >
>> > Please use below path if your setup is on Ubuntu.:
>> >
>> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-t
>> > mpl
>> > t
>> >
>> > Thanks,
>> > Sailaja.M
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: Monday, December 31, 2012 2:16 PM
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi all,
>> >
>> > I am following the Cloudstack 4 documentation for installation.
>> > Please refer
>> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
>> > html#nfs-shares-on-separate-server
>> > Step 4.5.7. Prepare the System VM Template
>> >
>> > Its says to run one or more of the following 
>> > cloud-install-sys-tmplt commands to retrieve and decompress the 
>> > system VM template - For vSphere run command below:
>> > #
>> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys
>> > -tm
>> > plt
>> > -m /mnt/secondary -u
>> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
>> > ova-h vmware -s <optional-management-server-secret-key>  -F
>> >
>> > I made a correction in the file path and run the command as below:
>> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys
>> > -tm
>> > plt
>> > -m /mnt/secondary -u
>> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
>> > ova-hvmware -s welcome123 -F
>> >
>> > It gives an error command not found.
>> > cloud-install-sys-tmplt: command not found Any idea why this is not 
>> > working?
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> > Tech Lead,  Sigma Software Solutions, Pune,
>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>> >
>> >
>> > -----Original Message-----
>> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
>> > Sent: 28 December 2012 AM 10:48
>> > To: cloudstack-users@incubator.apache.org
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Thank you for pointing out the errors in docs.
>> >
>> > Please file a documentation defect in case you find any.
>> >
>> > Thanks
>> > -Radhika
>> >
>> > -----Original Message-----
>> > From: sebgoa [mailto:runseb@gmail.com]
>> > Sent: Thursday, December 27, 2012 7:01 PM
>> > To: cloudstack-users@incubator.apache.org
>> > Subject: Re: CloudStack Installation Query
>> >
>> > Asmita,
>> >
>> > I believe there is an issue with the documentation.
>> >
>> > try to replace the baseurl with:
>> >
>> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
>> >
>> > and do:
>> >
>> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
>> >
>> >
>> > I have not tested it, so please let us know if it works or not.
>> >
>> > thanks,
>> >
>> > -Sebastien
>> >
>> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
>> >
>> > > Hi,
>> > >
>> > > Thanks Jerry for clarifying.
>> > >
>> > > My next query is:
>> > > I am using an RPM-based system, I want to add the Yum repository 
>> > > so that
>> > I can install CloudStack with Yum.
>> > > I have created a repos file under /etc/yum.repos.d.
>> > >
>> > > [cloudstack]
>> > > name=cloudstack
>> > > baseurl=http://server.url/downloads/rpm/stable/
>> > > enabled=1
>> > > gpgcheck=1
>> > >
>> > > Next you'll want to add the GPG key:
>> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
>> > >
>> > >
>> > > (Refer Documentation of CloudStack Installation -Section 4.4.2. ) 
>> > > What will be the value of server.url?
>> > >
>> > > Thanks and Regards.
>> > >
>> > > Asmita
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
>> > > Sent: 27 December 2012 PM 06:20
>> > > To: cloudstack-users@incubator.apache.org
>> > > Subject: Re: CloudStack Installation Query
>> > >
>> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
>> > >
>> > > Jerry
>> > >
>> > > ----- Original Message -----
>> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
>> > > To: "cloudstack-users@incubator.apache.org"
>> > > <cl...@incubator.apache.org>
>> > > Sent: Thursday, December 27, 2012 8:33:05 PM
>> > > Subject: CloudStack Installation Query
>> > >
>> > > Hi,
>> > >
>> > > I am trying to install CloudStack 4 on the system.
>> > > I am having RHEL 6.3 system for the CloudStack Management server
>> > installation.
>> > >
>> > > I am following standard Installation guide to do so.
>> > > Location -
>> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudSta
>> > > ck/4
>> .
>> > > 0.0-incubating/html/Installation_Guide/index.html
>> > > I am referring to Section 3, 3.5 and 3.6 particularly.
>> > >
>> > > I wanted to confirm if I should perform step in section 3.5 only 
>> > > if my
>> > server OS is Ubuntu and perform steps in section 3.6 if my 
>> > management server is RHEL server.
>> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
>> > >
>> > > Please clarify.
>> > >
>> > > Thanks and Regards.
>> > > Asmita.
>> > >
>> > >
>> >
>> > ShapeBlue provides a range of strategic and technical consulting 
>> > and implementation services to help IT Service Providers and 
>> > Enterprises to build a true IaaS compute cloud. ShapeBlue’s 
>> > expertise, combined with CloudStack technology, allows IT Service 
>> > Providers and Enterprises to deliver true, utility based, IaaS to 
>> > the customer or
>> end-user.
>> >
>> > ________________________________
>> >
>> > This email and any attachments to it may be confidential and are 
>> > intended solely for the use of the individual to whom it is addressed.
>> > Any views or opinions expressed are solely those of the author and 
>> > do not necessarily represent those of Shape Blue Ltd. If you are 
>> > not the intended recipient of this email, you must neither take any 
>> > action based upon its contents, nor copy or show it to anyone. 
>> > Please contact the sender if you believe you have received this 
>> > email in error. Shape Blue Ltd is a company incorporated in England & Wales.
>> >
>>
>
>

Re: CloudStack Installation Query

Posted by Marc Cirauqui <mc...@gmail.com>.
What was the output of cloud-setup-databases command?

thx


On Thu, Jan 3, 2013 at 3:16 PM, Marc Cirauqui <mc...@gmail.com> wrote:

> Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on your
> management server...".
>
> If it's there, I guess you did it (right?). Then may be a permissions
> problem or NFSv4 in use. I read problems with people using NFSv4 in this
> mailing list.
>
> thx
>
>
> On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <
> Asmita.Vagyani@sigma-systems.com> wrote:
>
>> Hi Marc,
>> I am using a separate NFS server for secondary storage, I think the way
>> you are going with is when you have nfs shared folder on the same
>> management server and mount it there itself.
>> Am I right?
>>
>>
>> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#prepare-nfs-shares
>> Section 4.5.5.1. Using a Separate NFS Server
>>
>>
>> Thanks and Regards.
>>
>> Asmita Patil Vagyani.
>> Tech Lead,  Sigma Software Solutions, Pune,
>> T: +91-20-25661992 / 93 / 94. Extn. : 286
>>
>>
>> -----Original Message-----
>> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>> Sent: 03 January 2013 PM 07:30
>> To: cloudstack-users
>> Subject: Re: CloudStack Installation Query
>>
>> My point was that as the path given to the cloud-install-sys-tmplt command
>> (/mnt/secondary) and export path (/export), you need to mount the export
>> path for secondary storage (/export) on /mnt/secondary otherwise system vm
>> template won't be able to download to primary storage.
>>
>> thx.
>>
>>
>> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
>> geoff.higginbottom@shapeblue.com> wrote:
>>
>> > Hi Asmita,
>> >
>> > You don't have to, but its best practice to do so.
>> >
>> > When you deploy a new Zone, the first thing that happens is that the
>> > System VM Template, which you will have seeded to Secondary Storage is
>> > used to deploy the SSVM and CPVM, the SSVM then connects to the
>> > Internet and downloads an example Template and places it on secondary
>> storage.
>> >
>> > All the above happens automatically as long as the configuration of
>> > the Compute, Storage and Networking Layers is correct, and seeing it
>> > happen is a great sanity check that everything is configured correctly.
>> >
>> > Skipping configuring the Secondary Storage, and seeding it with the
>> > appropriate System VM Templates for your chosen Hypervisors will not
>> > break anything, and it can be added later, but as you have to do it at
>> > some point, you might as well do it at the beginning.
>> >
>> > Regards
>> >
>> > Geoff
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: 03 January 2013 13:34
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi all,
>> >
>> > Is it a mandate that we have to configure/mount a secondary storage
>> > nfs server before cloudstack management server installation?
>> >
>> >
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> > Tech Lead,  Sigma Software Solutions, Pune,
>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>> >
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: 03 January 2013 PM 12:49
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi all,
>> >
>> > I am following the Cloudstack 4 documentation for installation on RHEL.
>> > Please refer
>> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
>> > html#nfs-shares-on-separate-server
>> > Step 4.5.7. Prepare the System VM Template
>> >
>> > I have mounted the secondary storage device on another NFS server and
>> > can see that its mounted.
>> > I added line below to my /etc/exports file also :
>> > /export *(rw,async,no_root_squash)
>> >
>> > Then I run cloud-install-sys-tmplt command below to retrieve and
>> > decompress the system VM template - For vSphere:
>> >
>> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tm
>> > plt
>> > -m /mnt/secondary -u
>> > http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.
>> > ova
>> >  -h vmware -s welcome123 -F
>> >
>> > I get the following error -
>> > rm: cannot remove
>> >
>> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
>> > Permission denied
>> > rm: cannot remove
>> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
>> > Permission denied
>> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
>> > Permission denied
>> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
>> > Permission denied
>> > rm: cannot remove
>> `/mnt/secondary/template/tmpl/1/8//template.properties':
>> > Permission denied Failed to clean up template directory
>> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
>> > Installation failed
>> >
>> > Did anyone of you face the same problem?
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: 31 December 2012 PM 02:50
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > I am using RHEL
>> >
>> >
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> > Tech Lead,  Sigma Software Solutions, Pune,
>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>> >
>> >
>> > -----Original Message-----
>> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
>> > Sent: 31 December 2012 PM 02:43
>> > To: cloudstack-users@incubator.apache.org
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi,
>> >
>> > Please use below path if your setup is on Ubuntu.:
>> >
>> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmpl
>> > t
>> >
>> > Thanks,
>> > Sailaja.M
>> >
>> > -----Original Message-----
>> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> > Sent: Monday, December 31, 2012 2:16 PM
>> > To: 'cloudstack-users@incubator.apache.org'
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Hi all,
>> >
>> > I am following the Cloudstack 4 documentation for installation.
>> > Please refer
>> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
>> > html#nfs-shares-on-separate-server
>> > Step 4.5.7. Prepare the System VM Template
>> >
>> > Its says to run one or more of the following cloud-install-sys-tmplt
>> > commands to retrieve and decompress the system VM template - For
>> > vSphere run command below:
>> > #
>> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tm
>> > plt
>> > -m /mnt/secondary -u
>> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
>> > ova-h vmware -s <optional-management-server-secret-key>  -F
>> >
>> > I made a correction in the file path and run the command as below:
>> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tm
>> > plt
>> > -m /mnt/secondary -u
>> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
>> > ova-hvmware -s welcome123 -F
>> >
>> > It gives an error command not found.
>> > cloud-install-sys-tmplt: command not found Any idea why this is not
>> > working?
>> >
>> > Thanks and Regards.
>> >
>> > Asmita Patil Vagyani.
>> > Tech Lead,  Sigma Software Solutions, Pune,
>> > T: +91-20-25661992 / 93 / 94. Extn. : 286
>> >
>> >
>> > -----Original Message-----
>> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
>> > Sent: 28 December 2012 AM 10:48
>> > To: cloudstack-users@incubator.apache.org
>> > Subject: RE: CloudStack Installation Query
>> >
>> > Thank you for pointing out the errors in docs.
>> >
>> > Please file a documentation defect in case you find any.
>> >
>> > Thanks
>> > -Radhika
>> >
>> > -----Original Message-----
>> > From: sebgoa [mailto:runseb@gmail.com]
>> > Sent: Thursday, December 27, 2012 7:01 PM
>> > To: cloudstack-users@incubator.apache.org
>> > Subject: Re: CloudStack Installation Query
>> >
>> > Asmita,
>> >
>> > I believe there is an issue with the documentation.
>> >
>> > try to replace the baseurl with:
>> >
>> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
>> >
>> > and do:
>> >
>> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
>> >
>> >
>> > I have not tested it, so please let us know if it works or not.
>> >
>> > thanks,
>> >
>> > -Sebastien
>> >
>> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
>> >
>> > > Hi,
>> > >
>> > > Thanks Jerry for clarifying.
>> > >
>> > > My next query is:
>> > > I am using an RPM-based system, I want to add the Yum repository so
>> > > that
>> > I can install CloudStack with Yum.
>> > > I have created a repos file under /etc/yum.repos.d.
>> > >
>> > > [cloudstack]
>> > > name=cloudstack
>> > > baseurl=http://server.url/downloads/rpm/stable/
>> > > enabled=1
>> > > gpgcheck=1
>> > >
>> > > Next you'll want to add the GPG key:
>> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
>> > >
>> > >
>> > > (Refer Documentation of CloudStack Installation -Section 4.4.2. )
>> > > What will be the value of server.url?
>> > >
>> > > Thanks and Regards.
>> > >
>> > > Asmita
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
>> > > Sent: 27 December 2012 PM 06:20
>> > > To: cloudstack-users@incubator.apache.org
>> > > Subject: Re: CloudStack Installation Query
>> > >
>> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
>> > >
>> > > Jerry
>> > >
>> > > ----- Original Message -----
>> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
>> > > To: "cloudstack-users@incubator.apache.org"
>> > > <cl...@incubator.apache.org>
>> > > Sent: Thursday, December 27, 2012 8:33:05 PM
>> > > Subject: CloudStack Installation Query
>> > >
>> > > Hi,
>> > >
>> > > I am trying to install CloudStack 4 on the system.
>> > > I am having RHEL 6.3 system for the CloudStack Management server
>> > installation.
>> > >
>> > > I am following standard Installation guide to do so.
>> > > Location -
>> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4
>> .
>> > > 0.0-incubating/html/Installation_Guide/index.html
>> > > I am referring to Section 3, 3.5 and 3.6 particularly.
>> > >
>> > > I wanted to confirm if I should perform step in section 3.5 only if
>> > > my
>> > server OS is Ubuntu and perform steps in section 3.6 if my management
>> > server is RHEL server.
>> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
>> > >
>> > > Please clarify.
>> > >
>> > > Thanks and Regards.
>> > > Asmita.
>> > >
>> > >
>> >
>> > ShapeBlue provides a range of strategic and technical consulting and
>> > implementation services to help IT Service Providers and Enterprises
>> > to build a true IaaS compute cloud. ShapeBlue’s expertise, combined
>> > with CloudStack technology, allows IT Service Providers and
>> > Enterprises to deliver true, utility based, IaaS to the customer or
>> end-user.
>> >
>> > ________________________________
>> >
>> > This email and any attachments to it may be confidential and are
>> > intended solely for the use of the individual to whom it is addressed.
>> > Any views or opinions expressed are solely those of the author and do
>> > not necessarily represent those of Shape Blue Ltd. If you are not the
>> > intended recipient of this email, you must neither take any action
>> > based upon its contents, nor copy or show it to anyone. Please contact
>> > the sender if you believe you have received this email in error. Shape
>> > Blue Ltd is a company incorporated in England & Wales.
>> >
>>
>
>

Re: CloudStack Installation Query

Posted by Marc Cirauqui <mc...@gmail.com>.
Hi, just pinting point 5 in 4.5.5.1, "Mount secondary storage on your
management server...".

If it's there, I guess you did it (right?). Then may be a permissions
problem or NFSv4 in use. I read problems with people using NFSv4 in this
mailing list.

thx


On Thu, Jan 3, 2013 at 3:08 PM, Asmita Vagyani <
Asmita.Vagyani@sigma-systems.com> wrote:

> Hi Marc,
> I am using a separate NFS server for secondary storage, I think the way
> you are going with is when you have nfs shared folder on the same
> management server and mount it there itself.
> Am I right?
>
>
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#prepare-nfs-shares
> Section 4.5.5.1. Using a Separate NFS Server
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 PM 07:30
> To: cloudstack-users
> Subject: Re: CloudStack Installation Query
>
> My point was that as the path given to the cloud-install-sys-tmplt command
> (/mnt/secondary) and export path (/export), you need to mount the export
> path for secondary storage (/export) on /mnt/secondary otherwise system vm
> template won't be able to download to primary storage.
>
> thx.
>
>
> On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
> geoff.higginbottom@shapeblue.com> wrote:
>
> > Hi Asmita,
> >
> > You don't have to, but its best practice to do so.
> >
> > When you deploy a new Zone, the first thing that happens is that the
> > System VM Template, which you will have seeded to Secondary Storage is
> > used to deploy the SSVM and CPVM, the SSVM then connects to the
> > Internet and downloads an example Template and places it on secondary
> storage.
> >
> > All the above happens automatically as long as the configuration of
> > the Compute, Storage and Networking Layers is correct, and seeing it
> > happen is a great sanity check that everything is configured correctly.
> >
> > Skipping configuring the Secondary Storage, and seeding it with the
> > appropriate System VM Templates for your chosen Hypervisors will not
> > break anything, and it can be added later, but as you have to do it at
> > some point, you might as well do it at the beginning.
> >
> > Regards
> >
> > Geoff
> >
> > -----Original Message-----
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > Sent: 03 January 2013 13:34
> > To: 'cloudstack-users@incubator.apache.org'
> > Subject: RE: CloudStack Installation Query
> >
> > Hi all,
> >
> > Is it a mandate that we have to configure/mount a secondary storage
> > nfs server before cloudstack management server installation?
> >
> >
> >
> > Thanks and Regards.
> >
> > Asmita Patil Vagyani.
> > Tech Lead,  Sigma Software Solutions, Pune,
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >
> >
> > -----Original Message-----
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > Sent: 03 January 2013 PM 12:49
> > To: 'cloudstack-users@incubator.apache.org'
> > Subject: RE: CloudStack Installation Query
> >
> > Hi all,
> >
> > I am following the Cloudstack 4 documentation for installation on RHEL.
> > Please refer
> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> > html#nfs-shares-on-separate-server
> > Step 4.5.7. Prepare the System VM Template
> >
> > I have mounted the secondary storage device on another NFS server and
> > can see that its mounted.
> > I added line below to my /etc/exports file also :
> > /export *(rw,async,no_root_squash)
> >
> > Then I run cloud-install-sys-tmplt command below to retrieve and
> > decompress the system VM template - For vSphere:
> >
> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tm
> > plt
> > -m /mnt/secondary -u
> > http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.
> > ova
> >  -h vmware -s welcome123 -F
> >
> > I get the following error -
> > rm: cannot remove
> >
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> > Permission denied
> > rm: cannot remove
> `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> > Permission denied
> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> > Permission denied
> > rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> > Permission denied
> > rm: cannot remove
> `/mnt/secondary/template/tmpl/1/8//template.properties':
> > Permission denied Failed to clean up template directory
> > /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> > Installation failed
> >
> > Did anyone of you face the same problem?
> >
> > Thanks and Regards.
> >
> > Asmita Patil Vagyani.
> >
> > -----Original Message-----
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > Sent: 31 December 2012 PM 02:50
> > To: 'cloudstack-users@incubator.apache.org'
> > Subject: RE: CloudStack Installation Query
> >
> > I am using RHEL
> >
> >
> >
> > Thanks and Regards.
> >
> > Asmita Patil Vagyani.
> > Tech Lead,  Sigma Software Solutions, Pune,
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >
> >
> > -----Original Message-----
> > From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> > Sent: 31 December 2012 PM 02:43
> > To: cloudstack-users@incubator.apache.org
> > Subject: RE: CloudStack Installation Query
> >
> > Hi,
> >
> > Please use below path if your setup is on Ubuntu.:
> >
> > /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmpl
> > t
> >
> > Thanks,
> > Sailaja.M
> >
> > -----Original Message-----
> > From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> > Sent: Monday, December 31, 2012 2:16 PM
> > To: 'cloudstack-users@incubator.apache.org'
> > Subject: RE: CloudStack Installation Query
> >
> > Hi all,
> >
> > I am following the Cloudstack 4 documentation for installation.
> > Please refer
> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> > 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> > html#nfs-shares-on-separate-server
> > Step 4.5.7. Prepare the System VM Template
> >
> > Its says to run one or more of the following cloud-install-sys-tmplt
> > commands to retrieve and decompress the system VM template - For
> > vSphere run command below:
> > #
> > /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tm
> > plt
> > -m /mnt/secondary -u
> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
> > ova-h vmware -s <optional-management-server-secret-key>  -F
> >
> > I made a correction in the file path and run the command as below:
> > #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tm
> > plt
> > -m /mnt/secondary -u
> > http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
> > ova-hvmware -s welcome123 -F
> >
> > It gives an error command not found.
> > cloud-install-sys-tmplt: command not found Any idea why this is not
> > working?
> >
> > Thanks and Regards.
> >
> > Asmita Patil Vagyani.
> > Tech Lead,  Sigma Software Solutions, Pune,
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >
> >
> > -----Original Message-----
> > From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> > Sent: 28 December 2012 AM 10:48
> > To: cloudstack-users@incubator.apache.org
> > Subject: RE: CloudStack Installation Query
> >
> > Thank you for pointing out the errors in docs.
> >
> > Please file a documentation defect in case you find any.
> >
> > Thanks
> > -Radhika
> >
> > -----Original Message-----
> > From: sebgoa [mailto:runseb@gmail.com]
> > Sent: Thursday, December 27, 2012 7:01 PM
> > To: cloudstack-users@incubator.apache.org
> > Subject: Re: CloudStack Installation Query
> >
> > Asmita,
> >
> > I believe there is an issue with the documentation.
> >
> > try to replace the baseurl with:
> >
> > baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
> >
> > and do:
> >
> > > $ rpm --import http://cloudstack.apt-get.eu/release.asc
> >
> >
> > I have not tested it, so please let us know if it works or not.
> >
> > thanks,
> >
> > -Sebastien
> >
> > On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
> >
> > > Hi,
> > >
> > > Thanks Jerry for clarifying.
> > >
> > > My next query is:
> > > I am using an RPM-based system, I want to add the Yum repository so
> > > that
> > I can install CloudStack with Yum.
> > > I have created a repos file under /etc/yum.repos.d.
> > >
> > > [cloudstack]
> > > name=cloudstack
> > > baseurl=http://server.url/downloads/rpm/stable/
> > > enabled=1
> > > gpgcheck=1
> > >
> > > Next you'll want to add the GPG key:
> > > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> > >
> > >
> > > (Refer Documentation of CloudStack Installation -Section 4.4.2. )
> > > What will be the value of server.url?
> > >
> > > Thanks and Regards.
> > >
> > > Asmita
> > >
> > >
> > > -----Original Message-----
> > > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> > > Sent: 27 December 2012 PM 06:20
> > > To: cloudstack-users@incubator.apache.org
> > > Subject: Re: CloudStack Installation Query
> > >
> > > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> > >
> > > Jerry
> > >
> > > ----- Original Message -----
> > > From: "Asmita Vagyani" <As...@sigma-systems.com>
> > > To: "cloudstack-users@incubator.apache.org"
> > > <cl...@incubator.apache.org>
> > > Sent: Thursday, December 27, 2012 8:33:05 PM
> > > Subject: CloudStack Installation Query
> > >
> > > Hi,
> > >
> > > I am trying to install CloudStack 4 on the system.
> > > I am having RHEL 6.3 system for the CloudStack Management server
> > installation.
> > >
> > > I am following standard Installation guide to do so.
> > > Location -
> > > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> > > 0.0-incubating/html/Installation_Guide/index.html
> > > I am referring to Section 3, 3.5 and 3.6 particularly.
> > >
> > > I wanted to confirm if I should perform step in section 3.5 only if
> > > my
> > server OS is Ubuntu and perform steps in section 3.6 if my management
> > server is RHEL server.
> > > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> > >
> > > Please clarify.
> > >
> > > Thanks and Regards.
> > > Asmita.
> > >
> > >
> >
> > ShapeBlue provides a range of strategic and technical consulting and
> > implementation services to help IT Service Providers and Enterprises
> > to build a true IaaS compute cloud. ShapeBlue’s expertise, combined
> > with CloudStack technology, allows IT Service Providers and
> > Enterprises to deliver true, utility based, IaaS to the customer or
> end-user.
> >
> > ________________________________
> >
> > This email and any attachments to it may be confidential and are
> > intended solely for the use of the individual to whom it is addressed.
> > Any views or opinions expressed are solely those of the author and do
> > not necessarily represent those of Shape Blue Ltd. If you are not the
> > intended recipient of this email, you must neither take any action
> > based upon its contents, nor copy or show it to anyone. Please contact
> > the sender if you believe you have received this email in error. Shape
> > Blue Ltd is a company incorporated in England & Wales.
> >
>

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi Marc,
I am using a separate NFS server for secondary storage, I think the way you are going with is when you have nfs shared folder on the same management server and mount it there itself.
Am I right?

http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#prepare-nfs-shares
Section 4.5.5.1. Using a Separate NFS Server


Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com] 
Sent: 03 January 2013 PM 07:30
To: cloudstack-users
Subject: Re: CloudStack Installation Query

My point was that as the path given to the cloud-install-sys-tmplt command
(/mnt/secondary) and export path (/export), you need to mount the export path for secondary storage (/export) on /mnt/secondary otherwise system vm template won't be able to download to primary storage.

thx.


On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom < geoff.higginbottom@shapeblue.com> wrote:

> Hi Asmita,
>
> You don't have to, but its best practice to do so.
>
> When you deploy a new Zone, the first thing that happens is that the 
> System VM Template, which you will have seeded to Secondary Storage is 
> used to deploy the SSVM and CPVM, the SSVM then connects to the 
> Internet and downloads an example Template and places it on secondary storage.
>
> All the above happens automatically as long as the configuration of 
> the Compute, Storage and Networking Layers is correct, and seeing it 
> happen is a great sanity check that everything is configured correctly.
>
> Skipping configuring the Secondary Storage, and seeding it with the 
> appropriate System VM Templates for your chosen Hypervisors will not 
> break anything, and it can be added later, but as you have to do it at 
> some point, you might as well do it at the beginning.
>
> Regards
>
> Geoff
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 13:34
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> Hi all,
>
> Is it a mandate that we have to configure/mount a secondary storage 
> nfs server before cloudstack management server installation?
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 PM 12:49
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> Hi all,
>
> I am following the Cloudstack 4 documentation for installation on RHEL.
> Please refer
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> html#nfs-shares-on-separate-server
> Step 4.5.7. Prepare the System VM Template
>
> I have mounted the secondary storage device on another NFS server and 
> can see that its mounted.
> I added line below to my /etc/exports file also :
> /export *(rw,async,no_root_squash)
>
> Then I run cloud-install-sys-tmplt command below to retrieve and 
> decompress the system VM template - For vSphere:
>
> #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tm
> plt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.
> ova
>  -h vmware -s welcome123 -F
>
> I get the following error -
> rm: cannot remove
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//template.properties':
> Permission denied Failed to clean up template directory 
> /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> Installation failed
>
> Did anyone of you face the same problem?
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 31 December 2012 PM 02:50
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> I am using RHEL
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> Sent: 31 December 2012 PM 02:43
> To: cloudstack-users@incubator.apache.org
> Subject: RE: CloudStack Installation Query
>
> Hi,
>
> Please use below path if your setup is on Ubuntu.:
>
> /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmpl
> t
>
> Thanks,
> Sailaja.M
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: Monday, December 31, 2012 2:16 PM
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> Hi all,
>
> I am following the Cloudstack 4 documentation for installation.
> Please refer
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/management-server-install-flow.
> html#nfs-shares-on-separate-server
> Step 4.5.7. Prepare the System VM Template
>
> Its says to run one or more of the following cloud-install-sys-tmplt 
> commands to retrieve and decompress the system VM template - For 
> vSphere run command below:
> #
> /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tm
> plt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
> ova-h vmware -s <optional-management-server-secret-key>  -F
>
> I made a correction in the file path and run the command as below:
> #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tm
> plt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.
> ova-hvmware -s welcome123 -F
>
> It gives an error command not found.
> cloud-install-sys-tmplt: command not found Any idea why this is not 
> working?
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> Sent: 28 December 2012 AM 10:48
> To: cloudstack-users@incubator.apache.org
> Subject: RE: CloudStack Installation Query
>
> Thank you for pointing out the errors in docs.
>
> Please file a documentation defect in case you find any.
>
> Thanks
> -Radhika
>
> -----Original Message-----
> From: sebgoa [mailto:runseb@gmail.com]
> Sent: Thursday, December 27, 2012 7:01 PM
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
>
> Asmita,
>
> I believe there is an issue with the documentation.
>
> try to replace the baseurl with:
>
> baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
>
> and do:
>
> > $ rpm --import http://cloudstack.apt-get.eu/release.asc
>
>
> I have not tested it, so please let us know if it works or not.
>
> thanks,
>
> -Sebastien
>
> On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
>
> > Hi,
> >
> > Thanks Jerry for clarifying.
> >
> > My next query is:
> > I am using an RPM-based system, I want to add the Yum repository so 
> > that
> I can install CloudStack with Yum.
> > I have created a repos file under /etc/yum.repos.d.
> >
> > [cloudstack]
> > name=cloudstack
> > baseurl=http://server.url/downloads/rpm/stable/
> > enabled=1
> > gpgcheck=1
> >
> > Next you'll want to add the GPG key:
> > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> >
> >
> > (Refer Documentation of CloudStack Installation -Section 4.4.2. ) 
> > What will be the value of server.url?
> >
> > Thanks and Regards.
> >
> > Asmita
> >
> >
> > -----Original Message-----
> > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> > Sent: 27 December 2012 PM 06:20
> > To: cloudstack-users@incubator.apache.org
> > Subject: Re: CloudStack Installation Query
> >
> > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> >
> > Jerry
> >
> > ----- Original Message -----
> > From: "Asmita Vagyani" <As...@sigma-systems.com>
> > To: "cloudstack-users@incubator.apache.org"
> > <cl...@incubator.apache.org>
> > Sent: Thursday, December 27, 2012 8:33:05 PM
> > Subject: CloudStack Installation Query
> >
> > Hi,
> >
> > I am trying to install CloudStack 4 on the system.
> > I am having RHEL 6.3 system for the CloudStack Management server
> installation.
> >
> > I am following standard Installation guide to do so.
> > Location -
> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> > 0.0-incubating/html/Installation_Guide/index.html
> > I am referring to Section 3, 3.5 and 3.6 particularly.
> >
> > I wanted to confirm if I should perform step in section 3.5 only if 
> > my
> server OS is Ubuntu and perform steps in section 3.6 if my management 
> server is RHEL server.
> > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> >
> > Please clarify.
> >
> > Thanks and Regards.
> > Asmita.
> >
> >
>
> ShapeBlue provides a range of strategic and technical consulting and 
> implementation services to help IT Service Providers and Enterprises 
> to build a true IaaS compute cloud. ShapeBlue’s expertise, combined 
> with CloudStack technology, allows IT Service Providers and 
> Enterprises to deliver true, utility based, IaaS to the customer or end-user.
>
> ________________________________
>
> This email and any attachments to it may be confidential and are 
> intended solely for the use of the individual to whom it is addressed. 
> Any views or opinions expressed are solely those of the author and do 
> not necessarily represent those of Shape Blue Ltd. If you are not the 
> intended recipient of this email, you must neither take any action 
> based upon its contents, nor copy or show it to anyone. Please contact 
> the sender if you believe you have received this email in error. Shape 
> Blue Ltd is a company incorporated in England & Wales.
>

Re: CloudStack Installation Query

Posted by Marc Cirauqui <mc...@gmail.com>.
My point was that as the path given to the cloud-install-sys-tmplt command
(/mnt/secondary) and export path (/export), you need to mount the export
path for secondary storage (/export) on /mnt/secondary otherwise system vm
template won't be able to download to primary storage.

thx.


On Thu, Jan 3, 2013 at 2:52 PM, Geoff Higginbottom <
geoff.higginbottom@shapeblue.com> wrote:

> Hi Asmita,
>
> You don't have to, but its best practice to do so.
>
> When you deploy a new Zone, the first thing that happens is that the
> System VM Template, which you will have seeded to Secondary Storage is used
> to deploy the SSVM and CPVM, the SSVM then connects to the Internet and
> downloads an example Template and places it on secondary storage.
>
> All the above happens automatically as long as the configuration of the
> Compute, Storage and Networking Layers is correct, and seeing it happen is
> a great sanity check that everything is configured correctly.
>
> Skipping configuring the Secondary Storage, and seeding it with the
> appropriate System VM Templates for your chosen Hypervisors will not break
> anything, and it can be added later, but as you have to do it at some
> point, you might as well do it at the beginning.
>
> Regards
>
> Geoff
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 13:34
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> Hi all,
>
> Is it a mandate that we have to configure/mount a secondary storage nfs
> server before cloudstack management server installation?
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 03 January 2013 PM 12:49
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> Hi all,
>
> I am following the Cloudstack 4 documentation for installation on RHEL.
> Please refer
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
> Step 4.5.7. Prepare the System VM Template
>
> I have mounted the secondary storage device on another NFS server and can
> see that its mounted.
> I added line below to my /etc/exports file also :
> /export *(rw,async,no_root_squash)
>
> Then I run cloud-install-sys-tmplt command below to retrieve and
> decompress the system VM template - For vSphere:
>
> #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.ova
>  -h vmware -s welcome123 -F
>
> I get the following error -
> rm: cannot remove
> `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf':
> Permission denied
> rm: cannot remove `/mnt/secondary/template/tmpl/1/8//template.properties':
> Permission denied Failed to clean up template directory
> /mnt/secondary/template/tmpl/1/8/ -- check permissions?
> Installation failed
>
> Did anyone of you face the same problem?
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 31 December 2012 PM 02:50
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> I am using RHEL
>
>
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> Sent: 31 December 2012 PM 02:43
> To: cloudstack-users@incubator.apache.org
> Subject: RE: CloudStack Installation Query
>
> Hi,
>
> Please use below path if your setup is on Ubuntu.:
>
> /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt
>
> Thanks,
> Sailaja.M
>
> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: Monday, December 31, 2012 2:16 PM
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
>
> Hi all,
>
> I am following the Cloudstack 4 documentation for installation.
> Please refer
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
> Step 4.5.7. Prepare the System VM Template
>
> Its says to run one or more of the following cloud-install-sys-tmplt
> commands to retrieve and decompress the system VM template - For vSphere
> run command below:
> #
> /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-h vmware -s <optional-management-server-secret-key>  -F
>
> I made a correction in the file path and run the command as below:
> #/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-hvmware -s welcome123 -F
>
> It gives an error command not found.
> cloud-install-sys-tmplt: command not found Any idea why this is not
> working?
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
> Tech Lead,  Sigma Software Solutions, Pune,
> T: +91-20-25661992 / 93 / 94. Extn. : 286
>
>
> -----Original Message-----
> From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
> Sent: 28 December 2012 AM 10:48
> To: cloudstack-users@incubator.apache.org
> Subject: RE: CloudStack Installation Query
>
> Thank you for pointing out the errors in docs.
>
> Please file a documentation defect in case you find any.
>
> Thanks
> -Radhika
>
> -----Original Message-----
> From: sebgoa [mailto:runseb@gmail.com]
> Sent: Thursday, December 27, 2012 7:01 PM
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
>
> Asmita,
>
> I believe there is an issue with the documentation.
>
> try to replace the baseurl with:
>
> baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
>
> and do:
>
> > $ rpm --import http://cloudstack.apt-get.eu/release.asc
>
>
> I have not tested it, so please let us know if it works or not.
>
> thanks,
>
> -Sebastien
>
> On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:
>
> > Hi,
> >
> > Thanks Jerry for clarifying.
> >
> > My next query is:
> > I am using an RPM-based system, I want to add the Yum repository so that
> I can install CloudStack with Yum.
> > I have created a repos file under /etc/yum.repos.d.
> >
> > [cloudstack]
> > name=cloudstack
> > baseurl=http://server.url/downloads/rpm/stable/
> > enabled=1
> > gpgcheck=1
> >
> > Next you'll want to add the GPG key:
> > $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> >
> >
> > (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What
> > will be the value of server.url?
> >
> > Thanks and Regards.
> >
> > Asmita
> >
> >
> > -----Original Message-----
> > From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> > Sent: 27 December 2012 PM 06:20
> > To: cloudstack-users@incubator.apache.org
> > Subject: Re: CloudStack Installation Query
> >
> > yes, RPM for RHEL OS only, while DEBs for debian-based OS
> >
> > Jerry
> >
> > ----- Original Message -----
> > From: "Asmita Vagyani" <As...@sigma-systems.com>
> > To: "cloudstack-users@incubator.apache.org"
> > <cl...@incubator.apache.org>
> > Sent: Thursday, December 27, 2012 8:33:05 PM
> > Subject: CloudStack Installation Query
> >
> > Hi,
> >
> > I am trying to install CloudStack 4 on the system.
> > I am having RHEL 6.3 system for the CloudStack Management server
> installation.
> >
> > I am following standard Installation guide to do so.
> > Location -
> > http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> > 0.0-incubating/html/Installation_Guide/index.html
> > I am referring to Section 3, 3.5 and 3.6 particularly.
> >
> > I wanted to confirm if I should perform step in section 3.5 only if my
> server OS is Ubuntu and perform steps in section 3.6 if my management
> server is RHEL server.
> > So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> >
> > Please clarify.
> >
> > Thanks and Regards.
> > Asmita.
> >
> >
>
> ShapeBlue provides a range of strategic and technical consulting and
> implementation services to help IT Service Providers and Enterprises to
> build a true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack technology, allows IT Service Providers and Enterprises to
> deliver true, utility based, IaaS to the customer or end-user.
>
> ________________________________
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd. If you are not the intended recipient of
> this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you
> have received this email in error. Shape Blue Ltd is a company incorporated
> in England & Wales.
>

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Yes, I get you Geoff.
I was able to install the management server after unmounting the nfs drive.

My new  problem is I am not able to login to the client using the console.
Default password is admin/password. But it's not working for me.

Is there any place where it can be specified, I mean is it mapped to My SQL user name/pwd or root user?
Any clue?

Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com] 
Sent: 03 January 2013 PM 07:22
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi Asmita,

You don't have to, but its best practice to do so.

When you deploy a new Zone, the first thing that happens is that the System VM Template, which you will have seeded to Secondary Storage is used to deploy the SSVM and CPVM, the SSVM then connects to the Internet and downloads an example Template and places it on secondary storage.

All the above happens automatically as long as the configuration of the Compute, Storage and Networking Layers is correct, and seeing it happen is a great sanity check that everything is configured correctly.

Skipping configuring the Secondary Storage, and seeding it with the appropriate System VM Templates for your chosen Hypervisors will not break anything, and it can be added later, but as you have to do it at some point, you might as well do it at the beginning.

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 03 January 2013 13:34
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

Is it a mandate that we have to configure/mount a secondary storage nfs server before cloudstack management server installation?



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 03 January 2013 PM 12:49
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

I am following the Cloudstack 4 documentation for installation on RHEL.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

I have mounted the secondary storage device on another NFS server and can see that its mounted.
I added line below to my /etc/exports file also :
/export *(rw,async,no_root_squash)

Then I run cloud-install-sys-tmplt command below to retrieve and decompress the system VM template - For vSphere:

#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.ova  -h vmware -s welcome123 -F

I get the following error -
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//template.properties': Permission denied Failed to clean up template directory /mnt/secondary/template/tmpl/1/8/ -- check permissions?
Installation failed

Did anyone of you face the same problem?

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 31 December 2012 PM 02:50
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

I am using RHEL



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
Sent: 31 December 2012 PM 02:43
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi,

Please use below path if your setup is on Ubuntu.:

/usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt

Thanks,
Sailaja.M

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Monday, December 31, 2012 2:16 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

I am following the Cloudstack 4 documentation for installation.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

Its says to run one or more of the following cloud-install-sys-tmplt commands to retrieve and decompress the system VM template - For vSphere run command below:
# /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova -h vmware -s <optional-management-server-secret-key>  -F

I made a correction in the file path and run the command as below:
#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-h vmware -s welcome123 -F

It gives an error command not found.
cloud-install-sys-tmplt: command not found Any idea why this is not working?

Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
Sent: 28 December 2012 AM 10:48
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Thank you for pointing out the errors in docs.

Please file a documentation defect in case you find any.

Thanks
-Radhika

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com]
Sent: Thursday, December 27, 2012 7:01 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
>
> Thanks Jerry for clarifying.
>
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
>
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
>
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
>
>
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
>
> Thanks and Regards.
>
> Asmita
>
>
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
>
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
>
> Jerry
>
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org"
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
>
> Hi,
>
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
>
> I am following standard Installation guide to do so.
> Location -
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
>
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
>
> Please clarify.
>
> Thanks and Regards.
> Asmita.
>
>

ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Geoff Higginbottom <ge...@shapeblue.com>.
Hi Asmita,

You don't have to, but its best practice to do so.

When you deploy a new Zone, the first thing that happens is that the System VM Template, which you will have seeded to Secondary Storage is used to deploy the SSVM and CPVM, the SSVM then connects to the Internet and downloads an example Template and places it on secondary storage.

All the above happens automatically as long as the configuration of the Compute, Storage and Networking Layers is correct, and seeing it happen is a great sanity check that everything is configured correctly.

Skipping configuring the Secondary Storage, and seeding it with the appropriate System VM Templates for your chosen Hypervisors will not break anything, and it can be added later, but as you have to do it at some point, you might as well do it at the beginning.

Regards

Geoff

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 03 January 2013 13:34
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

Is it a mandate that we have to configure/mount a secondary storage nfs server before cloudstack management server installation?



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 03 January 2013 PM 12:49
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

I am following the Cloudstack 4 documentation for installation on RHEL.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

I have mounted the secondary storage device on another NFS server and can see that its mounted.
I added line below to my /etc/exports file also :
/export *(rw,async,no_root_squash)

Then I run cloud-install-sys-tmplt command below to retrieve and decompress the system VM template - For vSphere:

#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.ova  -h vmware -s welcome123 -F

I get the following error -
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//template.properties': Permission denied Failed to clean up template directory /mnt/secondary/template/tmpl/1/8/ -- check permissions?
Installation failed

Did anyone of you face the same problem?

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 31 December 2012 PM 02:50
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

I am using RHEL



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
Sent: 31 December 2012 PM 02:43
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi,

Please use below path if your setup is on Ubuntu.:

/usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt

Thanks,
Sailaja.M

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Monday, December 31, 2012 2:16 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

I am following the Cloudstack 4 documentation for installation.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

Its says to run one or more of the following cloud-install-sys-tmplt commands to retrieve and decompress the system VM template - For vSphere run command below:
# /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova -h vmware -s <optional-management-server-secret-key>  -F

I made a correction in the file path and run the command as below:
#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-h vmware -s welcome123 -F

It gives an error command not found.
cloud-install-sys-tmplt: command not found Any idea why this is not working?

Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
Sent: 28 December 2012 AM 10:48
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Thank you for pointing out the errors in docs.

Please file a documentation defect in case you find any.

Thanks
-Radhika

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com]
Sent: Thursday, December 27, 2012 7:01 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
>
> Thanks Jerry for clarifying.
>
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
>
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
>
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
>
>
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What
> will be the value of server.url?
>
> Thanks and Regards.
>
> Asmita
>
>
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
>
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
>
> Jerry
>
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org"
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
>
> Hi,
>
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
>
> I am following standard Installation guide to do so.
> Location -
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
>
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
>
> Please clarify.
>
> Thanks and Regards.
> Asmita.
>
>

ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi all,

Is it a mandate that we have to configure/mount a secondary storage nfs server before cloudstack management server installation?



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com] 
Sent: 03 January 2013 PM 12:49
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

I am following the Cloudstack 4 documentation for installation on RHEL.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

I have mounted the secondary storage device on another NFS server and can see that its mounted.
I added line below to my /etc/exports file also :
/export *(rw,async,no_root_squash) 

Then I run cloud-install-sys-tmplt command below to retrieve and decompress the system VM template - For vSphere:

#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.ova  -h vmware -s welcome123 -F

I get the following error -
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//template.properties': Permission denied Failed to clean up template directory /mnt/secondary/template/tmpl/1/8/ -- check permissions?
Installation failed

Did anyone of you face the same problem?

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 31 December 2012 PM 02:50
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

I am using RHEL



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Sailaja Mada [mailto:sailaja.mada@citrix.com] 
Sent: 31 December 2012 PM 02:43
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi,

Please use below path if your setup is on Ubuntu.:

/usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt

Thanks,
Sailaja.M

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Monday, December 31, 2012 2:16 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

I am following the Cloudstack 4 documentation for installation.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

Its says to run one or more of the following cloud-install-sys-tmplt commands to retrieve and decompress the system VM template - For vSphere run command below:
# /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova -h vmware -s <optional-management-server-secret-key>  -F

I made a correction in the file path and run the command as below:
#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-h vmware -s welcome123 -F

It gives an error command not found.
cloud-install-sys-tmplt: command not found Any idea why this is not working?

Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
Sent: 28 December 2012 AM 10:48
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Thank you for pointing out the errors in docs.

Please file a documentation defect in case you find any.

Thanks
-Radhika

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com]
Sent: Thursday, December 27, 2012 7:01 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 


RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi all,

I am following the Cloudstack 4 documentation for installation on RHEL.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server 
Step 4.5.7. Prepare the System VM Template

I have mounted the secondary storage device on another NFS server and can see that its mounted.
I added line below to my /etc/exports file also :
/export *(rw,async,no_root_squash) 

Then I run cloud-install-sys-tmplt command below to retrieve and decompress the system VM template - For vSphere:

#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-0^C12012.ova  -h vmware -s welcome123 -F

I get the following error -
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//3be8b3de-8625-4945-9d45-97b901f09ae6.ova': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm-disk1.vmdk': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.mf': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//systemvm.ovf': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/8//template.properties': Permission denied
Failed to clean up template directory /mnt/secondary/template/tmpl/1/8/ -- check permissions?
Installation failed

Did anyone of you face the same problem?

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com] 
Sent: 31 December 2012 PM 02:50
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

I am using RHEL



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Sailaja Mada [mailto:sailaja.mada@citrix.com] 
Sent: 31 December 2012 PM 02:43
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi,

Please use below path if your setup is on Ubuntu.:

/usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt

Thanks,
Sailaja.M

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Monday, December 31, 2012 2:16 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

I am following the Cloudstack 4 documentation for installation.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

Its says to run one or more of the following cloud-install-sys-tmplt commands to retrieve and decompress the system VM template - For vSphere run command below:
# /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova -h vmware -s <optional-management-server-secret-key>  -F

I made a correction in the file path and run the command as below:
#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-h vmware -s welcome123 -F

It gives an error command not found.
cloud-install-sys-tmplt: command not found Any idea why this is not working?

Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
Sent: 28 December 2012 AM 10:48
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Thank you for pointing out the errors in docs.

Please file a documentation defect in case you find any.

Thanks
-Radhika

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com]
Sent: Thursday, December 27, 2012 7:01 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 


RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
I am using RHEL



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Sailaja Mada [mailto:sailaja.mada@citrix.com] 
Sent: 31 December 2012 PM 02:43
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Hi,

Please use below path if your setup is on Ubuntu.:

/usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt

Thanks,
Sailaja.M

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Monday, December 31, 2012 2:16 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

I am following the Cloudstack 4 documentation for installation.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

Its says to run one or more of the following cloud-install-sys-tmplt commands to retrieve and decompress the system VM template - For vSphere run command below:
# /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova -h vmware -s <optional-management-server-secret-key>  -F

I made a correction in the file path and run the command as below:
#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-h vmware -s welcome123 -F

It gives an error command not found.
cloud-install-sys-tmplt: command not found Any idea why this is not working?

Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com]
Sent: 28 December 2012 AM 10:48
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Thank you for pointing out the errors in docs.

Please file a documentation defect in case you find any.

Thanks
-Radhika

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com]
Sent: Thursday, December 27, 2012 7:01 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 


RE: CloudStack Installation Query

Posted by Sailaja Mada <sa...@citrix.com>.
Hi,

Please use below path if your setup is on Ubuntu.:

/usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt

Thanks,
Sailaja.M

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com] 
Sent: Monday, December 31, 2012 2:16 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query

Hi all,

I am following the Cloudstack 4 documentation for installation.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

Its says to run one or more of the following cloud-install-sys-tmplt commands to retrieve and decompress the system VM template - For vSphere run command below:
# /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova -h vmware -s <optional-management-server-secret-key>  -F

I made a correction in the file path and run the command as below:
#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-h vmware -s welcome123 -F

It gives an error command not found.
cloud-install-sys-tmplt: command not found Any idea why this is not working?

Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com] 
Sent: 28 December 2012 AM 10:48
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Thank you for pointing out the errors in docs.

Please file a documentation defect in case you find any.

Thanks
-Radhika

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com]
Sent: Thursday, December 27, 2012 7:01 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 


RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi all,

I am following the Cloudstack 4 documentation for installation.
Please refer http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html#nfs-shares-on-separate-server
Step 4.5.7. Prepare the System VM Template

Its says to run one or more of the following cloud-install-sys-tmplt commands to retrieve and decompress the system VM template - For vSphere run command below:
# /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova -h vmware -s <optional-management-server-secret-key>  -F

I made a correction in the file path and run the command as below:
#/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova-h vmware -s welcome123 -F

It gives an error command not found.
cloud-install-sys-tmplt: command not found
Any idea why this is not working?

Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Radhika Puthiyetath [mailto:radhika.puthiyetath@citrix.com] 
Sent: 28 December 2012 AM 10:48
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack Installation Query

Thank you for pointing out the errors in docs.

Please file a documentation defect in case you find any.

Thanks
-Radhika

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com]
Sent: Thursday, December 27, 2012 7:01 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 


RE: CloudStack Installation Query

Posted by Radhika Puthiyetath <ra...@citrix.com>.
Thank you for pointing out the errors in docs.

Please file a documentation defect in case you find any.

Thanks
-Radhika

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com] 
Sent: Thursday, December 27, 2012 7:01 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -  
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 


Re: CloudStack Installation Query

Posted by sebgoa <ru...@gmail.com>.
Asmita,

I believe there is an issue with the documentation.

try to replace the baseurl with:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

and do:

> $ rpm --import http://cloudstack.apt-get.eu/release.asc


I have not tested it, so please let us know if it works or not.

thanks,

-Sebastien

On Dec 27, 2012, at 2:04 PM, Asmita Vagyani wrote:

> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. )
> What will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -  http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 


RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi,

Thanks Jerry for clarifying.

My next query is:
I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
I have created a repos file under /etc/yum.repos.d.

[cloudstack]
name=cloudstack
baseurl=http://server.url/downloads/rpm/stable/
enabled=1
gpgcheck=1

Next you'll want to add the GPG key:
$ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt


(Refer Documentation of CloudStack Installation -Section 4.4.2. )
What will be the value of server.url?

Thanks and Regards.

Asmita


-----Original Message-----
From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
Sent: 27 December 2012 PM 06:20
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

yes, RPM for RHEL OS only, while DEBs for debian-based OS

Jerry

----- Original Message -----
From: "Asmita Vagyani" <As...@sigma-systems.com>
To: "cloudstack-users@incubator.apache.org" <cl...@incubator.apache.org>
Sent: Thursday, December 27, 2012 8:33:05 PM
Subject: CloudStack Installation Query

Hi,

I am trying to install CloudStack 4 on the system.
I am having RHEL 6.3 system for the CloudStack Management server installation.

I am following standard Installation guide to do so.
Location -  http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/index.html
I am referring to Section 3, 3.5 and 3.6 particularly.

I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

Please clarify.

Thanks and Regards.
Asmita.



RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Thanks Sebastien.
I think this is a document defect Sebastien, because even after installing the cloud-client this common folder didn’t get created.
I figured out that it's not the common folder which gets created, but the agent folder.

/usr/lib64/cloud/agent/scripts/vm/hypervisor/xenserver on RHEL.


Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com] 
Sent: 28 December 2012 PM 03:51
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query


On Dec 28, 2012, at 11:14 AM, Asmita Vagyani wrote:

> Hi all,
> 
> While installing CloudStack on the management server, in the documentation I came across section below:
> 
> 4.5.3.1. Downloading vhd-util
> Before setting up the Management Server, download vhd-util from 
> vhd-util3 If the Management Server is RHEL or CentOS, copy vhd-util to /usr/lib64/cloud/common/scripts/vm/hypervisor/xenserver.
> If the Management Server is Ubuntu, copy vhd-util to /usr/lib/cloud/common/scripts/vm/hypervisor/xenserver/vhd-util.
> 
> I am installing on RHEL 6.3.
> So far I just prepared the build rpm packages from the source code and prepared the OS for Management server installation.
> 
> As per the step 4.5.3.1, I downloaded the vhd-util from internet.
> However, I was not able to find the path given /usr/lib64/cloud/common/scripts/vm/ hypervisor/xenserver on my RHEL server.
> The folder common inside cloud doesn’t exist.

Is the mgt server running ?
service cloud-management status (something like that)


> 
> My question is if I have missed some step because of which this folder did not get created or this step will be done when I will install the hosts.
> Please guide.
> 
> Thanks and Regards.
> 
> Asmita
> 
> _____________________________________________
> From: Asmita Vagyani
> Sent: 27 December 2012 PM 06:35
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
> 
> 
> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -  
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 



Re: CloudStack Installation Query

Posted by sebgoa <ru...@gmail.com>.
On Dec 28, 2012, at 11:27 AM, Asmita Vagyani wrote:

> Nope, I have not yet installed the server yet. The document says to this step first before I install the management server.
> One more thing I will be using a single Management Server node, with MySQL on the same node.
> Refer - http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html

this may be an error in the docs. Can you try to 'yum install cloud-client' and then install vhd util ?

> 
> 
> Thanks and Regards.
> 
> Asmita 
> 
> 
> -----Original Message-----
> From: sebgoa [mailto:runseb@gmail.com] 
> Sent: 28 December 2012 PM 03:51
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> 
> On Dec 28, 2012, at 11:14 AM, Asmita Vagyani wrote:
> 
>> Hi all,
>> 
>> While installing CloudStack on the management server, in the documentation I came across section below:
>> 
>> 4.5.3.1. Downloading vhd-util
>> Before setting up the Management Server, download vhd-util from 
>> vhd-util3 If the Management Server is RHEL or CentOS, copy vhd-util to /usr/lib64/cloud/common/scripts/vm/hypervisor/xenserver.
>> If the Management Server is Ubuntu, copy vhd-util to /usr/lib/cloud/common/scripts/vm/hypervisor/xenserver/vhd-util.
>> 
>> I am installing on RHEL 6.3.
>> So far I just prepared the build rpm packages from the source code and prepared the OS for Management server installation.
>> 
>> As per the step 4.5.3.1, I downloaded the vhd-util from internet.
>> However, I was not able to find the path given /usr/lib64/cloud/common/scripts/vm/ hypervisor/xenserver on my RHEL server.
>> The folder common inside cloud doesn’t exist.
> 
> Is the mgt server running ?
> service cloud-management status (something like that)
> 
> 
>> 
>> My question is if I have missed some step because of which this folder did not get created or this step will be done when I will install the hosts.
>> Please guide.
>> 
>> Thanks and Regards.
>> 
>> Asmita
>> 
>> _____________________________________________
>> From: Asmita Vagyani
>> Sent: 27 December 2012 PM 06:35
>> To: 'cloudstack-users@incubator.apache.org'
>> Subject: RE: CloudStack Installation Query
>> 
>> 
>> Hi,
>> 
>> Thanks Jerry for clarifying.
>> 
>> My next query is:
>> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
>> I have created a repos file under /etc/yum.repos.d.
>> 
>> [cloudstack]
>> name=cloudstack
>> baseurl=http://server.url/downloads/rpm/stable/
>> enabled=1
>> gpgcheck=1
>> 
>> Next you'll want to add the GPG key:
>> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
>> 
>> 
>> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
>> will be the value of server.url?
>> 
>> Thanks and Regards.
>> 
>> Asmita
>> 
>> 
>> -----Original Message-----
>> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
>> Sent: 27 December 2012 PM 06:20
>> To: cloudstack-users@incubator.apache.org
>> Subject: Re: CloudStack Installation Query
>> 
>> yes, RPM for RHEL OS only, while DEBs for debian-based OS
>> 
>> Jerry
>> 
>> ----- Original Message -----
>> From: "Asmita Vagyani" <As...@sigma-systems.com>
>> To: "cloudstack-users@incubator.apache.org" 
>> <cl...@incubator.apache.org>
>> Sent: Thursday, December 27, 2012 8:33:05 PM
>> Subject: CloudStack Installation Query
>> 
>> Hi,
>> 
>> I am trying to install CloudStack 4 on the system.
>> I am having RHEL 6.3 system for the CloudStack Management server installation.
>> 
>> I am following standard Installation guide to do so.
>> Location -  
>> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
>> 0.0-incubating/html/Installation_Guide/index.html
>> I am referring to Section 3, 3.5 and 3.6 particularly.
>> 
>> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
>> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
>> 
>> Please clarify.
>> 
>> Thanks and Regards.
>> Asmita.
>> 
>> 
> 
> 


RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Nope, I have not yet installed the server yet. The document says to this step first before I install the management server.
One more thing I will be using a single Management Server node, with MySQL on the same node.
Refer - http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/management-server-install-flow.html


Thanks and Regards.

Asmita 


-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com] 
Sent: 28 December 2012 PM 03:51
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query


On Dec 28, 2012, at 11:14 AM, Asmita Vagyani wrote:

> Hi all,
> 
> While installing CloudStack on the management server, in the documentation I came across section below:
> 
> 4.5.3.1. Downloading vhd-util
> Before setting up the Management Server, download vhd-util from 
> vhd-util3 If the Management Server is RHEL or CentOS, copy vhd-util to /usr/lib64/cloud/common/scripts/vm/hypervisor/xenserver.
> If the Management Server is Ubuntu, copy vhd-util to /usr/lib/cloud/common/scripts/vm/hypervisor/xenserver/vhd-util.
> 
> I am installing on RHEL 6.3.
> So far I just prepared the build rpm packages from the source code and prepared the OS for Management server installation.
> 
> As per the step 4.5.3.1, I downloaded the vhd-util from internet.
> However, I was not able to find the path given /usr/lib64/cloud/common/scripts/vm/ hypervisor/xenserver on my RHEL server.
> The folder common inside cloud doesn’t exist.

Is the mgt server running ?
service cloud-management status (something like that)


> 
> My question is if I have missed some step because of which this folder did not get created or this step will be done when I will install the hosts.
> Please guide.
> 
> Thanks and Regards.
> 
> Asmita
> 
> _____________________________________________
> From: Asmita Vagyani
> Sent: 27 December 2012 PM 06:35
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
> 
> 
> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -  
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 



RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Nope, I have not yet installed the server yet. The document says to this step first before I install the management server.

Thanks and Regards.

Asmita 


-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com] 
Sent: 28 December 2012 PM 03:51
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query


On Dec 28, 2012, at 11:14 AM, Asmita Vagyani wrote:

> Hi all,
> 
> While installing CloudStack on the management server, in the documentation I came across section below:
> 
> 4.5.3.1. Downloading vhd-util
> Before setting up the Management Server, download vhd-util from 
> vhd-util3 If the Management Server is RHEL or CentOS, copy vhd-util to /usr/lib64/cloud/common/scripts/vm/hypervisor/xenserver.
> If the Management Server is Ubuntu, copy vhd-util to /usr/lib/cloud/common/scripts/vm/hypervisor/xenserver/vhd-util.
> 
> I am installing on RHEL 6.3.
> So far I just prepared the build rpm packages from the source code and prepared the OS for Management server installation.
> 
> As per the step 4.5.3.1, I downloaded the vhd-util from internet.
> However, I was not able to find the path given /usr/lib64/cloud/common/scripts/vm/ hypervisor/xenserver on my RHEL server.
> The folder common inside cloud doesn’t exist.

Is the mgt server running ?
service cloud-management status (something like that)


> 
> My question is if I have missed some step because of which this folder did not get created or this step will be done when I will install the hosts.
> Please guide.
> 
> Thanks and Regards.
> 
> Asmita
> 
> _____________________________________________
> From: Asmita Vagyani
> Sent: 27 December 2012 PM 06:35
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
> 
> 
> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. ) What 
> will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" 
> <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -  
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.
> 0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 



Re: CloudStack Installation Query

Posted by sebgoa <ru...@gmail.com>.
On Dec 28, 2012, at 11:14 AM, Asmita Vagyani wrote:

> Hi all,
> 
> While installing CloudStack on the management server, in the documentation I came across section below:
> 
> 4.5.3.1. Downloading vhd-util
> Before setting up the Management Server, download vhd-util from vhd-util3
> If the Management Server is RHEL or CentOS, copy vhd-util to /usr/lib64/cloud/common/scripts/vm/hypervisor/xenserver.
> If the Management Server is Ubuntu, copy vhd-util to /usr/lib/cloud/common/scripts/vm/hypervisor/xenserver/vhd-util.
> 
> I am installing on RHEL 6.3.
> So far I just prepared the build rpm packages from the source code and prepared the OS for Management server installation.
> 
> As per the step 4.5.3.1, I downloaded the vhd-util from internet.
> However, I was not able to find the path given /usr/lib64/cloud/common/scripts/vm/ hypervisor/xenserver on my RHEL server.
> The folder common inside cloud doesn’t exist.

Is the mgt server running ?
service cloud-management status (something like that)


> 
> My question is if I have missed some step because of which this folder did not get created or this step will be done when I will install the hosts.
> Please guide.
> 
> Thanks and Regards.
> 
> Asmita
> 
> _____________________________________________
> From: Asmita Vagyani
> Sent: 27 December 2012 PM 06:35
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CloudStack Installation Query
> 
> 
> Hi,
> 
> Thanks Jerry for clarifying.
> 
> My next query is:
> I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
> I have created a repos file under /etc/yum.repos.d.
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://server.url/downloads/rpm/stable/
> enabled=1
> gpgcheck=1
> 
> Next you'll want to add the GPG key:
> $ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
> 
> 
> (Refer Documentation of CloudStack Installation -Section 4.4.2. )
> What will be the value of server.url?
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -----Original Message-----
> From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
> Sent: 27 December 2012 PM 06:20
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudStack Installation Query
> 
> yes, RPM for RHEL OS only, while DEBs for debian-based OS
> 
> Jerry
> 
> ----- Original Message -----
> From: "Asmita Vagyani" <As...@sigma-systems.com>
> To: "cloudstack-users@incubator.apache.org" <cl...@incubator.apache.org>
> Sent: Thursday, December 27, 2012 8:33:05 PM
> Subject: CloudStack Installation Query
> 
> Hi,
> 
> I am trying to install CloudStack 4 on the system.
> I am having RHEL 6.3 system for the CloudStack Management server installation.
> 
> I am following standard Installation guide to do so.
> Location -  http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/index.html
> I am referring to Section 3, 3.5 and 3.6 particularly.
> 
> I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
> So, if I have RHEL OS I will just build RPMs and not DEBs, correct?
> 
> Please clarify.
> 
> Thanks and Regards.
> Asmita.
> 
> 


RE: CloudStack Installation Query

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi all,

While installing CloudStack on the management server, in the documentation I came across section below:

4.5.3.1. Downloading vhd-util
Before setting up the Management Server, download vhd-util from vhd-util3
If the Management Server is RHEL or CentOS, copy vhd-util to /usr/lib64/cloud/common/scripts/vm/hypervisor/xenserver.
If the Management Server is Ubuntu, copy vhd-util to /usr/lib/cloud/common/scripts/vm/hypervisor/xenserver/vhd-util.

I am installing on RHEL 6.3.
So far I just prepared the build rpm packages from the source code and prepared the OS for Management server installation.

As per the step 4.5.3.1, I downloaded the vhd-util from internet.
However, I was not able to find the path given /usr/lib64/cloud/common/scripts/vm/ hypervisor/xenserver on my RHEL server.
The folder common inside cloud doesn’t exist.

My question is if I have missed some step because of which this folder did not get created or this step will be done when I will install the hosts.
Please guide.

Thanks and Regards.

Asmita

_____________________________________________
From: Asmita Vagyani
Sent: 27 December 2012 PM 06:35
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack Installation Query


Hi,

Thanks Jerry for clarifying.

My next query is:
I am using an RPM-based system, I want to add the Yum repository so that I can install CloudStack with Yum.
I have created a repos file under /etc/yum.repos.d.

[cloudstack]
name=cloudstack
baseurl=http://server.url/downloads/rpm/stable/
enabled=1
gpgcheck=1

Next you'll want to add the GPG key:
$ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt


(Refer Documentation of CloudStack Installation -Section 4.4.2. )
What will be the value of server.url?

Thanks and Regards.

Asmita


-----Original Message-----
From: jerry jiang. 蒋维 [mailto:jerry.jiang@tyxtech.com]
Sent: 27 December 2012 PM 06:20
To: cloudstack-users@incubator.apache.org
Subject: Re: CloudStack Installation Query

yes, RPM for RHEL OS only, while DEBs for debian-based OS

Jerry

----- Original Message -----
From: "Asmita Vagyani" <As...@sigma-systems.com>
To: "cloudstack-users@incubator.apache.org" <cl...@incubator.apache.org>
Sent: Thursday, December 27, 2012 8:33:05 PM
Subject: CloudStack Installation Query

Hi,

I am trying to install CloudStack 4 on the system.
I am having RHEL 6.3 system for the CloudStack Management server installation.

I am following standard Installation guide to do so.
Location -  http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/index.html
I am referring to Section 3, 3.5 and 3.6 particularly.

I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

Please clarify.

Thanks and Regards.
Asmita.



Re: CloudStack Installation Query

Posted by "jerry jiang. 蒋维" <je...@tyxtech.com>.
yes, RPM for RHEL OS only, while DEBs for debian-based OS

Jerry

----- Original Message -----
From: "Asmita Vagyani" <As...@sigma-systems.com>
To: "cloudstack-users@incubator.apache.org" <cl...@incubator.apache.org>
Sent: Thursday, December 27, 2012 8:33:05 PM
Subject: CloudStack Installation Query

Hi,

I am trying to install CloudStack 4 on the system.
I am having RHEL 6.3 system for the CloudStack Management server installation.

I am following standard Installation guide to do so.
Location -  http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/index.html
I am referring to Section 3, 3.5 and 3.6 particularly.

I wanted to confirm if I should perform step in section 3.5 only if my server OS is Ubuntu and perform steps in section 3.6 if my management server is RHEL server.
So, if I have RHEL OS I will just build RPMs and not DEBs, correct?

Please clarify.

Thanks and Regards.
Asmita.