[Users] Centos 6.5 host configuration script -- a tale begun
by Ted Miller
--_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_--
10 years, 10 months
[Users] PPC64 Updates
by Leonardo Bianconi
--_000_50EB20226B72D6419356FC320AB62B876E004078SERV070corpeldo_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Sandro!
Im writing this e-mail to update the PPC64 status, because we don't work on=
Christmas, so we will not be in the meeting tomorrow.
We have updated the spreadsheet. Three features that were in design are und=
er review now. No new features done.
We have some patches merged and we are planning to start tests in January w=
ith the master revision.
Best regards
Leonardo Bianconi.
--_000_50EB20226B72D6419356FC320AB62B876E004078SERV070corpeldo_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html dir=3D"ltr">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" id=3D"owaParaStyle"></style>
</head>
<body fpstyle=3D"1" ocsi=3D"0">
<div style=3D"direction: ltr;font-family: Tahoma;color: #000000;font-size: =
10pt;">
<div>Hi Sandro!</div>
<div><br>
</div>
<div>Im writing this e-mail to update the PPC64 status, because we don't wo=
rk on Christmas, so we will not be in the meeting tomorrow.</div>
<div><br>
</div>
<div>We have updated the spreadsheet. Three features that were in design ar=
e under review now. No new features done.</div>
<div>We have some patches merged and we are planning to start tests in Janu=
ary with the master revision.</div>
<div><br>
</div>
<div>Best regards</div>
<div>Leonardo Bianconi.</div>
</div>
</body>
</html>
--_000_50EB20226B72D6419356FC320AB62B876E004078SERV070corpeldo_--
10 years, 10 months
[Users] why ovirt does not support NAT network
by bigclouds
------=_Part_198153_2086911013.1362653360586
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: 7bit
why ovirt does not support NAT network?
thanks
------=_Part_198153_2086911013.1362653360586
Content-Type: text/html; charset=GBK
Content-Transfer-Encoding: 7bit
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">why ovirt does not support NAT network?<div><br></div><div><br></div><div>thanks</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>
------=_Part_198153_2086911013.1362653360586--
10 years, 10 months
[Users] Map disk UUID to guest or disk name?
by Blaster
On an Ovirt datastore the disk image names for the guests are named with an unfriendly UUID name. Is there any way to map that back to the human readable name given int the GUI?
It would be nice if this name was dropped in as a field in the .meta file. I see there is a DESCRIPTION= field, but it’s blank. I tried updating the description in the GUI, but it’s still blank (bug, or do I have to update something? I tried deact/activate the disk and it still didn’t update…)
10 years, 10 months
[Users] VM payload
by René Koch (ovido)
Hi,
I created a vdsm hook script for passing payload information (vm name)
to a virtual machine, which is placed in before_vm_start folder on my
hypervisor (CentOS 6.5).
If I create a new virtual machine out of a template some strange things
happen:
When starting the vm the first time I can see that the vdsm script is
executed, but no additional cd drive is shown in this vm. But after
shutting down the vm and powering on again, the cd drive appears.
Here's the vdsm hook I use:
https://raw.github.com/ovido/ovirt-stuff/master/hooks/50_payload
I don't really get why the payload isn't working when starting a vm the
first time.
This happen on oVirt 3.2 and 3.3.
Thanks a lot for help!
--
Best Regards
René Koch
Senior Solution Architect
============================================
ovido gmbh - "open source solutions"
Brünner Straße 163, A-1210 Vienna
Phone: +43 720 / 530 670
Mobile: +43 660 / 512 21 31
E-Mail: r.koch(a)ovido.at
============================================
10 years, 10 months
Re: [Users] VM not starting up
by Meital Bourvine
------=_Part_9727235_2133361016.1388475877246
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Are you sure that vdsm is running?
The error happened at 2013-12-31 11:32:56,999 (engine.log)
but the last line in vdsm.log is from 2013-12-31 07:20:50,807
Also make sure that your clocked are synced.
----- Original Message -----
> From: "Nauman Abbas" <nauman.abbas(a)seecs.edu.pk>
> To: "Meital Bourvine" <mbourvin(a)redhat.com>
> Cc: "users(a)ovirt.org" <Users(a)ovirt.org>
> Sent: Tuesday, December 31, 2013 9:39:09 AM
> Subject: Re: [Users] VM not starting up
> Sending files one by one. Vdsm.log
> On Tue, Dec 31, 2013 at 11:48 AM, Meital Bourvine < mbourvin(a)redhat.com >
> wrote:
> > Engine log can be found on the engine (while vdsm.log is on the host).
>
> > The full path is - /var/log/ovirt-engine/engine.log
>
> > audit.log - /var/log/audit/audit.log
>
> > About the vdsm log - I don't see any error there, I think that you cut too
> > much from it.
>
> > > From: "Nauman Abbas" < nauman.abbas(a)seecs.edu.pk >
> >
>
> > > To: "Meital Bourvine" < mbourvin(a)redhat.com >
> >
>
> > > Cc: " users(a)ovirt.org " < Users(a)ovirt.org >
> >
>
> > > Sent: Tuesday, December 31, 2013 8:42:43 AM
> >
>
> > > Subject: Re: [Users] VM not starting up
> >
>
> > > Hello Meital
> >
>
> > > SELinux is off. The cluster doesn't work if SELinux is on, my hosts and
> > > storage is showing up as okay but VM is not starting up.
> >
>
> > > I've managed to get vdsm.log but cannot find engine.log and audit.log.
> > > Sorry
> > > for being a noob, if you can tell me the path to these files I'll send
> > > them
> > > right away.
> >
>
> > > On Tue, Dec 31, 2013 at 11:17 AM, Meital Bourvine < mbourvin(a)redhat.com >
> > > wrote:
> >
>
> > > > Hi Nauman,
> > >
> >
>
> > > > Maybe it's a selinux issue?
> > >
> >
>
> > > > Please try running `setenforce 0` before starting the vm.
> > >
> >
>
> > > > Also please attach engine.log, vdsm.log, and audit.log
> > >
> >
>
> > > > > From: "Nauman Abbas" < nauman.abbas(a)seecs.edu.pk >
> > > >
> > >
> >
>
> > > > > To: " users(a)ovirt.org " < Users(a)ovirt.org >
> > > >
> > >
> >
>
> > > > > Sent: Tuesday, December 31, 2013 7:13:01 AM
> > > >
> > >
> >
>
> > > > > Subject: [Users] VM not starting up
> > > >
> > >
> >
>
> > > > > Hello all,
> > > >
> > >
> >
>
> > > > > First of all thank you for your help, I've finally managed to get my
> > > > > Cluster
> > > > > configured properly but now that I create VMs I'm facing another
> > > > > problem.
> > > > > Whenever I start my VM I get this error.
> > > >
> > >
> >
>
> > > > > " VM TestVm is down. Exit message: Child quit during startup
> > > > > handshake:
> > > > > Input/output error."
> > > >
> > >
> >
>
> > > > > I've googled around but haven't found any satisfactory solution. If
> > > > > anyone
> > > > > can help out it would be great.
> > > >
> > >
> >
>
> > > > > Regards
> > > >
> > >
> >
>
> > > > > Nauman Abbas
> > > >
> > >
> >
>
> > > > > Assistant System Administrator (LMS),
> > > >
> > >
> >
>
> > > > > Room No. A-207, SEECS,
> > > >
> > >
> >
>
> > > > > National University of Sciences & Technology,
> > > >
> > >
> >
>
> > > > > + 92 321 5359946
> > > >
> > >
> >
>
> > > > > _______________________________________________
> > > >
> > >
> >
>
> > > > > Users mailing list
> > > >
> > >
> >
>
> > > > > Users(a)ovirt.org
> > > >
> > >
> >
>
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > >
> > >
> >
>
> > > --
> >
>
> > > Nauman Abbas
> >
>
> > > Assistant System Administrator (LMS),
> >
>
> > > Room No. A-207, SEECS,
> >
>
> > > National University of Sciences & Technology,
> >
>
> > > + 92 321 5359946
> >
>
> --
> Nauman Abbas
> Assistant System Administrator (LMS),
> Room No. A-207, SEECS,
> National University of Sciences & Technology,
> + 92 321 5359946
------=_Part_9727235_2133361016.1388475877246
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: times new roman, new york, times, se=
rif; font-size: 12pt; color: #000000"><div>Are you sure that vdsm is runnin=
g?<br></div><div><br></div><div>The error happened at 2013-12-31 11:32:56,9=
99 (engine.log)<br></div><div>but the last line in vdsm.log is from 2013-12=
-31 07:20:50,807<br></div><div><br></div><div>Also make sure that your cloc=
ked are synced. <br></div><div><br></div><div><br></div><hr id=3D"zwchr"><b=
lockquote style=3D"border-left:2px solid #1010FF;margin-left:5px;padding-le=
ft:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none=
;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Naum=
an Abbas" <nauman.abbas(a)seecs.edu.pk><br><b>To: </b>"Meital Bourvine"=
<mbourvin(a)redhat.com><br><b>Cc: </b>"users(a)ovirt.org" <Users@ovir=
t.org><br><b>Sent: </b>Tuesday, December 31, 2013 9:39:09 AM<br><b>Subje=
ct: </b>Re: [Users] VM not starting up<br><div><br></div><div dir=3D"ltr">S=
ending files one by one. Vdsm.log</div><div class=3D"gmail_extra"><br><div>=
<br></div><div class=3D"gmail_quote">On Tue, Dec 31, 2013 at 11:48 AM, Meit=
al Bourvine <span dir=3D"ltr"><<a href=3D"mailto:mbourvin@redhat.com" ta=
rget=3D"_blank">mbourvin(a)redhat.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div><div style=3D"font-size:12pt;font-famil=
y:times new roman,new york,times,serif"><div>Engine log can be found on the=
engine (while vdsm.log is on the host). </div>
<div>The full path is - /var/log/ovirt-engine/engine.log<br></div><div><br>=
</div><div>audit.log - /var/log/audit/audit.log<br></div><div><br></div><di=
v>About the vdsm log - I don't see any error there, I think that you cut to=
o much from it.<br>
</div><div><br></div><hr><blockquote style=3D"padding-left:5px;font-size:12=
pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif=
;text-decoration:none;font-weight:normal;border-left:2px solid #1010ff"><b>=
From: </b>"Nauman Abbas" <<a href=3D"mailto:nauman.abbas@seecs.edu.pk" t=
arget=3D"_blank">nauman.abbas(a)seecs.edu.pk</a>><br>
<b>To: </b>"Meital Bourvine" <<a href=3D"mailto:mbourvin@redhat.com" tar=
get=3D"_blank">mbourvin(a)redhat.com</a>><br><b>Cc: </b>"<a href=3D"mailto=
:users@ovirt.org" target=3D"_blank">users(a)ovirt.org</a>" <<a href=3D"mai=
lto:Users@ovirt.org" target=3D"_blank">Users(a)ovirt.org</a>><br>
<b>Sent: </b>Tuesday, December 31, 2013 8:42:43 AM<br><b>Subject: </b>Re: [=
Users] VM not starting up<div><div class=3D"h5"><br><div><br></div><div dir=
=3D"ltr">Hello Meital<div><br></div><div>SELinux is off. The cluster doesn'=
t work if SELinux is on, my hosts and storage is showing up as okay but VM =
is not starting up. </div>
<div><br></div><div>I've managed to get vdsm.log but cannot find engine.log=
and audit.log. Sorry for being a noob, if you can tell me the path to thes=
e files I'll send them right away. </div>
</div><div class=3D"gmail_extra"><br><div><br></div><div class=3D"gmail_quo=
te">On Tue, Dec 31, 2013 at 11:17 AM, Meital Bourvine <span dir=3D"ltr"><=
;<a href=3D"mailto:mbourvin@redhat.com" target=3D"_blank">mbourvin(a)redhat.c=
om</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div><div style=3D"font-size:12pt;font-famil=
y:times new roman,new york,times,serif"><div>Hi Nauman,<br></div><div><br><=
/div>
<div>Maybe it's a selinux issue?<br></div><div>Please try running `setenfor=
ce 0` before starting the vm.<br></div><div><br></div><div>Also please atta=
ch engine.log, vdsm.log, and audit.log<br></div><div><br></div><hr>
<blockquote style=3D"padding-left:5px;font-size:12pt;font-style:normal;marg=
in-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;fon=
t-weight:normal;border-left:2px solid #1010ff"><b>From: </b>"Nauman Abbas" =
<<a href=3D"mailto:nauman.abbas@seecs.edu.pk" target=3D"_blank">nauman.a=
bbas(a)seecs.edu.pk</a>><br>
<b>To: </b>"<a href=3D"mailto:users@ovirt.org" target=3D"_blank">users@ovir=
t.org</a>" <<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@o=
virt.org</a>><br><b>Sent: </b>Tuesday, December 31, 2013 7:13:01 AM<br>
<b>Subject: </b>[Users] VM not starting up<div><div><br><div><br></div><div=
dir=3D"ltr">Hello all,<div><br></div><div>First of all thank you for your =
help, I've finally managed to get my Cluster configured properly but now th=
at I create VMs I'm facing another problem. Whenever I start my VM I get th=
is error. </div>
<div><br></div><div>"<span style=3D"color:rgb(255,255,255);font-family:'Ari=
al Unicode MS',Arial,sans-serif;line-height:25.98958396911621px;white-space=
:nowrap;background-color:rgb(102,102,102)">VM TestVm is down. Exit message:=
Child quit during startup handshake: Input/output error."</span></div>
<div><br></div><div>I've googled around but haven't found any satisfactory =
solution. If anyone can help out it would be great. </div><div><br></d=
iv><div>Regards</div><div><div dir=3D"ltr"><div><br></div><span style=3D"co=
lor:#3d85c6">Nauman Abbas<br>
</span><div><div><span style=3D"color:#3d85c6"><span>Assistant System Admi=
nistrator</span><span style=3D"font-size:small"> (LMS),</span></span><=
/div><div><span style=3D"color:#3d85c6">Room No. A-207, SEECS,</span></div>
<div><span style=3D"color:#3d85c6">National University of Sciences & Te=
chnology,</span></div><div><a><span style=3D"color:#3d85c6">+ 92 321 535994=
6</span></a><br></div></div></div></div></div>
<br></div></div>_______________________________________________<br>Users ma=
iling list<br><a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ov=
irt.org</a><br><a href=3D"http://lists.ovirt.org/mailman/listinfo/users" ta=
rget=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote><div><br></div></div></div></blockquote></div><br><br clear=3D=
"all"><div><br></div>-- <br><div dir=3D"ltr"><div><br></div><span style=3D"=
color:#3d85c6">Nauman Abbas<br></span><div><div><span style=3D"color:#3d85c=
6"><span>Assistant System Administrator</span><span style=3D"font-size:smal=
l"> (LMS),</span></span></div>
<div><span style=3D"color:#3d85c6">Room No. A-207, SEECS,</span></div><div>=
<span style=3D"color:#3d85c6">National University of Sciences & Technol=
ogy,</span></div><div><a><span style=3D"color:#3d85c6">+ 92 321 5359946</sp=
an></a><br>
</div>
</div></div>
</div>
</div></div></blockquote><div><br></div></div></div></blockquote></div><br>=
<br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"><div><br></div><sp=
an style=3D"color: #3d85c6;" data-mce-style=3D"color: #3d85c6;" color=3D"#3=
d85c6">Nauman Abbas<br></span><div><div><span style=3D"color: #3d85c6;" dat=
a-mce-style=3D"color: #3d85c6;" color=3D"#3d85c6"><span>Assistant System Ad=
ministrator</span><span style=3D"font-size:small"> (LMS),</span></span=
></div>
<div><span style=3D"color: #3d85c6;" data-mce-style=3D"color: #3d85c6;" col=
or=3D"#3d85c6">Room No. A-207, SEECS,</span></div><div><span style=3D"color=
: #3d85c6;" data-mce-style=3D"color: #3d85c6;" color=3D"#3d85c6">National U=
niversity of Sciences & Technology,</span></div><div><a><span style=3D"=
color: #3d85c6;" data-mce-style=3D"color: #3d85c6;" color=3D"#3d85c6">+ 92 =
321 5359946</span></a><br data-mce-bogus=3D"1"></div>
</div></div>
</div>
</blockquote><div><br></div></div></body></html>
------=_Part_9727235_2133361016.1388475877246--
10 years, 10 months
[Users] recommandations for saving backing up ovirt
by Nathanaël Blanchet
This is a multi-part message in MIME format.
--------------080409070709050803070307
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Hi all,
I 'd like to receive any usefull advices from the community about good
practice of backing up ovirt with the restraint of zero down time.
This involves :
* saving vms without shutting down (Restoring them can be done with a
halt). Is live snapshot enough for this? Is lvm or san snapshot
recommended?
* saving the postgres database (or only some of main tables). Can we
do it without stopping engine and the risk of a data corruption? Is
there a howto?
Thank you for your help.
--
Nathanaël Blanchet
Supervision réseau
Pôle exploitation et maintenance
Département des systèmes d'information
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
--------------080409070709050803070307
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">Hi all,<br>
<br>
I 'd like to receive any usefull advices from the community about
good practice of backing up ovirt with the restraint of zero down
time.<br>
This involves :<br>
</font>
<ul>
<li><font size="-1">saving vms without shutting down (Restoring
them can be done with a halt). Is live snapshot enough for
this? Is lvm or san snapshot recommended?<br>
</font></li>
<li><font size="-1">saving the postgres database (or only some of
main tables). Can we do it without stopping engine and the
risk of a data corruption? Is there a howto?</font></li>
</ul>
<p><font size="-1">Thank you for your help.</font><br>
</p>
<pre class="moz-signature" cols="72">--
Nathanaël Blanchet
Supervision réseau
Pôle exploitation et maintenance
Département des systèmes d'information
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet(a)abes.fr</a> </pre>
</body>
</html>
--------------080409070709050803070307--
10 years, 10 months
Re: [Users] VM not starting up
by Nauman Abbas
Vdsm.log is not going through since its too big to send.
On Tue, Dec 31, 2013 at 12:39 PM, Nauman Abbas <nauman.abbas(a)seecs.edu.pk>wrote:
> Sending files one by one. Vdsm.log
>
>
> On Tue, Dec 31, 2013 at 11:48 AM, Meital Bourvine <mbourvin(a)redhat.com>wrote:
>
>> Engine log can be found on the engine (while vdsm.log is on the host).
>> The full path is - /var/log/ovirt-engine/engine.log
>>
>> audit.log - /var/log/audit/audit.log
>>
>> About the vdsm log - I don't see any error there, I think that you cut
>> too much from it.
>>
>> ------------------------------
>>
>> *From: *"Nauman Abbas" <nauman.abbas(a)seecs.edu.pk>
>> *To: *"Meital Bourvine" <mbourvin(a)redhat.com>
>> *Cc: *"users(a)ovirt.org" <Users(a)ovirt.org>
>> *Sent: *Tuesday, December 31, 2013 8:42:43 AM
>> *Subject: *Re: [Users] VM not starting up
>>
>>
>> Hello Meital
>>
>> SELinux is off. The cluster doesn't work if SELinux is on, my hosts and
>> storage is showing up as okay but VM is not starting up.
>>
>> I've managed to get vdsm.log but cannot find engine.log and audit.log.
>> Sorry for being a noob, if you can tell me the path to these files I'll
>> send them right away.
>>
>>
>> On Tue, Dec 31, 2013 at 11:17 AM, Meital Bourvine <mbourvin(a)redhat.com>wrote:
>>
>>> Hi Nauman,
>>>
>>> Maybe it's a selinux issue?
>>> Please try running `setenforce 0` before starting the vm.
>>>
>>> Also please attach engine.log, vdsm.log, and audit.log
>>>
>>> ------------------------------
>>>
>>> *From: *"Nauman Abbas" <nauman.abbas(a)seecs.edu.pk>
>>> *To: *"users(a)ovirt.org" <Users(a)ovirt.org>
>>> *Sent: *Tuesday, December 31, 2013 7:13:01 AM
>>> *Subject: *[Users] VM not starting up
>>>
>>>
>>> Hello all,
>>>
>>> First of all thank you for your help, I've finally managed to get my
>>> Cluster configured properly but now that I create VMs I'm facing another
>>> problem. Whenever I start my VM I get this error.
>>>
>>> "VM TestVm is down. Exit message: Child quit during startup handshake:
>>> Input/output error."
>>>
>>> I've googled around but haven't found any satisfactory solution. If
>>> anyone can help out it would be great.
>>>
>>> Regards
>>>
>>> Nauman Abbas
>>> Assistant System Administrator (LMS),
>>> Room No. A-207, SEECS,
>>> National University of Sciences & Technology,
>>> + 92 321 5359946
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>>
>>
>>
>> --
>>
>> Nauman Abbas
>> Assistant System Administrator (LMS),
>> Room No. A-207, SEECS,
>> National University of Sciences & Technology,
>> + 92 321 5359946
>>
>>
>>
>
>
> --
>
> Nauman Abbas
> Assistant System Administrator (LMS),
> Room No. A-207, SEECS,
> National University of Sciences & Technology,
> + 92 321 5359946
>
--
Nauman Abbas
Assistant System Administrator (LMS),
Room No. A-207, SEECS,
National University of Sciences & Technology,
+ 92 321 5359946
10 years, 10 months
[Users] Ovirt Network
by Maurice James
------=_NextPart_000_0031_01CF0591.FE999AB0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Ok noob question here. I have 1 physical nic on all both of my hosts.
Shouldn't I be able to create multiple virtual networks?
------=_NextPart_000_0031_01CF0591.FE999AB0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>Ok noob question here. I have 1 physical nic on all =
both of my hosts. Shouldn’t I be able to create multiple virtual =
networks?<o:p></o:p></p></div></body></html>
------=_NextPart_000_0031_01CF0591.FE999AB0--
10 years, 10 months
[Users] VM not starting up
by Nauman Abbas
Hello all,
First of all thank you for your help, I've finally managed to get my
Cluster configured properly but now that I create VMs I'm facing another
problem. Whenever I start my VM I get this error.
"VM TestVm is down. Exit message: Child quit during startup handshake:
Input/output error."
I've googled around but haven't found any satisfactory solution. If anyone
can help out it would be great.
Regards
Nauman Abbas
Assistant System Administrator (LMS),
Room No. A-207, SEECS,
National University of Sciences & Technology,
+ 92 321 5359946
10 years, 10 months