Re: How to change primary storage

2014-07-15 Thread Giri Prasad
Thanks for your comment. Will try it, and will inform the status.




 From: Sanjeev Neelarapu sanjeev.neelar...@citrix.com
To: users@cloudstack.apache.org users@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com; d...@cloudstack.apache.org d...@cloudstack.apache.org 
Sent: Tuesday, 15 July 2014 11:09 AM
Subject: RE: How to change primary storage
 

Configure your disk as NAS storage so that you can use it for both primary and 
secondary storages in CS.




-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID] 
Sent: Monday, July 14, 2014 12:44 PM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Re: How to change primary storage

Thanks for the info.  So how does one configure , My Book Live disk to be used 
as primary/secondary storage in CS 4.1 or 4.2/3?





From: Sanjeev Neelarapu sanjeev.neelar...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com
Cc: users@cloudstack.apache.org users@cloudstack.apache.org
Sent: Monday, 14 July 2014 10:51 AM
Subject: RE: How to change primary storage


Hi Giri,

CS 4.1 does not support smfs for primary storage. So you can't add your 
external disk in your setup.

-Sanjeev


-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
Sent: Thursday, July 10, 2014 2:32 PM
To: d...@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

I have a new install of CS 4.1 on Ubuntu 12.04 LTS.  I currently dont have any 
vm's or applications or volumes configured or running on the CS 4.1. Basically 
a freshly installed Ubuntu kernel and CS 4.1.


The storage setup on the Ubuntu host pc is

XXX.XXX.1.5:/export/primary on /mnt/primary1

XXX.XXX.1.5:/export/secondary on /mnt/secondary

The external disk (My Book Live disk) is configured as 

XXX.XXX.1.20:/nfs/Public/primary on /mnt/primary

    This external disk is configured in Linux host using : apt-get install 
smbfs. The external disk is mounting and is read/write-able in the Linux host.

Now, I want to add the external disk (XXX.XXX.1.20) as the primary storage and 
remove the (local hdd) primary storage XXX.XXX.1.5:/export/primary.

 So, if I just add the XXX.XXX.1.20  as the primary storage in CS, and remove 
1.5:/export/primary will do? Or some other procedure?


Please take note that I have used only smfs, for mounting.


Regards,




From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com
Cc: users@cloudstack.apache.org users@cloudstack.apache.org
Sent: Monday, 7 July 2014 10:56 AM
Subject: RE: How to change primary storage


Manually changing the db can help you but I prefer These steps ,  can be done  
without any downtime .

1-add http://XXX.XXX.1.20 with /export/dd
2- migrate volumes from http://XXX.XXX.1.5 to http://XXX.XXX.1.20 3-put 
http://XXX.XXX.1.5 to maintains mode
4- remove http://XXX.XXX.1.5.

thanks

-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
Sent: Monday, July 07, 2014 10:48 AM
To: d...@cloudstack.apache.org; Giri Prasad
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

You can probably change the host_address field of the storage_pool table to 
change the IP address of your primary storage.

You will probably want to make sure you don't have any (non-deleted) volumes on 
the storage pool (primary storage) in question, though.

As you likely have seen, the volumes table is linked to the storage_pool table 
via the storage_pool.id and volumes.pool_id fields.

It might be easier for you to create new primary storage and migrate your 
volumes on the old primary storage to the new primary storage.


On Sun, Jul 6, 2014 at 11:07 PM, Giri Prasad g_p...@yahoo.com.invalid
wrote:

 Thanks.

 I want to change the primary storage IP address from
 http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the 
 primary storage directory, from /export/aa to /export/dd.  What is the 
 procedure?



 
  From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: Giri Prasad g_p...@yahoo.com; d...@cloudstack.apache.org  
d...@cloudstack.apache.org; users@cloudstack.apache.org  
users@cloudstack.apache.org
 Sent: Monday, 7 July 2014 10:30 AM
 Subject: RE: How to change primary storage


 For error like The storage pool will not be used but cleanup is needed
 you should check global settings global.clenup.interaval  ,For quick 
 cleanup you can set it to 300ms and check  parameter related to 
 cleanup like storage.template.cleanup.enable  , storage cleanup 
 enabled etc. If global settings are properly tuned I don't think  any 
 database modifications required

 -cloud.volume  stores volumes information , if you are not able to 
 -delete
 storage becausevolume still

Re: How to change primary storage

2014-07-14 Thread Giri Prasad
Thanks for the info.  So how does one configure , My Book Live disk to be used 
as primary/secondary storage in CS 4.1 or 4.2/3?





 From: Sanjeev Neelarapu sanjeev.neelar...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com 
Cc: users@cloudstack.apache.org users@cloudstack.apache.org 
Sent: Monday, 14 July 2014 10:51 AM
Subject: RE: How to change primary storage
 

Hi Giri,

CS 4.1 does not support smfs for primary storage. So you can't add your 
external disk in your setup.

-Sanjeev


-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID] 
Sent: Thursday, July 10, 2014 2:32 PM
To: d...@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

I have a new install of CS 4.1 on Ubuntu 12.04 LTS.  I currently dont have any 
vm's or applications or volumes configured or running on the CS 4.1. Basically 
a freshly installed Ubuntu kernel and CS 4.1.


The storage setup on the Ubuntu host pc is

XXX.XXX.1.5:/export/primary on /mnt/primary1

XXX.XXX.1.5:/export/secondary on /mnt/secondary

The external disk (My Book Live disk) is configured as 

XXX.XXX.1.20:/nfs/Public/primary on /mnt/primary

    This external disk is configured in Linux host using : apt-get install 
smbfs. The external disk is mounting and is read/write-able in the Linux host.

Now, I want to add the external disk (XXX.XXX.1.20) as the primary storage and 
remove the (local hdd) primary storage XXX.XXX.1.5:/export/primary.

 So, if I just add the XXX.XXX.1.20  as the primary storage in CS, and remove 
1.5:/export/primary will do? Or some other procedure?


Please take note that I have used only smfs, for mounting.


Regards,




From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com
Cc: users@cloudstack.apache.org users@cloudstack.apache.org
Sent: Monday, 7 July 2014 10:56 AM
Subject: RE: How to change primary storage


Manually changing the db can help you but I prefer These steps ,  can be done  
without any downtime .

1-add http://XXX.XXX.1.20 with /export/dd
2- migrate volumes from http://XXX.XXX.1.5 to http://XXX.XXX.1.20 3-put 
http://XXX.XXX.1.5 to maintains mode
4- remove http://XXX.XXX.1.5.

thanks

-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
Sent: Monday, July 07, 2014 10:48 AM
To: d...@cloudstack.apache.org; Giri Prasad
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

You can probably change the host_address field of the storage_pool table to 
change the IP address of your primary storage.

You will probably want to make sure you don't have any (non-deleted) volumes on 
the storage pool (primary storage) in question, though.

As you likely have seen, the volumes table is linked to the storage_pool table 
via the storage_pool.id and volumes.pool_id fields.

It might be easier for you to create new primary storage and migrate your 
volumes on the old primary storage to the new primary storage.


On Sun, Jul 6, 2014 at 11:07 PM, Giri Prasad g_p...@yahoo.com.invalid
wrote:

 Thanks.

 I want to change the primary storage IP address from
 http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the 
 primary storage directory, from /export/aa to /export/dd.  What is the 
 procedure?



 
  From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: Giri Prasad g_p...@yahoo.com; d...@cloudstack.apache.org   
d...@cloudstack.apache.org; users@cloudstack.apache.org   
users@cloudstack.apache.org
 Sent: Monday, 7 July 2014 10:30 AM
 Subject: RE: How to change primary storage


 For error like The storage pool will not be used but cleanup is needed
 you should check global settings global.clenup.interaval  ,For quick 
 cleanup you can set it to 300ms and check  parameter related to 
 cleanup like storage.template.cleanup.enable  , storage cleanup 
 enabled etc. If global settings are properly tuned I don't think  any 
 database modifications required

 -cloud.volume  stores volumes information , if you are not able to 
 -delete
 storage becausevolume still exist on the storage change the volume 
 state and delete.

 - storage_pool, storage_pool_view  for primary storage

 Thanks
 Prashant


 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com]
 Sent: Monday, July 07, 2014 10:00 AM
 To: Prashant Kumar Mishra; d...@cloudstack.apache.org; 
 users@cloudstack.apache.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 having to delete volumes that were still associated with the 
 datastore from the cloud.volumes table

RE: How to change primary storage

2014-07-14 Thread Sanjeev Neelarapu
Configure your disk as NAS storage so that you can use it for both primary and 
secondary storages in CS.

-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID] 
Sent: Monday, July 14, 2014 12:44 PM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Re: How to change primary storage

Thanks for the info.  So how does one configure , My Book Live disk to be used 
as primary/secondary storage in CS 4.1 or 4.2/3?





 From: Sanjeev Neelarapu sanjeev.neelar...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com
Cc: users@cloudstack.apache.org users@cloudstack.apache.org
Sent: Monday, 14 July 2014 10:51 AM
Subject: RE: How to change primary storage
 

Hi Giri,

CS 4.1 does not support smfs for primary storage. So you can't add your 
external disk in your setup.

-Sanjeev


-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
Sent: Thursday, July 10, 2014 2:32 PM
To: d...@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

I have a new install of CS 4.1 on Ubuntu 12.04 LTS.  I currently dont have any 
vm's or applications or volumes configured or running on the CS 4.1. Basically 
a freshly installed Ubuntu kernel and CS 4.1.


The storage setup on the Ubuntu host pc is

XXX.XXX.1.5:/export/primary on /mnt/primary1

XXX.XXX.1.5:/export/secondary on /mnt/secondary

The external disk (My Book Live disk) is configured as 

XXX.XXX.1.20:/nfs/Public/primary on /mnt/primary

    This external disk is configured in Linux host using : apt-get install 
smbfs. The external disk is mounting and is read/write-able in the Linux host.

Now, I want to add the external disk (XXX.XXX.1.20) as the primary storage and 
remove the (local hdd) primary storage XXX.XXX.1.5:/export/primary.

 So, if I just add the XXX.XXX.1.20  as the primary storage in CS, and remove 
1.5:/export/primary will do? Or some other procedure?


Please take note that I have used only smfs, for mounting.


Regards,




From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com
Cc: users@cloudstack.apache.org users@cloudstack.apache.org
Sent: Monday, 7 July 2014 10:56 AM
Subject: RE: How to change primary storage


Manually changing the db can help you but I prefer These steps ,  can be done  
without any downtime .

1-add http://XXX.XXX.1.20 with /export/dd
2- migrate volumes from http://XXX.XXX.1.5 to http://XXX.XXX.1.20 3-put 
http://XXX.XXX.1.5 to maintains mode
4- remove http://XXX.XXX.1.5.

thanks

-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
Sent: Monday, July 07, 2014 10:48 AM
To: d...@cloudstack.apache.org; Giri Prasad
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

You can probably change the host_address field of the storage_pool table to 
change the IP address of your primary storage.

You will probably want to make sure you don't have any (non-deleted) volumes on 
the storage pool (primary storage) in question, though.

As you likely have seen, the volumes table is linked to the storage_pool table 
via the storage_pool.id and volumes.pool_id fields.

It might be easier for you to create new primary storage and migrate your 
volumes on the old primary storage to the new primary storage.


On Sun, Jul 6, 2014 at 11:07 PM, Giri Prasad g_p...@yahoo.com.invalid
wrote:

 Thanks.

 I want to change the primary storage IP address from
 http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the 
 primary storage directory, from /export/aa to /export/dd.  What is the 
 procedure?



 
  From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: Giri Prasad g_p...@yahoo.com; d...@cloudstack.apache.org  
d...@cloudstack.apache.org; users@cloudstack.apache.org  
users@cloudstack.apache.org
 Sent: Monday, 7 July 2014 10:30 AM
 Subject: RE: How to change primary storage


 For error like The storage pool will not be used but cleanup is needed
 you should check global settings global.clenup.interaval  ,For quick 
 cleanup you can set it to 300ms and check  parameter related to 
 cleanup like storage.template.cleanup.enable  , storage cleanup 
 enabled etc. If global settings are properly tuned I don't think  any 
 database modifications required

 -cloud.volume  stores volumes information , if you are not able to 
 -delete
 storage becausevolume still exist on the storage change the volume 
 state and delete.

 - storage_pool, storage_pool_view  for primary storage

 Thanks
 Prashant


 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com]
 Sent: Monday, July 07, 2014 10:00 AM
 To: Prashant Kumar Mishra; d...@cloudstack.apache.org; 
 users@cloudstack.apache.org
 Subject: Re: How to change primary storage

 Hello

RE: How to change primary storage

2014-07-13 Thread Sanjeev Neelarapu
Hi Giri,

CS 4.1 does not support smfs for primary storage. So you can't add your 
external disk in your setup.

-Sanjeev

-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID] 
Sent: Thursday, July 10, 2014 2:32 PM
To: d...@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

I have a new install of CS 4.1 on Ubuntu 12.04 LTS.  I currently dont have any 
vm's or applications or volumes configured or running on the CS 4.1. Basically 
a freshly installed Ubuntu kernel and CS 4.1.


The storage setup on the Ubuntu host pc is

XXX.XXX.1.5:/export/primary on /mnt/primary1

XXX.XXX.1.5:/export/secondary on /mnt/secondary

The external disk (My Book Live disk) is configured as 

XXX.XXX.1.20:/nfs/Public/primary on /mnt/primary

    This external disk is configured in Linux host using : apt-get install 
smbfs. The external disk is mounting and is read/write-able in the Linux host.

Now, I want to add the external disk (XXX.XXX.1.20) as the primary storage and 
remove the (local hdd) primary storage XXX.XXX.1.5:/export/primary.

 So, if I just add the XXX.XXX.1.20  as the primary storage in CS, and remove 
1.5:/export/primary will do? Or some other procedure?


Please take note that I have used only smfs, for mounting.


Regards,




 From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com
Cc: users@cloudstack.apache.org users@cloudstack.apache.org
Sent: Monday, 7 July 2014 10:56 AM
Subject: RE: How to change primary storage
 

Manually changing the db can help you but I prefer These steps ,  can be done  
without any downtime .

1-add http://XXX.XXX.1.20 with /export/dd
2- migrate volumes from http://XXX.XXX.1.5 to http://XXX.XXX.1.20 3-put 
http://XXX.XXX.1.5 to maintains mode
4- remove http://XXX.XXX.1.5.

thanks

-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
Sent: Monday, July 07, 2014 10:48 AM
To: d...@cloudstack.apache.org; Giri Prasad
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

You can probably change the host_address field of the storage_pool table to 
change the IP address of your primary storage.

You will probably want to make sure you don't have any (non-deleted) volumes on 
the storage pool (primary storage) in question, though.

As you likely have seen, the volumes table is linked to the storage_pool table 
via the storage_pool.id and volumes.pool_id fields.

It might be easier for you to create new primary storage and migrate your 
volumes on the old primary storage to the new primary storage.


On Sun, Jul 6, 2014 at 11:07 PM, Giri Prasad g_p...@yahoo.com.invalid
wrote:

 Thanks.

 I want to change the primary storage IP address from
 http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the 
 primary storage directory, from /export/aa to /export/dd.  What is the 
 procedure?



 
  From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: Giri Prasad g_p...@yahoo.com; d...@cloudstack.apache.org   
d...@cloudstack.apache.org; users@cloudstack.apache.org   
users@cloudstack.apache.org
 Sent: Monday, 7 July 2014 10:30 AM
 Subject: RE: How to change primary storage


 For error like The storage pool will not be used but cleanup is needed
 you should check global settings global.clenup.interaval  ,For quick 
 cleanup you can set it to 300ms and check  parameter related to 
 cleanup like storage.template.cleanup.enable  , storage cleanup 
 enabled etc. If global settings are properly tuned I don't think  any 
 database modifications required

 -cloud.volume  stores volumes information , if you are not able to 
 -delete
 storage becausevolume still exist on the storage change the volume 
 state and delete.

 - storage_pool, storage_pool_view  for primary storage

 Thanks
 Prashant


 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com]
 Sent: Monday, July 07, 2014 10:00 AM
 To: Prashant Kumar Mishra; d...@cloudstack.apache.org; 
 users@cloudstack.apache.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 having 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 setups are stored? Or what is the exact db.tablename which 
 stores the primary/secondary storage setups?


 Regards,
 D.Giriprasad



 - Original Message -
 From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri 
 Prasad  g_p...@yahoo.com; users@cloudstack.apache.org  
 users

Re: How to change primary storage

2014-07-07 Thread Punith S
hi,

can you try updating the ip address(host_address) of your primary storage
in storage_pool table and check the logs for the storage status whether
things are working fine.

thanks.


On Mon, Jul 7, 2014 at 10:37 AM, Giri Prasad g_p...@yahoo.com.invalid
wrote:

 Thanks.

 I want to change the primary storage IP address from http://XXX.XXX.1.5
 to http://XXX.XXX.1.20. Also, I need to change the primary storage
 directory, from /export/aa to /export/dd.  What is the procedure?



 
  From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: Giri Prasad g_p...@yahoo.com; d...@cloudstack.apache.org 
 d...@cloudstack.apache.org; users@cloudstack.apache.org 
 users@cloudstack.apache.org
 Sent: Monday, 7 July 2014 10:30 AM
 Subject: RE: How to change primary storage


 For error like The storage pool will not be used but cleanup is needed
 you should check global settings global.clenup.interaval  ,For quick
 cleanup you can set it to 300ms and check  parameter related to cleanup
 like storage.template.cleanup.enable  , storage cleanup enabled etc. If
 global settings are properly tuned I don't think  any database
 modifications required

 -cloud.volume  stores volumes information , if you are not able to delete
 storage becausevolume still exist on the storage change the volume state
 and delete.

 - storage_pool, storage_pool_view  for primary storage

 Thanks
 Prashant


 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com]
 Sent: Monday, July 07, 2014 10:00 AM
 To: Prashant Kumar Mishra; d...@cloudstack.apache.org;
 users@cloudstack.apache.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
 having 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
 setups are stored? Or what is the exact db.tablename which stores the
 primary/secondary storage setups?


 Regards,
 D.Giriprasad



 - Original Message -
 From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
 g_p...@yahoo.com; users@cloudstack.apache.org 
 users@cloudstack.apache.org
 Cc:
 Sent: Sunday, 6 July 2014 9:42 AM
 Subject: RE: How to change primary storage


 I would suggest add you new  primary storage ,migrate volumes  from old
 storage to new storage and  then remove ur old primary storage after
 enabling  maintenance mode.

 Thanks
 Prashant



 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
 Sent: Saturday, July 05, 2014 10:16 AM
 To: users@cloudstack.apache.org; d...@cloudstack.apache.org
 Subject: How to change primary storage

 Hello All,

  I installed CS 4.1 on ubuntu, with primary storage in /export/aa and
 secondary storage in /export/bb, both in the same hard disk as the
 management server of CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


  Recently, 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.

  The CS 4.1 was installed before mounting this external My Book Live
 Device.

 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.

  Can, 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
 settings via the CS 4.1 web interface gui?

 Thanks in advance.

 Regards,
 D.Giriprasad




-- 
regards,

punith s
cloudbyte.com


Re: How to change primary storage

2014-07-07 Thread Giri Prasad
Hi All,

Thanks everybody for all your valuable insights. I am working on this as of now 
and I will keep you all posted, once I am thru with this.

Regards,




 From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com 
Cc: users@cloudstack.apache.org users@cloudstack.apache.org 
Sent: Monday, 7 July 2014 10:56 AM
Subject: RE: How to change primary storage
 

Manually changing the db can help you but I prefer These steps ,  can be done  
without any downtime .

1-add http://XXX.XXX.1.20 with /export/dd
2- migrate volumes from http://XXX.XXX.1.5 to http://XXX.XXX.1.20
3-put http://XXX.XXX.1.5 to maintains mode
4- remove http://XXX.XXX.1.5.

thanks



-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] 
Sent: Monday, July 07, 2014 10:48 AM
To: d...@cloudstack.apache.org; Giri Prasad
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

You can probably change the host_address field of the storage_pool table to 
change the IP address of your primary storage.

You will probably want to make sure you don't have any (non-deleted) volumes on 
the storage pool (primary storage) in question, though.

As you likely have seen, the volumes table is linked to the storage_pool table 
via the storage_pool.id and volumes.pool_id fields.

It might be easier for you to create new primary storage and migrate your 
volumes on the old primary storage to the new primary storage.


On Sun, Jul 6, 2014 at 11:07 PM, Giri Prasad g_p...@yahoo.com.invalid
wrote:

 Thanks.

 I want to change the primary storage IP address from 
 http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the 
 primary storage directory, from /export/aa to /export/dd.  What is the 
 procedure?



 
  From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: Giri Prasad g_p...@yahoo.com; d...@cloudstack.apache.org  
 d...@cloudstack.apache.org; users@cloudstack.apache.org  
 users@cloudstack.apache.org
 Sent: Monday, 7 July 2014 10:30 AM
 Subject: RE: How to change primary storage


 For error like The storage pool will not be used but cleanup is needed
 you should check global settings global.clenup.interaval  ,For quick 
 cleanup you can set it to 300ms and check  parameter related to 
 cleanup like storage.template.cleanup.enable  , storage cleanup 
 enabled etc. If global settings are properly tuned I don't think  any 
 database modifications required

 -cloud.volume  stores volumes information , if you are not able to 
 -delete
 storage becausevolume still exist on the storage change the volume 
 state and delete.

 - storage_pool, storage_pool_view  for primary storage

 Thanks
 Prashant


 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com]
 Sent: Monday, July 07, 2014 10:00 AM
 To: Prashant Kumar Mishra; d...@cloudstack.apache.org; 
 users@cloudstack.apache.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 having 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 setups are stored? Or what is the exact db.tablename which 
 stores the primary/secondary storage setups?


 Regards,
 D.Giriprasad



 - Original Message -
 From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri 
 Prasad  g_p...@yahoo.com; users@cloudstack.apache.org  
 users@cloudstack.apache.org
 Cc:
 Sent: Sunday, 6 July 2014 9:42 AM
 Subject: RE: How to change primary storage


 I would suggest add you new  primary storage ,migrate volumes  from 
 old storage to new storage and  then remove ur old primary storage 
 after enabling  maintenance mode.

 Thanks
 Prashant



 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
 Sent: Saturday, July 05, 2014 10:16 AM
 To: users@cloudstack.apache.org; d...@cloudstack.apache.org
 Subject: How to change primary storage

 Hello All,

  I installed CS 4.1 on ubuntu, with primary storage in /export/aa and 
 secondary storage in /export/bb, both in the same hard disk as the 
 management server of CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


  Recently, 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.

  The CS 4.1 was installed before mounting this external My Book Live 
 Device.

 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.

  Can

Re: How to change primary storage

2014-07-06 Thread Giri Prasad
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 
having 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 
setups are stored? Or what is the exact db.tablename which stores the 
primary/secondary storage setups?


Regards,
D.Giriprasad



- Original Message -
From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com; users@cloudstack.apache.org users@cloudstack.apache.org
Cc: 
Sent: Sunday, 6 July 2014 9:42 AM
Subject: RE: How to change primary storage


I would suggest add you new  primary storage ,migrate volumes  from old storage 
to new storage and  then remove ur old primary storage after enabling  
maintenance mode.

Thanks
Prashant



-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID] 
Sent: Saturday, July 05, 2014 10:16 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: How to change primary storage

Hello All,

 I installed CS 4.1 on ubuntu, with primary storage in /export/aa and secondary 
storage in /export/bb, both in the same hard disk as the management server of 
CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


 Recently, 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.

 The CS 4.1 was installed before mounting this external My Book Live Device.

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.

 Can, 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 settings via 
the CS 4.1 web interface gui?

Thanks in advance.

Regards,
D.Giriprasad



Re: How to change primary storage

2014-07-06 Thread Mike Tutkowski
cloud.storage_pool for primary storage and cloud.image_store for secondary
storage.


On Sun, Jul 6, 2014 at 10:30 PM, Giri Prasad g_p...@yahoo.com.invalid
wrote:

 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
 having 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
 setups are stored? Or what is the exact db.tablename which stores the
 primary/secondary storage setups?


 Regards,
 D.Giriprasad



 - Original Message -
 From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
 g_p...@yahoo.com; users@cloudstack.apache.org 
 users@cloudstack.apache.org
 Cc:
 Sent: Sunday, 6 July 2014 9:42 AM
 Subject: RE: How to change primary storage


 I would suggest add you new  primary storage ,migrate volumes  from old
 storage to new storage and  then remove ur old primary storage after
 enabling  maintenance mode.

 Thanks
 Prashant



 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
 Sent: Saturday, July 05, 2014 10:16 AM
 To: users@cloudstack.apache.org; d...@cloudstack.apache.org
 Subject: How to change primary storage

 Hello All,

  I installed CS 4.1 on ubuntu, with primary storage in /export/aa and
 secondary storage in /export/bb, both in the same hard disk as the
 management server of CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


  Recently, 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.

  The CS 4.1 was installed before mounting this external My Book Live
 Device.

 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.

  Can, 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
 settings via the CS 4.1 web interface gui?

 Thanks in advance.

 Regards,
 D.Giriprasad




-- 
*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*™*


Re: How to change primary storage

2014-07-06 Thread Giri Prasad
Thanks.

However, I find primary storage information stored in also:

use cloud;

select account_id , domain_id , pool_id, last_pool_id, instance_id, folder from 
volumes;


If I have to change the folder name manually, in the tables, what are all the 
tables, should I change.





 From: Mike Tutkowski mike.tutkow...@solidfire.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com 
Cc: Prashant Kumar Mishra prashantkumar.mis...@citrix.com; 
users@cloudstack.apache.org users@cloudstack.apache.org 
Sent: Monday, 7 July 2014 10:10 AM
Subject: Re: How to change primary storage
 


cloud.storage_pool for primary storage and cloud.image_store for secondary 
storage.



On Sun, Jul 6, 2014 at 10:30 PM, Giri Prasad g_p...@yahoo.com.invalid wrote:

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 
having 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 
setups are stored? Or what is the exact db.tablename which stores the 
primary/secondary storage setups?


Regards,
D.Giriprasad




- Original Message -
From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com; users@cloudstack.apache.org users@cloudstack.apache.org
Cc:
Sent: Sunday, 6 July 2014 9:42 AM
Subject: RE: How to change primary storage


I would suggest add you new  primary storage ,migrate volumes  from old 
storage to new storage and  then remove ur old primary storage after enabling  
maintenance mode.

Thanks
Prashant



-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
Sent: Saturday, July 05, 2014 10:16 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: How to change primary storage

Hello All,

 I installed CS 4.1 on ubuntu, with primary storage in /export/aa and 
secondary storage in /export/bb, both in the same hard disk as the management 
server of CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


 Recently, 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.

 The CS 4.1 was installed before mounting this external My Book Live Device.

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.

 Can, 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 settings via 
the CS 4.1 web interface gui?

Thanks in advance.

Regards,
D.Giriprasad




-- 
Mike Tutkowski

Senior CloudStack Developer, SolidFire Inc.
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud™

RE: How to change primary storage

2014-07-06 Thread Prashant Kumar Mishra
For error like The storage pool will not be used but cleanup is needed  you 
should check global settings global.clenup.interaval  ,For quick cleanup you 
can set it to 300ms and check  parameter related to cleanup like 
storage.template.cleanup.enable  , storage cleanup enabled etc. If global 
settings are properly tuned I don't think  any database modifications required 

-cloud.volume  stores volumes information , if you are not able to delete 
storage becausevolume still exist on the storage change the volume state and 
delete.

- storage_pool, storage_pool_view  for primary storage

Thanks
Prashant 

-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com] 
Sent: Monday, July 07, 2014 10:00 AM
To: Prashant Kumar Mishra; d...@cloudstack.apache.org; 
users@cloudstack.apache.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 
having 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 
setups are stored? Or what is the exact db.tablename which stores the 
primary/secondary storage setups?


Regards,
D.Giriprasad



- Original Message -
From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com; users@cloudstack.apache.org users@cloudstack.apache.org
Cc: 
Sent: Sunday, 6 July 2014 9:42 AM
Subject: RE: How to change primary storage


I would suggest add you new  primary storage ,migrate volumes  from old storage 
to new storage and  then remove ur old primary storage after enabling  
maintenance mode.

Thanks
Prashant



-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
Sent: Saturday, July 05, 2014 10:16 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: How to change primary storage

Hello All,

 I installed CS 4.1 on ubuntu, with primary storage in /export/aa and secondary 
storage in /export/bb, both in the same hard disk as the management server of 
CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


 Recently, 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.

 The CS 4.1 was installed before mounting this external My Book Live Device.

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.

 Can, 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 settings via 
the CS 4.1 web interface gui?

Thanks in advance.

Regards,
D.Giriprasad



Re: How to change primary storage

2014-07-06 Thread Giri Prasad
Thanks.

I want to change the primary storage IP address from http://XXX.XXX.1.5 to 
http://XXX.XXX.1.20. Also, I need to change the primary storage directory, from 
/export/aa to /export/dd.  What is the procedure?




 From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: Giri Prasad g_p...@yahoo.com; d...@cloudstack.apache.org 
d...@cloudstack.apache.org; users@cloudstack.apache.org 
users@cloudstack.apache.org 
Sent: Monday, 7 July 2014 10:30 AM
Subject: RE: How to change primary storage
 

For error like The storage pool will not be used but cleanup is needed  you 
should check global settings global.clenup.interaval  ,For quick cleanup you 
can set it to 300ms and check  parameter related to cleanup like 
storage.template.cleanup.enable  , storage cleanup enabled etc. If global 
settings are properly tuned I don't think  any database modifications required 

-cloud.volume  stores volumes information , if you are not able to delete 
storage becausevolume still exist on the storage change the volume state and 
delete.

- storage_pool, storage_pool_view  for primary storage

Thanks
Prashant 


-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com] 
Sent: Monday, July 07, 2014 10:00 AM
To: Prashant Kumar Mishra; d...@cloudstack.apache.org; 
users@cloudstack.apache.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 
having 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 
setups are stored? Or what is the exact db.tablename which stores the 
primary/secondary storage setups?


Regards,
D.Giriprasad



- Original Message -
From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com; users@cloudstack.apache.org users@cloudstack.apache.org
Cc: 
Sent: Sunday, 6 July 2014 9:42 AM
Subject: RE: How to change primary storage


I would suggest add you new  primary storage ,migrate volumes  from old storage 
to new storage and  then remove ur old primary storage after enabling  
maintenance mode.

Thanks
Prashant



-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
Sent: Saturday, July 05, 2014 10:16 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: How to change primary storage

Hello All,

 I installed CS 4.1 on ubuntu, with primary storage in /export/aa and secondary 
storage in /export/bb, both in the same hard disk as the management server of 
CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


 Recently, 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.

 The CS 4.1 was installed before mounting this external My Book Live Device.

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.

 Can, 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 settings via 
the CS 4.1 web interface gui?

Thanks in advance.

Regards,
D.Giriprasad

Re: How to change primary storage

2014-07-06 Thread Mike Tutkowski
You can probably change the host_address field of the storage_pool table to
change the IP address of your primary storage.

You will probably want to make sure you don't have any (non-deleted)
volumes on the storage pool (primary storage) in question, though.

As you likely have seen, the volumes table is linked to the storage_pool
table via the storage_pool.id and volumes.pool_id fields.

It might be easier for you to create new primary storage and migrate your
volumes on the old primary storage to the new primary storage.


On Sun, Jul 6, 2014 at 11:07 PM, Giri Prasad g_p...@yahoo.com.invalid
wrote:

 Thanks.

 I want to change the primary storage IP address from http://XXX.XXX.1.5
 to http://XXX.XXX.1.20. Also, I need to change the primary storage
 directory, from /export/aa to /export/dd.  What is the procedure?



 
  From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: Giri Prasad g_p...@yahoo.com; d...@cloudstack.apache.org 
 d...@cloudstack.apache.org; users@cloudstack.apache.org 
 users@cloudstack.apache.org
 Sent: Monday, 7 July 2014 10:30 AM
 Subject: RE: How to change primary storage


 For error like The storage pool will not be used but cleanup is needed
 you should check global settings global.clenup.interaval  ,For quick
 cleanup you can set it to 300ms and check  parameter related to cleanup
 like storage.template.cleanup.enable  , storage cleanup enabled etc. If
 global settings are properly tuned I don't think  any database
 modifications required

 -cloud.volume  stores volumes information , if you are not able to delete
 storage becausevolume still exist on the storage change the volume state
 and delete.

 - storage_pool, storage_pool_view  for primary storage

 Thanks
 Prashant


 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com]
 Sent: Monday, July 07, 2014 10:00 AM
 To: Prashant Kumar Mishra; d...@cloudstack.apache.org;
 users@cloudstack.apache.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
 having 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
 setups are stored? Or what is the exact db.tablename which stores the
 primary/secondary storage setups?


 Regards,
 D.Giriprasad



 - Original Message -
 From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
 g_p...@yahoo.com; users@cloudstack.apache.org 
 users@cloudstack.apache.org
 Cc:
 Sent: Sunday, 6 July 2014 9:42 AM
 Subject: RE: How to change primary storage


 I would suggest add you new  primary storage ,migrate volumes  from old
 storage to new storage and  then remove ur old primary storage after
 enabling  maintenance mode.

 Thanks
 Prashant



 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
 Sent: Saturday, July 05, 2014 10:16 AM
 To: users@cloudstack.apache.org; d...@cloudstack.apache.org
 Subject: How to change primary storage

 Hello All,

  I installed CS 4.1 on ubuntu, with primary storage in /export/aa and
 secondary storage in /export/bb, both in the same hard disk as the
 management server of CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


  Recently, 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.

  The CS 4.1 was installed before mounting this external My Book Live
 Device.

 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.

  Can, 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
 settings via the CS 4.1 web interface gui?

 Thanks in advance.

 Regards,
 D.Giriprasad




-- 
*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*™*


RE: How to change primary storage

2014-07-06 Thread Sanjeev Neelarapu
You have to change storage details in both storage_pool and image_store for 
primary and secondary storages respectively.

-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID] 
Sent: Monday, July 07, 2014 10:20 AM
To: Mike Tutkowski; d...@cloudstack.apache.org
Cc: Prashant Kumar Mishra; users@cloudstack.apache.org
Subject: Re: How to change primary storage

Thanks.

However, I find primary storage information stored in also:

use cloud;

select account_id , domain_id , pool_id, last_pool_id, instance_id, folder from 
volumes;


If I have to change the folder name manually, in the tables, what are all the 
tables, should I change.





 From: Mike Tutkowski mike.tutkow...@solidfire.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri Prasad 
g_p...@yahoo.com
Cc: Prashant Kumar Mishra prashantkumar.mis...@citrix.com; 
users@cloudstack.apache.org users@cloudstack.apache.org
Sent: Monday, 7 July 2014 10:10 AM
Subject: Re: How to change primary storage
 


cloud.storage_pool for primary storage and cloud.image_store for secondary 
storage.



On Sun, Jul 6, 2014 at 10:30 PM, Giri Prasad g_p...@yahoo.com.invalid wrote:

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 having 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 
setups are stored? Or what is the exact db.tablename which stores the 
primary/secondary storage setups?


Regards,
D.Giriprasad




- Original Message -
From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri 
Prasad g_p...@yahoo.com; users@cloudstack.apache.org 
users@cloudstack.apache.org
Cc:
Sent: Sunday, 6 July 2014 9:42 AM
Subject: RE: How to change primary storage


I would suggest add you new  primary storage ,migrate volumes  from old 
storage to new storage and  then remove ur old primary storage after enabling  
maintenance mode.

Thanks
Prashant



-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
Sent: Saturday, July 05, 2014 10:16 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: How to change primary storage

Hello All,

 I installed CS 4.1 on ubuntu, with primary storage in /export/aa and 
secondary storage in /export/bb, both in the same hard disk as the management 
server of CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


 Recently, 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.

 The CS 4.1 was installed before mounting this external My Book Live Device.

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.

 Can, 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 settings via 
the CS 4.1 web interface gui?

Thanks in advance.

Regards,
D.Giriprasad




--
Mike Tutkowski

Senior CloudStack Developer, SolidFire Inc.
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud™


RE: How to change primary storage

2014-07-06 Thread Prashant Kumar Mishra
 Manually changing the db can help you but I prefer These steps ,  can be done  
without any downtime .

1-add http://XXX.XXX.1.20 with /export/dd
2- migrate volumes from http://XXX.XXX.1.5 to http://XXX.XXX.1.20
3-put http://XXX.XXX.1.5 to maintains mode
4- remove http://XXX.XXX.1.5.

thanks
-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] 
Sent: Monday, July 07, 2014 10:48 AM
To: d...@cloudstack.apache.org; Giri Prasad
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

You can probably change the host_address field of the storage_pool table to 
change the IP address of your primary storage.

You will probably want to make sure you don't have any (non-deleted) volumes on 
the storage pool (primary storage) in question, though.

As you likely have seen, the volumes table is linked to the storage_pool table 
via the storage_pool.id and volumes.pool_id fields.

It might be easier for you to create new primary storage and migrate your 
volumes on the old primary storage to the new primary storage.


On Sun, Jul 6, 2014 at 11:07 PM, Giri Prasad g_p...@yahoo.com.invalid
wrote:

 Thanks.

 I want to change the primary storage IP address from 
 http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the 
 primary storage directory, from /export/aa to /export/dd.  What is the 
 procedure?



 
  From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: Giri Prasad g_p...@yahoo.com; d...@cloudstack.apache.org  
 d...@cloudstack.apache.org; users@cloudstack.apache.org  
 users@cloudstack.apache.org
 Sent: Monday, 7 July 2014 10:30 AM
 Subject: RE: How to change primary storage


 For error like The storage pool will not be used but cleanup is needed
 you should check global settings global.clenup.interaval  ,For quick 
 cleanup you can set it to 300ms and check  parameter related to 
 cleanup like storage.template.cleanup.enable  , storage cleanup 
 enabled etc. If global settings are properly tuned I don't think  any 
 database modifications required

 -cloud.volume  stores volumes information , if you are not able to 
 -delete
 storage becausevolume still exist on the storage change the volume 
 state and delete.

 - storage_pool, storage_pool_view  for primary storage

 Thanks
 Prashant


 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com]
 Sent: Monday, July 07, 2014 10:00 AM
 To: Prashant Kumar Mishra; d...@cloudstack.apache.org; 
 users@cloudstack.apache.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 having 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 setups are stored? Or what is the exact db.tablename which 
 stores the primary/secondary storage setups?


 Regards,
 D.Giriprasad



 - Original Message -
 From: Prashant Kumar Mishra prashantkumar.mis...@citrix.com
 To: d...@cloudstack.apache.org d...@cloudstack.apache.org; Giri 
 Prasad  g_p...@yahoo.com; users@cloudstack.apache.org  
 users@cloudstack.apache.org
 Cc:
 Sent: Sunday, 6 July 2014 9:42 AM
 Subject: RE: How to change primary storage


 I would suggest add you new  primary storage ,migrate volumes  from 
 old storage to new storage and  then remove ur old primary storage 
 after enabling  maintenance mode.

 Thanks
 Prashant



 -Original Message-
 From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
 Sent: Saturday, July 05, 2014 10:16 AM
 To: users@cloudstack.apache.org; d...@cloudstack.apache.org
 Subject: How to change primary storage

 Hello All,

  I installed CS 4.1 on ubuntu, with primary storage in /export/aa and 
 secondary storage in /export/bb, both in the same hard disk as the 
 management server of CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


  Recently, 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.

  The CS 4.1 was installed before mounting this external My Book Live 
 Device.

 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.

  Can, 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 settings via the CS 4.1 web interface gui?

 Thanks in advance.

 Regards,
 D.Giriprasad




--
*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*™*


RE: How to change primary storage

2014-07-05 Thread Prashant Kumar Mishra

I would suggest add you new  primary storage ,migrate volumes  from old storage 
to new storage and  then remove ur old primary storage after enabling  
maintenance mode.

Thanks
Prashant
-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID] 
Sent: Saturday, July 05, 2014 10:16 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: How to change primary storage

Hello All,

 I installed CS 4.1 on ubuntu, with primary storage in /export/aa and secondary 
storage in /export/bb, both in the same hard disk as the management server of 
CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


 Recently, 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.

 The CS 4.1 was installed before mounting this external My Book Live Device.

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.

 Can, 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 settings via 
the CS 4.1 web interface gui?

Thanks in advance.

Regards,
D.Giriprasad