cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From linuxsupport <lin.supp...@gmail.com>
Subject Re: CloudStack Installation Query
Date Thu, 03 Jan 2013 14:47:08 GMT
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 <mcirauqui@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 <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> 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" <Asmita.Vagyani@sigma-systems.com>
> > >> > > To: "cloudstack-users@incubator.apache.org"
> > >> > > <cloudstack-users@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.
> > >> >
> > >>
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message