Proper way to change iSCSI and NFS IP

What is the proper way to change iSCSI and NFS IP used to access the storage domains? My IB fabric which was doing storage crashed and we have a scheduled maintenance window for next week at which time I'd like to either move my storage to 10GbE or back to IB. I was able to move things off IB to standard TCP/IP by editing the database but that is likely not the correct way. I am on ovirt 3.4.3. My NFS domain is the master and iSCSI data domain is only used by two VMs while NFS is used by ~30 VMs. Thanks, - Trey

This is a multi-part message in MIME format. --------------000606010100030007030804 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 10/21/2014 07:37 PM, Trey Dockendorf wrote:
What is the proper way to change iSCSI and NFS IP used to access the storage domains?
Using the API: http://www.ovirt.org/Features/Manage_Storage_Connections i.e. using ovirt-cli: - Put SD in maintenance mode, then: [root@ovirt-engine ~]# ovirt-shell -c -l "https://ovirt-engine.example.com/api" -u "admin@internal" -I [...] [oVirt shell (connected)]# list storageconnections [...] [oVirt shell (connected)]# show storageconnection 3aff9de7-426f-4ebf-99f7-088b52d08da1 [...] [oVirt shell (connected)]# update storageconnection 3aff9de7-426f-4ebf-99f7-088b52d08da1 --address <NEW_IP> [...] Activate SD.
My IB fabric which was doing storage crashed and we have a scheduled maintenance window for next week at which time I'd like to either move my storage to 10GbE or back to IB. I was able to move things off IB to standard TCP/IP by editing the database but that is likely not the correct way. I am on ovirt 3.4.3. My NFS domain is the master and iSCSI data domain is only used by two VMs while NFS is used by ~30 VMs.
Thanks, - Trey
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------000606010100030007030804 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div class="moz-cite-prefix">On 10/21/2014 07:37 PM, Trey Dockendorf wrote:<br> </div> <blockquote cite="mid:CAN0oX1ZC-FASTLei=jbqAN0nh4kDjUqH1Epc5OunpHepr-3ikg@mail.gmail.com" type="cite"> <div dir="ltr">What is the proper way to change iSCSI and NFS IP used to access the storage domains? </div> </blockquote> <br> Using the API: <a class="moz-txt-link-freetext" href="http://www.ovirt.org/Features/Manage_Storage_Connections">http://www.ovirt.org/Features/Manage_Storage_Connections</a><br> <br> i.e. using ovirt-cli:<br> <br> - Put SD in maintenance mode, then:<br> <br> [root@ovirt-engine ~]# ovirt-shell -c -l <a class="moz-txt-link-rfc2396E" href="https://ovirt-engine.example.com/api">"https://ovirt-engine.example.com/api"</a> -u "admin@internal" -I<br> [...]<br> <br> [oVirt shell (connected)]# list storageconnections<br> [...]<br> <br> [oVirt shell (connected)]# show storageconnection 3aff9de7-426f-4ebf-99f7-088b52d08da1<br> [...]<br> <br> [oVirt shell (connected)]# update storageconnection 3aff9de7-426f-4ebf-99f7-088b52d08da1 --address <NEW_IP><br> [...]<br> <br> Activate SD.<br> <br> <br> <br> <blockquote cite="mid:CAN0oX1ZC-FASTLei=jbqAN0nh4kDjUqH1Epc5OunpHepr-3ikg@mail.gmail.com" type="cite"> <div dir="ltr">My IB fabric which was doing storage crashed and we have a scheduled maintenance window for next week at which time I'd like to either move my storage to 10GbE or back to IB. I was able to move things off IB to standard TCP/IP by editing the database but that is likely not the correct way. I am on ovirt 3.4.3. My NFS domain is the master and iSCSI data domain is only used by two VMs while NFS is used by ~30 VMs. <div><br> </div> <div>Thanks,</div> <div>- Trey</div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------000606010100030007030804--

Thanks, will give it a try and report if I run into any problems. - Trey On Tue, Oct 21, 2014 at 9:19 PM, Amador Pahim <apahim@redhat.com> wrote:
On 10/21/2014 07:37 PM, Trey Dockendorf wrote:
What is the proper way to change iSCSI and NFS IP used to access the storage domains?
Using the API: http://www.ovirt.org/Features/Manage_Storage_Connections
i.e. using ovirt-cli:
- Put SD in maintenance mode, then:
[root@ovirt-engine ~]# ovirt-shell -c -l "https://ovirt-engine.example.com/api" <https://ovirt-engine.example.com/api> -u "admin@internal" -I [...]
[oVirt shell (connected)]# list storageconnections [...]
[oVirt shell (connected)]# show storageconnection 3aff9de7-426f-4ebf-99f7-088b52d08da1 [...]
[oVirt shell (connected)]# update storageconnection 3aff9de7-426f-4ebf-99f7-088b52d08da1 --address <NEW_IP> [...]
Activate SD.
My IB fabric which was doing storage crashed and we have a scheduled maintenance window for next week at which time I'd like to either move my storage to 10GbE or back to IB. I was able to move things off IB to standard TCP/IP by editing the database but that is likely not the correct way. I am on ovirt 3.4.3. My NFS domain is the master and iSCSI data domain is only used by two VMs while NFS is used by ~30 VMs.
Thanks, - Trey
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Amador Pahim
-
Trey Dockendorf