Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Page 1 of 6
Knowledge Dump
Red Hat & other flavours
In RHEVM appeared an error in the GUI like this one (check your Events tab):
Command returned failure code 1 during SSH session 'root@x.x.x.x'
But in RHEVM logs there was another latent issue, checking /var/log/ovirt-engine/engine.log :
20140427 12:17:20,814 ERROR [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy
...
20140427 12:18:48,555 ERROR [org.ovirt.engine.core.bll.InstallVdsCommand] (pool4th
So in order to enables nested virtualization of RHEV-H in VMware ESXi 5.5u1 we have to add 2 new
values in our vmx file:
featMask.vm.hv.capable = "Min:1"
vhv.enable = "TRUE"
After adding them I was able to approve the host without any further issues.
This entry was posted in ESXi, RHEV, VMware and tagged esxi, rhev, vmware on May 5, 2014
[http://blog.fite.cat/2014/05/nested-rhev-h-3-x-and-vmware-esxi-5-5/] .
http://blog.fite.cat/tag/rhev-2/
11/09/2014
Page 2 of 6
As a workaround first we need to upgrade jasper reports server and install openjdk dev rpm and rerun engine-setup once more:
yum update jasperreportsserverpro y
yum install java1.7.0openjdkdevel.x86_64 y
enginesetup
This entry was posted in RHEV and tagged rhev, rhevm on April 28, 2014
[http://blog.fite.cat/2014/04/upgrading-rhev-m-3-3-to-rhev-m-3-4-beta/] .
In order to do so, on the RHEVM machine, we need to install the isos images of RHEV-H:
NOTICE: If youre unable to install this package add the following channel:
http://blog.fite.cat/tag/rhev-2/
11/09/2014
Page 3 of 6
ls /usr/share/rhevhypervisor/
rhevhypervisor.iso
rhevh6.220120209.0.el6_2.iso
version6.220120209.0.el6_2.txt
rhevhypervisor6.iso
rhevhlatest6.iso
version.txt
Once its installed, we can put our RHEV-H into maintenance mode, and will see this option:
Host is in maintenance mode, you can Activate it by pressing the Activate button. If you wish to
upgrade or reinstall it click here.
And just click here and select which RHEV-H iso image are you going to use:
rhevh-latest-6.iso
And that would be it, let RHEVM install the upgrade and the node would be automatically rebooted
with the newer version of RHEV-H.
This entry was posted in RHEV and tagged rhev, rhevm, upgrade on March 12, 2012
[http://blog.fite.cat/2012/03/how-to-upgrade-our-rhev-h-hypervisors-with-rhevm/] .
http://blog.fite.cat/tag/rhev-2/
11/09/2014
Page 4 of 6
As per my previous post we should have Active Directory up and running in our RHEV-M.
So how about setting up SSO on our RHEL guests? In order to do that we should follow this simple
procedure.
First of all we need to install our rhev agent that is found in a special channel and winbind client:
Next of all we need to activate AD authentification on our guest, for example (RHEVM is our test
Domain):
systemconfigauthentication
User Account => Winbind
Winbind Domain => RHEVM
Security Model => ads
Winbind ADS Realm => RHEVM
Winbind Domain Controller => ad.rhevm.test
Template Shell => /bin/bash
Join Domain
If is not working double check your configuration files and DNS resolution:
/etc/samba/smb.conf
/etc/krb5.conf
/etc/resolv.conf
And finally, just in case, check that winbind is properly working, we could check some users/groups
for example:
wbinfo t
wbinfo u
http://blog.fite.cat/tag/rhev-2/
11/09/2014
Page 5 of 6
wbinfo g
getent passwd "RHEVM\testuser"
As a last step, check that we can login/sudo with an AD user on this guest:
su 'RHEVM\testuser'
ssh 'RHEVM\testuser'@localhost
If it doesnt work put in debug mode rhev-agent and try to figure out why is not working:
vi /etc/rhevagent.conf
...
level=DEBUG
...
service rhevagentd restart
tail f /var/log/rhevagent/rhevagent.log
This entry was posted in RHEV and tagged ad, rhev, sso, winbind on February 11, 2012
[http://blog.fite.cat/2012/02/single-sign-on-in-rhev3-using-gdm-and-active-directory/] .
oVirt
http://blog.fite.cat/tag/rhev-2/
11/09/2014
Page 6 of 6
Did you know that Red Hat open sourced RHEV?And the result was oVirt!
So thats it! You can check out their website, wiki and GIT sources:
http://www.ovirt.org/
http://www.ovirt.org/wiki/Main_Page
http://www.ovirt.org/project/subprojects/
The only thing that Ive noticed missing in comparison to RHEV is the USB redirection drivers as so
far they didnt open sourced that lets wait for it
This entry was posted in RHEV and tagged ovirt, rhev on January 26, 2012
[http://blog.fite.cat/2012/01/ovirt/] .
http://blog.fite.cat/tag/rhev-2/
11/09/2014