/srv/irclogs.ubuntu.com/2011/02/04/#ubuntu-cloud.txt

=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
onemanhello01:25
onemanI really want to use a high-cpu-medium instance on EC2, but It won't let me choose that with the maverick 10.10 ami01:26
erichammondoneman: You have to pick the 32-bit AMI for c1.medium, not the 64-bit AMI01:26
onemanWhats the reason behind that?01:27
erichammondc1.medium is 32-bit.01:27
onemanI have used 64bit on c1.medium01:27
onemanlet me double check01:27
erichammondoneman: No you haven't :)01:27
erichammondc1.medium is a nice machine, though.  Good performance as long as you don't need lots of memory.01:27
onemanindeed01:27
onemanoops ;P01:27
onemanI'm actually trying to do something new and crazy01:28
onemanRun jackd on the cloud01:28
oneman1024 sample period is fine tho01:28
onemanso its not super tight..01:28
erichammondoneman: I just read about JACK yesterday.  My son is interested in connecting his MIDI keyboard to Ubuntu and I have no idea how to set all that up.01:29
onemanstart jack, plug in the keyboard, and then start a program that can make use of the keyboard01:29
onemanI've only used a generic akai drum machine pad thing... with hydrogen drum machine and jack and ardour01:30
erichammondoneman: I'm lost at the "plug in" point.  Not sure if I have to get a special audio card with MIDI support that works with Ubuntu.01:30
onemanqjackctl01:30
onemanis it not usb?01:30
erichammondoneman: If that works, I could buy a MIDI to USB cable.  Or perhaps we should get a more modern keyboard.01:31
onemanHeres the basic info, you use qjackctl gui program to launch/start/stop jackd, you use ardour for recording/playback, and then whatever other programs to work with the midi keyboard / drum machine etc01:31
onemanyeah, midi to usb cable sounds good to me01:32
onemananything recent will be midi via usb tho01:32
onemanlet me ask you another thing about the cloud, I could have shot myself in the foot here but luckily I had only messed with the instance for about an hour01:32
erichammondThanks.  I took us offtopic, but it's a slow channel.01:32
onemanSo, I loaded up that AMI, it had EBS as / , so I expected if I terminated the instance that I would still have my ebs volume01:33
onemanbut it got deleted when I terminated!01:33
onemanHow do I clone it or something ?01:33
erichammondterminate: you lose any volumes that EC2 created for you automatically on startup01:33
erichammondstop: all the volumes are kept.01:33
onemanBut if the volume was not created by ec2 and I terminate it still sticks right?01:34
erichammondright01:34
onemancould I snapshot the volume, then restore it to another volume in order to "copy" it?01:34
erichammondThere is an override option that goes either way.01:35
onemanwhere is this over ride :!01:35
erichammondCheck out #2 in http://alestic.com/2010/01/ec2-instance-locking01:35
erichammondYes, you can snapshot the root EBS volume, register it as an AMI, and start a new instance from that.01:37
erichammondIt is recommended that you initiate the snapshot while the instance is stopped to reduce risk of file system inconsistencies.01:37
onemanok great01:37
onemanthats really what I want01:37
erichammondThere is an API / command line that does all of this for you (including stopping/starting the instance)01:38
erichammonder, does all of this through registering the AMI.  It does not start a new instance.01:38
onemanglad I figured this one out before setting up my environment01:38
onemanhehe01:38
erichammondI still recommend starting from a fresh public AMI and running an automated script to set up your software and configuration whenever this approach might work.01:39
erichammondThis lets you keep up with the latest AMIs and makes it easier to switch to new OS releases as they come out.01:39
erichammondIn place upgrades are supposed to work, but I almost always have issues.01:40
erichammondI also recommend keeping your data on a separate EBS volume.01:40
onemanlemme ask you this, I set myself up a development server at home, also 10.10, and except for the programs I compiled myself (which are the ones I'm writing anyway), I installed a load of dependancies (luckily all came from standard ubuntu repos as well), whats the easiest way to just clone this list of packages, so I don't have to just try to compile and see what I'm missing 10 times over  ( and also have an exact knowled01:41
onemange of my actual dependencies )01:41
onemanAll my usage of the cloud so far has been through engineyard's sort of web interface to ec201:42
onemanso thats why I'm kind of half way on my cloud knowledge01:43
erichammondoneman: I think I've used this in the past: dpkg --get-selections01:45
onemanis it feasable to mount /home as your seperate ebs volume01:45
erichammondthen on the target machine : dpkg --set-selections < OUTPUTFROMABOVE ; apt-get dselect-upgrade01:45
onemanor do you reccomend a /data or /app01:45
erichammondoneman: Yes.  I mount an EBS volume on, say, /vol then mount --bind directories from there over top of /home, /etc/lib/mysql, /etc/log/mysql, etc.01:46
onemanok01:47
erichammondSee: http://ec2ebs-mysql.notlong.com01:47
onemanI'm a postgresql user ;p01:48
erichammondoneman: See that article for the principles involved.01:48
erichammondin moving data around on EBS and mounting it back.01:48
onemanok thanks alot01:48
onemanthis is all exactly the information I needed01:49
oneman2 upgraded, 1267 newly installed, 0 to remove and 0 not upgraded.02:01
onemanNeed to get 919MB of archives.02:01
onemanAfter this operation, 2,980MB of additional disk space will be used.02:01
onemanexciting!02:01
onemanhaha02:01
mwhudsonit seems that starting ami-ec1aea85 (today's 64 bit instance store in us-east-1) on an m1.xlarge instance doesn't work very well03:39
mwhudson[1122470.505234] Kernel panic - not syncing: Attempted to kill init!03:40
mwhudsonin the console outptu03:40
erichammondmwhudson: Please submit a bug report in launchpad.net03:40
mwhudsonerichammond: which project?03:40
mwhudsonah ubuntu-on-ec2 i guess03:44
mwhudsonah bah, the second one i tried worked fine03:45
mwhudsonyay reliability :(03:45
flaccidyou could still raise the bug as intermittant and show the whole console output03:45
mwhudsonyeah03:46
onemanok so I use a public ami, then I snapshot the ebs vol, create a new volume from that, attach that to the original instance (when it was stopped) and it won't boot06:14
onemanwhat noobie mistake am I making06:14
onemanI set it to /dev/sda instead of /dev/sda106:39
onemanhard to believe it let me shoot myself in the foot like that ;p06:40
ubuntucloud845hello08:05
ubuntucloud845can i auto back up file server to another server08:05
ubuntucloud845same ubunto 10.1008:05
superxglhi all, i used hybirdfox, and my image is based on i386, but why hybirdfox shows the architecture is X86_64??11:47
flaccidsuperxgl: check the api12:07
TeTeTsuperxgl: maybe it has been uploaded as x86_64, check the output of euca-describe-images for that image12:07
superxglIMAGE   eri-89321725    centos-ramdisk-buket/initrd.img-2.6.24-19-xen.manifest.xml      admin   available       public          x86_64  ramdisk                instance-store12:10
superxglIMAGE   emi-CD7E14B8    centos-image-buket/centos.5-3.x86.img.manifest.xml     admin    available       public          x86_64  machine eki-27E215E0    eri-89321725    instance-store12:10
superxglIMAGE   eki-27E215E0    centos-kernel-buket/vmlinuz-2.6.24-19-xen.manifest.xml admin    available       public          x86_64  kernel                  instance-store12:10
superxgloh, what happened?12:11
superxgli used the eucalyptus's image12:11
TeTeTsuperxgl: it's been stored as x86_64 as the output says12:11
superxglwhy? but my image is i38612:12
TeTeTbut should be not a problem, I'd continue testing if I where you12:12
flaccidthats what it was registered as12:12
TeTeTsuperxgl: when you upload the image you can specify which architecture it is12:12
superxglhmm..12:12
superxgli have to do this ?12:12
superxgli follwed the guideline and it did not say that12:13
TeTeTsuperxgl: if it comes from the image store and you think it's an error, please file a bug in Launchpad against the image store12:13
TeTeTsuperxgl: which guideline?12:13
superxglhttp://open.eucalyptus.com/wiki/EucalyptusInstallationSource_v2.012:14
superxglbut when i loged in the instance ,  "uname -a" shows that it is i38612:15
flaccidsure thats because the kernel is i38612:16
flaccidthe image was registered as x86_64 in the api12:16
superxglhmm...12:16
superxglflaccid: so where to check the api?12:17
superxglTeTeT:  when i upload the image how to specify the architecture ? sry, im new to this12:19
flaccidsuperxgl: http://open.eucalyptus.com/wiki/Euca2oolsUsingOverview_v1.3 http://open.eucalyptus.com/wiki/Euca2oolsImageManagement_v1.312:19
superxglim checking now12:22
superxgloh, i found the problem as "euca-bundle-image --help" shows :12:42
superxgl-r, --arch                      Target architecture for the image ('x86_64' or 'i386' default: 'x86_64').12:42
flaccidright12:43
flaccidand keep in mind euca-register12:43
superxgli will ..tnx very much for all of ur help :)12:43
flaccidnp12:43
kim0Hi folks, any help answering questions on the forums is appreciated http://ubuntuforums.org/forumdisplay.php?f=39213:07
willemI want to create a tar.gz of some directories in an S3 bucket. I have got that mounted using s3fs. And it seems to go fine, however after some time it fails with the following message: gzip: stdout: No space left on device13:26
kim0willem: seems like your output directory has run out of space13:45
willem@kim8 it is an s3 bucket, which I do have write access to...13:46
willemI am just thinking... I might be going over the maximum file size....13:47
kim0willem: why don't you create the tgz file locally .. then upload that13:49
willemBecause all the data is already on the S3, lots of small files...13:49
willemThat is why I want a tar. To be able to download and verify the download easily.13:50
kim0so, you have many little files on S3, you want to compress those files into a tar file that is written to local disk ?13:51
kim0willem: ^13:54
kim0is walrus throughput as slow as 5MB/s ?13:59
willemNo, I want to compress (or at least tar them) into one file. So that other people can download it from s3.14:05
kim0willem: I would suggest compressing them into a local .tar.gz file first, then uploading that to S3 as a second step14:31
willemkim0: ok, currently trying zip using a split at 4gig. If that doesn't work, I will try it your way :)14:32
willemthanks for the help!14:32
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
elasticdogpossibly a stupid question, but can you use `euca_conf` to set arbitrary variable values?16:58
elasticdogit seems like there are flags for setting a few specific things, and --name to read any variable's value, but how would you set something like MAX_CORES...just add it by hand?16:58
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!