Skip to Content
Welcome to the Gauteng Linux User Group's (GLUG) website. GLUG is a community of geeks, sysadmins and ordinary people that use and provide support for Linux in Gauteng.

Software Freedom Day 2009

The Gauteng Linux User Group will be celebrating Software Freedom Day 2009 at the Department of Science and Technology, Saturday 19 September.

 

For all of the details visit:

http://www.sfd.org.za

Talk on Puppet with R.I.Pienaar

 

RSVP and Event Details on the GLUG Wiki


About Puppet

Puppet is a framework that provides a means to describe IT
infrastructure as policy, execute that policy, to build services then
audit and enforce ongoing changes to the policy.

Puppet helps accomplish the goal of a hands-off, automated
infrastructure. The benefits of automated infrastructure go beyond
policy-enforced consistency and auditing. The impact of hardware failure
and other disaster scenarios can be mitigated, as services can be
quickly restored by Puppet. In conjunction with virtualizaton, the
ability to reliably create new systems running consistent services can
be leveraged to create autoscaling applications as well as test systems
identical to production environments.

Many organisations use Puppet within their IT infrastructure, including
Google, Red Hat and Barclays.

* See Who is using Puppet
<http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet>

What the talk will cover

R.I.P will talk through installing apache, configuring it and running
the service using Puppet. He'll then show how to abstract some business
processes and standards into Puppet and finally roll out a website to a
VM in a way that would work equally well on 1000 servers.

Event Details

Date: 1 July 2009

Time: 18:30 for 19:00

Place: Siemens Park Midrand


Map to Siemens

RSVP by either pasting your name into the relevant section of the wiki
page or by sending a mail to rsvp@glug.org.za

GLUG hosts Sun Microsystems - OpenOffice migration presentation.

GLUG is hosting a presentation with Sun Microsystems on Open Source migrations focussing around OpenOffice.

The theme is Open Source migration risks, challenges and mitigation and Success stories with governments abroad and will be presented by Michael Bohn of Sun Microsystems, Hamburg.

Michael will show case some success stories from within governments around the world as well as present some techniques, funky tools and tips and tricks for migrating to OpenOffice in an organisation.

This may prove to be invlauble to those considering or attempting to migrate to OpenOffice.

Everyone is invited, both members and non-members of GLUG are free to attend.

The talk will be held on Wednesday 20 May at 18:00 at Siemens Park in Midrand.

Please RSVP by Tuesday 12:00 for catering purposes.

For more details or to RSVP, please see:

http://wiki.glug.org.za/index.php/OpenOffice_Talk_Details_and_RSVP

GLUG Meetings and Events

For the latest meeting and events plaese see the GLUG Wiki front page: http://wiki.glug.org.za/

You will also be able to view past events and any notes/minutes of meetings.

Great OSS App Number 2 - sshfs

Continuation of the theme from my previous post  - to attempt to highlight useful OSS apps that are maybe not so familiar, but are extremely useful. The next application I would like to talk about is sshfs.

Ever need to mount a filesystem over the network, but for whatever reason, you cannot use nfs or smbfs? Sshfs allows you to mount an accessible directory from a remote machine using only ssh. Another benefit is that all communication to that mount is encrypted by ssh - making it a secure mount as well.

Install sshfs. It should be apparent to readers of this blog how to install an app on their favourite distro, so I will not go into details on the installation.

To mount a directory using sshfs use the following command - in my case I do it as root :

# sshfs scott@192.168.0.7:/mnt/testraid5 /home/scott/thumpa -o allow_other -o uid=500
# mount
/dev/mapper/Vol1-root on / type ext3 (rw,relatime)
none on /proc type proc (rw)
/dev/md1 on /boot type ext3 (rw,relatime)
/dev/mapper/Vol2-1 on /home type ext3 (rw,relatime)
/dev/mapper/Vol1-usr on /usr type ext3 (rw,relatime)
/dev/mapper/Vol1-var on /var type ext3 (rw,relatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
scott@192.168.0.7:/mnt/testraid5 on /home/scott/thumpa type fuse.sshfs (rw,nosuid,nodev,max_read=65536,allow_other)


If you use key authentication, ensure that you su to root WITHOUT 'su -' and just 'su'



GLUG Kickstart Meeting

Tonight, the 21st of November, we're going to be having a Kickstart meeting, to see if GLUG can be kickstarted into a more formal LUG. Full details can be found on the wiki: GLUG Kickstart Meeting

If you want to join, please send an e-mail to rsvp [at] glug.org.za.

Great OSS App Number 1 - synergy

Thought I would start a series of posts like this to highlight some of the great apps that are maybe not too familiar with the average linux/OSS user. I will start with the synergy application.

Synergy is a command line tool that is used to share one keyboard and mouse across a multitude of machines. The sourceforge page can be found at http://synergy2.sourceforge.net/ It has good documentation and FAQs and is very straight forward to follow.

Synergy is available for most operating systems and works in a client server mode where the server has the physical mouse and keyboard and runs a daemon on port 24800.

The clients connect to the server and can then share that keyboard and mouse. The configuration is very straight forward and is configured by the principal of relative positions to each other i.e.

client is left of server; server is right of client

A great app that is very underated in my opinion. Those who know it and use it regularly will be wondering how people who do not survive without it!

LVM

The logical volume manager. Inconspicuous, unassuming but could quite honestly be one of the most integral parts of the linux OS. For those who have not really cared or taken much notice about the finer points of LVM, then this blog post may change your mind.

LVM can be used in a multitude of ways some of them being -

  • Provide data protection by way or mirroring volumes
  • Provide increased I/O performance by way of striping across volumes
  • Ability to resize and reshape volumes on the fly
  • Provide backup utilities using snapshots

These are a just a few of the benefits of understanding more about LVM. My experience in particular was to create GPT partitions on 22 SAN attached LUNS without losing my data. My LVM metadata was written directly on the LUN rather than a partition on the LUN so I had the problem of now trying to create the partition which required the first 34 sectors which would overwrite the LVM metadata which was situated at the first 4 sectors. Dilemma.

Each LUN was in it's own volume group and the logical volume that the file system sits on, was within that volume group. So the solution here was to add another physical volume to the volume group with the vgextend command and remove the existing one so I could then do what I want with it. It can immediately be seen how this may be benificial to other problems. For example if the problem was to replace the existing disks with bigger or faster disks, then the same methodology would also be relevant.

I now have 2 physical volumes in my volume group and using the pvmove command I could move the extents off the volume I so wish. One piece of advice here though is that this can be extremely time consuming, so it is a good idea to reduce the file system to not much bigger than what is absolutely necessary and in turn reduce the size of the logical volume.

Once the pvmove command is complete, the vgreduce -a command can be executed to remove the physical volume from the volume group. If the physical volume is still in use, vgreduce will inform you that ir is so and therefore will not trash your VG. It is always a good idea anyway to use the -t option (test).

Now that all the extents have been moved to the replacement disk, the old disk can be removed with the pvremove command and then what ever is required to be done with the disk/s can be done. To put back all that needs to be done is the reverse of the process - pvcreate, vgextend to add the disk again and then pvmove the subsitute disk.

Don't forget to lvresize and resize2fs back to the way it was after your done!

Another handy little tip is to keep copies of your /etc/lvm/archive and /etc/lvm/backup directories. Should for any reason you lose the lvm metadata on your physical volumes, then your going to need the above to piece everything back together.

Site Upgrade & New Theme

Well folks, if you're a regular visitor to our site, you'll notice things are slightly different. Yep, we have a new look and feel! And that's not all that's new...

Under the hood, we're now running Drupal 6.x, the latest stable release. It provides a few new bits and bobs that will help us to manage the site, and you to use the site.

We've also recently gotten the wiki up and running. Please don't be scared to contribute content, a wiki is only successful when everyone lends a hand.

Have fun!

Newsletter post for October

Since our recent rush of activity on the mailing lists and many peoples' opinions being voiced, we have had quite a few people who said they're interested in getting GLUG more alive, and who would attend social get-togethers and further Linux/FOSS-related events. Scott Ryan has done some asking around at work, and has said that he has space for us at the auditorium there. If there are any people who would like to volunteer for talks, presentations or anything else you think the community would be interested in, could you please mail me at info [/ at }] glug.org.za. Furthermore, we have enabled a community blog on the site, and any of the GLUGgers who feel they have some ideas which they could pen out can contact me at the same address as above, or come to our IRC channel and speak to use there to enable the blog module for your user account. Lastly, on the topic of User Accounts, we now also have the OpenID module alive, so you can hook your OpenID to your username up to your username on the site by going to your "My Account" page and then clicking on the OpenID Identities tab to add your OpenID details which you want to use there.
Syndicate content