Re: [ovirt-users] oVirt Gluster Hyperconverged problem

2016-09-20 Thread knarra

Hello Hanson,

Below  is the procedure to replace the host with same FQDN where 
existing host OS has to be re-installed. If the ovirt version you are 
running is 4.0, steps 14 and 15 are not required. You could reinstall 
the host from UI with HostedEngine->Deploy option.


*

1.

   Move host (host3) to maintenance in UI


2.

   Re-install OS, subscribe to channels & install required packages,
   prepare bricks (if needed)


3.

   Check gluster peer status from working node to obtain UUID of host
   being replaced

4.

   Create brick directories by running the command “mkdir /rhgs/brick{1..3}

5.

   Put /etc/fstab entries in the new node by copying it from other nodes.

6.

   Run mount -a so that bricks are mounted.


7.

   Edit gluster UUID in /var/lib/glusterd/glusterd.info

8.

   Copy peer info from a working peer to /var/lib/glusterd/peers
   (without the peer info of node being replaced, here host3)

9.

   Create and remove a tmp dir at all volume mount points

10.

   Run the command “setfattr -n trusted.non-existent-key -v abc ” to set extended attributes and remove the extended attribute
   by running the command “ setfattr -x trusted.non-existent-key ” at all mount points.

11.

   Restart glusterd

12.

   Ensure heal is in progress and complete

13.

   Edit the host, and fetch fingerprint in Advanced details - as
   fingerprint is changed due to reinstallation

14.

   Run “hosted-engine --deploy --config-append=answers.conf” on host3
   (Should be seen as additional host setup, provide the host number as
   known by other hosts)

15.

   hosted-engine deploy fails as the host being installed cannot be
   added to the engine with hostname already known error. Reinstalling
   from the UI and aborting HE setup seems to fix this. ovirt-ha-agent
   and ovirt-ha-broker services had to be started manually

1.

   Go to UI and click on reinstall button  to reinstall the host.
   Reinstalling host might fail due not able to configure
   management network.

2.

   Go to Network Interfaces tab and click on “Setup Host Networks”
   and assign the networks ovirtmgmt and glusternw to the correct nics.

3.

   Wait for sometime for the Node to come up and start
   ovirt-ha-agent and ovirt-ha-broker services.

*
Thanks
kasturi.

On 09/20/2016 11:27 AM, knarra wrote:

Hi,

Pad [1] contains the procedure to replace the host with same FQDN 
where existing host OS has to be re-installed.


[1] https://paste.fedoraproject.org/431252/47435076/

Thanks
kasturi.

On 09/20/2016 06:27 AM, Hanson wrote:

Hi Guys,

I encountered an unfortunate circumstance today. Possibly an 
achillies heel.


I have three hypervisors, HV1, HV2, HV3, all running gluster for 
hosted engine support. Individually they all pointed to 
HV1:/hosted_engine with backupvol=HV2,HV3...


HV1 lost its bootsector, which was discovered upon a reboot. This had 
zero impact, as designed, on the VM's.


However, now that HV1 is down, how does one go about replacing the 
original HV? The backup servers point to HV1, and you cannot readd 
the HV through the GUI, and the CLI will not readd it as it's already 
there... you cannot remove it as it is down in the GUI...


Pointing the other HV's to their own storage may make sense for 
multiple instances of the hosted_engine, however it's nice that the 
gluster volumes are replicated and that one VM can be relaunched when 
a HV error is detected. It's also consuming less resources.



What's the procedure to replace the original VM?



___
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



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Gluster Hyperconverged problem

2016-09-19 Thread knarra

Hi,

Pad [1] contains the procedure to replace the host with same FQDN 
where existing host OS has to be re-installed.


[1] https://paste.fedoraproject.org/431252/47435076/

Thanks
kasturi.

On 09/20/2016 06:27 AM, Hanson wrote:

Hi Guys,

I encountered an unfortunate circumstance today. Possibly an achillies 
heel.


I have three hypervisors, HV1, HV2, HV3, all running gluster for 
hosted engine support. Individually they all pointed to 
HV1:/hosted_engine with backupvol=HV2,HV3...


HV1 lost its bootsector, which was discovered upon a reboot. This had 
zero impact, as designed, on the VM's.


However, now that HV1 is down, how does one go about replacing the 
original HV? The backup servers point to HV1, and you cannot readd the 
HV through the GUI, and the CLI will not readd it as it's already 
there... you cannot remove it as it is down in the GUI...


Pointing the other HV's to their own storage may make sense for 
multiple instances of the hosted_engine, however it's nice that the 
gluster volumes are replicated and that one VM can be relaunched when 
a HV error is detected. It's also consuming less resources.



What's the procedure to replace the original VM?



___
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] oVirt + Gluster Hyperconverged

2016-07-18 Thread Hanson Turner

Hi Fernando,

Not anything spectacular that I have seen, but I'm using 16GB minimum 
each node.


Probably want to setup your hosted-engine as 2cpu, 4096mb ram. I believe 
that's the min reqs.


Thanks,

Hanson


On 07/15/2016 09:48 AM, Fernando Frediani wrote:

Hi folks,

I have a few servers with reasonable amount of raw storage but they 
are 3 with only 8GB of memory each.
I wanted to have them with an oVirt Hyperconverged + Gluster mainly to 
take advantage of the amount of the storage spread between them and 
have ability to live migrate VMs.


Question is: Does running Gluster on the same Hypervisor nodes 
consumes any significant memory that won't be much left for running VMs ?


Thanks
Fernando
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--
-
- Network Engineer  -
-
-  Andrews Wireless -
- 671 Durham road 21-
-Uxbridge ON, L9P 1R4   -
-P: 905.852.8896-
-F: 905.852.7587-
- Toll free  (877)852.8896  -
-

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users