Great - thanks. I'm not sure if I should specify -s and the secret or not.
The way I'm doing this, with the DB on one computer and the NFS share on
another, I was just assuming I could leave off -s.

This is the current result I get (using the path John provided for the OVA
file):

./cloud-install-sys-tmplt -m /Users/mtutkowski/Documents/nfs -u
http://jenkins.cloudstack.org/job/build-systemvm-master/systemvmtemplate-2013-07-14-master-vmware.ova-h
vmware -F
sed: 1: "s/^[[:space:]]*//;s/[[: ...": bad flag in substitute command: 'i'
ERROR 1045 (28000): Access denied for user 'cloud'@'localhost' (using
password: NO)
Unable to get template Id from database
Installation failed

Any thoughts on this?

Thanks again


On Mon, Jul 15, 2013 at 2:36 PM, Vijayendra Bhamidipati <
vijayendra.bhamidip...@citrix.com> wrote:

> Hi Mike,
>
> Yes, you can leave out the -s option in that case. Looking at the script,
> the -F option if specified, deletes all existing files in the destination
> directory where the system templates are to be placed, so if you want it to
> start clean, you should specify that, else you can leave it out as well,
> it'll be fine.
>
> Regards,
> Vijay
>
> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> Sent: Monday, July 15, 2013 1:31 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Secondary Storage Setup Question
>
> Just curious about the optional parameter:
>
> /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
>
>
> If you don't want to specify a secret key, do you also leave the -s off?
> How's about the -F?
>
> Thanks!
>
>
> On Mon, Jul 15, 2013 at 1:58 PM, Mike Tutkowski <
> mike.tutkow...@solidfire.com> wrote:
>
> > Perfect - thanks!
> >
> >
> > On Mon, Jul 15, 2013 at 12:51 PM, Vijayendra Bhamidipati <
> > vijayendra.bhamidip...@citrix.com> wrote:
> >
> >> Hi Mike,
> >>
> >> You can find the cloud-install-sys-tmplt script in the source at
> >> ./scripts/storage/secondary/cloud-install-sys-tmplt - you can run
> >> that directly from that location and preseed your secondary storage.
> >> The script would error out with a message saying it can't read
> >> /etc/cloudstack/management/db.properties - you can simply mkdir -p
> >> /etc/cloudstack/management/ and copy over your src's
> >> utils/conf/db.properties (or db.properties.override if you have it)
> >> to that directory and rerun the script.
> >>
> >> Regards,
> >> Vijay
> >>
> >> -----Original Message-----
> >> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> >> Sent: Sunday, July 14, 2013 11:47 PM
> >> To: dev@cloudstack.apache.org
> >> Subject: Secondary Storage Setup Question
> >>
> >> Hi,
> >>
> >> I'm trying to set up CloudStack with a VMware-only configuration. In
> >> the past, I've always used DevCloud2, which has worked nicely when I
> >> had Xen in the mix.
> >>
> >> One of the steps I need to do, of course, is to configure secondary
> >> storage.
> >>
> >> I have two NFS shares:
> >>
> >> /export/primary
> >> /export/secondary
> >>
> >> My management server is running in Eclipse on a different computer
> >> than the one the NFS shares are on.
> >>
> >> I've gotten to the point where I'm supposed to seed secondary storage
> >> with a system VM template (
> >> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.0-incub
> >> ating/html/Installation_Guide/management-server-install-flow.html
> >> ).
> >> It makes reference to a script I'm supposed to run. The problem is -
> >> since I didn't install the CS MS on this computer (it's on a
> >> different
> >> computer)
> >> - I never downloaded any scripts.
> >>
> >> It might be elsewhere in the directions, but can someone point me to
> >> what I need to have downloaded (and from where) on my computer
> >> hosting these NFS shares so I can run the necessary script?
> >>
> >> Thanks!
> >>
> >> --
> >> *Mike Tutkowski*
> >> *Senior CloudStack Developer, SolidFire Inc.*
> >> e: mike.tutkow...@solidfire.com
> >> o: 303.746.7302
> >> Advancing the way the world uses the
> >> cloud<http://solidfire.com/solution/overview/?video=play>
> >> *(tm)*
> >>
> >
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud<http://solidfire.com/solution/overview/?video=play>
> > *(tm)*
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *(tm)*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Reply via email to