Great! :)

-----Original Message-----
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] 
Sent: Monday, July 15, 2013 1:58 PM
To: dev@cloudstack.apache.org
Subject: Re: Secondary Storage Setup Question

This command seems to be working (6% done at the moment):

./cloud-install-sys-tmplt -m /Users/mtutkowski/Documents/nfs -u 
http://jenkins.cloudstack.org/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-07-14-master-vmware.ova-h
vmware -F -o localhost -r root -d password


On Mon, Jul 15, 2013 at 2:55 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> 
wrote:

> Here are my super-secret DB settings. :)
>
> # CloudStack database settings
>
> db.cloud.username=cloud
>
> db.cloud.password=cloud
>
> db.root.password=
>
> db.cloud.host=localhost
>
> db.cloud.port=3306
>
> db.cloud.name=cloud
>
>
> On Mon, Jul 15, 2013 at 2:50 PM, Vijayendra Bhamidipati < 
> vijayendra.bhamidip...@citrix.com> wrote:
>
>> Hi Mike,
>>
>> The db.properties file that you copied over should contain the db 
>> usernames and passwords - can you check that file?
>>
>> Regards,
>> Vijay
>>
>> -----Original Message-----
>> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
>> Sent: Monday, July 15, 2013 1:49 PM
>> To: dev@cloudstack.apache.org
>> Subject: Re: Secondary Storage Setup Question
>>
>> Looks like I need to specify my username and password.
>>
>> Also, it looks like wget is not installed on my computer.
>>
>>
>> On Mon, Jul 15, 2013 at 2:40 PM, Mike Tutkowski < 
>> mike.tutkow...@solidfire.com> wrote:
>>
>> > 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/systemvmtem
>> > pla te-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-sy
>> >> s-t
>> >> mplt
>> >> -m /mnt/secondary -u
>> >> http://download.cloud.com/templates/burbank/burbank-systemvm-08012
>> >> 012
>> >> .ova
>> >> -h<http://download.cloud.com/templates/burbank/burbank-systemvm-08
>> >> 012 012.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
>> >> >> -in
>> >> >> cub
>> >> >> ating/html/Installation_Guide/management-server-install-flow.ht
>> >> >> ml
>> >> >> ).
>> >> >> 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>
>> > *(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>
*(tm)*

Reply via email to