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.higginbot...@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.vagy...@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.vagy...@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.vagy...@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.m...@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.vagy...@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.puthiyet...@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:run...@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.ji...@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.vagy...@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_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.
>

Reply via email to