[00:02] <brianherman> is the xen guy here?
[00:02] <Azrael> hey folks -- i just provisioned a new host via Ubuntu Orchestra.  its online and ready for login.  but... what is the user/password that Orchestra (or cobbler?) sets by default?
[00:03] <SpamapS> Azrael: try ubuntu/ubuntu .. .if you didn't change the preseeds I think thats it
[00:03] <Azrael> shaweet
[00:03] <Azrael> thought i tried that
[00:03] <Azrael> worked though
[00:03] <Azrael> thanks SpamapS
[00:06] <brianherman> spamaps i accidently closed my irssi terminal what who was that guy who knew xen?
[00:07] <hallyn> brianherman: it's zul
[00:07] <brianherman> thanks
[00:07] <brianherman> wait like from ghostbusters?
[00:07] <brianherman> nvm
[00:07] <SpamapS> brianherman: zul, but he's out for the weekend most likely
[00:07] <SpamapS> haha
[00:07] <SpamapS> yes he's a big staypuft marshmallow man
[00:07]  * SpamapS hugs zul
[00:10] <brianherman> lol
[00:11] <Azrael> hey SpamapS ... where in orchestra/cobbler could i change the default users and passwords created on a newly deployed system?
[00:17] <SpamapS> Azrael: in the pre-seeds there is a default password hash
[00:17] <SpamapS> Azrael: kickstarts in the cobbler menu
[00:26] <brianherman> quit
[00:28] <Azrael> SpamapS: nice.  looks like i'd just have to make my own.
[00:33] <jjohansen> hallyn: seccomp2 in oneiric does not support seccomp, in precise it should have exec support, /me needs to verify
[00:34] <hallyn> jjohansen: thanks, precise is what i was wondering about
[00:34] <hallyn> jjohansen: basically whether i'll be on the hook for the lxc exploit items in the blueprint :)
[00:35] <jjohansen> Daviey, hallyn: yeah we are working on the extensions, to apparmor.  I should have a tree up next week sometime with the fake stack, and then I will focus on getting the mediation extensions
[00:35] <jjohansen> hallyn: :)
[00:36] <hallyn> jjohansen: do you think you and stgraber and i should be getting together to discuss how much more coverage we'll still need then?
[00:36] <jjohansen> Daviey, hallyn: I am off monday too, can we meet tuesday
[00:37] <jjohansen> hallyn: yeah, we should talk, so things can get prioritized
[00:37] <hallyn> jjohansen: sounds good, thx
[00:39] <stgraber> tuesday sounds good
[00:41] <SpamapS> Azrael: there's an open bug to make those edittable
[00:42] <Azrael> SpamapS: ahh.  i think i'd just create a new profile with a new kickstart script, based on the original.
[00:43] <Azrael> SpamapS: are newly provisioned hosts supposed to be automatically added to the Orchestra nagios installation?
[00:44] <SpamapS> Azrael: thats the dream, but I don't know if it works in 11.10
[00:45] <Azrael> interesting
[00:45] <SpamapS> Azrael: we've been focusing a bit on using juju for that kind of thing
[00:45] <Azrael> probably a good idea
[00:45] <Azrael> so
[00:45] <Azrael> the oneiric and oneiric_juju profiles
[00:45] <Azrael> whats the difference?
[00:46] <SpamapS> the juju profile has a late command that lets juju install itself
[00:48] <Azrael> nice, thanks
[00:49] <Azrael> can juju use orchestra as a provider?
[00:49] <Azrael> ooh yes it can
[00:49] <Azrael> very very interesting
[00:49]  * Azrael senses the power
[00:50] <Azrael> would be cool if the XCP and VirtualBox providers were built in
[00:50] <Azrael> and KVM
[00:51] <brianherman> so i rebooted my computer and there is this new menu with xen4.1
[00:51] <brianherman> problem solved
[00:51] <brianherman> in grub
[00:52] <brianherman> :)
[01:04] <SpamapS> brianherman: woot
[01:10] <virusuy> howdy
[01:10] <brianherman> virt manager doesnt see xen?
[01:10] <brianherman> ...
[01:10] <brianherman> i can use xm though
[01:32] <brianherman> ls
[02:40] <the_mzd> What anti-virus is recommened for running a 11.10 Apache2 server?
[02:41] <ikonia> none
[03:58] <arooni-mobile> what does ubuntu rename the httpd binary to?
[03:59] <qman__> it doesn't, at least not from upstream debian -- /usr/sbin/apache2
[06:24] <shane91c> Hello
[06:25] <shane91c> Is there some kind of bug in iptables on Ubuntu Server 11.10? I upgraded my Ubuntu-based "wireless router" to it and IP Masquerading just would not work whatsoever. So I had to re-install 11.04.
[06:26] <qman__> not of which I'm aware
[06:26] <qman__> did you check whether ip_forward remained 1?
[06:27] <shane91c> Yes. It was also enabled in sysctl.conf
[06:27] <qman__> it's possible your sysctl configuration was modified in the upgrade
[06:27] <qman__> did you check that your rules were enabled?
[06:27] <qman__> with iptables -L
[06:27] <shane91c> It worked, strangely, if I connected eth0 to a "real" wireless router.
[06:27] <shane91c> But not with eth0 connected to the cable modem/
[06:28] <shane91c> However the exact setup works fine on Natty
[06:29] <qman__> my router is still running lucid, but I've set up masquerading on my oneric laptop a couple times as a temporary measure while working
[06:29] <shane91c> I even tried a fresh install.
[06:29] <shane91c> Complete format and install from scratch.
[06:30] <shane91c> hostapd worked for Wi-Fi connection, dnsmasq worked for DHCP, so I was able to connect to it. But the packets simply were not being forwarded.
[06:31] <shane91c> I set up iptables through Webmin to be sure it wasn't my own fault.
[06:31] <shane91c> Oh by the way something ChatZilla just reminded me of...
[06:32] <qman__> do you normally run webmin?
[06:32] <shane91c> Yes
[06:32] <qman__> !webmin | shane91c
[06:32] <qman__> that's probably the issue
[06:32] <shane91c> Oh, well it works 100% fine with Natty.
[06:32] <shane91c> I guess I will leave my setup as it is for now.
[06:32] <qman__> yeah, but installing webmin is kind of like cutting a "warranty void if removed" sticker
[06:33] <qman__> we can't really help you because webmin breaks things
[06:33] <shane91c> Well it's working fine for now, system has been running flawlessly for over a month.
[06:34] <shane91c> If I ever feel the need to upgrade I will try without using webmin.
[06:34] <shane91c> brb
[06:45] <shane91c> Back
[06:46] <shane91c> Another question, how can get my system to use my domain name as it's FQDN, as opposed to the ISP-assigned dIP-AD-RE-SS.cgocable.net
[06:50] <shane91c> hostname -A shows that the server's FQDN is d67-193-84-52.home3.cgocable.net. I want it to be my own domain.
[06:51] <shane91c> If I put "option domain-name "mydomain.com"" in /etc/dhcp/dhclient.conf will that work?
[07:00] <qman__> no
[07:00] <qman__> that's up to the registrar, which is most likely your ISP
[07:01] <qman__> if you want it to say something different you'll have to buy it as a service from your ISP, or whoever owns your IP space
[07:03] <qman__> PTR records are looked up as your.ip.in-addr.arpa, which is authoritative to whomever owns the IP in question
[08:36] <SpamapS> IIIiiii been fixing multi-arch bugs... aaaaalllll the live long day
[08:48] <billy_> hi all,  I,m have'n a pxe install problems for weeks now,  when running a unattended pxe install on ubuntu 11.04 server  ( "tasksel tasksel/first multiselect standard" in the preseed file) on the first reboot of the fresh install all i get is a blinking cursor. But when i change the above line in the preseed file to ( tasksel tasksel/first multiselect ubuntu-desktop ) everything works fine? ( but i get a desktop install.... ) 
[08:49] <billy_> this user has the same  issue ..... but used kickstart http://ubuntuforums.org/showthread.php?t=1874027
[08:49] <billy_> any help would be brill
[09:03] <SpamapS> billy_: you get a desktop install from which iso?
[09:06] <billy_> i use netboot  and then a mirror
[09:06] <billy_> the heanet.ie  mirror
[09:16] <SpamapS> weird.. well I'm passing out else I'd help :p
[09:17]  * SpamapS falls into an instant slumber
[09:17] <SpamapS>    
[09:20] <billy_> np. thanks for you time
[09:52] <RoyK> morning
[09:52] <RoyK> any idea how I can list how much of a process's memory is swapped out?
[14:32] <crayzee> My computer sometimes hangs at startup due to 'degraded raid array' but rebooting it (sometimes a couple of times) and it comes up fine and /proc/mdstat lists the array as [UU]
[14:33] <crayzee> /etc/mdadm/mdadm.conf contains the line: ARRAY /dev/md0 UUID=f0a0371d:12376ea7:4c4ad349:XXXXXXXX [obfuscated]
[14:33] <crayzee> blkid on the relevant partitions returns the same UUID
[14:33] <crayzee> But it seems to be that when /dev/sdb is detected as /dev/sdf instead then it doesn't work.
[14:35] <crayzee> Is it an issue with grub, perhaps?
[14:39] <crayzee> Going to try probing the issue some more.
[17:28] <gllera> what is the best soft to do virtualization on ubuntu server?
[17:31] <qman__> best is a matter of opinion, but the included/supported option is KVM
[17:31] <gllera> thanks!!!
[18:09] <gllera> hi, what do you recommend: virtualbox or kvm?
[18:10] <andygraybeal> for server kvm, for just your home fun computer, virtualbox
[18:11] <gllera> thanks!!
[18:11] <andygraybeal> :)
[18:12] <gllera> andygraybeal, why kvm for servers?
[18:13] <qman__> KVM is designed around running on a headless server with a bunch of VMs all the time
[18:13] <qman__> virtualbox is designed around firing up a virtual machine on your desktop to use it, then shutting it down
[18:13] <qman__> both can do either task, but they're better suited as I explained
[18:14] <gllera> thanks!!!
[18:15] <andygraybeal> i run kvm on my poop at home too.. i like it
[18:15] <andygraybeal> but i wouldn't recommend it to a friend just getting started with virtual machines :)
[18:16] <qman__> virtualbox is more about easy desktop setup, and it has fairly weak networking capabilities
[18:18] <qman__> KVM's a little harder to get going, but it's a more robust system and easier to make it run in the background
[18:19] <gllera> thanks!!
[19:13] <KurtKraut> Does anyone recomend a SNMP/MRTG tutorial for Ubuntu Server? Everything I find is outdated, the conf files even don't match.
[20:01] <hallyn> kirkland: do you know of a way to do 'tmux --splitw command' and have the tmux call wait until command is finished?
[20:37] <Duvrazh> Can someone please help me troubleshooting a connectivity issue on my 11.10 server? It's hardwired to the router, sees the router at 192.168.1.1 and can ping it, however it can not ping any other network devices nor can it make any connections to the internet (i.e. apt-get update completely fails)
[20:38] <hallyn> kirkland: nm, think i'm all set, thx
[20:47] <l0n> Duvrazh so you mean it can't ping anything beyond the router or you can't ping anything on the local subnet?
[20:47] <Duvrazh> both
[20:47] <Duvrazh> it can only ping the router
[20:48] <Duvrazh> but i can ssh into it
[20:48] <l0n> and the machine has 1 NIC which is connected to a switch, everything connects to the switch including router and it's an unmanaged switch?
[20:49] <Duvrazh> 1 nic, router is a WRT610N with DDWRT
[20:50] <l0n> any firewalls enabled?
[20:50] <l0n> iptables -L
[20:50] <Duvrazh> not that i know of, but ill check
[20:50] <Duvrazh> input forward and output policies all to ACCEPT
[20:51] <l0n> might be worth completely disabling it just to rule it out
[20:51] <l0n> i.e. remove all rules
[20:52] <Duvrazh> I was using webmin, can you help me with that command?
[20:52] <Duvrazh> I never really used iptables before and honestly I'm not sure why they're active, had to be a dependency thing or something
[20:53] <l0n> see: http://www.cyberciti.biz/tips/linux-iptables-how-to-flush-all-rules.html
[20:53] <Duvrazh> t/y
[20:53] <l0n> don't bother creating the script, just run them manually
[20:54] <l0n> saves time
[20:54] <Duvrazh> rodger
[20:55] <Duvrazh> rules flushed no errors
[20:55] <Duvrazh> ping to iMac fails
[20:56] <l0n> what subnet mask are you using (make sure to check on both machines to ensure it's the same)? What is the IP for the mac and the machine that you're pinging from, also, does the Mac have a firewall enabled?
[20:57] <Duvrazh> mac has no firewall, same subnet, mac ip = 192.168.1.40 and server is 192.168.1.42
[20:57] <l0n> what's the mask?
[20:58] <Duvrazh> 255.255.255.0
[20:58] <Duvrazh> both run on full auto dhcp
[20:58] <Duvrazh> no virtual networks on router
[20:58] <l0n> hmm, and the router is also acting as the switch?
[20:58] <l0n> i.e. it's got a switch built into it
[20:59] <l0n> is this a wired network or wireless?
[20:59] <Duvrazh> wired, both
[21:00] <l0n> have you got another switch that is just a switch?
[21:01] <Duvrazh> it's a linksys wireless router but yes it's acting as the switch. the only advanced network features employed on these two devices or any others present is manually defined dhcp by MAC address to enable auto dhcp on clients to fall into a certain order (so I can remember what to ping since hostnames are unreliable for me sometimes)
[21:02] <l0n> hmm,  you said earlier you can't ping the imac, presumably the imac can't ping your computer?
[21:02] <Duvrazh> ill try
[21:02] <Duvrazh> mac can ping server
[21:03] <Duvrazh> server still can not ping mac
[21:04] <Duvrazh> maybe it's time to reinstall the os. all data is on a 5-drive raid-5…. I could always remount that
[21:05] <l0n> hmm, shouldn't be necessary, have you tried rebooting?
[21:05] <Duvrazh> that's what caused this
[21:05] <Duvrazh> i powered down every electronic in house because network was running slow. i wanted a fresh start, then i noticed this server wouldn't connect
[21:06] <Duvrazh> I have another 11.10 server not connecting either and it's making think I should roll back to an LTS
[21:06] <l0n> have you tried using an 11.10 live cd?
[21:06] <l0n> if one exists...
[21:07] <Duvrazh> No I have not. I don't think there is an 11.10 live, I think 11.04 or 10.10 is the latest… based solely on errors from unetbootin
[21:07] <Duvrazh> a reinstall would not be unwelcomed
[21:07] <Duvrazh> it would help me fix a folding@home problem
[21:08] <Duvrazh> only my ps3 has been getting work units over the past week
[21:08] <l0n> fair enough, an LTS version would be better
[21:08] <Duvrazh> all 3 ubuntu computers plus iMac have not been getting them
[21:08] <Duvrazh> yeah… I'll just do that (I'm a quitter)
[21:08] <l0n> hehe
[21:08] <l0n> if you can provide SSH access I'll take a look
[21:08] <l0n> but otherwise yeah just reinstall an LTS release
[21:11] <guntbert> l0n: may I PM you?
[21:12] <l0n> guntbert sure
[21:40] <bfreis> hi, I'm trying to launch a virtual server (on eucalyptus) with ubuntu 11.10, but it fails to boot: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[21:40] <bfreis> any ideas on what could I do to make it run?
[21:41] <bfreis> before that, it says:
[21:41] <bfreis> VFS: Cannot open root device "sda1" or unknown-block(0,0)
[21:41] <bfreis> and
[21:41] <bfreis> Please append a correct "root=" boot option; here are the available partitions:
[21:41] <bfreis> (but it lists no partitions after that)
[21:44] <Duvrazh> so you have two OSes installed on two partitions and you want to launch a 2nd partition as a virtual?
[21:45] <bfreis> no...
[21:45] <bfreis> I'm running eucalyptus
[21:45] <bfreis> I'm trying to install oneiric on a virtual machine
[21:46] <Duvrazh> what vm software?
[21:46] <bfreis> I'm running the latest Eucalyptus version in the Natty repositories
[21:46] <bfreis> (the host machines run Natty)
[21:48] <Duvrazh> oh snap. sorry, Eucalyptus is out of my limited knowledge pool. I wish you luck though.
[21:51] <l0n> bfreis I've also never used Eucalyptus but from the docs, it looks like it can use either xen or KVM, which are you using?
[21:52] <bfreis> let me check
[21:52] <bfreis> (i'm using the default, just making sure which one it is)
[21:52] <bfreis> kvm
[21:53] <bfreis> Apparently the device containing the filesystem is not /dev/sda1. However, I have no where I could change it, nor what else could it be...
[21:54] <bfreis> I've simply downloaded the cloud image from the website, published it to my cloud (doing exactly as I've done on the original and my tweaked 11.04 images, which work fine), but I can't launch an instance
[21:54] <bfreis> well, I can launch an instance, but it won't finish booting, because the kernel fails to mount the root filesystem
[21:55] <bfreis> I don't have the slightest idea on how could I get to a GRUB menu and try to list the disks in this virtual environment...
[21:55] <l0n> well you can change the root device using the root=/dev/device kernel parameter but I am not sure what to change it to
[21:56] <bfreis> Yeah, the correct device is one problem
[21:56] <bfreis> The other is: where could I change this parameter?
[21:57] <bfreis> hmmmm
[21:57] <l0n> well, you could boot off a live-cd, mount the disk, change the grub timeout to something other than 0 then set the root param
[21:58] <bfreis> inside the image, in /boot/grub/grub.cfg, I see this:
[21:58] <bfreis> linux   /boot/vmlinuz-3.0.0-13-generic root=LABEL=cloudimg-rootfs ro   console=ttyS0
[21:58] <bfreis> it is looking for the filesystem by label
[21:58] <l0n> yeah
[21:58] <bfreis> well, the kernel somehow inferred it to be /dev/sda1
[21:58] <l0n> that might just be a default that it falls back on if it can't find a partition with that label
[21:59] <bfreis> the label is ok
[21:59] <bfreis> the image is correctly labeled
[22:00] <l0n> in the virtual machines config, is the disk assigned to the image?
[22:00] <l0n> something like hd = blahblah.img
[22:01] <bfreis> It must be, but I have no idea where this configuration is
[22:01] <bfreis> All I do to launch an image is: euca-run-instances blahblahblha image-id, where image-id is an id given by the cloud system after I publish the image
[22:02] <bfreis> (and the procedure to publish an image is what I do exactly the same on the original Natty and Oneiric images, and it works for Natty but not for Oneiric)
[22:03] <l0n> that's a bit tricky, have you thought about just using plain old kvm rather than kvm wrapped in something else?
[22:03] <Duvrazh> can euca be used to distribute a single application as opposed to an os?
[22:03] <Duvrazh> such as folding@home?
[22:03] <Duvrazh> or the origami frontend?
[22:04] <bfreis> I have no idea how to use plain kvm... and I think it would be much more difficult to manage the distribution of virtual machines on a set of many physical machines
[22:04] <bfreis> Duvrazh, no
[22:04] <Duvrazh> damn
[22:04] <bfreis> eucalyptus is a cloud system that is supposed to work just like Amazon Web Services
[22:04] <Duvrazh> oh
[22:04] <Duvrazh> okay
[22:05] <bfreis> you have a bunch of machines, you install a lot of packages in one (which you call "cloud controller"), you install the node controller packages on the machines that will host the virtual machines, you exchange ssh keys (all of this is done automatically from the Natty Server install CD), then you are almost ready to go
[22:06] <bfreis> then you have your own Amazon Web Services EC2- and S3-like cloud
[22:07] <bfreis> It then automatically distribute the load on the worker machines for the new instances you launch, it manages the distribution of images, etc
[22:08] <bfreis> however, there's something broken in Eucalyptus/Oneiric that won't allow me to boot it up :/
[22:08] <l0n> have you tried contacting Eucalyptus support?
[22:08] <bfreis> It is sad not to know how to launch an instance after you spent some hours tweaking the image...
[22:08] <bfreis> Lol
[22:08] <bfreis> yeah
[22:08] <bfreis> well, not the "support"
[22:08] <bfreis> i've been to #eucalyptus
[22:09] <bfreis> but well, it's almost useless, people won't respond there
[22:09] <l0n> and they couldn't help at all?
[22:09] <l0n> oh :/
[22:09] <bfreis> there's 37 people in there, no one will answer
[22:09] <bfreis> Actually, they are quite good when they answer
[22:10] <bfreis> some months ago, when I first installed an Eucalyptus cloud, I found a bug related to time synchronization between node controllers and the cloud controller that would simply destroy the network communication on the cloud
[22:10] <bfreis> I asked there, in less then a week they have published an update in the ubuntu repositories fixing the bug
[22:11] <l0n> well, maybe there just isn't anyone around at the moment, have you tried asking at diff times of the day?
[22:11] <bfreis> I was quite impressed acutally... but now, since 2 days ago I'm trying to talk to them without success (there's another bug bugging me, but completely unrelated to Oneiric's bug)
[22:11] <bfreis> yeah, I will keep trying though
[22:21] <bfreis> hey
[22:21] <bfreis> for you who know KVM
[22:21] <bfreis> maybe the command line executed to Eucalyptus could give some hits:
[22:21] <bfreis> /usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 626 -smp 1,sockets=1,cores=1,threads=1 -name i-4F5B08DC -uuid 4f437ae4-7c18-e624-c7ff-7cac9fa1c008 -nographic -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/i-4F5B08DC.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=readline -rtc base=utc -boot c -kernel /var/lib/eucalyptus/instances//admin/i-4F5B08DC/kernel -append root=/dev/sda1 console=ttyS0 -device lsi,id
[22:21] <bfreis> =scsi0,bus=pci.0,addr=0x3 -drive file=/var/lib/eucalyptus/instances//admin/i-4F5B08DC/disk,if=none,id=drive-scsi0-0-0,format=raw -device scsi-disk,bus=scsi0.0,scsi-id=0,drive=drive-scsi0-0-0,id=scsi0-0-0 -netdev tap,fd=19,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=d0:0d:4f:5b:08:dc,bus=pci.0,addr=0x2 -chardev file,id=charserial0,path=/var/lib/eucalyptus/instances//admin/i-4F5B08DC/console.log -device isa-serial,chardev=charserial0,id=seria
[22:21] <bfreis> l0 -usb -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
[22:21] <bfreis> got it with ps
[22:22] <bfreis> hmm, there it says root=/dev/sda1
[22:23] <SpamapS> bfreis: what was your question exactly?
[22:23] <bfreis> Why can't I boot an Oneiric image on Eucalyptus?
[22:24] <SpamapS> anything from euca-get-console-output ?
[22:24] <bfreis> VFS:
[22:24] <bfreis> VFS: Cannot open root device "sda1" or unknown-block(0,0)
[22:24] <SpamapS> bfreis: ugh, I'm horrible with kernel stuff. ;)
[22:25] <bfreis> I can boot a Natty image, but not an Oneiric image
[22:25] <bfreis> Well, Natty is 2.6, Oneiric is 3.0
[22:25] <bfreis> (I'm not sure it should matter...)
[22:25] <bfreis> Yeah, I know nothing about kernel stuff either
[22:26] <SpamapS> bfreis: I don't know if euca supports aki's .. but maybe try an oneiric image with a natty kernel?
[22:27] <bfreis> oh...
[22:27] <bfreis> you mean, take the 2.6 kernel from natty and use it on oneiric?
[22:27] <SpamapS> bfreis: unfortunately with Euca dropping to universe, the level of testing on it has gone down by an order of magnitude. :-P
[22:27] <bfreis> yeah
[22:27] <bfreis> I'd be happy to try the new cloud system
[22:27] <bfreis> However the installation procedure is WAY TOO COMPLICATED!
[22:28] <SpamapS> We're kind of in this weird space right now where OpenStack is just starting to grow production readiness, and eucalyptus is stagnant..
[22:28] <bfreis> yeah
[22:28] <SpamapS> bfreis: you can try it with orchestra+juju .. much simpler that way. ;)
[22:28] <bfreis> I've tried the live image, it was very easy but... it's just a play ground, I can't use it for real
[22:28] <Duvrazh> Since you guys are on the cloud topic, can you make a recommendation for distributing a program across multiple machines?
[22:28] <bfreis> Now, the problem with orchestra+juju is that I don't have 6 machines
[22:29] <SpamapS> bfreis: http://cloud.ubuntu.com/2011/10/ubuntu-cloud-deployment-with-orchestra-and-juju/
[22:29] <bfreis> it seems that orchestra+juju can install only one service per physical machine, which sucks, since there are services which are veeeery simple and could go together
[22:29] <SpamapS> Duvrazh: any one thread of a program will have to be on one machine at a time. If your program can do two things at once, there are about 1000 ways to get that done. ;)
[22:29] <SpamapS> bfreis: right, thats being worked on for 12.04 ... probably will land in Jan.
[22:29] <bfreis> great!
[22:30] <SpamapS> bfreis: it works fine for giant deployments, but for the 2 - 5 server cluster.. its useless. :(
[22:30] <bfreis> yeah hehe
[22:30] <bfreis> It is for a test environment
[22:31] <bfreis> I have 4 machines for it
[22:31] <SpamapS> Basically you can do 1 server, or 6 ..
[22:32] <bfreis> Duvrazh, what do you mean by "distributing a program"? You mean, you are writing a software and you want to distributed the load across multiple machines?
[22:33]  * SpamapS kind of wishes he could step back in time and play with 4 machines just to solve one problem.. instead of trying to solve the 1000+ problems in Ubuntu server. :)
[22:33] <Duvrazh> any software, particularly donating my spare cpu cycles, so anything from boinc to folding@home or origami. The goal would be one client to run on all the cores in my house…. instead of running 12 separate clients
[22:33] <bfreis> oh
[22:33] <Duvrazh> it would be a convenience for switching from one client to another
[22:33] <bfreis> You want to have something like one big, fast core, made up from multiple cores?
[22:34] <Duvrazh> yup
[22:34] <bfreis> I don't think it is feasible...
[22:34] <Duvrazh> I don't either, that's why I like asking
[22:34] <Duvrazh> it's an anomaly in the back of my mind
[22:34] <bfreis> lol
[22:34] <Duvrazh> It can be done but I lack the programming prowess
[22:34] <bfreis> I doubt it
[22:34] <Duvrazh> I also lack the linux skills
[22:34] <bfreis> You simply cannot have more clock speed than your real clock speed
[22:35] <bfreis> What you can do with multiple cores is run more code at the same time (but at the nominal clock speed)
[22:35] <SpamapS> Duvrazh: thats really not how distributed computing works. :)
[22:35] <Duvrazh> I am mis-speaking
[22:35] <Duvrazh> look at the FAH program
[22:35] <Duvrazh> it runs an instance for each core on each processor
[22:35] <bfreis> Yeah, that's what can be done
[22:35] <Duvrazh> quadcore machine = 4 pids
[22:35] <Duvrazh> I have 15 machines
[22:35] <bfreis> You can't "add up cores"
[22:35] <SpamapS> You can certainly make a program detect how many cores there are and run that many threads/processes
[22:36] <Duvrazh> I total something like 76 cores
[22:36] <Duvrazh> I want one client to run on them all
[22:36] <Duvrazh> 76 pids
[22:36] <bfreis> Your best bet is to write something that would connect to each machine and launch the original FAH software
[22:36] <SpamapS> yeah, you'd basically manage that the same way you manage load balanced webservers
[22:37] <Duvrazh> how would i pipe back the status output though?
[22:37] <Duvrazh> that part kills me
[22:37]  * SpamapS must go afk.. will rejoin the discussion in a bit
[22:37] <bfreis> Actually, this should be very simple to do
[22:37] <bfreis> what do you mean by status output?
[22:37] <bfreis> what it prints to the console?
[22:37] <Duvrazh> yes
[22:37] <Duvrazh> like i said < linux newbie
[22:37] <bfreis> well
[22:38] <bfreis> you could try something like this
[22:38] <bfreis> ssh to the server
[22:38] <bfreis> launch a FAH instance with:
[22:38] <bfreis>  nohup FAH-COMMAND > fah-instance-1-stdout.log &
[22:38] <bfreis> (launch all the instances you want)
[22:39] <bfreis> then disconnect from ssh
[22:39] <bfreis> when you want to see the output, you could do:
[22:39] <bfreis> ssh machine cat fah-instance-N-stdout.log
[22:39] <bfreis> Now, you just have to write some code to make it automatic
[22:39] <Duvrazh> hmm. you're right.
[22:40] <gllera> hello, how i can connect using remote desktop to ubuntu server on EC2?
[22:40] <bfreis> gllera, won't ssh be enough?
[22:40] <Duvrazh> Did you install a GUI on your ubuntu server?
[22:40] <Duvrazh> bfreis: thanks for the food for thought
[22:40] <gllera> bfreis, yes but is only to know ;)
[22:41] <bfreis> Duvrazh, you're welcome!
[22:41] <bfreis> Duvrazh, if you ever write this code, be sure to publish it somewhere, people could benefit from it!
[22:41] <jakupl> Hey people. I'm trying to setup a DNS server, but I need some clarification on the zone files and how it all works.
[22:44] <bfreis> hmmmm, coming back to my boot problems, I see that some of my EC2 instances (in AWS) have /dev/sda1 as the root filesystem, and others have /dev/xvda1... What is xvda? never seen it...
[22:45] <Duvrazh> xvd a is a virtual address is it not?
[22:45] <Duvrazh> damn you autocorrect
[22:46] <Duvrazh> I know that when using Xen I had to boot my kernel from /dev/xvda but it was a virtual image and a virtual disk
[22:46] <bfreis> hmm
[22:46] <Duvrazh> part of a retarded event of seeing how many machines I could load inside of each other to piss off an old desktop I had sitting around
[22:47] <Duvrazh> (I removed the fans before that test)
[22:48] <Duvrazh> PASTE: Boot Configuration
[22:48] <Duvrazh> Enter Linode Configuration Profile in your Linode Manager. Change Kernel to pv-grub-x86_32 or pv-grub-x86_64, depending on installed kernel and userspace. Unless you developed a complex configuration set your root device to /dev/xvda.
[22:48] <Duvrazh> from a google
[22:53]  * SpamapS returns
[22:53] <SpamapS> jakupl: what do you want to do with said DNS server?
[22:57] <jakupl> SpamapS: Well, I have used the DNS benchmark utility from grc.com to find the fastest dns server, and all that is well and good, but I thought that it would be faster if I used a local dns server.
[22:58] <SpamapS> jakupl: thats fine for *local* requests, but what matters for DNS is latency. are all of your clients local?
[22:58] <jakupl> clients?
[22:58] <SpamapS> bfreis: re your ec2 question.. EC2 is all xen.. euca is kvm.
[22:59] <SpamapS> jakupl: yes, the things that will be asking your DNS server questions.
[22:59] <jakupl> SpamapS: yes. It will only be used locally, but I don't need local domains. I only want the dns server to handle external dns.
[23:01] <jakupl> SpamapS: and altso, I really like DHCP, so I still want that. I have rules in my router so that the ubuntu server always has the same IP.
[23:01] <jakupl> (router is dhcp server.)
[23:04] <bfreis> http://serverfault.com/questions/335076/cant-launch-oneiric-x64-instance-on-eucalyptus
[23:04] <bfreis> in case someone has a brilliant idea :D
[23:06] <SpamapS> jakupl: so your clients are.. your home machines?
[23:06] <SpamapS> jakupl: and they will just be using the dns server to query external domains?
[23:07] <jakupl> SpamapS: exactly right
[23:08] <jakupl> is that a bad idea?
[23:08] <SpamapS> jakupl: honestly, I get better speed just pointing all my machines at google's DNS servers
[23:08] <SpamapS> since they almost *never* have cache misses
[23:09] <nebajoth> dnsmasq is good
[23:10] <nebajoth> it basically just forwards name requests to other servers you specify (including google if you so choose)
[23:10] <jakupl> SpamapS: hmh. That's so boring
[23:10] <nebajoth> and layers in your local stuff as well
[23:10] <nebajoth> in fact, you just add it to the hosts file
[23:10] <nebajoth> and you get local name resolution
[23:10] <nebajoth> its very lightweight

[23:11] <jakupl> SpamapS: however. local dns server would be faster for cached domains.
[23:12] <jakupl> nebajoth: yeah, i've heard other people mention dnsmasq. Maybe I should look into it.
[23:12] <jakupl> SpamapS: right?
[23:20] <SpamapS> yeah dnsmasq is pretty cool
[23:20] <SpamapS> jakupl: somewhere in the last 6 or 7 years I stopped thinking it was cool to run my home network like a business network... so yeah, my home network is boring.
[23:21] <jakupl> lol
[23:32] <bfreis> oh great... now my google searches for my problem with booting oneiric in eucalyptus all return my unanswered question on server fault
[23:33] <bfreis> I simply can't believe there's nothing else on the internet about this issue!!!
[23:44] <l0n> bfreis where did you get your oneiric image from, I am just seeing if I can reproduce the problem?
[23:46] <bfreis> l0n, from here: http://cloud-images.ubuntu.com/oneiric/current/
[23:46] <bfreis> I'm using the x64 version
[23:48] <l0n> ty
[23:53] <afeijo> hi guys, what would be the better adduser parameters to create one user? I created one for me in a new linode server, but when I access it, it isn't reading the .bashrc file nor any file