<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">&lt;<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>&gt;</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 &lt;<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> &lt;mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>&gt;&gt;:<div><br>
<br>
    On 02/06/2014 05:16 AM, Koen Vanoppen wrote:<br>
<br>
        It&#39;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 &#39;edit the connection&#39;. 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>
    &lt;<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>&gt;<br>
<br>
        Thanx!<br>
<br>
        Kind regards,<br>
        Koen<br>
<br>
        On Feb 5, 2014 9:08 AM, &quot;Itamar Heim&quot; &lt;<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a><br>
        &lt;mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>&gt;<br></div><div><div>
        &lt;mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a> &lt;mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>&gt;&gt;&gt; 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&#39;s disks to it<br>
        (you can do<br>
                 it while the VMs are running), then you won&#39;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&#39;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>
                 &#39;Maintenance&#39; 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&#39;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: &quot;Koen Vanoppen&quot; &lt;<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a><br>
        &lt;mailto:<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.<u></u>com</a>&gt;<br></div></div><div>
                 &lt;mailto:<a href="mailto:vanoppen.koen@gmail." target="_blank">vanoppen.koen@gmail.</a>__<u></u>com<br>
        &lt;mailto:<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.<u></u>com</a>&gt;&gt;&gt;<br>
                 To: &quot;Elad Ben Aharon&quot; &lt;<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a><br>
        &lt;mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>&gt;<br></div><div>
                 &lt;mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a><br>
        &lt;mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>&gt;&gt;&gt;<u></u>, <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
        &lt;mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>&gt;<br></div>
                 &lt;mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a> &lt;mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>&gt;&gt;<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&#39;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&#39;s back up?<br>
<br>
                 Kind regards,<br>
                 Koen<br>
                 On Feb 4, 2014 1:47 PM, &quot;Elad Ben Aharon&quot;<br>
        &lt;<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a> &lt;mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>&gt;<br></div>
                 &lt;mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a><div><br>
        &lt;mailto:<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>&gt;&gt;&gt; wrote:<br>
<br>
                     Hi,<br>
<br>
                     I suppose that those VMs are now in &#39;Paused&#39; state,<br>
        correct<br>
                     me if I&#39;m<br>
                     wrong.<br>
                     After connectivity with storage comes back, all VMs<br>
        which<br>
                     couldn&#39;t detect<br>
                     their disks should be resumed from &#39;Paused&#39; to &#39;Up&#39;<br>
        state<br>
                     automatically. It<br>
                     shouldn&#39;t take them a long time to change their<br>
        state (a few<br>
                     minutes).<br>
<br>
                     ----- Original Message -----<br>
                     From: &quot;Koen Vanoppen&quot; &lt;<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a><br>
        &lt;mailto:<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.<u></u>com</a>&gt;<br></div><div>
                     &lt;mailto:<a href="mailto:vanoppen.koen@gmail." target="_blank">vanoppen.koen@gmail.</a>__<u></u>com<br>
        &lt;mailto:<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.<u></u>com</a>&gt;&gt;&gt;<br>
                     To: <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a> &lt;mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>&gt;<br></div><div><div>
        &lt;mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a> &lt;mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>&gt;&gt;<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> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt; &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>



        &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;&gt;<br>
        <a href="http://lists.ovirt.org/____mailman/listinfo/users" target="_blank">http://lists.ovirt.org/____<u></u>mailman/listinfo/users</a><br>
        &lt;<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a>&gt;<br>
                     &lt;<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><br>
        &lt;<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>&gt;&gt;<br>
<br>
                 ______________________________<u></u>_____________________<br>
                 Users mailing list<br>
        <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt; &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>



        &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;&gt;<br>
        <a href="http://lists.ovirt.org/____mailman/listinfo/users" target="_blank">http://lists.ovirt.org/____<u></u>mailman/listinfo/users</a><br>
        &lt;<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a>&gt;<br>
                 &lt;<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><br>
        &lt;<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>&gt;&gt;<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br></div></div>