[Users] Changing the ovirt Master storage domain mount point

</div><div><font face=3D"Courier New"><br></font></div><div><font face=3D"= Courier New">Current running version: <span style=3D"background-color:= rgb(255, 255, 255); text-align: -webkit-center; ">3.1.0-2.fc17</span></fon= t></div><div><span style=3D"background-color: rgb(255, 255, 255); text-alig= n: -webkit-center; "><font face=3D"Courier New"><br></font></span></div><di= v><span style=3D"background-color: rgb(255, 255, 255); text-align: -webkit-=
--Apple-Mail=_3C5C73BC-E449-49C4-BA56-DB7B484F398A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 I need to change the storage domain mount point due to some changes in our = infrastructure. I have found the area's I believe will be required: DB: engine; table: storage_server_connections; change the connection path f= ield on the NFS mount point: change the path data in <UUID>/dom_md/metadata Is there anywhere else I will need to change this? I know that this is not= a supported change but it's either that or we export every VM we have runn= ing which would take about a week to complete or we rename the mount and ch= ange the path. Is there another option? =20 Current running version: 3.1.0-2.fc17 Thanks Christian Kolquist --=20 --------------------------------------------------------------- This email, along with any attachments, is confidential. If you=20 believe you received this message in error, please contact the=20 sender immediately and delete all copies of the message. =20 Thank you. --Apple-Mail=_3C5C73BC-E449-49C4-BA56-DB7B484F398A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset= =3Dus-ascii"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode= : space; -webkit-line-break: after-white-space; "><font face=3D"Courier New= ">I need to change the storage domain mount point due to some changes in ou= r infrastructure. I have found the area's I believe will be required:= </font><div><font face=3D"Courier New"><br></font></div><div><font face=3D"= Courier New">DB: engine; table: storage_server_connections; change the= connection path field</font></div><div><font face=3D"Courier New">on the N= FS mount point: change the path data in <UUID>/dom_md/metadata</font>= </div><div><font face=3D"Courier New"><br></font></div><div><font face=3D"C= ourier New">Is there anywhere else I will need to change this? I know= that this is not a supported change but it's either that or we export ever= y VM we have running which would take about a week to complete or we rename= the mount and change the path. Is there another option? </font= center; "><font face=3D"Courier New">Thanks</font></span></div><div><font f= ace=3D"Courier New"><br></font><div apple-content-edited=3D"true"> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; border= -spacing: 0px; "><font face=3D"Courier New">Christian Kolquist<br></font></= span></div> <br></div></body></html> <br> <div><br></div><div>------------------------------<WBR>--------------------= ----------<WBR>---</div><div>This email, along with any attachments, is con= fidential. If you=A0</div><div>believe you received this message in error, = please contact the=A0</div><div>sender immediately and delete all copies of= the message. =A0</div><div>Thank you.</div> --Apple-Mail=_3C5C73BC-E449-49C4-BA56-DB7B484F398A--

Hi Christian, The following procedure should provide the solution: 1. set the storage domain to maintenance (via webadmin UI, for example) 2. copy/sync the contents of the storage domain including the metadata, to ensure that data in both locations (the old and the new mount points) is the same. 3. run modification query on ovirt engine database (please replace the values 'yournewmountpoint' and 'therelevantconnectionid' with the correct ones: UPDATE storage_server_connections SET connection='yournewmountpoint' WHERE id='therelevantconnectionid'; 4. There is a bug related to storage domain caching in VDSM (host) , so it needs to be workarounded by restarting vdsm (service name is 'vdsmd') 5. activate storage domain (via webadmin UI, for example). Please also note that starting version 3.3 there's a new possibility allowing to edit the mount point via webadmin UI and REST api: http://www.ovirt.org/Features/Manage_Storage_Connections ----- Original Message -----
From: "Christian Kolquist" <ckolquist@rgmadvisors.com> To: users@ovirt.org Sent: Saturday, August 24, 2013 12:56:14 AM Subject: [Users] Changing the ovirt Master storage domain mount point
I need to change the storage domain mount point due to some changes in our infrastructure. I have found the area's I believe will be required:
DB: engine; table: storage_server_connections; change the connection path field on the NFS mount point: change the path data in <UUID>/dom_md/metadata
Is there anywhere else I will need to change this? I know that this is not a supported change but it's either that or we export every VM we have running which would take about a week to complete or we rename the mount and change the path. Is there another option?
Current running version: 3.1.0-2.fc17
Thanks
Christian Kolquist
--------------------------------------------------------------- This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Alissa Bonas
-
Christian Kolquist