[ovirt-users] Proper way to change iSCSI and NFS IP

Amador Pahim apahim at redhat.com
Tue Oct 21 22:19:11 EDT 2014


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 at ovirt-engine ~]# ovirt-shell -c -l 
"https://ovirt-engine.example.com/api" -u "admin at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141021/c7a2999d/attachment.html>


More information about the Users mailing list