Michael's musings


This is a blog of
mcr at sandelman.ca

Sun, 26 Sep 2010

Mountain Orchard needed help, hit with frost

Today we went to Mountain Orchard. Alas, they had two problems: a very nice summer meant that the fruit was ready earlier, and frost meant that it was going to go bad on the tree, so they picked it all two weeks ago.

We could get windfall from the ground (half price) or apples in a bin, no picking from trees, alas. (I gotta note that the windfall on the ground, was often very good quality, and we came home with 30lb of windfall, and 10lb from the bins... not to mention the apple cider donuts...)

This is a place where social networks can benefit them: if we'd known 15 days ago, we might even have taken a day off work to visit, but we thought it would generally too early in the season. Facebook used to have groups, like the "Ottawa Network", which could have gotten the word out.

Of course this would cost them a fee, but it would have been worth it, as they could have sold more fruit at the regular price, and well, gotten people to pick it rather than hire people to do the work...



posted at: 18:12 | path: /food | permanent link to this entry

Tue, 14 Sep 2010

Reset password for MSSQL

If you are using RHEV Manager, you'll have a whole headache of Windows 2008 and 2008 SQL Server crap. After an upgrade, we realized that we did not have the SQL server account password used. Redhat told us:

To recovery of sql server sa password should be easy by using the local windows administrator credentials to login and set the sa password.

sqlcmd -S .\sqlexpress -drhevm -Q "ALTER LOGIN sa WITH PASSWORD = 'new_password'"



posted at: 16:02 | path: /virtualization | permanent link to this entry

Wed, 08 Sep 2010

How to run XEN on Ubuntu Lucid

http://www.chrisk.de/blog/2008/12/how-to-run-xen-in-ubuntu-intrepid-without-compiling-a-kernel-by-yourself/

documents how to install the Debian DOM0 kernel on Ubuntu LTS. This is an update.

aptitude install libuuid-perl
wget http://ftp.de.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.32-5-xen-amd64_2.6.32-21_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/l/linux-2.6/linux-modules-2.6.26-2-xen-amd64_2.6.26-25_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/l/linux-2.6/linux-base_2.6.32-21_all.deb
dpkg -i linux-image-2.6.32-5-xen-amd64_2.6.32-21_amd64.deb linux-modules-2.6.26-2-xen-amd64_2.6.26-25_amd64.deb linux-base_2.6.32-21_all.deb


posted at: 19:47 | path: /virtualization | permanent link to this entry

IPv6 with mcast UserModeLinux backends

I am doing some work with IPv6. (see http://bluerose.sandelman.ca/projects/show/unstrung )

I have a test network shown at: http://bluerose.sandelman.ca/repositories/changes/unstrung/doc/network-1.png

In automated testing I would normally use the daemon mode, with uml_netjig. In casual use, I was using the mcast backend, because it has fewer moving parts.... but my network interfaces kept remaining in state "tentative" and I could not send packets.

What was the problem, I debugging for awhile through the IPv6 code, and finally thought that it had something to do with the UserModeLinux network interface never providing low-level LINK "UP" signal, and so it never did Duplicate Address Discovery, and remove the tentative mark.

5: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::1000:ff:fedc:bcff/64 scope link tentative
       valid_lft forever preferred_lft forever
6: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::1000:ff:fe64:6423/64 scope link tentative
       valid_lft forever preferred_lft forever

Note that it says "tentative".

NO! DAD was occuring just fine, but it FAILS. Why? Because it thinks it has a duplicate... finally I noticed

eth0: duplicate address detected!
eth1: duplicate address detected!

Why is this? It's because the mcast interface gets a copy of the packets that are output. I.e. it hears itself. DAD should work even when that happens, I think.

I need to look at whether the mcast interface should be fixed (remember it's own packets and ignore them? Drop packets that originate from it's own MAC address?), or should DAD be fixed?



posted at: 19:45 | path: /virtualization | permanent link to this entry


XML


September
Sun Mon Tue Wed Thu Fri Sat
     
   
2010
Months
Sep