<div dir="ltr"><div><div>I would like to keep the vms...<br></div>I know that there is a command in the CLI &quot;update storageconnection&quot;, 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, &quot;Itamar Heim&quot; &lt;<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>&gt; 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 &quot;old ip&quot; 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 &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;&gt;:<br>
<br>
    Can I change the storagedomain ip from the ovirt-shell?<br>
    Thanks in advance<br>
<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;:<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 &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; &lt;mailto:<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;&gt;&gt;:<br>
<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<br>
            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<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>
            &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>
<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> &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;&gt;<br>


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