Re: Updating storage addresses

2023-02-14 Thread Jeremy Hansen
Got it! Thank you.

-jeremy

> On Tuesday, Feb 14, 2023 at 2:54 AM, Granwille Strauss  (mailto:granwi...@namhost.com)> wrote:
>
> Hi Jeremy
>
>
> The best would be to add both primary and secondary storages, perhaps look at 
> giving new NFS paths as well, since it seems to sound like the same storage 
> devices. Once you have added them, you an use the "Complete" migration policy 
> option for secondary storage to migrate data between each other. And for 
> primary storage, you can move the volumes of your instances to the new 
> storage via UI. Keep in mind you may want to power down the instance before 
> doing so.
>
>
> Once done, delete your old secondary storage and maybe try rebooting ssvm and 
> consolevm (May need to destroy but reboot first). You can then also delete 
> old primary storage once you have confirmed all volumes have been moved 
> accordingly.
>
>
> On 2/14/23 11:00, Jeremy Hansen wrote:
> > I have to update the primary and secondary storage address just to a new IP 
> > for NFS. I can’t seem to find a way to do this through the interface. Do I 
> > have to do an update to the db? Any notes on how to do that?
> >
> > Thanks
> > -jeremy
> >
> >
> >
> --
> Regards / Groete
>
> Granwille Strauss // Senior Systems Admin
>
> e: granwi...@namhost.com (mailto:granwi...@namhost.com)
> m: +264 81 323 1260 (tel:+264813231260)
> w: www.namhost.com (https://www.namhost.com/)
>
>
>
>
> Namhost Internet Services (Pty) Ltd,
> 24 Black Eagle Rd, Hermanus, 7210, RSA
>
>
> The content of this message is confidential. If you have received it by 
> mistake, please inform us by email reply and then delete the message. It is 
> forbidden to copy, forward, or in any way reveal the contents of this message 
> to anyone without our explicit consent. The integrity and security of this 
> email cannot be guaranteed over the Internet. Therefore, the sender will not 
> be held liable for any damage caused by the message. For our full privacy 
> policy and disclaimers, please go to https://www.namhost.com/privacy-policy
>
>
>
>



signature.asc
Description: PGP signature


Re: Updating storage addresses

2023-02-14 Thread Granwille Strauss

Hi Jeremy

The best would be to add both primary and secondary storages, perhaps 
look at giving new NFS paths as well, since it seems to sound like the 
same storage devices. Once you have added them, you an use the 
"Complete" migration policy option for secondary storage to migrate data 
between each other. And for primary storage, you can move the volumes of 
your instances to the new storage via UI. Keep in mind you may want to 
power down the instance before doing so.


Once done, delete your old secondary storage and maybe try rebooting 
ssvm and consolevm (May need to destroy but reboot first). You can then 
also delete old primary storage once you have confirmed all volumes have 
been moved accordingly.


On 2/14/23 11:00, Jeremy Hansen wrote:
I have to update the primary and secondary storage address just to a 
new IP for NFS.  I can’t seem to find a way to do this through the 
interface.  Do I have to do an update to the db?  Any notes on how to 
do that?


Thanks
-jeremy




--
Regards / Groete

 Granwille Strauss  // Senior Systems Admin

*e:* granwi...@namhost.com
*m:* +264 81 323 1260 
*w:* www.namhost.com 





Namhost Internet Services (Pty) Ltd,

24 Black Eagle Rd, Hermanus, 7210, RSA



The content of this message is confidential. If you have received it by 
mistake, please inform us by email reply and then delete the message. It 
is forbidden to copy, forward, or in any way reveal the contents of this 
message to anyone without our explicit consent. The integrity and 
security of this email cannot be guaranteed over the Internet. 
Therefore, the sender will not be held liable for any damage caused by 
the message. For our full privacy policy and disclaimers, please go to 
https://www.namhost.com/privacy-policy


Powered by AdSigner 


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Updating storage addresses

2023-02-14 Thread Kiran Chavala


Hi Vivek

The ideal way is to add new primary storage, and secondary storage and migrate 
the existing volumes and snapshots
to the new storages


Note: Updating the database is not recommended and may lead to inconsistency

You please try updating the following tables in the database

mysql> select * from storage_pool;

mysql> update storage_pool set host_address="", path ="" where id="";

Secondary storage

mysql> select * from image_store;

mysql> update image_store set url="" where id="";


Make sure there is no data on primary storage and secondary storage (volumes, 
templates, iso Snapshot,)

Destroy the secondary storage vm once the change is done

Unmanage and Manage the cluster

Regards
Kiran





 

From: Jeremy Hansen
Sent: Tuesday, February 14, 2023 14:30
To: Vivek Kumar via users
Subject: Updating storage addresses

I have to update the primary and secondary storage address just to a new IP for 
NFS.  I can’t seem to find a way to do this through the interface.  Do I have 
to do an update to the db?  Any notes on how to do that?

Thanks
-jeremy





Updating storage addresses

2023-02-14 Thread Jeremy Hansen
I have to update the primary and secondary storage address just to a new IP for 
NFS. I can’t seem to find a way to do this through the interface. Do I have to 
do an update to the db? Any notes on how to do that?

Thanks
-jeremy



signature.asc
Description: PGP signature