Re: Resize Primary Storage

2013-07-02 Thread iliyas shirol
The output of the above command is blank.


On Tue, Jul 2, 2013 at 11:54 AM, Prashanth Reddy Mandadi 
prashanthreddy.mand...@citrix.com wrote:

 Can you do

 #Xe sr-list params=all name-description=200

 On one of the Xenserver connected to this storage pool?

 -Prashanth

 -Original Message-
 From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
 Sent: Tuesday, July 02, 2013 8:02 AM
 To: users@cloudstack.apache.org
 Subject: Re: Resize Primary Storage

 No. Its not updated. Please find the details as below,

 mysql select * from op_host_capacity where host_id = '200';

 ++-++++---+---++---++-+-+
 | id | host_id | data_center_id | pod_id | cluster_id | used_capacity |
 reserved_capacity | total_capacity | capacity_type | capacity_state |
 update_time | created |

 ++-++++---+---++---++-+-+
 |  3 | 200 |  1 |  1 |  1 |  184863948800 |
 0 |   536858329088 | 3 | Enabled|
 2013-07-01 20:55:02 | 2013-06-27 15:24:22 |

 ++-++++---+---++---++-+-+
 1 row in set (0.00 sec)

 mysql select * from storage_pool where id = '200';

 +-+-+-+---+--++++-++--+---+--+-+-+-++-+---+

 | id  | name| uuid| pool_type | port | data_center_id |
 pod_id | cluster_id | available_bytes | capacity_bytes | host_address |
 user_info | path | created | removed | update_time |
 status | storage_provider_id | scope |

 +-+-+-+---+--++++-++--+---+--+-+-+-++-+---+

 | 200 | vol_500g_hp | vol_500g_hp | PreSetup  |0 |  1 |
  1 |  1 |346688585728 |   536858329088 | localhost| NULL
| /vol_500g_hp | 2013-06-27 15:24:22 | NULL| NULL| Up |
NULL | NULL  |

 +-+-+-+---+--++++-++--+---+--+-+-+-++-+---+

 1 row in set (0.00 sec)

 It should be 1TB approx.


 On Tue, Jul 2, 2013 at 1:18 AM, Prashanth Reddy Mandadi 
 prashanthreddy.mand...@citrix.com wrote:

  AFAIK the capacity checker thread will update the op_host_capacity.
 
  Can you quickly check if the op_host_capacity is updated for the
  storage pool with the current size?
 
  Select * from op_host_capacity where host_id=#;
 
  The new size may not reflected in storage_pool table, can you also do
 
  Select * from storage_pool where id=#;
 
  -Prashanth
 
 
  -Original Message-
  From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
  Sent: Tuesday, July 02, 2013 12:07 AM
  To: users@cloudstack.apache.org
  Subject: Re: Resize Primary Storage
 
  No luck.
 
  Btw, I'm using Apache CloudStack 4.1 and XenServer 6.1.
 
 
  On Mon, Jul 1, 2013 at 8:48 PM, Prashanth Reddy Mandadi 
  prashanthreddy.mand...@citrix.com wrote:
 
   Try to unmanage the cluster from CloudStack UI and Manage it back.
  
   -Prashanth
  
   -Original Message-
   From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
   Sent: Monday, July 01, 2013 2:53 PM
   To: users@cloudstack.apache.org
   Subject: Reg: Resize Primary Storage
  
   Greetings !
  
  
   We are using a Primary storage of 1TB from iSCSI SAN. We increased
   the size of the assigned LUN to 2TB which is getting reflected at
   the hypervisros after a refresh by iscsiadm.
  
   What is the way in which we can refresh the metadata of CloudStack ?
   Couple of folks on the forums suggest to modify the entries in
   storage_pool and op_host_Capacity tables. Is this the only availble
 way ?
  
   Thanks.
  
   --
   Iliyas
  
 



 --
 -
 Md. Iliyas Shirol
 Mobile : +91 9902 977 800
 Google : iliyas.shirol@ gmail.com




-- 
-
Md. Iliyas Shirol
Mobile : +91 9902 977 800
Google : iliyas.shirol@ gmail.com


RE: Resize Primary Storage

2013-07-02 Thread Prashanth Reddy Mandadi
Can you do

xe sr-list params=all

The above command will give the list of all the SR's and their physical size. 
We need to confirm if the correct size is reported on xenserver.

Note: I don't have a 4.1 setup but I have tested your scenario on 3.0.x setup 
and it works without any issues ( the storage size was updated once I unmanaged 
and managed the Cluster from UI). 

-Prashanth

-Original Message-
From: iliyas shirol [mailto:iliyas.shi...@gmail.com] 
Sent: Tuesday, July 02, 2013 1:01 PM
To: users@cloudstack.apache.org
Subject: Re: Resize Primary Storage

The output of the above command is blank.


On Tue, Jul 2, 2013 at 11:54 AM, Prashanth Reddy Mandadi  
prashanthreddy.mand...@citrix.com wrote:

 Can you do

 #Xe sr-list params=all name-description=200

 On one of the Xenserver connected to this storage pool?

 -Prashanth

 -Original Message-
 From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
 Sent: Tuesday, July 02, 2013 8:02 AM
 To: users@cloudstack.apache.org
 Subject: Re: Resize Primary Storage

 No. Its not updated. Please find the details as below,

 mysql select * from op_host_capacity where host_id = '200';

 ++-++++---+---++---++-+-+
 | id | host_id | data_center_id | pod_id | cluster_id | used_capacity 
 | |
 reserved_capacity | total_capacity | capacity_type | capacity_state |
 update_time | created |

 ++-++++---+---++---++-+-+
 |  3 | 200 |  1 |  1 |  1 |  184863948800 |
 0 |   536858329088 | 3 | Enabled|
 2013-07-01 20:55:02 | 2013-06-27 15:24:22 |

 ++-++++---+---++---++-+-+
 1 row in set (0.00 sec)

 mysql select * from storage_pool where id = '200';

 +-+-+-+---+--++++-++--+---+--+-+-+-++-+---+

 | id  | name| uuid| pool_type | port | data_center_id |
 pod_id | cluster_id | available_bytes | capacity_bytes | host_address |
 user_info | path | created | removed | update_time |
 status | storage_provider_id | scope |

 +-+-+-+---+--++++-++--+---+--+-+-+-++-+---+

 | 200 | vol_500g_hp | vol_500g_hp | PreSetup  |0 |  1 |
  1 |  1 |346688585728 |   536858329088 | localhost| NULL
| /vol_500g_hp | 2013-06-27 15:24:22 | NULL| NULL| Up |
NULL | NULL  |

 +-+-+-+---+--++++-++--+---+--+-+-+-++-+---+

 1 row in set (0.00 sec)

 It should be 1TB approx.


 On Tue, Jul 2, 2013 at 1:18 AM, Prashanth Reddy Mandadi  
 prashanthreddy.mand...@citrix.com wrote:

  AFAIK the capacity checker thread will update the op_host_capacity.
 
  Can you quickly check if the op_host_capacity is updated for the 
  storage pool with the current size?
 
  Select * from op_host_capacity where host_id=#;
 
  The new size may not reflected in storage_pool table, can you also 
  do
 
  Select * from storage_pool where id=#;
 
  -Prashanth
 
 
  -Original Message-
  From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
  Sent: Tuesday, July 02, 2013 12:07 AM
  To: users@cloudstack.apache.org
  Subject: Re: Resize Primary Storage
 
  No luck.
 
  Btw, I'm using Apache CloudStack 4.1 and XenServer 6.1.
 
 
  On Mon, Jul 1, 2013 at 8:48 PM, Prashanth Reddy Mandadi  
  prashanthreddy.mand...@citrix.com wrote:
 
   Try to unmanage the cluster from CloudStack UI and Manage it back.
  
   -Prashanth
  
   -Original Message-
   From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
   Sent: Monday, July 01, 2013 2:53 PM
   To: users@cloudstack.apache.org
   Subject: Reg: Resize Primary Storage
  
   Greetings !
  
  
   We are using a Primary storage of 1TB from iSCSI SAN. We increased 
   the size of the assigned LUN to 2TB which is getting reflected at 
   the hypervisros after a refresh by iscsiadm.
  
   What is the way in which we can refresh the metadata of CloudStack ?
   Couple of folks on the forums suggest

Re: Resize Primary Storage

2013-07-02 Thread iliyas shirol
Prashanth,

Yes, the 1TB size is not getting reflected in the SR. I found the following
post for refreshing SR,

http://support.citrix.com/article/CTX126473

Do I need to perform these steps manually ?


uuid ( RO): abc888bf-a261-d78f-d820-9c388a6934b8
  name-label ( RW): vol_500g_hp
name-description ( RW):
host ( RO): XXX.XXX.XXX.XXX
  allowed-operations (SRO): VDI.create; VDI.snapshot; PBD.create;
PBD.destroy; plug; update; VDI.destroy; scan; VDI.clone; VDI.resize; unplug
  current-operations (SRO):
VDIs (SRO): 26b1aba3-a53c-4da1-86dd-0cb319f02b08;
149112c8-a5c1-43c0-a038-0c47028293e1; 7827016c-3ac7-49f4-83c7-a783eb1b3f70;
e9ce9bc9-1e94-48d5-8e14-80a56a022c8b; 85e1f61f-9916-4616-b86b-ea5a1f7fe2e9;
f6bab935-52d3-4bcc-b446-fe958fe071fb; 5281f16c-e7f6-41bd-8335-f290c86352dd;
064ba38d-4749-479a-80c0-0d5bd24d77a0; d77e22e8-924a-4c80-a87b-f4a859e686af;
102ad294-ac8c-4fc1-b074-a53abb7446de; 0cc149e6-0083-4348-bc43-8a40ea124457;
90062cbb-c0fa-4bf0-8978-bbc359439d06; 1b34aa2e-6936-4742-861a-877bea90b9f3;
cd9ffb17-edac-4657-95b2-fcd44a8fbd44; caccf8df-fc94-4e9e-ab21-2cb6f111a9d5;
9428a799-276d-496b-8e93-f0cca015d89c; 66a9317f-e682-43b3-a79c-2531f5c397d4;
fc92cc3f-9012-4daf-8e63-c3b85993d9df; a7ffeaff-41eb-454b-8584-937615316e59;
8f3e7868-7899-4d8a-8592-ec618e19caa8; 158a2026-1873-45f8-b258-a3af9d41b790;
815bd6b8-d647-4cf8-a4c0-25c6fa86cdad; a5145c77-b0fa-498c-bb54-7f449aeb17cd
PBDs (SRO): 1fa1a5c9-94eb-4b96-93e0-7387cf72dea2
  virtual-allocation ( RO): 295492911104
physical-utilisation ( RO): 298881908736
   physical-size ( RO): 536858329088
type ( RO): lvmoiscsi
content-type ( RO):
  shared ( RW): false
   introduced-by ( RO): not in database
other-config (MRW):
   sm-config (MRO): allocation: thick; use_vhd: true;
multipathable: true; devserial: scsi-36000d3100023c80a
   blobs ( RO):
 local-cache-enabled ( RO): false
tags (SRW):



On Tue, Jul 2, 2013 at 2:13 PM, Prashanth Reddy Mandadi 
prashanthreddy.mand...@citrix.com wrote:

 Can you do

 xe sr-list params=all

 The above command will give the list of all the SR's and their physical
 size. We need to confirm if the correct size is reported on xenserver.

 Note: I don't have a 4.1 setup but I have tested your scenario on 3.0.x
 setup and it works without any issues ( the storage size was updated once I
 unmanaged and managed the Cluster from UI).

 -Prashanth

 -Original Message-
 From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
 Sent: Tuesday, July 02, 2013 1:01 PM
 To: users@cloudstack.apache.org
 Subject: Re: Resize Primary Storage

 The output of the above command is blank.


 On Tue, Jul 2, 2013 at 11:54 AM, Prashanth Reddy Mandadi 
 prashanthreddy.mand...@citrix.com wrote:

  Can you do
 
  #Xe sr-list params=all name-description=200
 
  On one of the Xenserver connected to this storage pool?
 
  -Prashanth
 
  -Original Message-
  From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
  Sent: Tuesday, July 02, 2013 8:02 AM
  To: users@cloudstack.apache.org
  Subject: Re: Resize Primary Storage
 
  No. Its not updated. Please find the details as below,
 
  mysql select * from op_host_capacity where host_id = '200';
 
 
 ++-++++---+---++---++-+-+
  | id | host_id | data_center_id | pod_id | cluster_id | used_capacity
  | |
  reserved_capacity | total_capacity | capacity_type | capacity_state |
  update_time | created |
 
 
 ++-++++---+---++---++-+-+
  |  3 | 200 |  1 |  1 |  1 |  184863948800 |
  0 |   536858329088 | 3 | Enabled|
  2013-07-01 20:55:02 | 2013-06-27 15:24:22 |
 
 
 ++-++++---+---++---++-+-+
  1 row in set (0.00 sec)
 
  mysql select * from storage_pool where id = '200';
 
 
 +-+-+-+---+--++++-++--+---+--+-+-+-++-+---+
 
  | id  | name| uuid| pool_type | port | data_center_id |
  pod_id | cluster_id | available_bytes | capacity_bytes | host_address |
  user_info | path | created | removed | update_time |
  status | storage_provider_id | scope

Re: Resize Primary Storage

2013-07-02 Thread iliyas shirol
Thanks Prashanth. It works !

Btw, unmanaging the cluster has any impact ?


On Tue, Jul 2, 2013 at 2:34 PM, Prashanth Reddy Mandadi 
prashanthreddy.mand...@citrix.com wrote:

 Do I need to perform these steps manually ?

 Yes.

 Once done , confirm if the size is reported correctly on xenserver. Then
 Unmanage and Manage the cluster from UI.

 Thanks,
 Prashanth
 -Original Message-
 From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
 Sent: Tuesday, July 02, 2013 2:24 PM
 To: users@cloudstack.apache.org
 Subject: Re: Resize Primary Storage

 Prashanth,

 Yes, the 1TB size is not getting reflected in the SR. I found the
 following post for refreshing SR,

 http://support.citrix.com/article/CTX126473

 Do I need to perform these steps manually ?


 uuid ( RO): abc888bf-a261-d78f-d820-9c388a6934b8
   name-label ( RW): vol_500g_hp
 name-description ( RW):
 host ( RO): XXX.XXX.XXX.XXX
   allowed-operations (SRO): VDI.create; VDI.snapshot; PBD.create;
 PBD.destroy; plug; update; VDI.destroy; scan; VDI.clone; VDI.resize; unplug
   current-operations (SRO):
 VDIs (SRO): 26b1aba3-a53c-4da1-86dd-0cb319f02b08;
 149112c8-a5c1-43c0-a038-0c47028293e1; 7827016c-3ac7-49f4-83c7-a783eb1b3f70;
 e9ce9bc9-1e94-48d5-8e14-80a56a022c8b; 85e1f61f-9916-4616-b86b-ea5a1f7fe2e9;
 f6bab935-52d3-4bcc-b446-fe958fe071fb; 5281f16c-e7f6-41bd-8335-f290c86352dd;
 064ba38d-4749-479a-80c0-0d5bd24d77a0; d77e22e8-924a-4c80-a87b-f4a859e686af;
 102ad294-ac8c-4fc1-b074-a53abb7446de; 0cc149e6-0083-4348-bc43-8a40ea124457;
 90062cbb-c0fa-4bf0-8978-bbc359439d06; 1b34aa2e-6936-4742-861a-877bea90b9f3;
 cd9ffb17-edac-4657-95b2-fcd44a8fbd44; caccf8df-fc94-4e9e-ab21-2cb6f111a9d5;
 9428a799-276d-496b-8e93-f0cca015d89c; 66a9317f-e682-43b3-a79c-2531f5c397d4;
 fc92cc3f-9012-4daf-8e63-c3b85993d9df; a7ffeaff-41eb-454b-8584-937615316e59;
 8f3e7868-7899-4d8a-8592-ec618e19caa8; 158a2026-1873-45f8-b258-a3af9d41b790;
 815bd6b8-d647-4cf8-a4c0-25c6fa86cdad; a5145c77-b0fa-498c-bb54-7f449aeb17cd
 PBDs (SRO): 1fa1a5c9-94eb-4b96-93e0-7387cf72dea2
   virtual-allocation ( RO): 295492911104
 physical-utilisation ( RO): 298881908736
physical-size ( RO): 536858329088
 type ( RO): lvmoiscsi
 content-type ( RO):
   shared ( RW): false
introduced-by ( RO): not in database
 other-config (MRW):
sm-config (MRO): allocation: thick; use_vhd: true;
 multipathable: true; devserial: scsi-36000d3100023c80a
blobs ( RO):
  local-cache-enabled ( RO): false
 tags (SRW):



 On Tue, Jul 2, 2013 at 2:13 PM, Prashanth Reddy Mandadi 
 prashanthreddy.mand...@citrix.com wrote:

  Can you do
 
  xe sr-list params=all
 
  The above command will give the list of all the SR's and their
  physical size. We need to confirm if the correct size is reported on
 xenserver.
 
  Note: I don't have a 4.1 setup but I have tested your scenario on
  3.0.x setup and it works without any issues ( the storage size was
  updated once I unmanaged and managed the Cluster from UI).
 
  -Prashanth
 
  -Original Message-
  From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
  Sent: Tuesday, July 02, 2013 1:01 PM
  To: users@cloudstack.apache.org
  Subject: Re: Resize Primary Storage
 
  The output of the above command is blank.
 
 
  On Tue, Jul 2, 2013 at 11:54 AM, Prashanth Reddy Mandadi 
  prashanthreddy.mand...@citrix.com wrote:
 
   Can you do
  
   #Xe sr-list params=all name-description=200
  
   On one of the Xenserver connected to this storage pool?
  
   -Prashanth
  
   -Original Message-
   From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
   Sent: Tuesday, July 02, 2013 8:02 AM
   To: users@cloudstack.apache.org
   Subject: Re: Resize Primary Storage
  
   No. Its not updated. Please find the details as below,
  
   mysql select * from op_host_capacity where host_id = '200';
  
  
 
 ++-++++---+---++---++-+-+
   | id | host_id | data_center_id | pod_id | cluster_id |
   | used_capacity
   | |
   reserved_capacity | total_capacity | capacity_type | capacity_state |
   update_time | created |
  
  
 
 ++-++++---+---++---++-+-+
   |  3 | 200 |  1 |  1 |  1 |  184863948800 |
   0 |   536858329088 | 3 | Enabled|
   2013-07-01 20:55:02 | 2013-06-27 15:24:22

RE: Resize Primary Storage

2013-07-02 Thread Prashanth Reddy Mandadi
No. The VM's will still be running. Unmanging the cluster will only remove the 
cluster and it's entities from Cloudstack's control.

-Prashanth

-Original Message-
From: iliyas shirol [mailto:iliyas.shi...@gmail.com] 
Sent: Tuesday, July 02, 2013 3:13 PM
To: users@cloudstack.apache.org
Subject: Re: Resize Primary Storage

Thanks Prashanth. It works !

Btw, unmanaging the cluster has any impact ?


On Tue, Jul 2, 2013 at 2:34 PM, Prashanth Reddy Mandadi  
prashanthreddy.mand...@citrix.com wrote:

 Do I need to perform these steps manually ?

 Yes.

 Once done , confirm if the size is reported correctly on xenserver. 
 Then Unmanage and Manage the cluster from UI.

 Thanks,
 Prashanth
 -Original Message-
 From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
 Sent: Tuesday, July 02, 2013 2:24 PM
 To: users@cloudstack.apache.org
 Subject: Re: Resize Primary Storage

 Prashanth,

 Yes, the 1TB size is not getting reflected in the SR. I found the 
 following post for refreshing SR,

 http://support.citrix.com/article/CTX126473

 Do I need to perform these steps manually ?


 uuid ( RO): abc888bf-a261-d78f-d820-9c388a6934b8
   name-label ( RW): vol_500g_hp
 name-description ( RW):
 host ( RO): XXX.XXX.XXX.XXX
   allowed-operations (SRO): VDI.create; VDI.snapshot; PBD.create; 
 PBD.destroy; plug; update; VDI.destroy; scan; VDI.clone; VDI.resize; unplug
   current-operations (SRO):
 VDIs (SRO): 26b1aba3-a53c-4da1-86dd-0cb319f02b08;
 149112c8-a5c1-43c0-a038-0c47028293e1; 
 7827016c-3ac7-49f4-83c7-a783eb1b3f70;
 e9ce9bc9-1e94-48d5-8e14-80a56a022c8b; 
 85e1f61f-9916-4616-b86b-ea5a1f7fe2e9;
 f6bab935-52d3-4bcc-b446-fe958fe071fb; 
 5281f16c-e7f6-41bd-8335-f290c86352dd;
 064ba38d-4749-479a-80c0-0d5bd24d77a0; 
 d77e22e8-924a-4c80-a87b-f4a859e686af;
 102ad294-ac8c-4fc1-b074-a53abb7446de; 
 0cc149e6-0083-4348-bc43-8a40ea124457;
 90062cbb-c0fa-4bf0-8978-bbc359439d06; 
 1b34aa2e-6936-4742-861a-877bea90b9f3;
 cd9ffb17-edac-4657-95b2-fcd44a8fbd44; 
 caccf8df-fc94-4e9e-ab21-2cb6f111a9d5;
 9428a799-276d-496b-8e93-f0cca015d89c; 
 66a9317f-e682-43b3-a79c-2531f5c397d4;
 fc92cc3f-9012-4daf-8e63-c3b85993d9df; 
 a7ffeaff-41eb-454b-8584-937615316e59;
 8f3e7868-7899-4d8a-8592-ec618e19caa8; 
 158a2026-1873-45f8-b258-a3af9d41b790;
 815bd6b8-d647-4cf8-a4c0-25c6fa86cdad; a5145c77-b0fa-498c-bb54-7f449aeb17cd
 PBDs (SRO): 1fa1a5c9-94eb-4b96-93e0-7387cf72dea2
   virtual-allocation ( RO): 295492911104
 physical-utilisation ( RO): 298881908736
physical-size ( RO): 536858329088
 type ( RO): lvmoiscsi
 content-type ( RO):
   shared ( RW): false
introduced-by ( RO): not in database
 other-config (MRW):
sm-config (MRO): allocation: thick; use_vhd: true;
 multipathable: true; devserial: scsi-36000d3100023c80a
blobs ( RO):
  local-cache-enabled ( RO): false
 tags (SRW):



 On Tue, Jul 2, 2013 at 2:13 PM, Prashanth Reddy Mandadi  
 prashanthreddy.mand...@citrix.com wrote:

  Can you do
 
  xe sr-list params=all
 
  The above command will give the list of all the SR's and their 
  physical size. We need to confirm if the correct size is reported on
 xenserver.
 
  Note: I don't have a 4.1 setup but I have tested your scenario on 
  3.0.x setup and it works without any issues ( the storage size was 
  updated once I unmanaged and managed the Cluster from UI).
 
  -Prashanth
 
  -Original Message-
  From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
  Sent: Tuesday, July 02, 2013 1:01 PM
  To: users@cloudstack.apache.org
  Subject: Re: Resize Primary Storage
 
  The output of the above command is blank.
 
 
  On Tue, Jul 2, 2013 at 11:54 AM, Prashanth Reddy Mandadi  
  prashanthreddy.mand...@citrix.com wrote:
 
   Can you do
  
   #Xe sr-list params=all name-description=200
  
   On one of the Xenserver connected to this storage pool?
  
   -Prashanth
  
   -Original Message-
   From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
   Sent: Tuesday, July 02, 2013 8:02 AM
   To: users@cloudstack.apache.org
   Subject: Re: Resize Primary Storage
  
   No. Its not updated. Please find the details as below,
  
   mysql select * from op_host_capacity where host_id = '200';
  
  
 
 ++-++++---+---++---++-+-+
   | id | host_id | data_center_id | pod_id | cluster_id | 
   | used_capacity
   | |
   reserved_capacity | total_capacity | capacity_type | capacity_state |
   update_time | created

Reg: Resize Primary Storage

2013-07-01 Thread iliyas shirol
Greetings !


We are using a Primary storage of 1TB from iSCSI SAN. We increased the size
of the assigned LUN to 2TB which is getting reflected at the hypervisros
after a refresh by iscsiadm.

What is the way in which we can refresh the metadata of CloudStack ? Couple
of folks on the forums suggest to modify the entries in storage_pool and
op_host_Capacity tables. Is this the only availble way ?

Thanks.

-- 
Iliyas


RE: Resize Primary Storage

2013-07-01 Thread Prashanth Reddy Mandadi
Try to unmanage the cluster from CloudStack UI and Manage it back.

-Prashanth

-Original Message-
From: iliyas shirol [mailto:iliyas.shi...@gmail.com] 
Sent: Monday, July 01, 2013 2:53 PM
To: users@cloudstack.apache.org
Subject: Reg: Resize Primary Storage

Greetings !


We are using a Primary storage of 1TB from iSCSI SAN. We increased the size of 
the assigned LUN to 2TB which is getting reflected at the hypervisros after a 
refresh by iscsiadm.

What is the way in which we can refresh the metadata of CloudStack ? Couple of 
folks on the forums suggest to modify the entries in storage_pool and 
op_host_Capacity tables. Is this the only availble way ?

Thanks.

--
Iliyas


Re: Resize Primary Storage

2013-07-01 Thread iliyas shirol
No luck.

Btw, I'm using Apache CloudStack 4.1 and XenServer 6.1.


On Mon, Jul 1, 2013 at 8:48 PM, Prashanth Reddy Mandadi 
prashanthreddy.mand...@citrix.com wrote:

 Try to unmanage the cluster from CloudStack UI and Manage it back.

 -Prashanth

 -Original Message-
 From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
 Sent: Monday, July 01, 2013 2:53 PM
 To: users@cloudstack.apache.org
 Subject: Reg: Resize Primary Storage

 Greetings !


 We are using a Primary storage of 1TB from iSCSI SAN. We increased the
 size of the assigned LUN to 2TB which is getting reflected at the
 hypervisros after a refresh by iscsiadm.

 What is the way in which we can refresh the metadata of CloudStack ?
 Couple of folks on the forums suggest to modify the entries in storage_pool
 and op_host_Capacity tables. Is this the only availble way ?

 Thanks.

 --
 Iliyas



RE: Resize Primary Storage

2013-07-01 Thread Prashanth Reddy Mandadi
AFAIK the capacity checker thread will update the op_host_capacity.

Can you quickly check if the op_host_capacity is updated for the storage pool 
with the current size?

Select * from op_host_capacity where host_id=#;

The new size may not reflected in storage_pool table, can you also do 

Select * from storage_pool where id=#;

-Prashanth


-Original Message-
From: iliyas shirol [mailto:iliyas.shi...@gmail.com] 
Sent: Tuesday, July 02, 2013 12:07 AM
To: users@cloudstack.apache.org
Subject: Re: Resize Primary Storage

No luck.

Btw, I'm using Apache CloudStack 4.1 and XenServer 6.1.


On Mon, Jul 1, 2013 at 8:48 PM, Prashanth Reddy Mandadi  
prashanthreddy.mand...@citrix.com wrote:

 Try to unmanage the cluster from CloudStack UI and Manage it back.

 -Prashanth

 -Original Message-
 From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
 Sent: Monday, July 01, 2013 2:53 PM
 To: users@cloudstack.apache.org
 Subject: Reg: Resize Primary Storage

 Greetings !


 We are using a Primary storage of 1TB from iSCSI SAN. We increased the 
 size of the assigned LUN to 2TB which is getting reflected at the 
 hypervisros after a refresh by iscsiadm.

 What is the way in which we can refresh the metadata of CloudStack ?
 Couple of folks on the forums suggest to modify the entries in 
 storage_pool and op_host_Capacity tables. Is this the only availble way ?

 Thanks.

 --
 Iliyas