I swear ethtool used to be able to give status on a link without having to plumb the interface. This is just bogus waste of time. What I need ASAP in my sysadmin world is a very small network tool, installed by default, that will quickly check link light, media options, and if connected, what […]
Read MoreCategory: Uncategorized
Lame Hack To Paste Info To Your Terminal
No, I don’t mean post it notes. Sometimes it’s handy to take notes coalesced elsewhere and put them on the screen you’re working on. Instead of opening a editor temporarily, use the shell. Here’s my lame way to do that. $ echo << EOF > sdf > sdf > You exit out with a ^D […]
Read MoreQuick Setup Notes: Network Bonding on RHEL 6
Things are a bit changed from RHEL 5 to 6, but if you are familiar with configuring bonding by hand, you’ll be able to adjust.
Read MoreiLom cheat sheet
I can’t believe how much time I wasted today trying to remember the escape sequence for iLom! Here’s some notes to avoid some pain.
Read MoreCan’t do ssh key login because of SElinux
This one really threw me off. I buldt a rhel-6.1 test box, and I couldn’t get in using the root ssh key I loaded into ssh-agent. The `ssh-copy-id` worked fine. However, I was getting prompted for the account password (not my key’s password). Here’s what I saw and here’s how to get around it.
Read MoreHow To Change Timezone to UTC on RHEL5
Did you know there’s a difference between GMT and UTC? I didn’t. I haven’t found it stated succinctly on the web, but it has to do with leap seconds and the increase of them due to tidal deceleration. Tidal deceleration is like how it is difficult to move a big tub of water around due […]
Read MoreHow to set the mail relay on a rhel6 box
rhel6 uses postfix by default (very nice). I’ve been used to changing the DS line in /etc/mail/sendmail.cf Now, what you do is: postconf -e “relayhost = [myrelay.fqdn]” It can’t hurt to make sure you have the right setup. Here’s what I have on one of my rhel6 systems
Read MoreWhat services are running on my Linux box?
The answer is technically /bin/ps -ef. But what you really want is /bin/netstat -plunt.
Read MoreHow to get ALL the FC info you need (and more!)
Here’s the cheet sheet to using native FC tools and drivers (tested on rhel5):
Read MoreHow to Get VMware Cluster To Use Different CPU Types
In case you didn’t think it through (like I didn’t), you can’t vMotion guests from one type of CPU to another. And when I say type, I don’t just mean AMD to Intel, I mean different models and generations. For example, you can’t go from Family 6, Model 46 (2Eh) = Nehalem-EX to Family 6, […]
Read More