I wanted to install a Fedora 13 machine as a paravirtual domu guest on our CentOS 5.5, xen 3.4.2 host. I also wanted to provision it using koan/cobbler. I ran into a few problems along the way, but I got there in the end!
Continue reading ‘Fedora 13 as a domu guest with xen 3.4.2 on CentOS 5.5’ »
Posted by robin on September 1, 2010 at 5:57 pm under Uncategorized.
Tags: centos, fedora, linux, xen
Comment on this post.
Dell distributes its OMSA software in RPM packages and even has a yum repo available so you'd think that updating to the next version would be as simple as yum update, right? Wrong!
You have to remove the old version first, and then install the new version. Oh, and you also need to stop the Dell services, restart ipmi, then restart the Dell services.
Something like this:
yum -y remove srvadmin-* \
&& rm -Rf /opt/dell \
&& yum -y install srvadmin-all dell_ft_install \
&& srvadmin-services.sh stop \
&& service ipmi restart \
&& srvadmin-services.sh start
Posted by robin on August 31, 2010 at 1:08 pm under Uncategorized.
Tags: centos, dell, omsa
1 Comment.
Some kind soul on #bash on Freenode recently pointed me at this excellent document:
http://mywiki.wooledge.org/BashPitfalls
(I ran into #20, in case you're wondering)
Posted by robin on June 24, 2010 at 2:00 pm under Uncategorized.
Tags: bash, shell scripts
Comment on this post.
We've had a bunch of new servers in place for around 3 months now. They seem to be working well and are performing just fine.
Then, out of the blue, our monitoring started throwing alerts on seemingly random servers. Our queues were building up – basically, database performance had dropped dramatically and our processing scripts couldn't stuff data into the DBs fast enough.
What could be causing it?
Continue reading ‘Dell DRAC BBU auto-learn tests kill disk performance’ »
Posted by robin on April 27, 2010 at 10:50 am under Uncategorized.
Tags: dell, drac, monitoring, mysql
3 Comments.
I use cobbler to provision our new Dell servers, which is great but it needs the MAC addresses of the servers to identify each machine.
Previously, I have been doing this manually:
- log in to the DRAC web interface
- launch the java console
- rebooting the server
- go into the BIOS
- navigate to Embedded Devices
- manually record the MAC addresses
This takes quite a while, and is prone to error.
I recently had another 42 servers to deploy to I looked for a way to automate this process. I found one! Continue reading ‘MAC Addresses of embedded NICs on Dell servers through DRAC’ »
Posted by robin on April 22, 2010 at 3:06 am under Uncategorized.
Tags: dell, drac, racadm
2 Comments.
I use the toggl time-tracking service to keep track of the hours I work for my various clients.
toggl make available desktop clients for Windows, Mac, & Linux, but the Linux packages are in .deb format for Ubuntu and, until recently, they did not provide x86_64 packages.
toggl recently released the desktop client as open source so I grabbed it and have built an RPM.
SRPM: TogglDesktop-2.5.1-1.fc12.src.rpm
RPM (Fedora 12, x86_64): TogglDesktop-2.5.1-1.fc12.x86_64.rpm
Posted by robin on March 1, 2010 at 10:44 pm under Uncategorized.
Tags: fedora, linux, rpm, time tracking, toggl
Comment on this post.
It seems that several people have been having problems getting Dell OMSA 6.2 to work correctly on CentOS 5.4 x86_64. Specifically, the software does not detect any storage controllers, and therefore also doesn't find any disks. eg.
[root@b034 ~]# omreport storage pdisk controller=0
Invalid controller value. Read, controller=0
No controllers found.
After a little investigation, I found the source of the problem.
Continue reading ‘Dell OMSA on CentOS 5.4 x86_64 – No Controllers found error’ »
Posted by robin on February 11, 2010 at 12:35 am under Uncategorized.
Tags: centos, dell, linux, omsa
1 Comment.
I often need to deploy Ruby gems across many CentOS servers. I prefer to use the native OS package management tools (rpm + yum) rather than using Ruby gems.
Here's how to build RPMs from Ruby gems using gem2rpm.
Continue reading ‘Building RPMs from Ruby gems’ »
Posted by robin on February 9, 2010 at 12:03 pm under Uncategorized.
Tags: gem, rpm, ruby
2 Comments.
When creating backups or log files, I like to name the files with a timestamp, ie. the date plus the time.
I use the date command to produce timestamps in the appropriate format, but I find the format specifier a bit long-winded and difficult to remember – is %m minutes or month?
There is a better way… date -I
Continue reading ‘Useful date command format string’ »
Posted by robin on February 2, 2010 at 1:17 pm under Uncategorized.
Comment on this post.
I use puppet to manage the configuration of the machines I manage. So far, I've been rolling out new resources to machines but recently I've wanted to remove resources from machines. Here's how I modified my cron classes so I could remove cron jobs as well as create them.
Continue reading ‘Writing puppet manifests that can remove resources as well as adding them’ »
Posted by robin on January 29, 2010 at 5:07 pm under Uncategorized.
Tags: puppet
1 Comment.