Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 861C91012B for ; Mon, 15 Jul 2013 20:40:28 +0000 (UTC) Received: (qmail 32006 invoked by uid 500); 15 Jul 2013 20:40:28 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 31968 invoked by uid 500); 15 Jul 2013 20:40:28 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 31960 invoked by uid 99); 15 Jul 2013 20:40:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jul 2013 20:40:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mike.tutkowski@solidfire.com designates 209.85.219.41 as permitted sender) Received: from [209.85.219.41] (HELO mail-oa0-f41.google.com) (209.85.219.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jul 2013 20:40:22 +0000 Received: by mail-oa0-f41.google.com with SMTP id n10so16512179oag.28 for ; Mon, 15 Jul 2013 13:40:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=aYhVozRt9Kz3rtgGO6E3FWK1IDRsGogMAf4QXpHS4f4=; b=iGE4lDvokLJq0JcvdqaCUtSp5KkGoJpO8SwVVHj1Vn2iMxb8T4Uva+T63s1guW7yZB vaKdFpAFYXRCuFnHWcr5qyH4N/WBfecJ8OWZnPpOJ4mUZYP+LkMbdDVxabxC+CPd7Vgr bOIJMw6CveJmmlvr9CNT0qCLjV+Am9XA4utcHIZbN8J6Q+A4PuwKruxHaKl/rBQ7c0CM iE5Vs4fuhqvFxOkBV3QvR1Q9xKcSXHMdY+jzWhCXXZNRycPWEcSdPIkFrILk6x22Xv62 F7PpIzTQx3+XZNfOExd2NJITXKxMB6DhmZUocsaB7W3wB9hdgJeGRQHliw+IxXvTmnU/ 1xRg== MIME-Version: 1.0 X-Received: by 10.60.57.164 with SMTP id j4mr44599521oeq.10.1373920801228; Mon, 15 Jul 2013 13:40:01 -0700 (PDT) Received: by 10.182.205.226 with HTTP; Mon, 15 Jul 2013 13:40:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Jul 2013 14:40:01 -0600 Message-ID: Subject: Re: Secondary Storage Setup Question From: Mike Tutkowski To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=089e013d0ce84e99bd04e192dde8 X-Gm-Message-State: ALoCoQltKFPowVkku9fh33UGnvUZtIcmP57hbi+m3qEU0r5KQuTAwxvh0kCS1MaJxBiw2hDRcTY1 X-Virus-Checked: Checked by ClamAV on apache.org --089e013d0ce84e99bd04e192dde8 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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-20= 13-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.bhamidipati@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.tutkowski@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 -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.tutkowski@solidfire.com> wrote: > > > Perfect - thanks! > > > > > > On Mon, Jul 15, 2013 at 12:51 PM, Vijayendra Bhamidipati < > > vijayendra.bhamidipati@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.tutkowski@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.tutkowski@solidfire.com > >> o: 303.746.7302 > >> Advancing the way the world uses the > >> cloud > >> *(tm)* > >> > > > > > > > > -- > > *Mike Tutkowski* > > *Senior CloudStack Developer, SolidFire Inc.* > > e: mike.tutkowski@solidfire.com > > o: 303.746.7302 > > Advancing the way the world uses the > > cloud > > *(tm)* > > > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkowski@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud > *(tm)* > --=20 *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkowski@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud *=99* --089e013d0ce84e99bd04e192dde8--