<div dir="ltr">Can I change the storagedomain ip from the ovirt-shell?<br>
Thanks in advance<div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-06 Itamar Heim <span dir="ltr"><<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>On 02/06/2014 12:03 PM, Koen Vanoppen wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Can I change the storagedomain ip from the ovirt-shell?<br>
Thanks in advance<br>
</blockquote>
<br></div>
please reply to list, thanks<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
2014-02-06 Itamar Heim <<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>:<div><br>
<br>
On 02/06/2014 05:16 AM, Koen Vanoppen wrote:<br>
<br>
It's not on DNS... The storage server in ovirt is on IP... So...<br>
What<br>
are my options in this case?<br>
<br>
<br>
you would need to 'edit the connection'. since 3.3.1 this is<br>
possible via the rest api without hacking the db:<br></div>
<a href="http://www.ovirt.org/Features/__Manage_Storage_Connections" target="_blank">http://www.ovirt.org/Features/<u></u>__Manage_Storage_Connections</a><div><br>
<<a href="http://www.ovirt.org/Features/Manage_Storage_Connections" target="_blank">http://www.ovirt.org/<u></u>Features/Manage_Storage_<u></u>Connections</a>><br>
<br>
Thanx!<br>
<br>
Kind regards,<br>
Koen<br>
<br>
On Feb 5, 2014 9:08 AM, "Itamar Heim" <<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a><br>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br></div><div><div>
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> <mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>>> wrote:<br>
<br>
On 02/04/2014 03:10 PM, Elad Ben Aharon wrote:<br>
<br>
Actually, the best way to do it would be to create another<br>
storage domain and migrate all the VMs's disks to it<br>
(you can do<br>
it while the VMs are running), then you won't suffer<br>
from a down<br>
time.<br>
<br>
<br>
notice this will create a snapshot for your vms and may<br>
change them<br>
from raw to qcow. also, this not supported for shared disks.<br>
<br>
If you don't have the option to do so, the best way to<br>
do it<br>
would be to shut down the VMs, put the storage domain to<br>
'Maintenance' and then perform the storage server network<br>
change. When the connection to the storage is fixed,<br>
activate<br>
the domain and resume the VMs manually.<br>
<br>
<br>
that's assuming the domain was added using dns and not ip<br>
address,<br>
and that the dns expiration/caching on all hosts will<br>
notice the new<br>
ip address.<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: "Koen Vanoppen" <<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a><br>
<mailto:<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.<u></u>com</a>><br></div></div><div>
<mailto:<a href="mailto:vanoppen.koen@gmail." target="_blank">vanoppen.koen@gmail.</a>__<u></u>com<br>
<mailto:<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.<u></u>com</a>>>><br>
To: "Elad Ben Aharon" <<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a><br>
<mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>><br></div><div>
<mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a><br>
<mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>>>><u></u>, <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
<mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>><br></div>
<mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a> <mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>>><div><br>
Sent: Tuesday, February 4, 2014 2:57:57 PM<br>
Subject: Re: [Users] Storage server<br>
<br>
For the moment, nothing is going on. The change is<br>
planned on<br>
Thursday. So,<br>
correct me if I'm wrong, you say that the fastest and<br>
easiest<br>
way is to<br>
suspend all the machines, make the change of the<br>
storage server,<br>
rediscover<br>
the iscsi server and then bring the vm's back up?<br>
<br>
Kind regards,<br>
Koen<br>
On Feb 4, 2014 1:47 PM, "Elad Ben Aharon"<br>
<<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a> <mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>><br></div>
<mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a><div><br>
<mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>>>> wrote:<br>
<br>
Hi,<br>
<br>
I suppose that those VMs are now in 'Paused' state,<br>
correct<br>
me if I'm<br>
wrong.<br>
After connectivity with storage comes back, all VMs<br>
which<br>
couldn't detect<br>
their disks should be resumed from 'Paused' to 'Up'<br>
state<br>
automatically. It<br>
shouldn't take them a long time to change their<br>
state (a few<br>
minutes).<br>
<br>
----- Original Message -----<br>
From: "Koen Vanoppen" <<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a><br>
<mailto:<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.<u></u>com</a>><br></div><div>
<mailto:<a href="mailto:vanoppen.koen@gmail." target="_blank">vanoppen.koen@gmail.</a>__<u></u>com<br>
<mailto:<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.<u></u>com</a>>>><br>
To: <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a> <mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>><br></div><div><div>
<mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a> <mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>>><br>
Sent: Tuesday, February 4, 2014 2:32:46 PM<br>
Subject: [Users] Storage server<br>
<br>
Dear All,<br>
<br>
At work, the network guys have come to a discovery<br>
that they<br>
have made a<br>
mistake in their network configuration... The<br>
Storage server<br>
that we use as<br>
ISCSI target in oVirt, is in the wrong VLAN, so the<br>
wrong IP<br>
address...<br>
<br>
What is the best way to make sure that all of our<br>
vms (40)<br>
that are using<br>
this scsi storage will come up again after the storage<br>
server has changed<br>
his ip?<br>
What are the best steps to be taken...?<br>
We are using oVirt Engine Version: 3.3.1-2.el6<br>
<br>
Kind Regards,<br>
<br>
Koen<br>
<br></div></div>
______________________________<u></u>_____________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>>><br>
<a href="http://lists.ovirt.org/____mailman/listinfo/users" target="_blank">http://lists.ovirt.org/____<u></u>mailman/listinfo/users</a><br>
<<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a>><br>
<<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><br>
<<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>>><br>
<br>
______________________________<u></u>_____________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>>><br>
<a href="http://lists.ovirt.org/____mailman/listinfo/users" target="_blank">http://lists.ovirt.org/____<u></u>mailman/listinfo/users</a><br>
<<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a>><br>
<<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><br>
<<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>>><br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br></div></div>