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 2DE3111CD4 for ; Mon, 7 Jul 2014 05:01:12 +0000 (UTC) Received: (qmail 56085 invoked by uid 500); 7 Jul 2014 05:01:11 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 56047 invoked by uid 500); 7 Jul 2014 05:01:11 -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 54952 invoked by uid 99); 7 Jul 2014 05:01:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2014 05:01:10 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of prashantkumar.mishra@citrix.com designates 103.14.252.240 as permitted sender) Received: from [103.14.252.240] (HELO SMTP.CITRIX.COM.AU) (103.14.252.240) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2014 05:01:06 +0000 X-IronPort-AV: E=Sophos;i="5.01,616,1400025600"; d="scan'208";a="7878817" Received: from sinaccessns.citrite.net (HELO SINPEX01CL02.citrite.net) ([10.151.60.9]) by sinpip01.citrite.net with ESMTP; 07 Jul 2014 05:00:44 +0000 Received: from SINPEX01CL03.citrite.net ([169.254.3.175]) by SINPEX01CL02.citrite.net ([169.254.2.225]) with mapi id 14.03.0181.006; Mon, 7 Jul 2014 13:00:43 +0800 From: Prashant Kumar Mishra To: Giri Prasad , "dev@cloudstack.apache.org" , "users@cloudstack.apache.org" Subject: RE: How to change primary storage Thread-Topic: How to change primary storage Thread-Index: AQHPmAwTMBDNVkU1TUKMTgTe/REnGJuSbw1wgAETA4CAAIfssA== Date: Mon, 7 Jul 2014 05:00:43 +0000 Message-ID: <86A68A64B2545A4E96158C3A51C8EAC90E0E0C2E@SINPEX01CL03.citrite.net> References: <1404535547.94119.YahooMailNeo@web194002.mail.sg3.yahoo.com> <86A68A64B2545A4E96158C3A51C8EAC90E0DFF2A@SINPEX01CL03.citrite.net> <1404707409.70012.YahooMailNeo@web194002.mail.sg3.yahoo.com> In-Reply-To: <1404707409.70012.YahooMailNeo@web194002.mail.sg3.yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.252.192.18] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP: SIN1 X-Virus-Checked: Checked by ClamAV on apache.org For error like "The storage pool will not be used but cleanup is needed" y= ou should check global settings "global.clenup.interaval " ,For quick clean= up you can set it to 300ms and check parameter related to cleanup like sto= rage.template.cleanup.enable , storage cleanup enabled etc. If global sett= ings are properly tuned I don't think any database modifications required= =20 ->cloud.volume stores volumes information , if you are not able to delete = storage because"volume still exist on the storage" change the volume state = and delete. -> storage_pool, storage_pool_view for primary storage Thanks Prashant=20 -----Original Message----- From: Giri Prasad [mailto:g_pr23@yahoo.com]=20 Sent: Monday, July 07, 2014 10:00 AM To: Prashant Kumar Mishra; dev@cloudstack.apache.org; users@cloudstack.apac= he.org Subject: Re: How to change primary storage Hello, Thanks for suggestion, which I will try. Btw, I saw a lead as: http://comments.gmane.org/gmane.comp.apache.cloudstack.user/7000 Which says : when I've had issues deleting primary storages in the past, I've ended up h= aving to delete volumes that were still associated with the datastore from = the cloud.volumes table. Is cloud.volumes the mysql table, where all the primary/secondary storage s= etups are stored? Or what is the exact db.tablename which stores the primar= y/secondary storage setups? Regards, D.Giriprasad ----- Original Message ----- From: Prashant Kumar Mishra To: "dev@cloudstack.apache.org" ; Giri Prasad ; "users@cloudstack.apache.org" Cc:=20 Sent: Sunday, 6 July 2014 9:42 AM Subject: RE: How to change primary storage I would suggest add you new=A0 primary storage ,migrate volumes=A0 from old= storage to new storage and=A0 then remove ur old primary storage after ena= bling=A0 maintenance mode. Thanks Prashant -----Original Message----- From: Giri Prasad [mailto:g_pr23@yahoo.com.INVALID] Sent: Saturday, July 05, 2014 10:16 AM To: users@cloudstack.apache.org; dev@cloudstack.apache.org Subject: How to change primary storage Hello All, =A0I installed CS 4.1 on ubuntu, with primary storage in /export/aa and sec= ondary storage in /export/bb, both in the same hard disk as the management = server of CS 4.1. The Ip of the server is=A0 http://XXX.XXX.1.5. =A0Recently, I configured the My Book Live Device, to the IP of http://XXX.= XXX.1.20. I am able to mount this device to linux dir and view files on it. =A0The CS 4.1 was installed before mounting this external My Book Live Devi= ce. Now I want to change the primary storage of the IP address from http://XXX.= XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the primary storage = directory. =A0Can, anybody provide insights, on which Mysql table, should I update for= CS 4.1 setup. Or is there a procedure, to change the primary storage setti= ngs via the CS 4.1 web interface gui? Thanks in advance. Regards, D.Giriprasad