Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80710E18E for ; Thu, 29 Nov 2012 10:41:02 +0000 (UTC) Received: (qmail 63138 invoked by uid 500); 29 Nov 2012 10:41:02 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 62551 invoked by uid 500); 29 Nov 2012 10:41:00 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 61743 invoked by uid 99); 29 Nov 2012 10:40:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 10:40:59 +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 (athena.apache.org: domain of mcirauqui@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 10:40:55 +0000 Received: by mail-ob0-f175.google.com with SMTP id vb8so12504768obc.6 for ; Thu, 29 Nov 2012 02:40:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ooyQgW5IHVODhJ1B+SMUHviTr1L8sARSPmSUdgW2TI4=; b=XQuK35EXQfiskE0FaFRKrfySlon0wlzTAg6cQ6EHvThs3vgUJr7lI/ocZQ8jhRUZKD OWr1gJsJ/6YMp0Tsky6neRqLf3GiX8b/2Q60EJCXN8pY3FwsbqRYGc6/uw1bc7y9djJU fQO2jTN1PzFjNqAZOWJKSYSUCxrHA/baO6OsTFsQA9Icg+mQomiZJbzkZ2hQwLqHsnoe EuLv77jNXCj30+FLuZf0+wSYsI3LG1RutonCnACXcOnQQH7nynxuaz3VV03GHpkpRqvW yYYrfHSTC68GH/8VkhfzXX/t0hjxR2rupDcHUxzb3au0ecPV3w009TWy7GsfMDtsN8PY oIBw== Received: by 10.182.54.102 with SMTP id i6mr7391115obp.67.1354185634418; Thu, 29 Nov 2012 02:40:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.142.228 with HTTP; Thu, 29 Nov 2012 02:40:14 -0800 (PST) In-Reply-To: <20645_1354184856_50B73898_20645_161_1_D4BE37E671B5A64EA4430F759F23CA561083030FB7@PUEXCB2F.nanterre.francetelecom.fr> References: <20645_1354184856_50B73898_20645_161_1_D4BE37E671B5A64EA4430F759F23CA561083030FB7@PUEXCB2F.nanterre.francetelecom.fr> From: Marc Cirauqui Date: Thu, 29 Nov 2012 11:40:14 +0100 Message-ID: Subject: Re: register two local LVM storage in cloudstack To: cloudstack-users Content-Type: multipart/alternative; boundary=14dae93a1145b3103504cf9fe91d X-Virus-Checked: Checked by ClamAV on apache.org --14dae93a1145b3103504cf9fe91d Content-Type: text/plain; charset=UTF-8 Hi, I think yes, PreSetup is shared storage. If you use local storage you will only get vms running in one node (you won't be able to migrate instances to other hosts). You may need to create a service offering that uses shared storage and the desired storage tag. thx On Thu, Nov 29, 2012 at 11:27 AM, wrote: > Hi all, > > We have two different local storage (one is presumably faster) on LVM; and > we want to be able to select which one to use through the storage tags. > > Unfortunately cloudstack recognize only one of the two automatically, so i > tried to configure the second one in cloudstack (Infrastructure > Primary > Storage > Add Primary Storage > Protocol: PreSetup, SR Name-Label: UID > tagged in the name-label); it seems to work as the newly configured primary > storage show the size of the disk. > > However selection of this storage through the tags is not working: > LocalStoragePoolAllocator trying to find storage pool to fit the vm > Looking for pools in dc: 3 pod:3 cluster:1 having tags:[LVM] > FirstFitStoragePoolAllocator has 1 pools to check for allocation > Checking if storage pool is suitable, name: hote02.example.net Local > Storage ,poolId: 204 > Is localStorageAllocationNeeded? true > Is storage pool shared? true > StoragePool is not of correct type, skipping this pool > FirstFitStoragePoolAllocator returning 0 suitable storage pools > LocalStoragePoolAllocator returning 0 suitable storage pools > Unable to find storage pool to fit the vm > > Is the PreSetup storage implicitly shared? > Is there a way to reach my goals? > > Thank you in advance, > Romain. > > > _________________________________________________________________________________________________________________________ > > Ce message et ses pieces jointes peuvent contenir des informations > confidentielles ou privilegiees et ne doivent donc > pas etre diffuses, exploites ou copies sans autorisation. Si vous avez > recu ce message par erreur, veuillez le signaler > a l'expediteur et le detruire ainsi que les pieces jointes. Les messages > electroniques etant susceptibles d'alteration, > France Telecom - Orange decline toute responsabilite si ce message a ete > altere, deforme ou falsifie. Merci. > > This message and its attachments may contain confidential or privileged > information that may be protected by law; > they should not be distributed, used or copied without authorisation. > If you have received this email in error, please notify the sender and > delete this message and its attachments. > As emails may be altered, France Telecom - Orange is not liable for > messages that have been modified, changed or falsified. > Thank you. > > --14dae93a1145b3103504cf9fe91d--