Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FF0BE39C for ; Wed, 30 Jan 2013 01:39:23 +0000 (UTC) Received: (qmail 65528 invoked by uid 500); 30 Jan 2013 01:39:22 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 65479 invoked by uid 500); 30 Jan 2013 01:39:22 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 65469 invoked by uid 99); 30 Jan 2013 01:39:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2013 01:39:22 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of mike.tutkowski@solidfire.com does not designate 209.85.219.53 as permitted sender) Received: from [209.85.219.53] (HELO mail-oa0-f53.google.com) (209.85.219.53) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2013 01:39:15 +0000 Received: by mail-oa0-f53.google.com with SMTP id m1so277875oag.12 for ; Tue, 29 Jan 2013 17:38:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=dssx/iVr/W5MuH9WW+zAGEEd85Wpud80Mr8kxSNOwdU=; b=KUtjPMOJvHPeWcgCI6OTDr7e7JXyLJicnUCJXunVg4WikUkV6NYFvXsvnRDdrqygTn zmzYtEoXdQLMuvO6G6FWM0cBMnDZngn3gv7q9iQKHuJdoiwEfik3/y97nQdhSDip359i OH6oCx04vw8JCVdff1wbTS5e2ZHZR057sc8bJqwf8zji2Oy+xdiMMsfFOK5UL5UKBh4i WW1gcN4RJR93KHfwfLPz8l7WIxz6Kv40pkFcpmHWI7zmB6+dSDesTes78qr7ndW1CS9s 4flOFZcwgLOs4rffANyfWyIA8b6m0zLO7K/r22z35kHsLJgoYJQ1MqbVvwH4GeaEqfbJ mG6A== MIME-Version: 1.0 X-Received: by 10.182.0.19 with SMTP id 19mr2483007oba.15.1359509933964; Tue, 29 Jan 2013 17:38:53 -0800 (PST) Received: by 10.182.49.202 with HTTP; Tue, 29 Jan 2013 17:38:53 -0800 (PST) In-Reply-To: References: Date: Tue, 29 Jan 2013 18:38:53 -0700 Message-ID: Subject: Re: Question about Disk Offerings From: Mike Tutkowski To: cloudstack-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d043c8026aebbb104d47792c7 X-Gm-Message-State: ALoCoQlgJeSk0KKfc+O4/C+zuUHJjLcdpQ8a89zZ35scaFr6qXC/EvBAGRk4OQjHVSBm9lK3F+/B X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c8026aebbb104d47792c7 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Awesome...thanks for the info, Marcus! On Tue, Jan 29, 2013 at 6:37 PM, Marcus Sorensen wrote= : > Yes, you can have multiple data disks attached, and those data disks can = be > based on different disk offerings. > On Jan 29, 2013 6:36 PM, "Mike Tutkowski" > wrote: > > > Thanks for clarifying that for me, Marcus! > > > > I have a quick follow-up question for you. > > > > As you mentioned and I've seen in practice, you can attach a Data Disk > > Offering to your VM Instance. I haven't looked in CS, but perhaps you > know > > off the top of your head if you are able to have multiple Data Disk > > Offerings for a given VM Instance. > > > > Here is an example: > > > > An app like MS Exchange might store its data in one volume and its logs > in > > another. Can I create two data disks for it to use (in the Create > Instance > > wizard, it looks like I can only choose one)? Perhaps the way CS works > in > > this case is you get one disk and you'd create two partitions on that > disk > > within the VM (as in the user would have to do this partitioning > manually)? > > > > Thanks! > > > > > > On Tue, Jan 29, 2013 at 5:57 PM, Marcus Sorensen > >wrote: > > > > > You can apply storage tag to both compute offering and disk offering. > > > > > > Root volumes are created from a template, and are only created when a > > > VM is created. They are put on the storage based on the tag the > > > compute offering has. In other words, when you create a new VM, it > > > looks at the storage tag of the compute offering and copies your VM's > > > template there, creating a 'root disk'. > > > > > > Extra volumes can be attached to your VM, and they are created via th= e > > > disk offering. This model is efficient in cloud because it allows > > > templates to be small, deployed and backed up quickly, and then extra > > > disks are used for large file storage. Those extra disks can also be > > > detached and moved around between VMs. Of course, if someone is used > > > to the traditional way there's nothing to stop them from creating a > > > 100G template and just having a root disk. > > > > > > At any rate, create a compute offering with your desired storage tag, > > > and create a VM referencing that compute offering. It should be > > > deployed on the storage you wanted. > > > > > > On Tue, Jan 29, 2013 at 4:53 PM, Mike Tutkowski > > > wrote: > > > > Hi everyone, > > > > > > > > I'm continuing to learn some of the basics of CloudStack. :) > > > > > > > > I was able to create an iSCSI target from an Ubuntu VM of mine and > > > enable a > > > > XenServer VM of mine to see it. > > > > > > > > I went into CloudStack and created a new Primary Storage type based > off > > > of > > > > that storage (by specifying PreSetup). > > > > > > > > I then went into Disk Offerings and created a new one that leverage= d > my > > > new > > > > Primary Storage type (now, correct me if I'm wrong, but the way I d= id > > > this > > > > was to use the same Storage Tag I created with my Primary Storage > type > > as > > > > the Storage Tag of my new Disk Offering). > > > > > > > > I later created a new VM Instance and selected a Data Disk Offering > > equal > > > > to the new Disk Offering I had created. > > > > > > > > This all seemed to work well. :) > > > > > > > > Now, I was curious, it looks like my VM Instance (which is a > > > tinyOffering) > > > > is running on local storage of my XenServer. How was this > determined? > > I > > > > looked at the Compute Offering. If the Compute Offering would have > > had a > > > > Storage Tag of my new Disk Offering, would my VM Instance have been > > > placed > > > > on that storage? > > > > > > > > Thanks for clarifying for me! > > > > > > > > -- > > > > *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* > > > > > > > > > > > -- > > *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* > > > --=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* --f46d043c8026aebbb104d47792c7--