[Users] Centos 6.5 host configuration script -- a tale begun

--_000_22f073c8f28e423a8959bb2687b19cb9DM2PR05MB320namprd05pro_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have been working since Monday to get a Centos 6.5 host node added to ovi= rt. Since 6.5 is just out, I figured I might as well use the latest and gr= eatest to build my host. Today I succeeded (I think). I have not actually= added a VM to the host, but at least ovirt is willing to accept that the h= ost is part of the default cluster. My next task will be bringing up glust= er on that same node. Since I will be doing at least three more hosts, I wrote a shell script to = do a the setup that is needed to make the ovirt process succeed. No, I do not have a similar script for the engine. I got that running unde= r Centos 6.4 in a VM, without too much problem. That VM is temporarily run= ning on a KVM host (but that host is not under ovirt). Feel welcome to stare at or run my script and make any comments or observat= ions. * The script is run after a clean install of Centos 6.5 from the "minim= al" ISO. * I will try to remember what each element was there for, if anything i= s not clear. * There are probably a few (not many) things there that are not needed * Mostly they result in doing something ahead of time that ovirt was= going to do later anyway. * Feel free to point out a better way to do whatever needs to be done. * Bits and pieces of the script were stolen from googleing here and the= re. * Parts of the script were cooked up by stewing logs over low heat unti= l something useful bubbled to the top. * The number of clean reinstalls to test the script is beyond count. * I almost broke down and learned how to write a kickstart file (but= didn't). * No guarantees or representations. * So far this script has been tested on exactly one set of bare-meta= l hardware * That hardware is not server-grade. (ovirt keeps complaining bec= ause I have not configured Power Management :) * There are a few things that are personal preferences (things I instal= l on all my Linux machines) * I believe those preferences are clearly marked. * I am leaving them in because they may (incidentally) be installing= some dependencies that influence the outcome of the process. I hope to see a day when a similar script is either not needed, or is avail= able and maintained as part of the Centos distro, or as part of ovirt. Mea= nwhile we try to muddle through. I will copy my script into this webmail interface (OWA) (since I am writing= at home and this is all I have to work with) and see how bad it mangles it= . You'll probably need a wide window so that lines don't wrap, as Microsof= t thinks this OWA interface doesn't ever need to let me specify text as "pr= eformat". I called my script ov_host-start.sh # script to prepare Centos 6.5 for ovirt host install process echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ted's personal p= references--early =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D" yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D end of Ted'= s personal preferences--early =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D" yum -y upgrade echo "....................install some repos (if not already done).........= ........." cd /etc/yum.repos.d if [ ! -f glusterfs-epel.repo ] ; then echo "..............installing gluster repo......................." yum -y install wget wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/g= lusterfs-epel.repo echo "..............done installing gluster repo.................." fi if [ ! -f el6-ovirt.repo ] ; then echo "..............installing ovirt repo......................." yum -y localinstall http://ovirt.org/releases/ovirt-release-el.noarch.rpm echo "..............done installing ovirt repo.................." fi if [ ! -f epel.repo ] ; then echo "..............installing epel repo......................." yum -y localinstall http://mirror.us.leaseweb.net/epel/6/i386/epel-releas= e-6-8.noarch.rpm echo "..............done installing epel repo.................." fi echo "........install libvirt............................" yum -y install libvirt qemu-kvm tuned echo "........install virt-manager" # with unlisted dependencies yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts # create the ovirtmgmt bridge if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then echo "........................creating ovirtmgmt bridge.................= ....." service libvirtd start service libvirtd status virsh net-destroy default virsh net-undefine default virsh iface-bridge eth0 ovirtmgmt service network restart service libvirtd stop service libvirtd status fi echo ".........copy tuned profile..............." # copy virtual-host --> rhs-virtualization so ovirt is happy cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization yum -y install vdsm echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ted's personal p= references--late =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D" #add lines to send messages to TTY12 cat /etc/rsyslog.conf | grep tty12 if [ ! $? -eq 0 ] ; then echo ".......................Adding for tty12...................." echo " " >> /etc/rsyslog.conf echo "# Log everything to tty12" >> /etc/rsyslog.conf echo "*.* /dev/tty12" >> /etc/rsyslog.conf service rsyslog restart fi echo "...........install gkrellm.............." yum -y install gkrellm #add poll=3D0 to kill noveau messages cat /boot/grub/grub.conf | grep poll=3D0 if [ ! $? -eq 0 ] ; then echo "............................Adding poll=3D0.......................= ..." sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=3D0/g' /boot/grub/grub.= conf fi --_000_22f073c8f28e423a8959bb2687b19cb9DM2PR05MB320namprd05pro_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
</head> <body id=3D"" tabindex=3D"0" dir=3D"ltr"> <div name=3D"divtagdefaultwrapper" id=3D"divtagdefaultwrapper" style=3D"fon= t-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #0000= 00; margin: 0"> I have been working since Monday to get a Centos 6.5 host node added to ovi= rt. Since 6.5 is just out, I figured I might as well use the latest a= nd greatest to build my host. Today I succeeded (I think). I ha= ve not actually added a VM to the host, but at least ovirt is willing to accept that the host is part of the default clus= ter. My next task will be bringing up gluster on that same node.<br> <br> Since I will be doing at least three more hosts, I wrote a shell script to = do a the setup that is needed to make the ovirt process succeed.<br> <br> No, I do not have a similar script for the engine. I got that running= under Centos 6.4 in a VM, without too much problem. That VM is tempo= rarily running on a KVM host (but that host is not under ovirt).<br> <br> Feel welcome to stare at or run my script and make any comments or observat= ions.<br> <ul style=3D"font-family: serif; font-size: 12pt; margin-top: 0px; margin-b= ottom: 0px;"> <li>The script is run after a clean install of Centos 6.5 from the "mi= nimal" ISO.<br> </li><li>I will try to remember what each element was there for, if anythin= g is not clear.</li><li>There are probably a few (not many) things there th= at are not needed <ul> <li>Mostly they result in doing something ahead of time that ovirt was goin= g to do later anyway.<br> </li></ul> </li><li>Feel free to point out a better way to do whatever needs to be don= e.</li><li>Bits and pieces of the script were stolen from googleing here an= d there.</li><li>Parts of the script were cooked up by stewing logs over lo= w heat until something useful bubbled to the top.</li><li>The number of cle= an reinstalls to test the script is beyond count. <ul> <li>I almost broke down and learned how to write a kickstart file (but didn= 't).<br> </li></ul> </li><li>No guarantees or representations. <ul> <li>So far this script has been tested on <b>exactly one</b> set of bare-me= tal hardware <ul> <li>That hardware is not server-grade. (ovirt keeps complaining because I h= ave not configured Power Management :)</li></ul> </li></ul> </li><li>There are a few things that are personal preferences (things I ins= tall on all my Linux machines) <ul> <li>I believe those preferences are clearly marked.</li><li>I am leaving th= em in because they may (incidentally) be installing some dependencies that = influence the outcome of the process.<br> </li></ul> </li></ul> <br> I hope to see a day when a similar script is either not needed, or is avail= able and maintained as part of the Centos distro, or as part of ovirt. = ; Meanwhile we try to muddle through.<br> <br> I will copy my script into this webmail interface (OWA) (since I am writing= at home and this is all I have to work with) and see how bad it mangles it= . You'll probably need a wide window so that lines don't wrap, as Mic= rosoft thinks this OWA interface doesn't ever need to let me specify text as "preformat". I called = my script ov_host-start.sh<br> <br> <br> <font face=3D"'Courier New',monospace"># script to prepare Centos 6.5 for o= virt host install process<br> <br> echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ted's = personal preferences--early =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D"<br> <br> yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate<br> <br> echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D end of= Ted's personal preferences--early =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D"<br> <br> yum -y upgrade<br> <br> echo "....................install some repos (if not already done)....= .............."<br> cd /etc/yum.repos.d<br> if [ ! -f glusterfs-epel.repo ] ; then<br> echo "..............installing gluster repo....................= ..."<br> yum -y install wget<br> wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.r= epo/glusterfs-epel.repo<br> echo "..............done installing gluster repo...............= ..."<br> fi<br> <br> if [ ! -f el6-ovirt.repo ] ; then<br> echo "..............installing ovirt repo......................= ."<br> yum -y localinstall http://ovirt.org/releases/ovirt-release-el.noarc= h.rpm<br> echo "..............done installing ovirt repo.................= ."<br> fi<br> <br> if [ ! -f epel.repo ] ; then<br> echo "..............installing epel repo.......................= "<br> yum -y localinstall http://mirror.us.leaseweb.net/epel/6/i386/epel-r= elease-6-8.noarch.rpm<br> echo "..............done installing epel repo..................= "<br> fi<br> <br> <br> echo "........install libvirt............................"<br> yum -y install libvirt qemu-kvm tuned<br> echo "........install virt-manager" # with unlisted dependencies<= br> yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts<br> <br> # create the ovirtmgmt bridge<br> if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then<br> echo "........................creating ovirtmgmt bridge..= ...................."<br> service libvirtd start<br> service libvirtd status<br> virsh net-destroy default<br> virsh net-undefine default<br> virsh iface-bridge eth0 ovirtmgmt<br> service network restart<br> service libvirtd stop<br> service libvirtd status<br> fi<br> <br> echo ".........copy tuned profile..............."<br> # copy virtual-host --> rhs-virtualization so ovirt is happy<br> cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization= <br> <br> yum -y install vdsm<br> <br> echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ted's = personal preferences--late =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D"<br> <br> #add lines to send messages to TTY12<br> cat /etc/rsyslog.conf | grep tty12<br> if [ ! $? -eq 0 ] ; then<br> echo ".......................Adding for tty12............= ........"<br> echo " " >> /etc/rsyslog.conf<br> echo "# Log everything to tty12" >> /etc= /rsyslog.conf<br> echo "*.* &nb= sp; &n= bsp; /dev/tty12" >> /etc/rsyslog.conf<br> service rsyslog restart<br> fi<br> <br> echo "...........install gkrellm.............."<br> yum -y install gkrellm<br> <br> #add poll=3D0 to kill noveau messages<br> cat /boot/grub/grub.conf | grep poll=3D0<br> if [ ! $? -eq 0 ] ; then<br> echo "............................Adding poll=3D0........= .................."<br> sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=3D0/g' /boot/= grub/grub.conf<br> fi<br> </font><br> </div> </body> </html> --_000_22f073c8f28e423a8959bb2687b19cb9DM2PR05MB320namprd05pro_--

Hi, first, thanks for this script! I'll have to setup some CentOS 6.5 machines too, maybe it will help. Here are some questions/improvements from me: There's no need to use "localinstall" anymore, "install" is fine with yum :-) Then you install "virt-manager", for what purpose, may I ask? I also never needed to manually create the ovirt-management bridge has this behaviour changed in recent vdsm/CentOS Release? Am 13.12.2013 05:48, schrieb Ted Miller:
# script to prepare Centos 6.5 for ovirt host install process
echo "================= Ted's personal preferences--early ========================"
yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate
echo "=================== end of Ted's personal preferences--early ================"
yum -y upgrade
echo "....................install some repos (if not already done).................." cd /etc/yum.repos.d if [ ! -f glusterfs-epel.repo ] ; then echo "..............installing gluster repo......................." yum -y install wget wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs... echo "..............done installing gluster repo.................." fi
if [ ! -f el6-ovirt.repo ] ; then echo "..............installing ovirt repo......................." yum -y localinstall http://ovirt.org/releases/ovirt-release-el.noarch.rpm echo "..............done installing ovirt repo.................." fi
if [ ! -f epel.repo ] ; then echo "..............installing epel repo......................." yum -y localinstall http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm echo "..............done installing epel repo.................." fi
echo "........install libvirt............................" yum -y install libvirt qemu-kvm tuned echo "........install virt-manager" # with unlisted dependencies yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts
# create the ovirtmgmt bridge if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then echo "........................creating ovirtmgmt bridge......................" service libvirtd start service libvirtd status virsh net-destroy default virsh net-undefine default virsh iface-bridge eth0 ovirtmgmt service network restart service libvirtd stop service libvirtd status fi
echo ".........copy tuned profile..............." # copy virtual-host --> rhs-virtualization so ovirt is happy cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization
yum -y install vdsm
echo "================= Ted's personal preferences--late ================================="
#add lines to send messages to TTY12 cat /etc/rsyslog.conf | grep tty12 if [ ! $? -eq 0 ] ; then echo ".......................Adding for tty12...................." echo " " >> /etc/rsyslog.conf echo "# Log everything to tty12" >> /etc/rsyslog.conf echo "*.* /dev/tty12" >> /etc/rsyslog.conf service rsyslog restart fi
echo "...........install gkrellm.............." yum -y install gkrellm
#add poll=0 to kill noveau messages cat /boot/grub/grub.conf | grep poll=0 if [ ! $? -eq 0 ] ; then echo "............................Adding poll=0.........................." sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=0/g' /boot/grub/grub.conf fi
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

--------------050608080707060402090909 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit On 12/13/2013 2:59 AM, Sven Kieske wrote:
Hi,
first, thanks for this script! I'll have to setup some CentOS 6.5 machines too, maybe it will help. Here are some questions/improvements from me:
There's no need to use "localinstall" anymore, "install" is fine with yum :-)
Then you install "virt-manager", for what purpose, may I ask? I also never needed to manually create the ovirt-management bridge has this behaviour changed in recent vdsm/CentOS Release?
Am 13.12.2013 05:48, schrieb Ted Miller:
# script to prepare Centos 6.5 for ovirt host install process
echo "================= Ted's personal preferences--early ========================"
yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate
echo "=================== end of Ted's personal preferences--early ================"
yum -y upgrade
echo "....................install some repos (if not already done).................." cd /etc/yum.repos.d if [ ! -f glusterfs-epel.repo ] ; then echo "..............installing gluster repo......................." yum -y install wget wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs... echo "..............done installing gluster repo.................." fi
if [ ! -f el6-ovirt.repo ] ; then echo "..............installing ovirt repo......................." yum -y localinstall http://ovirt.org/releases/ovirt-release-el.noarch.rpm echo "..............done installing ovirt repo.................." fi
if [ ! -f epel.repo ] ; then echo "..............installing epel repo......................." yum -y localinstall http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm echo "..............done installing epel repo.................." fi
echo "........install libvirt............................" yum -y install libvirt qemu-kvm tuned echo "........install virt-manager" # with unlisted dependencies yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts
# create the ovirtmgmt bridge if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then echo "........................creating ovirtmgmt bridge......................" service libvirtd start service libvirtd status virsh net-destroy default virsh net-undefine default virsh iface-bridge eth0 ovirtmgmt service network restart service libvirtd stop service libvirtd status fi
echo ".........copy tuned profile..............." # copy virtual-host --> rhs-virtualization so ovirt is happy cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization
yum -y install vdsm
echo "================= Ted's personal preferences--late ================================="
#add lines to send messages to TTY12 cat /etc/rsyslog.conf | grep tty12 if [ ! $? -eq 0 ] ; then echo ".......................Adding for tty12...................." echo " " >> /etc/rsyslog.conf echo "# Log everything to tty12" >> /etc/rsyslog.conf echo "*.* /dev/tty12" >> /etc/rsyslog.conf service rsyslog restart fi
echo "...........install gkrellm.............." yum -y install gkrellm
#add poll=0 to kill noveau messages cat /boot/grub/grub.conf | grep poll=0 if [ ! $? -eq 0 ] ; then echo "............................Adding poll=0.........................." sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=0/g' /boot/grub/grub.conf fi
I followed your instructions (and similar suggestions by others). I was installing the host only, so commented out everything in my file except install EPEL and ovirt repos. I'm not interested in hearing about what "should" happen, or what happened on 6.4. These are the (unfixed) problems with 6.5, and they are real.
INSTALL FAILED with message: Failed to install Host office4a. Yum [u'glusterfs-server-3.4.0-8.el6.x86_64 requires glusterfs-libs = 3.4.0-8.el6', u'glusterfs-server-3.4.0-8.el6.x86_64 requires glusterfs = 3.4.0-8.el6', u'glusterfs-server-3.4.0-8.el6.x86_64 requires glusterfs-fuse = 3.4.0-8.el6', u'glusterfs-cli-3.4.0-8.el6.x86_64 requires glusterfs-libs = 3.4.0-8.el6']. # yum list gluster base: mirror.oss.ou.edu epel: mirrors.servercentral.net extras: mirror.dattobackup.com updates: centos.sonn.com Available Packages glusterfs.x86_64 3.4.0.36rhs-1.el6 base glusterfs-api.x86_64 3.4.0.36rhs-1.el6 base glusterfs-api-devel.x86_64 3.4.0.36rhs-1.el6 base glusterfs-cli.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-debuginfo.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-devel.x86_64 3.4.0.36rhs-1.el6 base glusterfs-fuse.x86_64 3.4.0.36rhs-1.el6 base glusterfs-geo-replication.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-libs.x86_64 3.4.0.36rhs-1.el6 base glusterfs-rdma.x86_64 3.4.0.36rhs-1.el6 base glusterfs-resource-agents.noarch 3.4.0-8.el6 glusterfs-noarch-epel glusterfs-server.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-ufo.noarch 3.4.0-8.el6 glusterfs-noarch-epel The real truth is that there are three repos trying to serve up gluster 3.4.0 packages. # yum list gluster* --showduplicates Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: mirror.umd.edu * epel: mirror.utexas.edu * extras: mirrors.liquidweb.com * updates: centos.sonn.com Available Packages glusterfs.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs.x86_64 3.4.0-8.el6 ovirt-stable glusterfs.x86_64 3.4.0.36rhs-1.el6 base glusterfs-api.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-api.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-api.x86_64 3.4.0.36rhs-1.el6 base glusterfs-api-devel.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-api-devel.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-api-devel.x86_64 3.4.0.36rhs-1.el6 base glusterfs-cli.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-cli.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-debuginfo.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-debuginfo.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-devel.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-devel.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-devel.x86_64 3.4.0.36rhs-1.el6 base glusterfs-fuse.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-fuse.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-fuse.x86_64 3.4.0.36rhs-1.el6 base glusterfs-geo-replication.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-geo-replication.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-libs.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-libs.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-libs.x86_64 3.4.0.36rhs-1.el6 base glusterfs-rdma.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-rdma.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-rdma.x86_64 3.4.0.36rhs-1.el6 base glusterfs-resource-agents.noarch 3.4.0-8.el6 glusterfs-noarch-epel glusterfs-resource-agents.noarch 3.4.0-8.el6 ovirt-stable glusterfs-server.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-server.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-ufo.noarch 3.4.0-8.el6 glusterfs-noarch-epel I had found a suggestion on the web to upgrade to 3.4.1, since the 3.4.0 versions can't figure out "who's on first". So I went back and uncommented the glusterfs repo install. That changes yum's perspective to: # yum list gluster* Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: mirrors.einstein.yu.edu * epel: mirror.utexas.edu * extras: mirror.nexcess.net * updates: centos.sonn.com Available Packages glusterfs.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-api.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-api-devel.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-cli.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-debuginfo.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-devel.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-fuse.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-geo-replication.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-libs.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-rdma.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-resource-agents.noarch 3.4.1-3.el6 glusterfs-noarch-epel glusterfs-server.x86_64 3.4.1-3.el6 glusterfs-epel Only by replacing the glusterfs-epel repo file that ovirt uses with a different one, does version 3.4.1 become available, and the error goes away. I got a message saying "Host office4a installation in progress. Cannot set tuned profile." but that message did not stop the installation from completing, but gives me enough reason to put back the line copying the "tuned" profile, so ovirt finds what it is looking for. The other problems did not appear this time, very possibly because of the order in which I tackled things, based on the advice I got. That leaves my install script looking like this (with all the 'if' statements take out): #!/bin/bash # script to prepare Centos 6.5 minimal for ovirt host install process # by Ted Miller # 2013-12-16 tested on office4a yum -y install yum-presto yum -y upgrade yum -y install wget wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs... yum -y install http://ovirt.org/releases/ovirt-release-el.noarch.rpm yum -y install http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization That is significantly reduced from what I had, but still a long ways from the "just install the epel and ovirt repos" that I was getting. The version conflict that forced the addition of the glusterfs repo is probably due to new versions of gluster in Centos 6.5. The problem with "tune" was trying to fix a problem for RHES users, but created a problem for everyone else (CentOS & etc). Ted Miller --------------050608080707060402090909 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> On 12/13/2013 2:59 AM, Sven Kieske wrote:<br> <blockquote cite="mid:52AABEF4.8000608@mittwald.de" type="cite"> <pre wrap="">Hi, first, thanks for this script! I'll have to setup some CentOS 6.5 machines too, maybe it will help. Here are some questions/improvements from me: There's no need to use "localinstall" anymore, "install" is fine with yum :-) Then you install "virt-manager", for what purpose, may I ask? I also never needed to manually create the ovirt-management bridge has this behaviour changed in recent vdsm/CentOS Release? Am 13.12.2013 05:48, schrieb Ted Miller: </pre> <blockquote type="cite"> <pre wrap=""># script to prepare Centos 6.5 for ovirt host install process echo "================= Ted's personal preferences--early ========================" yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate echo "=================== end of Ted's personal preferences--early ================" yum -y upgrade echo "....................install some repos (if not already done).................." cd /etc/yum.repos.d if [ ! -f glusterfs-epel.repo ] ; then echo "..............installing gluster repo......................." yum -y install wget wget <a class="moz-txt-link-freetext" href="http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs-epel.repo">http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs-epel.repo</a> echo "..............done installing gluster repo.................." fi if [ ! -f el6-ovirt.repo ] ; then echo "..............installing ovirt repo......................." yum -y localinstall <a class="moz-txt-link-freetext" href="http://ovirt.org/releases/ovirt-release-el.noarch.rpm">http://ovirt.org/releases/ovirt-release-el.noarch.rpm</a> echo "..............done installing ovirt repo.................." fi if [ ! -f epel.repo ] ; then echo "..............installing epel repo......................." yum -y localinstall <a class="moz-txt-link-freetext" href="http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm">http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm</a> echo "..............done installing epel repo.................." fi echo "........install libvirt............................" yum -y install libvirt qemu-kvm tuned echo "........install virt-manager" # with unlisted dependencies yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts # create the ovirtmgmt bridge if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then echo "........................creating ovirtmgmt bridge......................" service libvirtd start service libvirtd status virsh net-destroy default virsh net-undefine default virsh iface-bridge eth0 ovirtmgmt service network restart service libvirtd stop service libvirtd status fi echo ".........copy tuned profile..............." # copy virtual-host --> rhs-virtualization so ovirt is happy cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization yum -y install vdsm echo "================= Ted's personal preferences--late =================================" #add lines to send messages to TTY12 cat /etc/rsyslog.conf | grep tty12 if [ ! $? -eq 0 ] ; then echo ".......................Adding for tty12...................." echo " " >> /etc/rsyslog.conf echo "# Log everything to tty12" >> /etc/rsyslog.conf echo "*.* /dev/tty12" >> /etc/rsyslog.conf service rsyslog restart fi echo "...........install gkrellm.............." yum -y install gkrellm #add poll=0 to kill noveau messages cat /boot/grub/grub.conf | grep poll=0 if [ ! $? -eq 0 ] ; then echo "............................Adding poll=0.........................." sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=0/g' /boot/grub/grub.conf fi </pre> </blockquote> </blockquote> <div class="moz-text-html" lang="x-western"> <div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0"> I followed your instructions (and similar suggestions by others). I was installing the host only, so commented out everything in my file except install EPEL and ovirt repos. I'm not interested in hearing about what "should" happen, or what happened on 6.4. These are the (unfixed) problems with 6.5, and they are real.<br> <br> INSTALL FAILED with message:<br> <br> Failed to install Host office4a. Yum [u'glusterfs-server-3.4.0-8.el6.x86_64 requires glusterfs-libs = 3.4.0-8.el6', u'glusterfs-server-3.4.0-8.el6.x86_64 requires glusterfs = 3.4.0-8.el6', u'glusterfs-server-3.4.0-8.el6.x86_64 requires glusterfs-fuse = 3.4.0-8.el6', u'glusterfs-cli-3.4.0-8.el6.x86_64 requires glusterfs-libs = 3.4.0-8.el6'].<br> <br> <pre><tt># yum list gluster base: mirror.oss.ou.edu epel: mirrors.servercentral.net extras: mirror.dattobackup.com updates: centos.sonn.com Available Packages glusterfs.x86_64 3.4.0.36rhs-1.el6 base glusterfs-api.x86_64 3.4.0.36rhs-1.el6 base glusterfs-api-devel.x86_64 3.4.0.36rhs-1.el6 base glusterfs-cli.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-debuginfo.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-devel.x86_64 3.4.0.36rhs-1.el6 base glusterfs-fuse.x86_64 3.4.0.36rhs-1.el6 base glusterfs-geo-replication.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-libs.x86_64 3.4.0.36rhs-1.el6 base glusterfs-rdma.x86_64 3.4.0.36rhs-1.el6 base glusterfs-resource-agents.noarch 3.4.0-8.el6 glusterfs-noarch-epel glusterfs-server.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-ufo.noarch 3.4.0-8.el6 glusterfs-noarch-epel</tt> </pre> <br> The real truth is that there are three repos trying to serve up gluster 3.4.0 packages.<br> <br> <pre><tt># yum list gluster* --showduplicates Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: mirror.umd.edu * epel: mirror.utexas.edu * extras: mirrors.liquidweb.com * updates: centos.sonn.com Available Packages glusterfs.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs.x86_64 3.4.0-8.el6 ovirt-stable glusterfs.x86_64 3.4.0.36rhs-1.el6 base glusterfs-api.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-api.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-api.x86_64 3.4.0.36rhs-1.el6 base glusterfs-api-devel.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-api-devel.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-api-devel.x86_64 3.4.0.36rhs-1.el6 base glusterfs-cli.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-cli.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-debuginfo.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-debuginfo.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-devel.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-devel.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-devel.x86_64 3.4.0.36rhs-1.el6 base glusterfs-fuse.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-fuse.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-fuse.x86_64 3.4.0.36rhs-1.el6 base glusterfs-geo-replication.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-geo-replication.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-libs.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-libs.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-libs.x86_64 3.4.0.36rhs-1.el6 base glusterfs-rdma.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-rdma.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-rdma.x86_64 3.4.0.36rhs-1.el6 base glusterfs-resource-agents.noarch 3.4.0-8.el6 glusterfs-noarch-epel glusterfs-resource-agents.noarch 3.4.0-8.el6 ovirt-stable glusterfs-server.x86_64 3.4.0-8.el6 glusterfs-epel glusterfs-server.x86_64 3.4.0-8.el6 ovirt-stable glusterfs-ufo.noarch 3.4.0-8.el6 glusterfs-noarch-epel</tt><font face="'Lucida Console', Monaco, monospace"> </font></pre> <br> <br> I had found a suggestion on the web to upgrade to 3.4.1, since the 3.4.0 versions can't figure out "who's on first".<br> <br> So I went back and uncommented the glusterfs repo install. That changes yum's perspective to:<br> <br> <pre><tt># yum list gluster* Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: mirrors.einstein.yu.edu * epel: mirror.utexas.edu * extras: mirror.nexcess.net * updates: centos.sonn.com Available Packages glusterfs.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-api.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-api-devel.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-cli.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-debuginfo.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-devel.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-fuse.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-geo-replication.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-libs.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-rdma.x86_64 3.4.1-3.el6 glusterfs-epel glusterfs-resource-agents.noarch 3.4.1-3.el6 glusterfs-noarch-epel glusterfs-server.x86_64 3.4.1-3.el6 glusterfs-epel </tt></pre> <tt> </tt><br> Only by replacing the glusterfs-epel repo file that ovirt uses with a different one, does version 3.4.1 become available, and the error goes away.<br> <br> I got a message saying "Host office4a installation in progress. Cannot set tuned profile." but that message did not stop the installation from completing, but gives me enough reason to put back the line copying the "tuned" profile, so ovirt finds what it is looking for.<br> <br> The other problems did not appear this time, very possibly because of the order in which I tackled things, based on the advice I got.<br> <br> That leaves my install script looking like this (with all the 'if' statements take out):<br> <br> <pre><font face="'Lucida Console', Monaco, monospace"> </font><tt>#!/bin/bash # script to prepare Centos 6.5 minimal for ovirt host install process # by Ted Miller # 2013-12-16 tested on office4a yum -y install yum-presto yum -y upgrade yum -y install wget wget <a class="moz-txt-link-freetext" href="http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs-epel.repo">http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs-epel.repo</a> yum -y install <a class="moz-txt-link-freetext" href="http://ovirt.org/releases/ovirt-release-el.noarch.rpm">http://ovirt.org/releases/ovirt-release-el.noarch.rpm</a> yum -y install <a class="moz-txt-link-freetext" href="http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm">http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm</a> cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization</tt><font face="'Lucida Console', Monaco, monospace"> </font></pre> <br> That is significantly reduced from what I had, but still a long ways from the "just install the epel and ovirt repos" that I was getting.<br> <br> The version conflict that forced the addition of the glusterfs repo is probably due to new versions of gluster in Centos 6.5.<br> The problem with "tune" was trying to fix a problem for RHES users, but created a problem for everyone else (CentOS & etc).<br> <br> Ted Miller<br> <br> </div> </div> </body> </html> --------------050608080707060402090909--

After you add the epel repo you should be able to add the host via the engine webadmin interface. You can use the rest api to automate this call. ----- Original Message -----
From: "Ted Miller" <tmiller@hcjb.org> To: users@ovirt.org Sent: Friday, December 13, 2013 6:48:16 AM Subject: [Users] Centos 6.5 host configuration script -- a tale begun
I have been working since Monday to get a Centos 6.5 host node added to ovirt. Since 6.5 is just out, I figured I might as well use the latest and greatest to build my host. Today I succeeded (I think). I have not actually added a VM to the host, but at least ovirt is willing to accept that the host is part of the default cluster. My next task will be bringing up gluster on that same node.
Since I will be doing at least three more hosts, I wrote a shell script to do a the setup that is needed to make the ovirt process succeed.
No, I do not have a similar script for the engine. I got that running under Centos 6.4 in a VM, without too much problem. That VM is temporarily running on a KVM host (but that host is not under ovirt).
Feel welcome to stare at or run my script and make any comments or observations.
* The script is run after a clean install of Centos 6.5 from the "minimal" ISO. * I will try to remember what each element was there for, if anything is not clear. * There are probably a few (not many) things there that are not needed * Mostly they result in doing something ahead of time that ovirt was going to do later anyway. * Feel free to point out a better way to do whatever needs to be done. * Bits and pieces of the script were stolen from googleing here and there. * Parts of the script were cooked up by stewing logs over low heat until something useful bubbled to the top. * The number of clean reinstalls to test the script is beyond count. * I almost broke down and learned how to write a kickstart file (but didn't). * No guarantees or representations. * So far this script has been tested on exactly one set of bare-metal hardware * That hardware is not server-grade. (ovirt keeps complaining because I have not configured Power Management :) * There are a few things that are personal preferences (things I install on all my Linux machines) * I believe those preferences are clearly marked. * I am leaving them in because they may (incidentally) be installing some dependencies that influence the outcome of the process.
I hope to see a day when a similar script is either not needed, or is available and maintained as part of the Centos distro, or as part of ovirt. Meanwhile we try to muddle through.
I will copy my script into this webmail interface (OWA) (since I am writing at home and this is all I have to work with) and see how bad it mangles it. You'll probably need a wide window so that lines don't wrap, as Microsoft thinks this OWA interface doesn't ever need to let me specify text as "preformat". I called my script ov_host-start.sh
# script to prepare Centos 6.5 for ovirt host install process
echo "================= Ted's personal preferences--early ========================"
yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate
echo "=================== end of Ted's personal preferences--early ================"
yum -y upgrade
echo "....................install some repos (if not already done).................." cd /etc/yum.repos.d if [ ! -f glusterfs-epel.repo ] ; then echo "..............installing gluster repo......................." yum -y install wget wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs... echo "..............done installing gluster repo.................." fi
if [ ! -f el6-ovirt.repo ] ; then echo "..............installing ovirt repo......................." yum -y localinstall http://ovirt.org/releases/ovirt-release-el.noarch.rpm echo "..............done installing ovirt repo.................." fi
if [ ! -f epel.repo ] ; then echo "..............installing epel repo......................." yum -y localinstall http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm echo "..............done installing epel repo.................." fi
echo "........install libvirt............................" yum -y install libvirt qemu-kvm tuned echo "........install virt-manager" # with unlisted dependencies yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts
# create the ovirtmgmt bridge if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then echo "........................creating ovirtmgmt bridge......................" service libvirtd start service libvirtd status virsh net-destroy default virsh net-undefine default virsh iface-bridge eth0 ovirtmgmt service network restart service libvirtd stop service libvirtd status fi
echo ".........copy tuned profile..............." # copy virtual-host --> rhs-virtualization so ovirt is happy cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization
yum -y install vdsm
echo "================= Ted's personal preferences--late ================================="
#add lines to send messages to TTY12 cat /etc/rsyslog.conf | grep tty12 if [ ! $? -eq 0 ] ; then echo ".......................Adding for tty12...................." echo " " >> /etc/rsyslog.conf echo "# Log everything to tty12" >> /etc/rsyslog.conf echo "*.* /dev/tty12" >> /etc/rsyslog.conf service rsyslog restart fi
echo "...........install gkrellm.............." yum -y install gkrellm
#add poll=0 to kill noveau messages cat /boot/grub/grub.conf | grep poll=0 if [ ! $? -eq 0 ] ; then echo "............................Adding poll=0.........................." sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=0/g' /boot/grub/grub.conf fi
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 12/13/2013 06:48 AM, Ted Miller wrote:
I have been working since Monday to get a Centos 6.5 host node added to ovirt. Since 6.5 is just out, I figured I might as well use the latest and greatest to build my host. Today I succeeded (I think). I have not actually added a VM to the host, but at least ovirt is willing to accept that the host is part of the default cluster. My next task will be bringing up gluster on that same node.
Since I will be doing at least three more hosts, I wrote a shell script to do a the setup that is needed to make the ovirt process succeed.
No, I do not have a similar script for the engine. I got that running under Centos 6.4 in a VM, without too much problem. That VM is temporarily running on a KVM host (but that host is not under ovirt).
Feel welcome to stare at or run my script and make any comments or observations.
* The script is run after a clean install of Centos 6.5 from the "minimal" ISO. * I will try to remember what each element was there for, if anything is not clear. * There are probably a few (not many) things there that are not needed o Mostly they result in doing something ahead of time that ovirt was going to do later anyway. * Feel free to point out a better way to do whatever needs to be done. * Bits and pieces of the script were stolen from googleing here and there. * Parts of the script were cooked up by stewing logs over low heat until something useful bubbled to the top. * The number of clean reinstalls to test the script is beyond count. o I almost broke down and learned how to write a kickstart file (but didn't). * No guarantees or representations. o So far this script has been tested on *exactly one* set of bare-metal hardware + That hardware is not server-grade. (ovirt keeps complaining because I have not configured Power Management :) * There are a few things that are personal preferences (things I install on all my Linux machines) o I believe those preferences are clearly marked. o I am leaving them in because they may (incidentally) be installing some dependencies that influence the outcome of the process.
I hope to see a day when a similar script is either not needed, or is available and maintained as part of the Centos distro, or as part of ovirt. Meanwhile we try to muddle through.
I will copy my script into this webmail interface (OWA) (since I am writing at home and this is all I have to work with) and see how bad it mangles it. You'll probably need a wide window so that lines don't wrap, as Microsoft thinks this OWA interface doesn't ever need to let me specify text as "preformat". I called my script ov_host-start.sh
# script to prepare Centos 6.5 for ovirt host install process
echo "================= Ted's personal preferences--early ========================"
yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate
echo "=================== end of Ted's personal preferences--early ================"
yum -y upgrade
echo "....................install some repos (if not already done).................." cd /etc/yum.repos.d if [ ! -f glusterfs-epel.repo ] ; then echo "..............installing gluster repo......................." yum -y install wget wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs... echo "..............done installing gluster repo.................." fi
if [ ! -f el6-ovirt.repo ] ; then echo "..............installing ovirt repo......................." yum -y localinstall http://ovirt.org/releases/ovirt-release-el.noarch.rpm echo "..............done installing ovirt repo.................." fi
if [ ! -f epel.repo ] ; then echo "..............installing epel repo......................." yum -y localinstall http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm echo "..............done installing epel repo.................." fi
echo "........install libvirt............................" yum -y install libvirt qemu-kvm tuned echo "........install virt-manager" # with unlisted dependencies yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts
# create the ovirtmgmt bridge if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then echo "........................creating ovirtmgmt bridge......................" service libvirtd start service libvirtd status virsh net-destroy default virsh net-undefine default virsh iface-bridge eth0 ovirtmgmt service network restart service libvirtd stop service libvirtd status fi
echo ".........copy tuned profile..............." # copy virtual-host --> rhs-virtualization so ovirt is happy cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization
yum -y install vdsm
echo "================= Ted's personal preferences--late ================================="
#add lines to send messages to TTY12 cat /etc/rsyslog.conf | grep tty12 if [ ! $? -eq 0 ] ; then echo ".......................Adding for tty12...................." echo " " >> /etc/rsyslog.conf echo "# Log everything to tty12" >> /etc/rsyslog.conf echo "*.* /dev/tty12" >> /etc/rsyslog.conf service rsyslog restart fi
echo "...........install gkrellm.............." yum -y install gkrellm
#add poll=0 to kill noveau messages cat /boot/grub/grub.conf | grep poll=0 if [ ! $? -eq 0 ] ; then echo "............................Adding poll=0.........................." sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=0/g' /boot/grub/grub.conf fi
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
this shouldn't be complicated - i suggest opening a bug/rfe on any issue/step (within reason) that should/could be removed.
participants (4)
-
Alon Bar-Lev
-
Itamar Heim
-
Sven Kieske
-
Ted Miller