[00:26] <mikeit> Ciao
[01:32] <ZetaRC12> mate 1.0 on mint12, nrrd a battery indicator
[01:32] <ZetaRC12> need*
[01:33] <Mkays|> !mint | zetarc12
[01:33] <ubot2> zetarc12: Linux Mint is not a supported derivative of Ubuntu. Please seek support in #linuxmint-help on irc.spotchat.org
[01:41] <ZetaRC12> well mint is like 95% ubuntu, every ubuntu guide seems to work perfectly with it
[01:41] <khmerog> hi
[01:41] <khmerog> whats everyone doing?
[01:47] <ZetaRC12> khmerog not much, trying to prep this netbook with linux, only has xp, acer didn't include a disc and refuses to send one for thess then $20 even though xp is deadin a little over a year
[01:47] <ZetaRC12> less*
[01:48] <khmerog> sorry
[01:48] <khmerog> i thought this chat room is a class room and will teach us about ubuntu
[01:48] <khmerog> like teach us basics and tricks and tweaks
[01:49] <khmerog> zetarc12 do u have the windows XP key? the code?
[01:50] <ZetaRC12> khmerog yeah, but it didn't work with the .iso I had ripped off a newegg bought copy of xp sp3
[01:53] <khmerog> i had to download 3 differnt version of XP in order to get my XP key to work
[01:54] <khmerog> remeber there is XP oem, XP oem SP 3, and windows XP retail, retail SP3, etc.
[01:54] <khmerog> but what are the specs of your notebook? CPU and ram please
[01:56] <Mkays|> Zetarc12, but it's still different. And mate isn't available in official Ubuntu repositories
[01:58] <ZetaRC12> which is a shame as the desktops based on gnome 3 are all terrible and LXDE and XFCE are lacking
[02:03] <khmerog> i have lubuntu right now on my pentium 4 laptop...its very boring and windows like but it is very responsive compared to XP
[02:03] <khmerog> i think it is running LXDE
[13:58] <cyphermox> everyone ready? I guess my time is up for preparing this session ;)
[14:01] <ClassBot> Logs for this session will be available at http://irclogs.ubuntu.com/2012/05/02/%23ubuntu-classroom.html following the conclusion of the session.
[14:02] <cyphermox> Hi, I'm Mathieu Trudel, Ubuntu Developer, employed by Canonical and the usual suspect for breaking your network :) In all seriousness though, I'm the one usually responsible for NetworkManager -- I say "usually", because we *do* encourage users to contribute. It's not as scary as you may think; but you can ask me about the details later :)
[14:02] <cyphermox> I'll run this session in two parts: the first I'll give a few tricks to make NetworkManager really do what you want it to do; then I'll answer any questions.
[14:03] <cyphermox> For the second part, I'll go into some small debugging tips if things don't go as planned, so that you can understand what's going on and hopefully get online to be able to report a bug, if necessary
[14:03] <cyphermox> Then I'll obviously answer any other questions :)
[14:04] <cyphermox> One of the key things we did in 12.04 was to make it as simple as possible to deal with DNS (what translates between URL names and IP addresses used on the Internet); to do this we enabled dnsmasq (a local nameserver) by default; I'll show you how to debug issues related to this shortly.
[14:05] <cyphermox> The jist of it is: that's supposed to help you and make your life easier, just working properly out of the box for almost everyone, but we understand that some use cases don't work well with it, so I'll show you how to disable it... just before getting into the debugging part.
[14:05] <cyphermox> But first, let's talk about routing. Routing is basically what decides how traffic goes from your computer and any interfaces it has to other systems on the Internet, choosing what interface to use and what other systems to talk to. (I'm simplifying, but you get the idea)
[14:05] <cyphermox> Routing is special in that NetworkManager uses a particular rule to choose the most useful connection -- basically, Wired is always preferred, followed by Wireless, then by 3G and other connections. To circumvent this if you want to be connected to a wired network to... debug your wireless router, for instance, and on wireless at the same time, you can toggle the "Use this connection only for the resources on its
[14:05] <cyphermox> network" checkbox.
[14:06] <cyphermox> To do this, click the Network indicator (nm-applet), then Edit Connections...  http://imgur.com/ld2cq
[14:06] <cyphermox> ^^ the link above is a screenshot I took from my system.
[14:07] <cyphermox> (also, feel free to jump in in #ubuntu-classroom-chat and ping me if I'm going too fast)
[14:07] <cyphermox> You'll see the list of all your connections. Those also match with files in /etc/NetworkManager/system-connections as long as they are set "Available to all users", which is a checkbox in the next screen (the one that shows up when you hit Edit in the connection editor). http://imgur.com/6bcGg
[14:08] <cyphermox> Usually, you won't have to add new networks via the editor, because most cases are already covered by clicking on a wireless network, which will automatically create the right type of connection as long as it gets properly detected by NM.
[14:09] <cyphermox> Should you need to, though, for specific Wired settings, or for a new Wireless network that is invisible, you can use Add and enter the settings. For wireless, all you really need is a name for the connection, and to fill in the SSID below (and then any security settings under the Wireless Security tab).
[14:09] <cyphermox> If you're filling in a connection and you can't click the "Save" button, it just means that NM is still expecting you to enter data, or that the data is not entered correctly (it can't make sense of it, like using commas instead of periods in IP addresses)
[14:10] <cyphermox> To get back to routing, you'll see under the IPv4 (and IPv6!!) tab, a button labelled "Routes". If you click on it, a new dialog will appear and allow you to toggle that "Use this connection....", which will make that connection not be used as the "default" for accessing the Internet. See http://imgur.com/zvshy
[14:11] <cyphermox> "Use this connection only for the resources on its network" is basically doing exactly what it means: that connection will not become the default route (the one used for Internet access, basically), but you should still be able to connect to any other machines connected to the same network
[14:11] <cyphermox> Questions so far?
[14:12] <cyphermox> (make sure you drop by in #ubuntu-classroom-chat, which is where I'll be able to see them)
[14:12] <cyphermox> Let's continue :)
[14:12] <cyphermox> Now, let's talk about configuration files in NetworkManager:
[14:13] <cyphermox> There are two basic types of configuration files for NetworkManager, the global configuration which handles the internal NM stuff; and per-connection configurations which describe the settings you've selected. So if you want to move connections from one computer to the other (and basically, back stuff up) you can now do this easily by copying the contents of /etc/NetworkManager/system-connections!
[14:13] <cyphermox> The global configuration is largely explained in the manual page NetworkManager.conf(5); it has the details about plugins to use (we use ifupdown and keyfile: ifupdown understands the /etc/network/interfaces configuration file from ifupdown (something we inherit from Debian), and keyfile reads the per-connection configs.
[14:14] <cyphermox> It also has a line "dns=dnsmasq"; this is what enables the use of dnsmasq as a local nameserver; it's also the line you want to remove or comment out if you find that this is being a problem -- but I strongly encourage you to seek help if you think it's being an issue!
[14:15] <cyphermox> A good place to ask for this is #ubuntu; or #ubuntu-bugs if you're about to file a bug about it
[14:15] <cyphermox> If this kind of thing doesn't work, we definitely want to know about how you use NetworkManager, so that we can provide you with a solution (or fix a bug!)
[14:16] <cyphermox> The usual NetworkManager.conf file should look like this: http://paste.ubuntu.com/
[14:16] <cyphermox> ah, oops
[14:17] <cyphermox> http://paste.ubuntu.com/962450/
[14:17] <cyphermox> ^^ in the above, the other think I didn't mention yet is that weird "managed=false" line
[14:18] <cyphermox> This is another special trick that deals with /etc/network/interfaces, the way that is used in Debian, and on servers, to configure network connections
[14:18] <cyphermox> What it means is: if managed is "false"; NM will simply ignore any device configured in /etc/network/interfaces, and assume they are *online*
[14:19] <cyphermox> If it's set to "true", the same applies, but NM will also try to make it possible to enable and disable that connection from the applet!
[14:19] <cyphermox> It's useful if you're trying to do special configurations that use both NM and ifupdown -- but that's outside of the scope of this session; just ask me at the end if you're more curious about details related to this.
[14:20] <cyphermox> Now, let's look at a standard per-connection configuration file
[14:21] <cyphermox> Those are under /etc/NetworkManager/system-connections -- they require root to be read, and may contain passwords; so I encourage you not to share them unless absolutely necessary (and after removing the password)
[14:21] <cyphermox> http://paste.ubuntu.com/962453/
[14:22] <cyphermox> ^^ this is a free wifi connection I use in Montreal, a small cafe with small businesses and LUG meetings :)
[14:22] <cyphermox> As you can see, the top part is just the name of the connection and matches the name of the file
[14:22] <cyphermox> it's followed by some magic to make sure all connections are unique, and to clarify the type of device it's for
[14:23] <cyphermox> Since there's a UUID involved, I encourage you not to try to write them yourselves; but if you must, the UUID can be generated by the 'uuidgen -r' command.
[14:24] <cyphermox> In the 802-11-wireless section, the name of the wireless (ssid=) is all that's really required, but the other fields further clarify other details, such as the mac address of the accesspoint
[14:25] <cyphermox> Then, as you can see, IPv6 and IPv4 are set to "auto", which has been the default since 11.10; and means to get IP addresses via DHCP or autoconfiguration -- that normally works well, but if you had configured it differently, it would also be written there
[14:27] <cyphermox> If you want to configure a connection to use static addresses, scroll back up above to the part where I showed the "Available to all users" checkbox, and you can change the settings in the IPv4 (or IPv6) tabs to set the static address, after switching the "Method" dropdown at the top to "Manual"
[14:28] <cyphermox> I have more time for questions now, before I jump in to debugging tips -- I'm not getting too deep in configuration specifics, because I think it's pretty obvious in the dialogs, but if not, feel free to ask :)
[14:30] <cyphermox> No questions?
[14:30]  * cyphermox prepares links for debugging tips
[14:32] <cyphermox> So, one of the things I fixed some time ago was to make the wiki page for Debugging NetworkManager clearer (I hope), and useful both for developers and users, also making it simpler to get all the information for a bug report (which means you can also quickly get all the information to figure things out yourself, if you know a few tricks about wifi)
[14:32] <cyphermox> That page is here: https://wiki.ubuntu.com/DebuggingNetworkManager
[14:33] <cyphermox> in "Understanding your bug and getting more information", keys things are two links: matching error and reason codes to what they mean!
[14:34] <cyphermox> https://wiki.ubuntu.com/DebuggingNetworkManager/ReasonCodes is a page I generate straight from the NetworkManager source code; and explains the various error messages and reasons you may see in logs.
[14:34] <cyphermox> Everything that NM sees and thinks is of interest ends up in /var/log/syslog; there's lots of information there, and that wiki link above helps make sense of it
[14:36] <cyphermox> This may help you figure out what is going wrong, and in some cases avoid opening bugs when it may be details to discuss with your network's administrator (assuming it's an issue with your office's wifi), or an indication of a configuration that may be just about to fail
[14:36] <cyphermox> The second link is a little more scary: http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob;f=src/common/ieee802_11_defs.h
[14:37] <cyphermox> I'm pointing it out because it does come up every once in a while in bug reports, and in questions: it contains the description of the reason codes from wpasupplicant
[14:38] <cyphermox> Wpasupplicant is what NM uses to establish encrypted wireless connections; since it's a program external to NetworkManager, it writes its own information to /var/log/syslog, some of it is a little cryptic.
[14:39] <cyphermox> If you scroll down on that link to the entries starting in WLAN_STATUS_ and WLAN_REASON_; you can match those to messages from wpasupplicant when it fails to connect (the things you'll see, once again, in /var/log/syslog)
[14:39] <cyphermox> Let me see if I can find a good example.
[14:40] <cyphermox> wpa_supplicant[1152]: CTRL-EVENT-DISCONNECTED bssid=58:6d:8f:70:71:d6 reason=4
[14:40] <cyphermox> there's also reason 3 that is pretty common
[14:41] <cyphermox> Reason 4 means WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY; which I think means I took too long to authenticate myself (in this particular case)
[14:41] <cyphermox> Reason 3 would mean that it's a normal disconnection (DEAUTH_LEAVING) because of roaming to a different network, or changing connections.
[14:42] <cyphermox> This is data that is particularly useful when reporting bugs, because it gives me (and other developers) and idea of what might have happened without needing packet traces, or access to the wireless access-point ;)
[14:43] <cyphermox> Other issues that come up often in large locations is WLAN_REASON_DISASSOC_AP_BUSY 5; which can mean that there are too many clients connected to the access point already
[14:43] <cyphermox> I've seen this happen a few times in bug reports, in university environments where the APs may be pretty busy
[14:44] <cyphermox> Back to the wiki page:
[14:44] <cyphermox> There's another link, to the upstream debugging page: http://live.gnome.org/NetworkManager/Debugging. If you're curious, and in need of more tricks on figuring out what might be happening that's a nice place to look
[14:44] <cyphermox> In 11.10, we also made it easier to get debugging logs
[14:45] <cyphermox> Before, you had to shut down NetworkManager (and lose your connection), then start it again with a complicated command-line.
[14:45] <cyphermox> Or if you wanted to get debugging logs from wpasupplicant, you had to *edit* configuration files as root -- not very fun, for anyone
[14:46] <cyphermox> I wrote a small script in Python that makes this easier: see "Getting debug logs" on http://wiki.ubuntu.com/DebuggingNetworkManager
[14:46] <cyphermox> that script has since made it upstream, and is now shipped with every install of Ubuntu Desktop:
[14:47] <cyphermox> sudo python /usr/lib/NetworkManager/debug-helper.py --nm debug
[14:47] <cyphermox> You can with this quickly enable debugging in NM, in ModemManager (for 3G connections), and in wpasupplicant
[14:48] <cyphermox> See sudo /usr/lib/NetworkManager/debug-helper.py --help
[14:48] <cyphermox> When responding to bug reports, I'll ask for the kind of debugging information needed.
[14:49] <cyphermox> The last think I want to show is "nmcli"
[14:49] <cyphermox> Not purely debugging, but it's a nice little tool that can be useful if you need to get online and can't start the graphical interface
[14:49] <cyphermox> It interfaces with NetworkManager to allow you to bring down, or bring up connections.
[14:50] <cyphermox> Unfortunately, it does not yet *create* connections, that's something we want to fix for 12.10.
[14:50] <cyphermox> The interface for it is a little complicated; but "nmcli help" helps
[14:50] <ClassBot> There are 10 minutes remaining in the current session.
[14:50] <cyphermox> For any of the commands in it you can use "nmcli <command>  help", like "nmcli con help"
[14:51] <cyphermox> So, to bring up a connection from the command line:
[14:51] <cyphermox> nmcli con up id "cyphermox.net"
[14:51] <cyphermox> (changing "cyphermox.net" with whatever your connection is called ;)
[14:52] <cyphermox> 'nmcli con' lists all connections, and 'nmcli dev' lists all the devices.
[14:53] <cyphermox> nmcli con status id "UQAM Wi-Fi" can give you all the information about a connection
[14:53] <cyphermox> Though "nm-tool" is a slightly simpler way to get all this in one go :)
[14:53] <cyphermox> and finally, if you want to list wireless networks in range, you can try "nmcli dev wifi list"
[14:54] <cyphermox> I'm pretty much done; any questions?
[14:55] <cyphermox> If you want to contact me on IRC, I'm mostly always connected and hanging out in #nm with other NetworkManager developers... As well as in many many channels. Feel free to ping me if you need help figuring out what might be going wrong, but I do encourage bug reports rather than email or other forms of contact, it's easier to track if something was fixed :)
[14:55] <ClassBot> There are 5 minutes remaining in the current session.
[14:55] <cyphermox> No questions?
[14:56] <cyphermox> Thanks all for listening! :)
[15:00] <marcoceppi> If everyone's ready, we'll get started!
[15:00] <ClassBot> Logs for this session will be available at http://irclogs.ubuntu.com/2012/05/02/%23ubuntu-classroom.html following the conclusion of the session.
[15:01] <marcoceppi> Feel free to ask questions in #ubuntu-classroom-chat at anytime during the discussion
[15:01] <marcoceppi> Hello, my name is Marco Ceppi, I'm a Senior DevOps Engineer and Ubuntu Member. This is going to be a two part openweek class the first half consisting of how we setup and migrated OMG! Ubuntu! from traditional host to Juju deploy cloud service, the pitfalls and victories involved with that transition.
[15:01] <marcoceppi> The second half will be led by Brandon Holtsclaw, a Senior DevOps Engineer and Ubuntu Developer, who will dive in to the more technical aspect of the OMG! Ubuntu! charm and how it's been setup to scale.
[15:02] <marcoceppi> If you're not familiar with Juju you can check it out at http://juju.ubuntu.com/ Juju is essentially a service orchestration tool for the cloud
[15:02] <imbrandon> o/
[15:02] <marcoceppi> Some back story: About a month and a half ago OMG! Ubuntu!'s main server was down for about three days, on the third day we approached OMG! and asked if we could charm their environment and have it so OMG! can scale their service out when the load on the site grows (say about every six months during release).
[15:03] <marcoceppi> The first steps we took were a bit naive, without much information we used Juju to deploy a MySQL charm, a WordPress charm, and an HAProxy charm.
[15:04] <marcoceppi> After this was deployed and relations were made; we manually put OMG!'s theme files and Database files on to the charm, added a few extra WordPress heads and pointed the traffic at the HAProxy instance. Within moments all the services died under the load of traffic.
[15:04] <marcoceppi> The next week was spent tuning WordPress to scale properly to meet the traffic demands of a site like OMG!
[15:04] <marcoceppi> In order to work on the charm simultaneously we employed several techniques both within and outside of Juju
[15:05] <marcoceppi> First we forked the default wordpress charm and started building on to it all the things that were needed to run OMG! within Juju
[15:05] <imbrandon> hey marcoceppi
[15:05] <imbrandon> a few are a little foggy on what exact a charm is
[15:05] <marcoceppi> Sure!
[15:05] <imbrandon> can you spend half sec on that
[15:05] <imbrandon> kk
[15:06] <marcoceppi> Juju includes a collection of services that you can deploy which are called Charms. These Charms contain the information that let you deploy whatever services you want in Juju.
[15:07] <marcoceppi> You can find a collection of the current charms in the Juju Charm Store: http://jujucharms.com/charms new Charms are being added every day to help flesh out the number of different things you can deploy with Juju
[15:08] <marcoceppi> Each charm contains a set of hooks which can be written in any language that drive how the service is deployed, configured, and exposed to other services deployable by Juju
[15:09] <marcoceppi> So, we forked the default WordPress charm (http://jujucharms.com/charms/oneiric/wordpress) so we could commit all the ongoing improvements required to make WordPress scale
[15:10] <marcoceppi> Another issue we had to overcome was providing access to multiple people as there was a small group of experts working on this Charm. In order to do that we utilized a few tools for this
[15:11] <marcoceppi> The first thing we did was gather all the SSH keys for each person involved and gave them access to the Juju environment by adding them to a list of keys in the Juju evironment file under "authorized-keys"
[15:12] <marcoceppi> This allowed us to all to connect to the Juju environment and tweak things as needed.
[15:12] <marcoceppi> During the earlier times of firefighting we started an EC2 micro instance and actually ran Juju from there in a byobu screen session
[15:13] <marcoceppi> That way we could add additional people access to the environment without having to modify the Juju environment directly
[15:14] <marcoceppi> Though that method of access was eventually replaced by the aforementioned authorized-keys way of divvying out access
[15:15] <marcoceppi> As we continued to tweak the charm over time we were able to go from running three Extra Large Amazon EC2 instances just to keep the site up, down to just one Medium instance, to eventually serving everything from just one Small instance
[15:16] <marcoceppi> This is kind of the core of what Juju Charms are, they encapsulate the knowledge of the Experts who know these services in to an easily deployable Charm. As the WordPress charm was one of the first to hit the charm store it didn't have that level of expertise capture
[15:17] <marcoceppi> As the charm store has grown, more experts have contributed their knowledge of how *they* setup that service, meaning when you deploy something like MySQL (as we do in the case of the OMG! charm) that MySQL service is tuned by a MySQL expert for cloud computing and Juju
[15:18] <marcoceppi> That's what will happen with the WordPress charm, as the work on OMG! Ubuntu! charm finishes, the lessons learned from creating a highly scalable WP installation will be merged in to the existing WordPress charm, making it available to everyone for deployment
[15:19] <marcoceppi> Any questions so far on Juju, Charms, how we shared environments, etc?
[15:20] <marcoceppi> In that case I'm going to go ahead and let imbrandon discuss more the technical aspect of the OMG! Ubuntu! charm and things we ended up doing to make it so powerful
[15:21] <imbrandon> o/ Hey Everyone , I'm gonna give a real high overview of the stuff we use to make it so fast, and scale so well then, i'll get into the config bits in detail just a little bit
[15:22] <imbrandon> first of all like marcoceppi said , the first days we rough with 3 extra large instances running apache and mod_php
[15:22] <imbrandon> a pretty standard lamp stack
[15:23] <imbrandon> the first things we swapped out were to bring nginx into the mix with php-fpm as the processor
[15:24] <imbrandon> this allowed us to out of the box drop down to mediums with no special config
[15:24] <imbrandon> on top of nginx and php , we needed to make sure the opcode caching ( APC ) was setup correctly
[15:25] <imbrandon> and as we got those things started to calm down a bit and we really had the time to put
[15:25] <imbrandon> some of this into code back into the charm
[15:25] <imbrandon> allowing us to redeploy at this level at will, and also allowing us to setup "staging"
[15:26] <imbrandon> where we would test many diff options before actualy needed to do it on the live servers
[15:26] <imbrandon> if your not aware of the traffic we're talking about , omg gets somewhere between 3 million and 7 million pageviews a month
[15:27] <imbrandon> that works out to , well −0- time of the day that it can be down and someone not be effected
[15:27] <imbrandon> so staging really helped us to achieve that and with juju at a level that we're confident it matched production
[15:28] <imbrandon> ok now , a little bit about the actual config
[15:28] <imbrandon> you can actually find the code we deploy with at https://github.com/websitedevops/charms-omgubu
[15:28] <imbrandon> no this is not the general WP charm that you would deploy
[15:29] <imbrandon> as it has alot of OMG specific items
[15:29] <imbrandon> but the general idea of it will be put back ":upstream:" into the WP charm for every one
[15:30] <imbrandon> one of the main things we do diffrently on OMG that is not a wide practice yet is "Micro-caching"
[15:30] <imbrandon> where as traditional caching there is problems with content getting out of sync
[15:30] <imbrandon> or logged in vs logged out users , etc
[15:31] <imbrandon> what a microcache does is caches everything, instead of only anon users, but only for a very short time
[15:31] <imbrandon> in our case 60s
[15:31] <imbrandon> normally its anywhere from 1 second to 60 seconds
[15:32] <imbrandon> and at that level then all the traffic is handled by the nginx load balancer
[15:32] <imbrandon> and actual traffic to php only happens a few times a minute
[15:33] <imbrandon> scaling a webserver to handle 300req/s is not all that trivial, but to scale one to 3 req/s is much more ootb
[15:33] <imbrandon> this alllows us to use a very stock wordpress with out much code modification to handle the scale out
[15:34] <imbrandon> but still handle i think we measured right at 260req/s per webhead on realease day a few days ago
[15:34] <imbrandon> another thing we use is tracking and metric software
[15:34] <imbrandon> to allow us to know where the bottlenecks are and what areas to concentrate on
[15:35] <imbrandon> i've done a quick screencast you all can watch at your leasure that goes over the use of Blitz.io for load testing the staging env before we deploy it to prod
[15:36] <imbrandon> and Newrelic ( thats also a charm in juju ) to "see" inside the app code as it runs
[15:36] <imbrandon> http://www.youtube.com/watch?v=DXR5V4j-UMo
[15:36] <imbrandon> is where the screencast lives, and forgive the quality, as it is my first attempt at such
[15:37] <imbrandon> also
[15:37] <imbrandon> if you take a look at this file in particular
[15:37] <imbrandon> https://github.com/websitedevops/charms-omgubu/blob/master/files/nginx/etc_nginx_sites-enabled_loadbalancer
[15:37] <imbrandon> you can see exactly what i was talking about with the micro-caching that we do with nginx
[15:38] <imbrandon> anything so far that you all would like covered a little deeper ?
[15:39] <imbrandon> ok I'm gonna let marcoceppi step back in for a moment
[15:39] <imbrandon> and go over a few more things
[15:40] <imbrandon> and I'll return before we wrap up
[15:41] <marcoceppi> What's great about investing time in Charm authoring, is how portable the Charms are
[15:42] <marcoceppi> As imbrandon mentioned, we were able to create a "staging" environment on EC2 for testing updates to the charm before the went live, but we were also able to deploy the charm locally to our own machines
[15:43] <marcoceppi> This allowed us to develop, deploy, destroy, develop, deploy, destroy, over and over without actually needing to pay a dime to EC2 or another cloud provider as everything was deployed locally
[15:43] <marcoceppi> One of the benefits of Juju is it's cloud abstraction, the same charm you deploy locally, will deploy on EC2, OpenStack, MAAS, Orchestra, etc
[15:45] <marcoceppi> Right now we're deploying OMG! to EC2, but if a more cost effective cloud provider was available we could deploy to them if they're supported by Juju with little to no modifications of the charm
[15:47] <imbrandon> ( we have tested the environment in HPCloud and are currently evaluating Rackspace too , all with the same codebase and "tweaks" )
[15:48] <marcoceppi> As we continue to make improvements and test them for OMG! Ubuntu! upgrading the current environment is very simple and straight forward, since Juju tracks all the units, services, and all those relations, etc when we need to upgrade the current deployment it's as easy as juju upgrade-charm omgubuntu
[15:49] <marcoceppi> This makes rollouts to the current charm, and upgrades to things like MySQL extremely straight forward.
[15:49] <marcoceppi> Any questions on anything we've talked about so far, or OMG! Ubuntu! we can answer?
[15:50] <imbrandon> If anyone would like to scale their own sites in much the same ways we're normally available in #juju as well as many other
[15:51] <ClassBot> There are 10 minutes remaining in the current session.
[15:51] <imbrandon> experienced Charmers
[15:51] <marcoceppi> We have a few minutes left, in addition to imbrandon's screencast on Blitz.io here are two showing line for line deploying OMG! Ubuntu! and scaling it out
[15:52] <marcoceppi> http://shelr.tv/records/4f86f8da9660807979000013
[15:52] <marcoceppi> http://shelr.tv/records/4f86fbe1966080796f000015
[15:55] <marcoceppi> I believe that's all we have time for today, if you're interested in learning more about Juju join the #juju IRC room, on the web at http://juju.ubuntu.com
[15:55] <imbrandon> Well I think that about does it for us then, again we're always around in #juju if you do have any questions later, even if its normal scaling , we might be able to help or point you to the right resource, and hopefully you all enjoyed the talk , and can now enjoy OMG!Ubuntu :)
[15:55] <ClassBot> There are 5 minutes remaining in the current session.
[16:00] <ClassBot> Slides for Gaming on Ubuntu: http://people.ubuntu.com/~lyz/slides/gaming_in_ubuntu-uow-p.pdf
[16:01] <ClassBot> Logs for this session will be available at http://irclogs.ubuntu.com/2012/05/02/%23ubuntu-classroom.html following the conclusion of the session.
[16:01] <pleia2> Hi everyone, thanks for coming!
[16:01] <pleia2> iheartubuntu: all yours :)
[16:01] <iheartubuntu> Hello everyone! My name is Dave and I am an Ubuntu *only* user of 6 years. Ubuntu is my only operating system. I help out with my California LoCo team and enjoy meeting new people at Ubuntu Hours.
[16:01] <pleia2> if you have questions, please ask them in #ubuntu-classroom-chat with the prefix QUESTION: so it gets picked up by the bot
[16:02] <iheartubuntu> [Slide 1]
[16:03] <iheartubuntu> Gaming On Ubuntu
[16:03] <iheartubuntu> [Slide 2]
[16:03] <iheartubuntu> It's 2012 already. Lets play some games.
[16:04] <iheartubuntu> Gaming in Ubuntu has come a long way. You no longer have to spend hours on the internet searching for games that work on Ubuntu.
[16:04] <iheartubuntu> Nor do you need to learn distro packaging or learn how to compile programs from the terminal.
[16:05] <iheartubuntu> It is now easy to find and install games. Great games.
[16:05] <iheartubuntu> Lets take a look...
[16:05] <iheartubuntu> [Slide 3]
[16:06] <iheartubuntu> So where can you go to find new & breaking information about games?
[16:06] <iheartubuntu> There are several websites that offer great news & info about Ubuntu games.
[16:06] <iheartubuntu> These websites usually will provide links to download the games and instructions on how to install.
[16:07] <iheartubuntu> OMG! Ubuntu! http://omgubuntu.co.uk/
[16:07] <iheartubuntu> I Heart Ubuntu http://www.iheartubuntu.com/
[16:07] <iheartubuntu> Linux Games http://www.linuxgames.com/
[16:08] <iheartubuntu> Full Circle Magazine http://fullcirclemagazine.org/
[16:08] <iheartubuntu> The well respected OMG! Ubuntu! has breaking news about recently released Ubuntu games and is a great source of info.
[16:09] <iheartubuntu> I Heart Ubuntu loves to cover legacy games like chess and backgammon.
[16:10] <iheartubuntu> Linux Games always has up to date game info, and Full Circle Magazine has great in depth reviews of games.
[16:10] <iheartubuntu> [Slide 4]
[16:11] <iheartubuntu> Now you want to know where to Find some Ubuntu Games.
[16:11] <iheartubuntu> There are now several places to find games that will work on Ubuntu.
[16:12] <iheartubuntu> The Ubuntu Software Center is packed full of games to keep you busy.
[16:12] <iheartubuntu> It's that little orange shopping bag icon on your Unity dash.
[16:12] <iheartubuntu> The Desura.com game distribution website has high quality games available for Ubuntu.
[16:12] <iheartubuntu> Many of the hottest games are now appearing there first.
[16:13] <iheartubuntu> You can find Ubuntu Linux specific games on their site here: http://www.desura.com/platforms/set/linux64
[16:13] <iheartubuntu> Humble Bundle continues to release fresh new game content.
[16:14] <iheartubuntu> They give you the choice of how much to spend and where to allocate your payment (to developers, to charity, etc)
[16:14] <iheartubuntu> It's a great site. You can find them here: http://www.humblebundle.com/
[16:15] <iheartubuntu> Playdeb.net caters to the Ubuntu gamer and attempts to make it easy to find, browse and install Ubuntu games.
[16:15] <iheartubuntu> Make sure you read up on how to install games from their website. http://www.playdeb.net/updates/
[16:16] <iheartubuntu> [Slide 5]
[16:16] <iheartubuntu> Other Games... There are a few other options you can try as well.
[16:17] <iheartubuntu> PlayOnLinux is an Ubuntu program that uses the WINE compatibility layer to run Windows games on Ubuntu.
[16:17] <iheartubuntu> Not all Windows games work, but many of them do. Try it out if you want to have a certain game installed.
[16:17] <iheartubuntu> PlayOnLinux http://www.playonlinux.com/en/
[16:18] <iheartubuntu> You have the option of scouting the internet for all sorts of Adobe Flash games, Java games and more.
[16:18] <iheartubuntu> The Google Chrome Store has a ton of Online Games and makes a great place to find new and interesting web based games.
[16:19] <iheartubuntu> You will need Google Chrome or Chromium to access their web store here... https://chrome.google.com/webstore/category/app/3-games
[16:19] <iheartubuntu> [Slide 6]
[16:20] <iheartubuntu> Ubuntu Games: A Starting Point
[16:20] <iheartubuntu> The following pages are by no means an exhaustive list of Ubuntu Games available. There are far more than we can imagine.
[16:20] <iheartubuntu> If you are interested in installing any of these games on the list, start by searching to see if its available in the Ubuntu Software Center.
[16:21] <iheartubuntu> If not, try PlayDeb, Desura, or the Humble Bundle.
[16:21] <iheartubuntu> These lists are not necessarily the best of the best and they may perhaps leave out your all time favorite (snakes). We apologize in advance :)
[16:21] <iheartubuntu> [Slide 7]
[16:22] <iheartubuntu> ARCADE: Extreme Tux Racer, Frets on Fire, Frozen Bubble, Super Tux 2, Teeworlds, Frogatto
[16:22] <iheartubuntu> Again, these are just a handful of some great games you
[16:22] <iheartubuntu> will find. But there are lots more.
[16:22] <iheartubuntu> BOARD: PyChess, GNU Backgammon, Mahjongg, Shisen-Sho, Pyscrabble, GTKAtlantic, Lagno
[16:23] <iheartubuntu> CARD: PokerTH, Aisleriot Solitaire, Hearts
[16:23] <iheartubuntu> DRIVING: Supertuxkart, Stunt Rally, Speed Dreams, Torqs, Vdrift, Corebreach, Road Fighter, Trophy
[16:24] <iheartubuntu> (the recently updated Supertuxkart has some all new great additions, check it out if you havent played it in a while)
[16:24] <iheartubuntu> MMORPG: Regnum Online (now called Realms Online), Ryzom, Planeshift, Tribal Trouble 2, Flare
[16:24] <iheartubuntu> ACTION/FPS: Steel Storm: Burning Retribution, Alien Arena, Open Arena, Urban Terror, Smokin Guns, Wolfenstein
[16:25] <iheartubuntu> (ive burned several hours on Steel Storm! Its fun)
[16:25] <iheartubuntu> SIMULATION: Flight Gear, Danger of the Deep, Zero Ballistics, Vendetta Online, Vega Strike, OpenBVE
[16:25] <iheartubuntu> Danger of the Deep is a high quality submarine sim. Worth a look if you are into it
[16:26] <iheartubuntu> [Slide 8]
[16:26] <iheartubuntu> STRATEGY: Oil Rush, TripleA, Battle For Wesnoth, Family Farm, Open TTD, FreeCol, FreeCiv, Warzone 2100, Bos Wars
[16:27] <iheartubuntu> (my sister is hooked on Family Farm.. very addictive and nice graphics)
[16:28] <iheartubuntu> SPORT: Neverputt, Neverball, Volley Brawl, Awesome Soccer, Billiard-GL, Foobillard, Marble Arena 2
[16:28] <iheartubuntu> The sports games on Ubuntu is definitely lacking IMO
[16:28] <iheartubuntu> PUZZLE: World of Goo, COGS, Clockwork Man: Hidden World, Palapeli, Sudoku, Tanglet, GBrainy, Chainz Galaxy, 7 Wonders: Magical Mystery Tour
[16:29] <iheartubuntu> (some of these games do cost money. hidden world is a nice hidden object game)
[16:30] <iheartubuntu> [Slide 9]
[16:30] <iheartubuntu> Thats about it for this lesson. You can download this PDF document here as well - http://ubuntuone.com/4MBDAYiMv70oQz8EBfBzDU
[16:31] <pleia2> Anyone have any questions for iheartubuntu?
[16:31] <pleia2> please ask them in #ubuntu-classroom-chat prefixed with QUESTION:
[16:31] <iheartubuntu> Hope you picked up something new!
[16:38] <iheartubuntu> PlayOnLinux makes it super easy for running Windows games on Ubuntu. For example World of Warcraft works great. A favorite of mine called "Future Pinball" run great as well.
[16:39] <iheartubuntu> The new Diablo 3 is coming out soon and I have read several places that while linux wont be supported, the game works fine using WINE (and playonlinux)
[16:39] <ClassBot> quixotedon asked: does pcsx work fine on 12.04? just installed it a few days ago before the upgrade and haven't tried it since i don't know where to find the emulation file.. :)
[16:40] <iheartubuntu> QUIXOTEDON: actually it works great. the internet is your friend.
[16:40] <ClassBot> UnR34L asked: Do you think the big gaming companys are sweeping linux under the carpet these days or have you seen any progress from them ?
[16:41] <iheartubuntu> I use the keyboard to play the pcsx games, but a gamepad would be a lot easier
[16:44] <iheartubuntu> Personally I feel linux games get swept under the rug by the big publishers. So yeah.
[16:44] <ClassBot> bmoez asked: we found many tutoriels to install some games with wine, but adding this games to the list of playonlinux' games isn't very used as the best way to run win'games en ubuntu. what do you think about it?
[16:44] <iheartubuntu> Ive been running Ubuntu for 6 years now and have not seen a lot of momentum up until recently with the new Ubuntu Software Center about 6-10 months ago.
[16:44] <iheartubuntu> Games are pouring in now
[16:45] <iheartubuntu> Its worth checking Ubuntu Software Center weekly at least as new games keep popping up and many of them are high quality (finally)
[16:46] <iheartubuntu> PlayOnLinux uses WINE, so for ease of use I now see if I can install a Windows based game through PlayOnLinux first.
[16:47] <iheartubuntu> If the game is listed in their directory it should work great.
[16:47] <iheartubuntu> If not, your best option is to check the WINE database and follow any tips or instructions to get the game working properly http://appdb.winehq.org/
[16:48] <ClassBot> quixotedon asked: anyway my big question is why can't there be more games made on a cross platform such as Qt, rather than insisting on putting it on windows.. or should we non windows users urge so?
[16:50] <iheartubuntu> I think with google opening up their kernel and kernels merging if you will, we are going to see a ton of Android games hit the market. When? Who knows, but I would say sometime this year from researching.
[16:50] <ClassBot> There are 10 minutes remaining in the current session.
[16:51] <iheartubuntu> Quixotedon, I am not sure about Qt, sorry.
[16:51] <ClassBot> bmoez asked: game center become a part of OS (as on mac), will we found a official game center that interconnect with others games services (ex: steam, djl, playonlinux, getdeb-games,...) to help users to install there favorites games easy in next version?
[16:52] <iheartubuntu> Bmoez, thats a great question and one I have no answer for. Continue to follow the websites listed on Slide 3 of the presentation for up to date info.
[16:53] <ClassBot> bmoez asked: will getDeb-games become an optional repository in ubuntu the same way as linuxmint?
[16:54] <iheartubuntu> Not to my knowledge, but it is super simple to install via their DEB file or following their easy guide to installing the repository here: http://www.playdeb.net/updates/Ubuntu/11.10#how_to_install
[16:55] <iheartubuntu> After installing the DEB file or adding the rep manually, I recommend opening  terminal window and typing in "sudo apt-get update" to make sure the new reps go into effect.
[16:55] <ClassBot> There are 5 minutes remaining in the current session.
[16:56] <iheartubuntu> This way when you click "Install this game" on their website, it will access their repository you just installed.
[16:59] <iheartubuntu> I have enjoyed this immensely and hope you have to. Please catch my next lesson tomorrow at the same time... "Starting, Maintaining & Expanding Ubuntu Hours"
[16:59] <pleia2> thanks iheartubuntu :)
[17:00] <ClassBot> Logs for this session will be available at http://irclogs.ubuntu.com/2012/05/02/%23ubuntu-classroom.html following the conclusion of the session.
[17:01] <pleia2> welcome topyli!
[17:01] <pleia2> everyone: if you have questions, please ask them in #ubuntu-classroom-chat with the prefix QUESTION: so it gets picked up by the bot
[17:01] <topyli> thanks pleia2
[17:01] <topyli> Hi all, and thank you for attending
[17:01] <topyli> My name is Juha and I'm an IRC addict. :-)
[17:02] <topyli> I'm an Ubuntu user and have been using the Ubuntu IRC channels basically as long as Ubuntu has existed. I've also been a member of the IRC Team for a few years, and an operator in #ubuntu-offtopic as well as its Finnish equivalent.
[17:02] <topyli> I currently serve on the Ubuntu IRC Council, which is tasked with governing and developing the Ubuntu channels on freenode.
[17:03] <topyli> I am not a terribly technical person, but I'm pretty well familiar on how the Ubuntu IRC culture works.
[17:03] <topyli> More or less up to date information information is available on the Ubuntu wiki: https://wiki.ubuntu.com/JuhaSiltala
[17:03] <topyli> This session is about how you as a user of the Ubuntu IRC channels can help with IRC governance and help keep the channels friendly and useful for everybody.
[17:04] <topyli> To summarise up front: plenty of ways! :-)
[17:04] <topyli> We'll try to cover these general topics today:
[17:04] <topyli> 1) Support. 2) Catalyzing. 3) Contacting operators when needed. 4) Becoming an operator yourself, if you're really really sure you want to.
[17:05] <topyli> Support. There are a few golden rules here.
[17:05] <topyli> First of all, when helping someone, be helpful. Please do not tell people to google for stuff. They can probably do that themselves, and may very well have tried already.
[17:06] <topyli> Do give helpful links. By all means, try and suggest better search terms though, if the user has failed in their previous search attempt, but telling someone to google something is just rude and not very "Ubuntuish".
[17:07] <topyli> If you're not sure you understand the user's problem properly, say so, or say nothing. Someone else will hopefully step up and help the user. Bad advice is likely to make the user's problem only worse.
[17:07] <topyli> If you notice someone else giving bad advice, correct them. Correct them nicely and politely though.
[17:08] <topyli> Be prepared to give up if you're failing to solve someone's problem.
[17:08] <topyli> And here's an important thing to remember:
[17:09] <topyli> Do not get stressed out! Take a break and chat in #ubuntu-offtopic or some other nice place. Or take the dog out. Or go and have a beer. Relax. Ubuntu is supposed to be fun and relaxing, and stress will ruin it for you.
[17:09] <topyli> You're not at work after all :-)
[17:09] <topyli> Here's our general supporter's guide which you may want to look at after the class: https://wiki.ubuntu.com/IRC/SupportersGuide
[17:10] <topyli> I don't want to spend too much on this support topic, so unless we have questions, we might want to move on.
[17:10] <topyli> ok
[17:11] <topyli> Catalyzing. This is all-important, I can not stress it enough.
[17:11] <topyli> I'll quote freenode's excellent document on catalysts:
[17:11] <topyli> "Catalysts try to resolve problems, not through the use of authority and special privilege, but by fostering consensus, gently nudging participants in the direction of more appropriate behavior and by generally reducing the level of confrontation rather than confronting users with problems."
[17:12] <topyli> hrm, didn't have the link. here it is: http://freenode.net/catalysts.shtml
[17:13] <topyli> More often than not, this is enough to defuse pretty much any situation, or to nudge a person in the right direction.
[17:13] <topyli> Sometimes, all that a user who seems troublesome needs is to *know* that our standard behavior is a bit different from theirs.
[17:14] <topyli> You can simply link to the IRC Guidelines and remind the user(s) about their existence: https://wiki.ubuntu.com/IRC/Guidelines
[17:14] <topyli> The thing is, we can, and should, all do this.
[17:15] <topyli> Your own behavior is of course hopefully a good example of "Ubuntu culture" and people do notice it, believe me.
[17:16] <topyli> Different channels have different cultures, so keep your level of "tolerance" close to correct :-)
[17:16] <topyli> Busier channels have lower tolerance for noise. Offtopic channels often confuse people, especially new people, into thinking that anything goes.
[17:17] <topyli> But not just anything does of course. They're still Ubuntu channels.
[17:17] <topyli> Any questions on catalyzing?
[17:18] <topyli> No. Moving on. :)
[17:19] <topyli> Catalyzing sometimes fails.
[17:19] <topyli> Contacting operators. Since our operators (or ops on freenode generally) usually don't wear their operator flag, you might not even know who *are* operators on any given channel. :)
[17:20] <topyli> If you do want a list of ops on a channel, you can ask freenode's chanserv by '/msg chanserv access list #channel'
[17:20] <topyli> There is also a useful command for ubottu, our infobot, which will alert ops when a situation is urgent and no operator seems to be active.
[17:21] <topyli> The command is !ops. DO NOT TRY IT NOW :-)
[17:21] <topyli> Ops get quite annoyed when that's misused.
[17:21] <topyli> Annoyed ops are the worst kind
[17:22] <topyli> Use that command only when there's an obvious troll flooding the channel with inappropriate content, or when all your attempts to reason with an abusive user fail.
[17:22] <topyli> Common sense is pretty good at figuring out when to call ops.
[17:23] <topyli> You can also discuss with the operators directly. You can join #ubuntu-ops to talk to the "core" channel operators, and #ubuntu-irc in order to catch up with the operators of "non-core" and international channels.
[17:23] <topyli> Core channels are defined here: https://wiki.ubuntu.com/IRC/IrcTeam/Scope - basically a core channel is the main support or discussion channel of an official Ubuntu distribution.
[17:24] <topyli> Channels like #ubuntu and #ubuntu-offtopic, and the equivalent of official derivates
[17:24] <topyli> Most of the "non-core" channels are those belonging to local communities, and various other channels. Here's a full list if you want to be amazed: https://wiki.ubuntu.com/IRC/ChannelList
[17:24] <topyli> :)
[17:25] <topyli> You can join #ubuntu-ops or #ubuntu-irc any time when you have anything to discuss with operators.
[17:25] <topyli> However, you cannot idle in #ubuntu-ops. When your issue is dealt with, please /part the channel. #ubuntu-irc is more relaxed about that
[17:26] <topyli> You might also like to join the IRC Team's mailing list if you have general issues to discuss. It's not too busy so your inbox won't explode if you do. https://lists.ubuntu.com/mailman/listinfo/Ubuntu-irc
[17:27] <topyli> You do have to subscribe in order to send mail to the list.
[17:27] <topyli> Please don't hasitate to raise issues on IRC or the mailing list when someone is bugging you or you have an improvement to suggest on how we should run our IRC channels.
[17:27] <topyli> The IRC Team and Council may well be blind to some glaring issue you're noticing.
[17:28] <topyli> Any questions about contacting operators?
[17:29] <topyli> Oh one thing. Even though privately messaging someone on IRC is often considered, rude, operators and freenode staff can be bugged without hesitation.
[17:29] <topyli> They've already accepted their miserable fate. :-)
[17:30] <topyli> No questions. My narrative is obviously perfect :)
[17:30] <topyli> Becoming an operator yourself. First of all, you want to be absolutely sure and certain that you actually want this. :-)
[17:31] <topyli> It is not much of an honor, but a job. A volunteer job at that, too.
[17:31] <topyli> It is not a good idea to plan to be an op because it "might be fun" - it's not (often).
[17:32] <topyli> That said, you're helping Ubuntu and it can be quite satisfying and rewarding.
[17:32] <topyli> When people get help, they tend to like that. Consequently, they're going to like you too.
[17:33] <topyli> What's more awesome than that!
[17:33] <topyli> If you are thinking about this, talk to someone who is already an operator in the channel where you're active and willing to serve.
[17:34] <topyli> If the operator fails to talk you out of your crazy idea, the process and requirements for becoming an operator is described here: https://wiki.ubuntu.com/IRC/IrcTeam/OperatorRequirements
[17:34] <topyli> I also once wrote a little something about this: http://www.siltala.net/2010/03/24/ops-teams-applications-announcement/
[17:35] <topyli> Any questions about this?
[17:36] <topyli> I don't mean to sound like being an op will ruin your life. It's just something that you will want to think about carefully.
[17:36] <topyli> Of course, if you later decide that you've made a mistake, you can leave the team. There's no guilt in that.
[17:37] <topyli> In conclusion, I'd just like to remind everyone that IRC contributions count when assessing your potential Ubuntu Membership application, so your work will be noted.
[17:37] <topyli> The IRC Council is able to accept new members even on IRC contributions alone, so we do take IRC quite seriously: https://wiki.ubuntu.com/Membership
[17:37] <ClassBot> iheartubuntu2 asked: ​ What is the general action if people are not following the Ubuntu Code of Conduct?
[17:38] <topyli> iheartubuntu2: we should first point out that the code exists, and it is to be respected everywhere in the Ubuntu universe
[17:39] <topyli> sometimes people forget this, especially in offtopic channels
[17:39] <topyli> if talking fails, there's no option but to have ops deal with it
[17:40] <topyli> "dealing with it" means usually a +q (mute) flag on the user, so they can't disturb the channel, and the operator talking to them in private
[17:40] <topyli> ultimately, the user may be banned. the Code is not negotiable
[17:41] <ClassBot> iheartubuntu2 asked: ​ If one is interested in becoming an IRC operator, is there a general requirement or commitment in terms of hours per day, week or month to hold status?
[17:42] <topyli> there is no measurable requirement
[17:42] <topyli> you should be active in the channel where you want to be an operator
[17:42] <topyli> also, since our earth is unfortunately not flat, we have time zones
[17:43] <topyli> often, one timezone is better covered on a certain channel than another, so op applicants from the "missing hours" will be somewhat favored
[17:45] <topyli> last call for questions, otherwise i'm going to call it a day :)
[17:47] <topyli> ok. thanks all.
[17:47] <topyli> don't forget that i and all other operators are available for further questions if you ever have one
[17:50] <ClassBot> There are 10 minutes remaining in the current session.
[17:55] <ClassBot> There are 5 minutes remaining in the current session.
[17:59] <pleia2> thanks topyli :)
[17:59] <topyli> thanks
[18:00] <ClassBot> Logs for this session will be available at http://irclogs.ubuntu.com/2012/05/02/%23ubuntu-classroom.html
[18:00] <pleia2> this wraps up Ubuntu Open Week for today, join us again tomorrow at 13:00 for more, full schedule here: https://wiki.ubuntu.com/UbuntuOpenWeek
[18:01] <pleia2> (13:00 UTC, of course)
[18:02] <Sidewinder> Thanks, all.