recovery of virtual machines on KVM

2011-02-09 Thread Tapas Mishra
I  am having a virtualization setup via KVM on a Ubuntu 10.04 64 bit server.

A recent dbus update cause a crash of my Host OS.It was a post install
script of dbus which ultimately brought everything down.

Now I have to basically format the host OS.My cause of concern are the
virtual machines which were running on it when the environment was
stable.Which were in separate LVM partitions.

Some thing like

/dev/virtualization/vm1
/dev/virtualization/vm2
/dev/virtualization/vm3
/dev/virtualization/vm4
If some one has experienced recovery of this sort in past let me know
what did they do to get things back. All my Virtual Machines were on
separate partition and in same VolumeGroup this volume group was on
Host OS. Will formatting of HOST os clear the Virtual Machines also in
my situation or just be re installing the host and importing the
Virtual Machines via a tool such as virt-manager I will be able to get
them back.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: server keeps updating openjdk

2011-02-09 Thread Michael Zoet

Am Mi, 9.02.2011, 13:41 schrieb Tapas Mishra:
...
> Ok I have posted this problem here
> and followed completely
> https://answers.launchpad.net/ubuntu/+question/144560
> seems it has worked.
> Waiting for the last messages.
> This seems to be a bug in in dbus as explained here
> https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/552404
> and a patch here
> https://launchpad.net/~ts.sch.gr/+archive/ppa/+sourcepub/1450007/+listing-archive-extra
> but in the patch which one should I install I am not clear with that part.
>
> What I did to solve this is
>
> Looking at dbus.postinst, commented
>
> /var/lib/dpkg/info/dbus.postinst
>  following 2 lines
>
>  dbus-uuidgen --ensure
>
>   dbus-send --print-reply --system --type=method_call \
> --dest=org.freedesktop.DBus \
> / org.freedesktop.DBus.ReloadConfig > /dev/null
>
> and then dpkg-configure -a
> and aptitude safe-upgrade has gone without any errors.
>
> It seems a bug in dbus script which is on Lucid 10.04 server editions
> luckily has been fixed.

OK. An error in the post.inst script for dbus. Never thought off that ;-).
But I remember that I sent you very early a message to ask on launchpad.
For errors like launchpad is the best start! Luckily postinst error are
very rare...

Bye,

Michael


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: Looking for Feedback: Update mysql from 5.1 to 5.5

2011-02-09 Thread Jamie Strandboge
On Tue, 2011-02-08 at 19:01 -0800, Clint Byrum wrote:
> On Tue, 2011-02-08 at 14:22 -0500, Chuck Short wrote:
> > Hi,
> > 
> > During the Ubuntu Server Team meeting I brought up the agenda item of 
> > upgrading mysql 5.1 in main to mysql 5.5. There are several reasons to 
> > do this:
> > 
> > * Its faster compared to mysql 5.1 (although I dont have any benchmarks)
> > * There are more bug fixes for mysql 5.5.
> > * Amazon is using it on the cloud images.
> > * Packages are nearly ready to be uploaded.
> > * Easier to maintain going forward.
> > 
First off, I have no opinion on which is better. The one that will most
greatly benefit our users is likely the best choice, especially at this
point in the cycle.

> As excited as I am to get to 5.5 on natty (I have done most of the
> initial packaging work to handle the build conversion from automake to
> cmake), there seems to be at least one major gotchya in 5.5.8:
> 
> http://bugs.mysql.com/59078
> 
> They've marked it as "not a bug" .. but its very clear to me that
> they've broken ABI compatibility without bumping SONAME. They're even
> telling people that this non-bug requires users to re-compile everything
> against 5.5 to get things to work.
> 
> They've also made libmysqlclient thread safe, eliminating the need for
> the separate libmysqlclient_r. The way they've implemented that is also
> broken:

Since this is considered 'not a bug' by upstream, it seems unlikely that
they are going to fix it on their own. Perhaps the server team or others
in the server community can enlighten them.

> That said, as long as we're ok with having 5.1 and 5.5 in main, the
> libraries from 5.1 work *perfectly fine* to access a 5.5 server, so we
> can just hold the client libraries back until they figure that mess out.

Mysql is very difficult to maintain in stable releases and we have tried
very hard in the past to have only one version of mysql supported per
release (eg, 5.0 dropped to universe when 5.1 entered into karmic).
Having both 5.1 and 5.5 in main is a major red flag for the security
team, and the MIR for 5.5 will need to demonstrate why the benefits of
this outweigh the support costs.

Based on the above, I recommend getting 5.5 into universe so people can
play with it (being very careful about the client libraries!), then
working with Debian and upstream to see what it will take to get 5.5
into acceptable shape for the upcoming LTS (and ideally for natty+1).

-- 
Jamie Strandboge | http://www.canonical.com


signature.asc
Description: This is a digitally signed message part
-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: server keeps updating openjdk

2011-02-09 Thread Tapas Mishra
On Wed, Feb 9, 2011 at 3:25 PM, Michael Zoet  wrote:
>
> Am Di, 8.02.2011, 19:38 schrieb Tapas Mishra:
> ...
>>>
>> Michael thanks for your message.I do not want to do any more
>> experiment on my system.
>> I do have an old backup with all old copies which is about 15-20 days
>> old with an old kernel.
>> Right now every thing on my server is working perfectly fine.So I am
>> taking a strong backup right now.
>>
>> Though right now every thing is working very fine.So I do not have any
>> plans of any more upgrades.
>>  Will restoring the old backup make any sense for my case or should I
>> leave it at this stage.
>>
>
> Really no one can answer you that questions for you! It all depends on how
> you handle things. If you ask for my personal opinion: I would do
> everything to avoid a reinstall of a Unix/Linux server system, that is in
> production use. Even writing back old backups. Your problem with the dbus
> and kernel packages seems solvable for me. If your server works regardless
> of the package problems I would take the time to resolve these problems.
>
> I know you will try to ask me, what you can do ;-). When I have the time I
> will post you the corresponding "dpkg -i --forc-XYZ ..." command lines
> that might do the trick. But it might be faster if you read something
> about the package manager tools aptitude, apt-get and dpkg.
>
> Michael
>
>
> --
Ok I have posted this problem here
and followed completely
https://answers.launchpad.net/ubuntu/+question/144560
seems it has worked.
Waiting for the last messages.
This seems to be a bug in in dbus as explained here
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/552404
and a patch here
https://launchpad.net/~ts.sch.gr/+archive/ppa/+sourcepub/1450007/+listing-archive-extra
but in the patch which one should I install I am not clear with that part.

What I did to solve this is

Looking at dbus.postinst, commented

/var/lib/dpkg/info/dbus.postinst
 following 2 lines

 dbus-uuidgen --ensure

  dbus-send --print-reply --system --type=method_call \
--dest=org.freedesktop.DBus \
/ org.freedesktop.DBus.ReloadConfig > /dev/null

and then dpkg-configure -a
and aptitude safe-upgrade has gone without any errors.

It seems a bug in dbus script which is on Lucid 10.04 server editions
luckily has been fixed.
---

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: server keeps updating openjdk

2011-02-09 Thread Michael Zoet

Am Di, 8.02.2011, 19:38 schrieb Tapas Mishra:
...
>>
> Michael thanks for your message.I do not want to do any more
> experiment on my system.
> I do have an old backup with all old copies which is about 15-20 days
> old with an old kernel.
> Right now every thing on my server is working perfectly fine.So I am
> taking a strong backup right now.
>
> Though right now every thing is working very fine.So I do not have any
> plans of any more upgrades.
>  Will restoring the old backup make any sense for my case or should I
> leave it at this stage.
>

Really no one can answer you that questions for you! It all depends on how
you handle things. If you ask for my personal opinion: I would do
everything to avoid a reinstall of a Unix/Linux server system, that is in
production use. Even writing back old backups. Your problem with the dbus
and kernel packages seems solvable for me. If your server works regardless
of the package problems I would take the time to resolve these problems.

I know you will try to ask me, what you can do ;-). When I have the time I
will post you the corresponding "dpkg -i --forc-XYZ ..." command lines
that might do the trick. But it might be faster if you read something
about the package manager tools aptitude, apt-get and dpkg.

Michael


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam