<div dir="ltr"><div><div>I would like to keep the vms...<br></div>I know that there is a command in the CLI "update storageconnection", but how do I use this to change only the IP of the storage connection?<br><br>
</div>Kind regards,<br><br>Koen<br><div><div><div class="gmail_quote">On Feb 6, 2014 12:55 PM, "Itamar Heim" <<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On 02/06/2014 12:54 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">
What if I remove the "old ip" storage domains and import the same iscsi<br>
luns with the new IP, would that work?<br>
</blockquote>
<br>
removing a domain *deletes* all disks/vms, other than that...<br>
<br>
(we are working on ability to detach/attach domains post 3.4)<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>
Kind Regards<br>
<br>
<br>
2014-02-06 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>
<br>
Can I change the storagedomain ip from the ovirt-shell?<br>
Thanks in advance<br>
<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>>>:<br>
<br>
On 02/06/2014 12:03 PM, Koen Vanoppen wrote:<br>
<br>
Can I change the storagedomain ip from the ovirt-shell?<br>
Thanks in advance<br>
<br>
<br>
please reply to list, thanks<br>
<br>
<br>
<br>
2014-02-06 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>> <mailto:<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>
<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<br>
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<br>
this is<br>
possible via the rest api without hacking the db:<br>
<a href="http://www.ovirt.org/Features/____Manage_Storage_Connections" target="_blank">http://www.ovirt.org/Features/<u></u>____Manage_Storage_Connections</a><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>
<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> <<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"<br>
<<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>><br>
<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>>><br>
<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>><br>
<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<br>
to create another<br>
storage domain and migrate all the VMs's<br>
disks to it<br>
(you can do<br>
it while the VMs are running), then you<br>
won't suffer<br>
from a down<br>
time.<br>
<br>
<br>
notice this will create a snapshot for your<br>
vms and may<br>
change them<br>
from raw to qcow. also, this not supported for<br>
shared disks.<br>
<br>
If you don't have the option to do so, the<br>
best way to<br>
do it<br>
would be to shut down the VMs, put the<br>
storage domain to<br>
'Maintenance' and then perform the storage<br>
server network<br>
change. When the connection to the storage<br>
is fixed,<br>
activate<br>
the domain and resume the VMs manually.<br>
<br>
<br>
that's assuming the domain was added using dns<br>
and not ip<br>
address,<br>
and that the dns expiration/caching on all<br>
hosts will<br>
notice the new<br>
ip address.<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: "Koen Vanoppen"<br>
<<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a> <mailto:<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.<u></u>com</a>><br>
<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>
<mailto:<a href="mailto:vanoppen.koen@gmail" target="_blank">vanoppen.koen@gmail</a>.<br>
<mailto:<a href="mailto:vanoppen.koen@gmail" target="_blank">vanoppen.koen@gmail</a>.>_<u></u>___com<br>
<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>
<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>>><br>
<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>><br>
<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>
<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>
<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>
<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<br>
change is<br>
planned on<br>
Thursday. So,<br>
correct me if I'm wrong, you say that the<br>
fastest and<br>
easiest<br>
way is to<br>
suspend all the machines, make the change<br>
of the<br>
storage server,<br>
rediscover<br>
the iscsi server and then bring the vm's<br>
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>
<mailto:<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>
<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>><br>
<br>
<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>> wrote:<br>
<br>
Hi,<br>
<br>
I suppose that those VMs are now in<br>
'Paused' state,<br>
correct<br>
me if I'm<br>
wrong.<br>
After connectivity with storage comes<br>
back, all VMs<br>
which<br>
couldn't detect<br>
their disks should be resumed from<br>
'Paused' to 'Up'<br>
state<br>
automatically. It<br>
shouldn't take them a long time to<br>
change their<br>
state (a few<br>
minutes).<br>
<br>
----- Original Message -----<br>
From: "Koen Vanoppen"<br>
<<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a> <mailto:<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.<u></u>com</a>><br>
<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>
<mailto:<a href="mailto:vanoppen.koen@gmail" target="_blank">vanoppen.koen@gmail</a>.<br>
<mailto:<a href="mailto:vanoppen.koen@gmail" target="_blank">vanoppen.koen@gmail</a>.>_<u></u>___com<br>
<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><br>
<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>
<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> <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<br>
a discovery<br>
that they<br>
have made a<br>
mistake in their network<br>
configuration... The<br>
Storage server<br>
that we use as<br>
ISCSI target in oVirt, is in the wrong<br>
VLAN, so the<br>
wrong IP<br>
address...<br>
<br>
What is the best way to make sure that<br>
all of our<br>
vms (40)<br>
that are using<br>
this scsi storage will come up again<br>
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:<br>
3.3.1-2.el6<br>
<br>
Kind Regards,<br>
<br>
Koen<br>
<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>><br>
<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> <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> <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>
<<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>
______________________________<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>><br>
<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> <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> <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>
<<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>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<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>
<br>
</blockquote>
<br>
</blockquote></div>
</div></div></div>