Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-03 Thread Beard Lionel (BOSTON-STORAGE)
Hi,

Thanks for your answer, but I have just decided to reinstall everything from 
scratch, because I don't want to spend too much time on this testing 
environment.

Regards,
Lionel BEARD


> -Message d'origine-
> De : Simone Tiraboschi [mailto:stira...@redhat.com]
> Envoyé : vendredi 3 juin 2016 14:57
> À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr>
> Cc : users <users@ovirt.org>
> Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
>
> On Fri, Jun 3, 2016 at 1:46 PM, Beard Lionel (BOSTON-STORAGE)
> <lbe...@cls.fr> wrote:
> > Hi,
> >
> > Ok, after updating the DB, it is now fine:
> > # update storage_server_connections set connection=' EXPORT>'
> > where id='';
>
> Nice to hear
>
> > But (because there is always a 'but'), I still have an issue when I reboot 
> > host
> where Hosted VM runs, I have to do a:
> > # hosted-engine --clean-metadata
> > In order to have Hosted VM starts.
> > Else, the error I have is:
> > sanlock[1268]: 2016-06-03 11:45:15+ 5973 [1273]: r3 cmd_acquire
> > 2,8,3274 invalid lockspace found -1 failed 0 name
> > ab7ce50d-238a-4f4f-a36e-8d06e276ae4b
> > libvirtd[2586]: Failed to acquire lock: No space left on device
>
> I suspect that this is a side effect of this bug:
> https://bugzilla.redhat.com/1322849
>
> Under certain circumstances we could have  a mismatch between the host id
> as saw by ha-agent and the spm_id used by the engine.
>
> Can you please execute this query
>  SELECT vds_spm_id_map.vds_spm_id, vds.vds_name FROM
> vds_spm_id_map, vds WHERE vds_spm_id_map.vds_id = vds.vds_id; to
> check the spm_id of your host in the DB comparing its output with the output
> of  grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf
> run on each involved host?
>
> If you find any mismatching id you have to change /etc/ovirt-hosted-
> engine/hosted-engine.conf to reflect the engine spm_id and reboot the
> host.
>
> > Regards,
> > Lionel BEARD
> > 05.61.39.39.19
> >
> >> -----Message d'origine-----
> >> De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : vendredi
> >> 3 juin 2016 10:26 À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr>
> >> Cc : users <users@ovirt.org> Objet : Re: [ovirt-users] Moving Hosted
> >> Engine NFS storage domain
> >>
> >> On Thu, Jun 2, 2016 at 5:33 PM, Beard Lionel (BOSTON-STORAGE)
> >> <lbe...@cls.fr> wrote:
> >> > Hi,
> >> >
> >> >
> >> >
> >> > I have tried these steps :
> >> >
> >> > -  Stop Hosted VM
> >> >
> >> > -  # vdsClient -s localhost forcedDetachStorageDomain
> >> > 
> >> >
> >> > -  Domain is now detached
> >> >
> >> > -  # hosted-storage –clean-metadata
> >> >
> >> > -  # hosted-storage –vm-start
> >> >
> >> >
> >> >
> >> > But, hosted domain path is still the old one.
> >> >
> >> > If I run :
> >> >
> >> > # vdsClient -s localhost getStorageDomainsList  >> > domain>
> >> >
> >> > The path is correct !!
> >> >
> >> >
> >> >
> >> > So I don’t know where the wrong path is stored.
> >>
> >> If the engine imported the hosted-engine storage domain in the past,
> >> that storage domain is in the engine DB with the wrong path.
> >> If you bring down everything and reboot your hosts, ovirt-ha-agent
> >> will mount the hosted-engine-storage domain with the new path under
> >> hosted- engine.conf.
> >> At this point ovirt-ha-agent can start the engine VM. When the engine
> >> will come up it will try to mount all the storage domain in the
> >> datacenter as for regular hosts. This will mean that it will try to
> >> remount also the hosted-engine storage domain (cause the domain uuid
> >> is the same!) from the old path since it's still configured like that in 
> >> the
> engine DB.
> >>
> >> > I think the only way is to reinstall Hosted VM from scratch.
> >>
> >> You can try to manually force a new path in the DB.
> >>
> >> > @ Staniforth Paul, your procedure is not working L
> >> >
> >> >
> >> >
> >> > Regards,
> >> >
> >> > Lionel BEARD
> >> >
> >> >
> >> >
> >> > De : Beard Lionel (BOSTON-STORAGE)
> >> &g

Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-03 Thread Simone Tiraboschi
On Fri, Jun 3, 2016 at 1:46 PM, Beard Lionel (BOSTON-STORAGE)
<lbe...@cls.fr> wrote:
> Hi,
>
> Ok, after updating the DB, it is now fine:
> # update storage_server_connections set connection='' where 
> id='';

Nice to hear

> But (because there is always a 'but'), I still have an issue when I reboot 
> host where Hosted VM runs, I have to do a:
> # hosted-engine --clean-metadata
> In order to have Hosted VM starts.
> Else, the error I have is:
> sanlock[1268]: 2016-06-03 11:45:15+ 5973 [1273]: r3 cmd_acquire 2,8,3274 
> invalid lockspace found -1 failed 0 name ab7ce50d-238a-4f4f-a36e-8d06e276ae4b
> libvirtd[2586]: Failed to acquire lock: No space left on device

I suspect that this is a side effect of this bug:
https://bugzilla.redhat.com/1322849

Under certain circumstances we could have  a mismatch between the host
id as saw by ha-agent and the spm_id used by the engine.

Can you please execute this query
 SELECT vds_spm_id_map.vds_spm_id, vds.vds_name FROM vds_spm_id_map,
vds WHERE vds_spm_id_map.vds_id = vds.vds_id;
to check the spm_id of your host in the DB comparing its output with
the output of
 grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf
run on each involved host?

If you find any mismatching id you have to change
/etc/ovirt-hosted-engine/hosted-engine.conf to reflect the engine
spm_id and reboot the host.

> Regards,
> Lionel BEARD
> 05.61.39.39.19
>
>> -Message d'origine-
>> De : Simone Tiraboschi [mailto:stira...@redhat.com]
>> Envoyé : vendredi 3 juin 2016 10:26
>> À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr>
>> Cc : users <users@ovirt.org>
>> Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
>>
>> On Thu, Jun 2, 2016 at 5:33 PM, Beard Lionel (BOSTON-STORAGE)
>> <lbe...@cls.fr> wrote:
>> > Hi,
>> >
>> >
>> >
>> > I have tried these steps :
>> >
>> > -  Stop Hosted VM
>> >
>> > -  # vdsClient -s localhost forcedDetachStorageDomain
>> > 
>> >
>> > -  Domain is now detached
>> >
>> > -  # hosted-storage –clean-metadata
>> >
>> > -  # hosted-storage –vm-start
>> >
>> >
>> >
>> > But, hosted domain path is still the old one.
>> >
>> > If I run :
>> >
>> > # vdsClient -s localhost getStorageDomainsList 
>> >
>> > The path is correct !!
>> >
>> >
>> >
>> > So I don’t know where the wrong path is stored.
>>
>> If the engine imported the hosted-engine storage domain in the past, that
>> storage domain is in the engine DB with the wrong path.
>> If you bring down everything and reboot your hosts, ovirt-ha-agent will
>> mount the hosted-engine-storage domain with the new path under hosted-
>> engine.conf.
>> At this point ovirt-ha-agent can start the engine VM. When the engine will
>> come up it will try to mount all the storage domain in the datacenter as for
>> regular hosts. This will mean that it will try to remount also the 
>> hosted-engine
>> storage domain (cause the domain uuid is the same!) from the old path since
>> it's still configured like that in the engine DB.
>>
>> > I think the only way is to reinstall Hosted VM from scratch.
>>
>> You can try to manually force a new path in the DB.
>>
>> > @ Staniforth Paul, your procedure is not working L
>> >
>> >
>> >
>> > Regards,
>> >
>> > Lionel BEARD
>> >
>> >
>> >
>> > De : Beard Lionel (BOSTON-STORAGE)
>> > Envoyé : mercredi 1 juin 2016 22:26
>> > À : 'Roy Golan' <rgo...@redhat.com>
>> > Cc : Roman Mohr <rm...@redhat.com>; users <users@ovirt.org> Objet :
>> > RE: [ovirt-users] Moving Hosted Engine NFS storage domain
>> >
>> >
>> >
>> > Hi,
>> >
>> >
>> >
>> > Path is neither shared not mounted anymore on previous NFS server, but
>> > storage domain is still up and cannot be removed…
>> >
>> >
>> >
>> > Is there a possibility to remove it from command line ?
>> >
>> >
>> >
>> > Regards,
>> >
>> > Lionel BEARD
>> >
>> >
>> >
>> > De : Roy Golan [mailto:rgo...@redhat.com] Envoyé : mercredi 1 juin
>> > 2016 20:57 À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr> Cc :
>> > Roman Mohr <rm...@redhat.com>; users <users@ovirt.org>
>> >
>> >
>> > Objet : Re:

Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-03 Thread Beard Lionel (BOSTON-STORAGE)
Hi,

Ok, after updating the DB, it is now fine:
# update storage_server_connections set connection='' where 
id='';

But (because there is always a 'but'), I still have an issue when I reboot host 
where Hosted VM runs, I have to do a:
# hosted-engine --clean-metadata
In order to have Hosted VM starts.
Else, the error I have is:
sanlock[1268]: 2016-06-03 11:45:15+ 5973 [1273]: r3 cmd_acquire 2,8,3274 
invalid lockspace found -1 failed 0 name ab7ce50d-238a-4f4f-a36e-8d06e276ae4b
libvirtd[2586]: Failed to acquire lock: No space left on device

Regards,
Lionel BEARD
05.61.39.39.19

> -Message d'origine-
> De : Simone Tiraboschi [mailto:stira...@redhat.com]
> Envoyé : vendredi 3 juin 2016 10:26
> À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr>
> Cc : users <users@ovirt.org>
> Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
>
> On Thu, Jun 2, 2016 at 5:33 PM, Beard Lionel (BOSTON-STORAGE)
> <lbe...@cls.fr> wrote:
> > Hi,
> >
> >
> >
> > I have tried these steps :
> >
> > -  Stop Hosted VM
> >
> > -  # vdsClient -s localhost forcedDetachStorageDomain
> > 
> >
> > -  Domain is now detached
> >
> > -  # hosted-storage –clean-metadata
> >
> > -  # hosted-storage –vm-start
> >
> >
> >
> > But, hosted domain path is still the old one.
> >
> > If I run :
> >
> > # vdsClient -s localhost getStorageDomainsList 
> >
> > The path is correct !!
> >
> >
> >
> > So I don’t know where the wrong path is stored.
>
> If the engine imported the hosted-engine storage domain in the past, that
> storage domain is in the engine DB with the wrong path.
> If you bring down everything and reboot your hosts, ovirt-ha-agent will
> mount the hosted-engine-storage domain with the new path under hosted-
> engine.conf.
> At this point ovirt-ha-agent can start the engine VM. When the engine will
> come up it will try to mount all the storage domain in the datacenter as for
> regular hosts. This will mean that it will try to remount also the 
> hosted-engine
> storage domain (cause the domain uuid is the same!) from the old path since
> it's still configured like that in the engine DB.
>
> > I think the only way is to reinstall Hosted VM from scratch.
>
> You can try to manually force a new path in the DB.
>
> > @ Staniforth Paul, your procedure is not working L
> >
> >
> >
> > Regards,
> >
> > Lionel BEARD
> >
> >
> >
> > De : Beard Lionel (BOSTON-STORAGE)
> > Envoyé : mercredi 1 juin 2016 22:26
> > À : 'Roy Golan' <rgo...@redhat.com>
> > Cc : Roman Mohr <rm...@redhat.com>; users <users@ovirt.org> Objet :
> > RE: [ovirt-users] Moving Hosted Engine NFS storage domain
> >
> >
> >
> > Hi,
> >
> >
> >
> > Path is neither shared not mounted anymore on previous NFS server, but
> > storage domain is still up and cannot be removed…
> >
> >
> >
> > Is there a possibility to remove it from command line ?
> >
> >
> >
> > Regards,
> >
> > Lionel BEARD
> >
> >
> >
> > De : Roy Golan [mailto:rgo...@redhat.com] Envoyé : mercredi 1 juin
> > 2016 20:57 À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr> Cc :
> > Roman Mohr <rm...@redhat.com>; users <users@ovirt.org>
> >
> >
> > Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
> >
> >
> >
> >
> > On Jun 1, 2016 7:19 PM, "Beard Lionel (BOSTON-STORAGE)"
> > <lbe...@cls.fr>
> > wrote:
> >>
> >> Hi,
> >>
> >> I am not able to do that, "Remove" button is greyed.
> >> And it is not possible to place it into maintenance mode because
> >> hosted VM is running on it...
> >>
> >> Any clue?
> >>
> >
> > You must create a situation where vdsm would fail to monitor that domain.
> > I.e stop sharing that path or block it and then the status will allow
> > you to force remove
> >
> >> Thanks.
> >>
> >> Regards,
> >> Lionel BEARD
> >>
> >> > -Message d'origine-
> >> > De : Roman Mohr [mailto:rm...@redhat.com] Envoyé : mercredi 1 juin
> >> > 2016 14:43 À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr> Cc :
> >> > Staniforth, Paul <p.stanifo...@leedsbeckett.ac.uk>; users@ovirt.org
> >> > Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
> >> >
>

Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-03 Thread Simone Tiraboschi
On Thu, Jun 2, 2016 at 5:33 PM, Beard Lionel (BOSTON-STORAGE)
<lbe...@cls.fr> wrote:
> Hi,
>
>
>
> I have tried these steps :
>
> -  Stop Hosted VM
>
> -  # vdsClient -s localhost forcedDetachStorageDomain
> 
>
> -  Domain is now detached
>
> -  # hosted-storage –clean-metadata
>
> -  # hosted-storage –vm-start
>
>
>
> But, hosted domain path is still the old one.
>
> If I run :
>
> # vdsClient -s localhost getStorageDomainsList 
>
> The path is correct !!
>
>
>
> So I don’t know where the wrong path is stored.

If the engine imported the hosted-engine storage domain in the past,
that storage domain is in the engine DB with the wrong path.
If you bring down everything and reboot your hosts, ovirt-ha-agent
will mount the hosted-engine-storage domain with the new path under
hosted-engine.conf.
At this point ovirt-ha-agent can start the engine VM. When the engine
will come up it will try to mount all the storage domain in the
datacenter as for regular hosts. This will mean that it will try to
remount also the hosted-engine storage domain (cause the domain uuid
is the same!) from the old path since it's still configured like that
in the engine DB.

> I think the only way is to reinstall Hosted VM from scratch.

You can try to manually force a new path in the DB.

> @ Staniforth Paul, your procedure is not working L
>
>
>
> Regards,
>
> Lionel BEARD
>
>
>
> De : Beard Lionel (BOSTON-STORAGE)
> Envoyé : mercredi 1 juin 2016 22:26
> À : 'Roy Golan' <rgo...@redhat.com>
> Cc : Roman Mohr <rm...@redhat.com>; users <users@ovirt.org>
> Objet : RE: [ovirt-users] Moving Hosted Engine NFS storage domain
>
>
>
> Hi,
>
>
>
> Path is neither shared not mounted anymore on previous NFS server, but
> storage domain is still up and cannot be removed…
>
>
>
> Is there a possibility to remove it from command line ?
>
>
>
> Regards,
>
> Lionel BEARD
>
>
>
> De : Roy Golan [mailto:rgo...@redhat.com]
> Envoyé : mercredi 1 juin 2016 20:57
> À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr>
> Cc : Roman Mohr <rm...@redhat.com>; users <users@ovirt.org>
>
>
> Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
>
>
>
>
> On Jun 1, 2016 7:19 PM, "Beard Lionel (BOSTON-STORAGE)" <lbe...@cls.fr>
> wrote:
>>
>> Hi,
>>
>> I am not able to do that, "Remove" button is greyed.
>> And it is not possible to place it into maintenance mode because hosted VM
>> is running on it...
>>
>> Any clue?
>>
>
> You must create a situation where vdsm would fail to monitor that domain.
> I.e stop sharing that path or block it and then the status will allow you to
> force remove
>
>> Thanks.
>>
>> Regards,
>> Lionel BEARD
>>
>> > -Message d'origine-
>> > De : Roman Mohr [mailto:rm...@redhat.com]
>> > Envoyé : mercredi 1 juin 2016 14:43
>> > À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr>
>> > Cc : Staniforth, Paul <p.stanifo...@leedsbeckett.ac.uk>; users@ovirt.org
>> > Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
>> >
>> > On Wed, Jun 1, 2016 at 2:40 PM, Beard Lionel (BOSTON-STORAGE)
>> > <lbe...@cls.fr> wrote:
>> > > Hi,
>> > >
>> > >
>> > >
>> > > I have followed these steps :
>> > >
>> > >
>> > >
>> > > -  Stop supervdsmd + vdsmd + ovirt-ha-agent + ovirt-ha-broker
>> > >
>> > > -  Modify config file
>> > >
>> > > -  Copy files (cp better handles sparse files than rsync)
>> > >
>> > > -  Umount old hosted-engine path
>> > >
>> > > -  Restart services
>> > >
>> > > -  Hosted VM doesn’t start => hosted-engine –clean-metadata. I
>> > > get
>> > > an error at the end, but now I am able to start Hosted VM :
>> > >
>> > > o
>> > ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Metad
>> > ata
>> > > for current host missing.
>> > >
>> > >
>> > >
>> > > I can connect to oVirt interface, everything seems to be working fine,
>> > > but the Hosted storage domain has an incorrect path, it is still
>> > > pointing to old one… I think this information is not correctly
>> > > reported by web interface, because this path doesn’t exist anymore,
&

Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-02 Thread Beard Lionel (BOSTON-STORAGE)
Hi,

I have tried these steps :

-  Stop Hosted VM

-  # vdsClient -s localhost forcedDetachStorageDomain 

-  Domain is now detached

-  # hosted-storage –clean-metadata

-  # hosted-storage –vm-start

But, hosted domain path is still the old one.
If I run :
# vdsClient -s localhost getStorageDomainsList 
The path is correct !!

So I don’t know where the wrong path is stored.

I think the only way is to reinstall Hosted VM from scratch.

@ Staniforth Paul, your procedure is not working ☹

Regards,
Lionel BEARD

De : Beard Lionel (BOSTON-STORAGE)
Envoyé : mercredi 1 juin 2016 22:26
À : 'Roy Golan' <rgo...@redhat.com>
Cc : Roman Mohr <rm...@redhat.com>; users <users@ovirt.org>
Objet : RE: [ovirt-users] Moving Hosted Engine NFS storage domain

Hi,

Path is neither shared not mounted anymore on previous NFS server, but storage 
domain is still up and cannot be removed…

Is there a possibility to remove it from command line ?

Regards,
Lionel BEARD

De : Roy Golan [mailto:rgo...@redhat.com]
Envoyé : mercredi 1 juin 2016 20:57
À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr<mailto:lbe...@cls.fr>>
Cc : Roman Mohr <rm...@redhat.com<mailto:rm...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>
Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain


On Jun 1, 2016 7:19 PM, "Beard Lionel (BOSTON-STORAGE)" 
<lbe...@cls.fr<mailto:lbe...@cls.fr>> wrote:
>
> Hi,
>
> I am not able to do that, "Remove" button is greyed.
> And it is not possible to place it into maintenance mode because hosted VM is 
> running on it...
>
> Any clue?
>

You must create a situation where vdsm would fail to monitor that domain. I.e 
stop sharing that path or block it and then the status will allow you to force 
remove

> Thanks.
>
> Regards,
> Lionel BEARD
>
> > -Message d'origine-
> > De : Roman Mohr [mailto:rm...@redhat.com<mailto:rm...@redhat.com>]
> > Envoyé : mercredi 1 juin 2016 14:43
> > À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr<mailto:lbe...@cls.fr>>
> > Cc : Staniforth, Paul 
> > <p.stanifo...@leedsbeckett.ac.uk<mailto:p.stanifo...@leedsbeckett.ac.uk>>; 
> > users@ovirt.org<mailto:users@ovirt.org>
> > Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
> >
> > On Wed, Jun 1, 2016 at 2:40 PM, Beard Lionel (BOSTON-STORAGE)
> > <lbe...@cls.fr<mailto:lbe...@cls.fr>> wrote:
> > > Hi,
> > >
> > >
> > >
> > > I have followed these steps :
> > >
> > >
> > >
> > > -  Stop supervdsmd + vdsmd + ovirt-ha-agent + ovirt-ha-broker
> > >
> > > -  Modify config file
> > >
> > > -  Copy files (cp better handles sparse files than rsync)
> > >
> > > -  Umount old hosted-engine path
> > >
> > > -  Restart services
> > >
> > > -  Hosted VM doesn’t start => hosted-engine –clean-metadata. I get
> > > an error at the end, but now I am able to start Hosted VM :
> > >
> > > o
> > ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Metad
> > ata
> > > for current host missing.
> > >
> > >
> > >
> > > I can connect to oVirt interface, everything seems to be working fine,
> > > but the Hosted storage domain has an incorrect path, it is still
> > > pointing to old one… I think this information is not correctly
> > > reported by web interface, because this path doesn’t exist anymore, and
> > hosted VM is working !
> > >
> > > Does anyone knows how to fix that ?
> >
> > You have to do a "force remove" in the UI (without clicking the destroy
> > checkbox) of that storage. Then it should be reimported automatically.
> >
> > >
> > >
> > >
> > > Regards,
> > >
> > > Lionel BEARD
> > >
> > >
> > >
> > > De : Beard Lionel (BOSTON-STORAGE)
> > > Envoyé : mercredi 1 juin 2016 10:37
> > > À : 'Staniforth, Paul' 
> > > <p.stanifo...@leedsbeckett.ac.uk<mailto:p.stanifo...@leedsbeckett.ac.uk>>;
> > > users@ovirt.org<mailto:users@ovirt.org> Objet : RE: Moving Hosted Engine 
> > > NFS storage domain
> > >
> > >
> > >
> > > Hi,
> > >
> > >
> > >
> > > I’m trying to move Hosted storage from one NFS server to another.
> > >
> > > As this is not a production environment, so I gave a try with no
> > > succe

Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-01 Thread Beard Lionel (BOSTON-STORAGE)
Hi,

Path is neither shared not mounted anymore on previous NFS server, but storage 
domain is still up and cannot be removed…

Is there a possibility to remove it from command line ?

Regards,
Lionel BEARD

De : Roy Golan [mailto:rgo...@redhat.com]
Envoyé : mercredi 1 juin 2016 20:57
À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr>
Cc : Roman Mohr <rm...@redhat.com>; users <users@ovirt.org>
Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain


On Jun 1, 2016 7:19 PM, "Beard Lionel (BOSTON-STORAGE)" 
<lbe...@cls.fr<mailto:lbe...@cls.fr>> wrote:
>
> Hi,
>
> I am not able to do that, "Remove" button is greyed.
> And it is not possible to place it into maintenance mode because hosted VM is 
> running on it...
>
> Any clue?
>

You must create a situation where vdsm would fail to monitor that domain. I.e 
stop sharing that path or block it and then the status will allow you to force 
remove

> Thanks.
>
> Regards,
> Lionel BEARD
>
> > -Message d'origine-
> > De : Roman Mohr [mailto:rm...@redhat.com<mailto:rm...@redhat.com>]
> > Envoyé : mercredi 1 juin 2016 14:43
> > À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr<mailto:lbe...@cls.fr>>
> > Cc : Staniforth, Paul 
> > <p.stanifo...@leedsbeckett.ac.uk<mailto:p.stanifo...@leedsbeckett.ac.uk>>; 
> > users@ovirt.org<mailto:users@ovirt.org>
> > Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
> >
> > On Wed, Jun 1, 2016 at 2:40 PM, Beard Lionel (BOSTON-STORAGE)
> > <lbe...@cls.fr<mailto:lbe...@cls.fr>> wrote:
> > > Hi,
> > >
> > >
> > >
> > > I have followed these steps :
> > >
> > >
> > >
> > > -  Stop supervdsmd + vdsmd + ovirt-ha-agent + ovirt-ha-broker
> > >
> > > -  Modify config file
> > >
> > > -  Copy files (cp better handles sparse files than rsync)
> > >
> > > -  Umount old hosted-engine path
> > >
> > > -  Restart services
> > >
> > > -  Hosted VM doesn’t start => hosted-engine –clean-metadata. I get
> > > an error at the end, but now I am able to start Hosted VM :
> > >
> > > o
> > ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Metad
> > ata
> > > for current host missing.
> > >
> > >
> > >
> > > I can connect to oVirt interface, everything seems to be working fine,
> > > but the Hosted storage domain has an incorrect path, it is still
> > > pointing to old one… I think this information is not correctly
> > > reported by web interface, because this path doesn’t exist anymore, and
> > hosted VM is working !
> > >
> > > Does anyone knows how to fix that ?
> >
> > You have to do a "force remove" in the UI (without clicking the destroy
> > checkbox) of that storage. Then it should be reimported automatically.
> >
> > >
> > >
> > >
> > > Regards,
> > >
> > > Lionel BEARD
> > >
> > >
> > >
> > > De : Beard Lionel (BOSTON-STORAGE)
> > > Envoyé : mercredi 1 juin 2016 10:37
> > > À : 'Staniforth, Paul' 
> > > <p.stanifo...@leedsbeckett.ac.uk<mailto:p.stanifo...@leedsbeckett.ac.uk>>;
> > > users@ovirt.org<mailto:users@ovirt.org> Objet : RE: Moving Hosted Engine 
> > > NFS storage domain
> > >
> > >
> > >
> > > Hi,
> > >
> > >
> > >
> > > I’m trying to move Hosted storage from one NFS server to another.
> > >
> > > As this is not a production environment, so I gave a try with no
> > > success, with a plan similar to yours.
> > >
> > >
> > >
> > > But I don’t like to stay on a failure, so I will give a second chance
> > > by following your plan J
> > >
> > >
> > >
> > > Regards,
> > >
> > > Lionel BEARD
> > >
> > >
> > >
> > > De : users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
> > > [mailto:users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>] De la
> > > part de Staniforth, Paul Envoyé : mardi 31 mai 2016 13:33 À :
> > > users@ovirt.org<mailto:users@ovirt.org> Objet : [ovirt-users] Moving 
> > > Hosted Engine NFS storage
> > > domain
> > >
> > >
> > >
> > > Hello,
> > >
> > >  we would like to move our NFS

Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-01 Thread Roy Golan
On Jun 1, 2016 7:19 PM, "Beard Lionel (BOSTON-STORAGE)" <lbe...@cls.fr>
wrote:
>
> Hi,
>
> I am not able to do that, "Remove" button is greyed.
> And it is not possible to place it into maintenance mode because hosted
VM is running on it...
>
> Any clue?
>

You must create a situation where vdsm would fail to monitor that domain.
I.e stop sharing that path or block it and then the status will allow you
to force remove

> Thanks.
>
> Regards,
> Lionel BEARD
>
> > -Message d'origine-
> > De : Roman Mohr [mailto:rm...@redhat.com]
> > Envoyé : mercredi 1 juin 2016 14:43
> > À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr>
> > Cc : Staniforth, Paul <p.stanifo...@leedsbeckett.ac.uk>; users@ovirt.org
> > Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
> >
> > On Wed, Jun 1, 2016 at 2:40 PM, Beard Lionel (BOSTON-STORAGE)
> > <lbe...@cls.fr> wrote:
> > > Hi,
> > >
> > >
> > >
> > > I have followed these steps :
> > >
> > >
> > >
> > > -  Stop supervdsmd + vdsmd + ovirt-ha-agent + ovirt-ha-broker
> > >
> > > -  Modify config file
> > >
> > > -  Copy files (cp better handles sparse files than rsync)
> > >
> > > -  Umount old hosted-engine path
> > >
> > > -  Restart services
> > >
> > > -  Hosted VM doesn’t start => hosted-engine –clean-metadata.
I get
> > > an error at the end, but now I am able to start Hosted VM :
> > >
> > > o
> > ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Metad
> > ata
> > > for current host missing.
> > >
> > >
> > >
> > > I can connect to oVirt interface, everything seems to be working fine,
> > > but the Hosted storage domain has an incorrect path, it is still
> > > pointing to old one… I think this information is not correctly
> > > reported by web interface, because this path doesn’t exist anymore,
and
> > hosted VM is working !
> > >
> > > Does anyone knows how to fix that ?
> >
> > You have to do a "force remove" in the UI (without clicking the destroy
> > checkbox) of that storage. Then it should be reimported automatically.
> >
> > >
> > >
> > >
> > > Regards,
> > >
> > > Lionel BEARD
> > >
> > >
> > >
> > > De : Beard Lionel (BOSTON-STORAGE)
> > > Envoyé : mercredi 1 juin 2016 10:37
> > > À : 'Staniforth, Paul' <p.stanifo...@leedsbeckett.ac.uk>;
> > > users@ovirt.org Objet : RE: Moving Hosted Engine NFS storage domain
> > >
> > >
> > >
> > > Hi,
> > >
> > >
> > >
> > > I’m trying to move Hosted storage from one NFS server to another.
> > >
> > > As this is not a production environment, so I gave a try with no
> > > success, with a plan similar to yours.
> > >
> > >
> > >
> > > But I don’t like to stay on a failure, so I will give a second chance
> > > by following your plan J
> > >
> > >
> > >
> > > Regards,
> > >
> > > Lionel BEARD
> > >
> > >
> > >
> > > De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
> > > part de Staniforth, Paul Envoyé : mardi 31 mai 2016 13:33 À :
> > > users@ovirt.org Objet : [ovirt-users] Moving Hosted Engine NFS storage
> > > domain
> > >
> > >
> > >
> > > Hello,
> > >
> > >  we would like to move our NFS storage used for the
HostedEngine.
> > >
> > >
> > >
> > > Plan would be
> > >
> > > enable global maintenance
> > > shut-down HostedEngine VM
> > > edit  /etc/ovirt-hosted-engine/hosted-engine.conf on hosts
> > >
> > > storage=newnfs:/newnfsvolume
> > >
> > > copy storage domain from old to new nfs server start HostedEngine VM
> > > run engine-setup on HostedEngine VM disable global maintenance
> > >
> > > Has anyone had any experience doing this?
> > >
> > > Have I missed any steps out
> > >
> > > we are currently running oVirt 3.6.2
> > >
> > >
> > >
> > > Thanks,
> > >
> > >   Paul S.
> > >
> > > To view the terms under which this email is distributed, please go
> > > to:- h

Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-01 Thread Beard Lionel (BOSTON-STORAGE)
Hi,

I am not able to do that, "Remove" button is greyed.
And it is not possible to place it into maintenance mode because hosted VM is 
running on it...

Any clue?

Thanks.

Regards,
Lionel BEARD

> -Message d'origine-
> De : Roman Mohr [mailto:rm...@redhat.com]
> Envoyé : mercredi 1 juin 2016 14:43
> À : Beard Lionel (BOSTON-STORAGE) <lbe...@cls.fr>
> Cc : Staniforth, Paul <p.stanifo...@leedsbeckett.ac.uk>; users@ovirt.org
> Objet : Re: [ovirt-users] Moving Hosted Engine NFS storage domain
>
> On Wed, Jun 1, 2016 at 2:40 PM, Beard Lionel (BOSTON-STORAGE)
> <lbe...@cls.fr> wrote:
> > Hi,
> >
> >
> >
> > I have followed these steps :
> >
> >
> >
> > -  Stop supervdsmd + vdsmd + ovirt-ha-agent + ovirt-ha-broker
> >
> > -  Modify config file
> >
> > -  Copy files (cp better handles sparse files than rsync)
> >
> > -  Umount old hosted-engine path
> >
> > -  Restart services
> >
> > -  Hosted VM doesn’t start => hosted-engine –clean-metadata. I get
> > an error at the end, but now I am able to start Hosted VM :
> >
> > o
> ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Metad
> ata
> > for current host missing.
> >
> >
> >
> > I can connect to oVirt interface, everything seems to be working fine,
> > but the Hosted storage domain has an incorrect path, it is still
> > pointing to old one… I think this information is not correctly
> > reported by web interface, because this path doesn’t exist anymore, and
> hosted VM is working !
> >
> > Does anyone knows how to fix that ?
>
> You have to do a "force remove" in the UI (without clicking the destroy
> checkbox) of that storage. Then it should be reimported automatically.
>
> >
> >
> >
> > Regards,
> >
> > Lionel BEARD
> >
> >
> >
> > De : Beard Lionel (BOSTON-STORAGE)
> > Envoyé : mercredi 1 juin 2016 10:37
> > À : 'Staniforth, Paul' <p.stanifo...@leedsbeckett.ac.uk>;
> > users@ovirt.org Objet : RE: Moving Hosted Engine NFS storage domain
> >
> >
> >
> > Hi,
> >
> >
> >
> > I’m trying to move Hosted storage from one NFS server to another.
> >
> > As this is not a production environment, so I gave a try with no
> > success, with a plan similar to yours.
> >
> >
> >
> > But I don’t like to stay on a failure, so I will give a second chance
> > by following your plan J
> >
> >
> >
> > Regards,
> >
> > Lionel BEARD
> >
> >
> >
> > De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
> > part de Staniforth, Paul Envoyé : mardi 31 mai 2016 13:33 À :
> > users@ovirt.org Objet : [ovirt-users] Moving Hosted Engine NFS storage
> > domain
> >
> >
> >
> > Hello,
> >
> >  we would like to move our NFS storage used for the HostedEngine.
> >
> >
> >
> > Plan would be
> >
> > enable global maintenance
> > shut-down HostedEngine VM
> > edit  /etc/ovirt-hosted-engine/hosted-engine.conf on hosts
> >
> > storage=newnfs:/newnfsvolume
> >
> > copy storage domain from old to new nfs server start HostedEngine VM
> > run engine-setup on HostedEngine VM disable global maintenance
> >
> > Has anyone had any experience doing this?
> >
> > Have I missed any steps out
> >
> > we are currently running oVirt 3.6.2
> >
> >
> >
> > Thanks,
> >
> >   Paul S.
> >
> > To view the terms under which this email is distributed, please go
> > to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
> >
> >
> >
> > Cliquez ici si ce message est indésirable (pourriel).
> >
> > 
> >
> > Ce message et toutes les pièces jointes (ci-après le "message") sont
> > établis à l'intention exclusive de ses destinataires et sont
> > confidentiels. Si vous recevez ce message par erreur ou s'il ne vous
> > est pas destiné, merci de le détruire ainsi que toute copie de votre
> > système et d'en avertir immédiatement l'expéditeur. Toute lecture non
> > autorisée, toute utilisation de ce message qui n'est pas conforme à sa
> > destination, toute diffusion ou toute publication, totale ou
> > partielle, est interdite. L'Internet ne permettant pas d'assurer
> > l'intégrité de ce message électronique susceptible d'altération,
> > l’ex

Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-01 Thread Roman Mohr
On Wed, Jun 1, 2016 at 2:40 PM, Beard Lionel (BOSTON-STORAGE)
<lbe...@cls.fr> wrote:
> Hi,
>
>
>
> I have followed these steps :
>
>
>
> -  Stop supervdsmd + vdsmd + ovirt-ha-agent + ovirt-ha-broker
>
> -  Modify config file
>
> -  Copy files (cp better handles sparse files than rsync)
>
> -  Umount old hosted-engine path
>
> -  Restart services
>
> -  Hosted VM doesn’t start => hosted-engine –clean-metadata. I get
> an error at the end, but now I am able to start Hosted VM :
>
> o   ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Metadata
> for current host missing.
>
>
>
> I can connect to oVirt interface, everything seems to be working fine, but
> the Hosted storage domain has an incorrect path, it is still pointing to old
> one… I think this information is not correctly reported by web interface,
> because this path doesn’t exist anymore, and hosted VM is working !
>
> Does anyone knows how to fix that ?

You have to do a "force remove" in the UI (without clicking the
destroy checkbox) of that storage. Then it should be reimported
automatically.

>
>
>
> Regards,
>
> Lionel BEARD
>
>
>
> De : Beard Lionel (BOSTON-STORAGE)
> Envoyé : mercredi 1 juin 2016 10:37
> À : 'Staniforth, Paul' <p.stanifo...@leedsbeckett.ac.uk>; users@ovirt.org
> Objet : RE: Moving Hosted Engine NFS storage domain
>
>
>
> Hi,
>
>
>
> I’m trying to move Hosted storage from one NFS server to another.
>
> As this is not a production environment, so I gave a try with no success,
> with a plan similar to yours.
>
>
>
> But I don’t like to stay on a failure, so I will give a second chance by
> following your plan J
>
>
>
> Regards,
>
> Lionel BEARD
>
>
>
> De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de
> Staniforth, Paul
> Envoyé : mardi 31 mai 2016 13:33
> À : users@ovirt.org
> Objet : [ovirt-users] Moving Hosted Engine NFS storage domain
>
>
>
> Hello,
>
>  we would like to move our NFS storage used for the HostedEngine.
>
>
>
> Plan would be
>
> enable global maintenance
> shut-down HostedEngine VM
> edit  /etc/ovirt-hosted-engine/hosted-engine.conf on hosts
>
> storage=newnfs:/newnfsvolume
>
> copy storage domain from old to new nfs server
> start HostedEngine VM
> run engine-setup on HostedEngine VM
> disable global maintenance
>
> Has anyone had any experience doing this?
>
> Have I missed any steps out
>
> we are currently running oVirt 3.6.2
>
>
>
> Thanks,
>
>   Paul S.
>
> To view the terms under which this email is distributed, please go to:-
> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
>
>
>
> Cliquez ici si ce message est indésirable (pourriel).
>
> 
>
> Ce message et toutes les pièces jointes (ci-après le "message") sont établis
> à l'intention exclusive de ses destinataires et sont confidentiels. Si vous
> recevez ce message par erreur ou s'il ne vous est pas destiné, merci de le
> détruire ainsi que toute copie de votre système et d'en avertir
> immédiatement l'expéditeur. Toute lecture non autorisée, toute utilisation
> de ce message qui n'est pas conforme à sa destination, toute diffusion ou
> toute publication, totale ou partielle, est interdite. L'Internet ne
> permettant pas d'assurer l'intégrité de ce message électronique susceptible
> d'altération, l’expéditeur (et ses filiales) décline(nt) toute
> responsabilité au titre de ce message dans l'hypothèse où il aurait été
> modifié ou falsifié.
>
> This message and any attachments (the "message") is intended solely for the
> intended recipient(s) and is confidential. If you receive this message in
> error, or are not the intended recipient(s), please delete it and any copies
> from your systems and immediately notify the sender. Any unauthorized view,
> use that does not comply with its purpose, dissemination or disclosure,
> either whole or partial, is prohibited. Since the internet cannot guarantee
> the integrity of this message which may not be reliable, the sender (and its
> subsidiaries) shall not be liable for the message if modified or falsified.
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-01 Thread Beard Lionel (BOSTON-STORAGE)
Hi,

I have followed these steps :


-  Stop supervdsmd + vdsmd + ovirt-ha-agent + ovirt-ha-broker

-  Modify config file

-  Copy files (cp better handles sparse files than rsync)

-  Umount old hosted-engine path

-  Restart services

-  Hosted VM doesn't start => hosted-engine -clean-metadata. I get an 
error at the end, but now I am able to start Hosted VM :

o   ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Metadata for 
current host missing.

I can connect to oVirt interface, everything seems to be working fine, but the 
Hosted storage domain has an incorrect path, it is still pointing to old one... 
I think this information is not correctly reported by web interface, because 
this path doesn't exist anymore, and hosted VM is working !
Does anyone knows how to fix that ?

Regards,
Lionel BEARD

De : Beard Lionel (BOSTON-STORAGE)
Envoyé : mercredi 1 juin 2016 10:37
À : 'Staniforth, Paul' 
<p.stanifo...@leedsbeckett.ac.uk<mailto:p.stanifo...@leedsbeckett.ac.uk>>; 
users@ovirt.org<mailto:users@ovirt.org>
Objet : RE: Moving Hosted Engine NFS storage domain

Hi,

I'm trying to move Hosted storage from one NFS server to another.
As this is not a production environment, so I gave a try with no success, with 
a plan similar to yours.

But I don't like to stay on a failure, so I will give a second chance by 
following your plan :)

Regards,
Lionel BEARD

De : users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
[mailto:users-boun...@ovirt.org] De la part de Staniforth, Paul
Envoyé : mardi 31 mai 2016 13:33
À : users@ovirt.org<mailto:users@ovirt.org>
Objet : [ovirt-users] Moving Hosted Engine NFS storage domain


Hello,

 we would like to move our NFS storage used for the HostedEngine.



Plan would be

  *   enable global maintenance
  *   shut-down HostedEngine VM
  *   edit  /etc/ovirt-hosted-engine/hosted-engine.conf on hosts

 *   storage=newnfs:/newnfsvolume

  *   copy storage domain from old to new nfs server
  *   start HostedEngine VM
  *   run engine-setup on HostedEngine VM
  *   disable global maintenance

Has anyone had any experience doing this?

Have I missed any steps out

we are currently running oVirt 3.6.2



Thanks,

  Paul S.
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html


Cliquez 
ici<https://www.mailcontrol.com/sr/L1B6FVLR4mPGX2PQPOmvUrwgXREt4LZXO5bymdanaO8ccjoLwz+qr98g8n3FFQ!iyOxqb2wnJ7Gg1M3YVHc55g==>
 si ce message est indésirable (pourriel).



Ce message et toutes les pièces jointes (ci-après le "message") sont établis à 
l'intention exclusive de ses destinataires et sont confidentiels. Si vous 
recevez ce message par erreur ou s'il ne vous est pas destiné, merci de le 
détruire ainsi que toute copie de votre système et d'en avertir immédiatement 
l'expéditeur. Toute lecture non autorisée, toute utilisation de ce message qui 
n'est pas conforme à sa destination, toute diffusion ou toute publication, 
totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer 
l'intégrité de ce message électronique susceptible d'altération, l'expéditeur 
(et ses filiales) décline(nt) toute responsabilité au titre de ce message dans 
l'hypothèse où il aurait été modifié ou falsifié.

This message and any attachments (the "message") is intended solely for the 
intended recipient(s) and is confidential. If you receive this message in 
error, or are not the intended recipient(s), please delete it and any copies 
from your systems and immediately notify the sender. Any unauthorized view, use 
that does not comply with its purpose, dissemination or disclosure, either 
whole or partial, is prohibited. Since the internet cannot guarantee the 
integrity of this message which may not be reliable, the sender (and its 
subsidiaries) shall not be liable for the message if modified or falsified.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-01 Thread Roy Golan
On Tue, May 31, 2016 at 6:19 PM, Roman Mohr  wrote:

> On Tue, May 31, 2016 at 1:32 PM, Staniforth, Paul
>  wrote:
> > Hello,
> >
> >  we would like to move our NFS storage used for the HostedEngine.
> >
> >
> > Plan would be
> >
> > enable global maintenance
> > shut-down HostedEngine VM
> > edit  /etc/ovirt-hosted-engine/hosted-engine.conf on hosts
> >
> > storage=newnfs:/newnfsvolume



> >
> > copy storage domain from old to new nfs server
> > start HostedEngine VM
> > run engine-setup on HostedEngine VM
>
> I think this step is not necessary.
>

+1 no need to rerun engine-setup

>
> > disable global maintenance
> >
> > Has anyone had any experience doing this?
> >
> > Have I missed any steps out
> >
>
> I am not sure what will happen with the imported hosted engine storage
> domain in ovirt-engine. It might still show the old path in the UI.
> Adding Roy.
> For me the steps look good but I never did it. Adding Martin and Simone.
>

After that change make sure the old domain isn't reachable anymore. When
the engine will start that domain will appear at Storage main-tab as
unresponsive or some other error state. Right click it and choose "force
remove" (don't choose the checkbox in the dialog)
The import should retrigger itself.

The only problem I see (ATM) is that the configuration disk image under
this domain has a copy of hosted-engine.conf which is stale and has the old
ID.

If this is working I would appreciate if you can jot down a small post on
it, thanks!

>
> > we are currently running oVirt 3.6.2
> >
> >
> > Thanks,
> >
> >   Paul S.
> >
> > To view the terms under which this email is distributed, please go to:-
> > http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-06-01 Thread Beard Lionel (BOSTON-STORAGE)
Hi,

I'm trying to move Hosted storage from one NFS server to another.
As this is not a production environment, so I gave a try with no success, with 
a plan similar to yours.

But I don't like to stay on a failure, so I will give a second chance by 
following your plan :)

Regards,
Lionel BEARD

De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
Staniforth, Paul
Envoyé : mardi 31 mai 2016 13:33
À : users@ovirt.org
Objet : [ovirt-users] Moving Hosted Engine NFS storage domain


Hello,

 we would like to move our NFS storage used for the HostedEngine.



Plan would be

  *   enable global maintenance
  *   shut-down HostedEngine VM
  *   edit  /etc/ovirt-hosted-engine/hosted-engine.conf on hosts

 *   storage=newnfs:/newnfsvolume

  *   copy storage domain from old to new nfs server
  *   start HostedEngine VM
  *   run engine-setup on HostedEngine VM
  *   disable global maintenance

Has anyone had any experience doing this?

Have I missed any steps out

we are currently running oVirt 3.6.2



Thanks,

  Paul S.
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html


Cliquez 
ici<https://www.mailcontrol.com/sr/L1B6FVLR4mPGX2PQPOmvUrwgXREt4LZXO5bymdanaO8ccjoLwz+qr98g8n3FFQ!iyOxqb2wnJ7Gg1M3YVHc55g==>
 si ce message est indésirable (pourriel).



Ce message et toutes les pièces jointes (ci-après le "message") sont établis à 
l'intention exclusive de ses destinataires et sont confidentiels. Si vous 
recevez ce message par erreur ou s'il ne vous est pas destiné, merci de le 
détruire ainsi que toute copie de votre système et d'en avertir immédiatement 
l'expéditeur. Toute lecture non autorisée, toute utilisation de ce message qui 
n'est pas conforme à sa destination, toute diffusion ou toute publication, 
totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer 
l'intégrité de ce message électronique susceptible d'altération, l'expéditeur 
(et ses filiales) décline(nt) toute responsabilité au titre de ce message dans 
l'hypothèse où il aurait été modifié ou falsifié.

This message and any attachments (the "message") is intended solely for the 
intended recipient(s) and is confidential. If you receive this message in 
error, or are not the intended recipient(s), please delete it and any copies 
from your systems and immediately notify the sender. Any unauthorized view, use 
that does not comply with its purpose, dissemination or disclosure, either 
whole or partial, is prohibited. Since the internet cannot guarantee the 
integrity of this message which may not be reliable, the sender (and its 
subsidiaries) shall not be liable for the message if modified or falsified.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Moving Hosted Engine NFS storage domain

2016-05-31 Thread Roman Mohr
On Tue, May 31, 2016 at 1:32 PM, Staniforth, Paul
 wrote:
> Hello,
>
>  we would like to move our NFS storage used for the HostedEngine.
>
>
> Plan would be
>
> enable global maintenance
> shut-down HostedEngine VM
> edit  /etc/ovirt-hosted-engine/hosted-engine.conf on hosts
>
> storage=newnfs:/newnfsvolume
>
> copy storage domain from old to new nfs server
> start HostedEngine VM
> run engine-setup on HostedEngine VM

I think this step is not necessary.

> disable global maintenance
>
> Has anyone had any experience doing this?
>
> Have I missed any steps out
>

I am not sure what will happen with the imported hosted engine storage
domain in ovirt-engine. It might still show the old path in the UI.
Adding Roy.
For me the steps look good but I never did it. Adding Martin and Simone.

> we are currently running oVirt 3.6.2
>
>
> Thanks,
>
>   Paul S.
>
> To view the terms under which this email is distributed, please go to:-
> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Moving Hosted Engine NFS storage domain

2016-05-31 Thread Staniforth, Paul
Hello,

 we would like to move our NFS storage used for the HostedEngine.


Plan would be

  *   enable global maintenance
  *   shut-down HostedEngine VM
  *   edit  /etc/ovirt-hosted-engine/hosted-engine.conf on hosts
 *   storage=newnfs:/newnfsvolume
  *   copy storage domain from old to new nfs server
  *   start HostedEngine VM
  *   run engine-setup on HostedEngine VM
  *   disable global maintenance

Has anyone had any experience doing this?

Have I missed any steps out

we are currently running oVirt 3.6.2


Thanks,

  Paul S.

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users