By default, HP’s ILO interfaces are set to DHCP.
Yes you could go into your router to see which DHCP lease it got, but here is a much more easy solution that you can use anywhere, even though you don’t have access to the router/DHCP server.
You don’t need much. What you need on your Linux computer for this to work is:
sudo (You only need this if you are not logged in as root)
I needed this to do some testing with a load problem I had. One of our server would spike in load for a minute or two, but at random times.
I needed to see what was generating these spikes, but did not want to sit around waiting for it to happen and being ready to hit enter on the commands i needed to run when the load was spiking. So I made this simple little script that you can edit to your needs.
It’s a bash script, and requires the package “bc” to be installed (install it using your package manager if you don’t already have it installed.)
I have tested the script on CentOS and Debian.
I have tried commenting everything in the script as good as possible, but if you have any changes feel free to post a comment.
Why would you want to install a package from testing when running on stable?
The reason is simple. Sometimes you just need a later version of a package than is in the Debian Stable repository. You could of course compile it from source, but this was not good enough for me since if you compile it from source, you have to keep it updated manually, and i’m sure i will forget to.
I wanted to do it through apt like the normal packages, But at the same time still keep running on Debian stable but having the option to install a later version of a package.
In this post, i will show you how you can make that possible, and it’s really easy! Continue reading →
If someone would like to take pictures and screenshots of the process for me that I can put into the guide, that would be great. Since I do not have a running Windows computer at the moment I can’t make them myself. (post a comment and I will contact you). This line will be removed once I have the pictures i need.
Some guys a reddit.com requested that I made a quick guide on how to flash a LSI Megaraid M1015 SAS/SATA controller for pass-through firmware.
This guide will be on how to flash it for pass-through OR raid functions, since it’s the same method but with two different files.
I will supply you with the files needed as well.
What you need to flash the Megaraid M1015
You will need the following:
A Windows XP/vista/7 computer (I have only tested on Windows 7)
Package containing the firmware and tools for flashing, you can download it here
A USB stick (I Think 256MB is more than enough), it should not contain any data, since we need to format it!
This program (hp flashing utility, easy way to make bootable usb DOS usb stick)
Yesterday I decided to upgrade my two ESXi servers from ESXi 5.1 to ESXi 5.5 since the update came out some time ago.
The upgrade from ESXi 5.0 to ESXi 5.1 went great, without any problems. But this time, that is not the case.
My two ESXi servers are white boxes made of the following hardware:
The problem was the motherboard that ships with an onboard Realtek 8111E network adapter.
This problem has been verified to be the same with Realtek 8168 and Realtek 8169.
The reason for this, is that VMware removed the drivers from the new ESXi 5.5 iso.
In this post I will show you how to get ESXi 5.5 working with the Realtek network adapters. Continue reading →
Chromium is the open source version of Google Chrome.
There are some none-open source stuff in it that has been left out, a good example is the Chrome in-browser PDF viewer.
I needed this back, since I like it. so I did some googling around. I found lots a lots of posts, and none of them worked. But when I finally got it working, I decided to make this post hoping it will help others like me!
So this will be a short post on how to enable the in-browser PDF viewer in Chromium.
This post will explain two commands every linux user need to know. Every Linux user is going to use these at one point in their life, and it is usually for when the shit has hit the fan and your server is out of diskspace and you have to find the source of the problem.
The two programs are:
CentOS 7 has been released. I have made an updated guide for installing that too, you can find it here: How to install a CentOS 7 64Bit server
Now that CentOS 6 has been released, I though I should make a quick step-by-step guide on how to set up a CentOS server yourself!
Download the iso
Download the netinstall iso: http://mirror.1000mbps.com/centos/6.6/isos/x86_64/CentOS-6.6-x86_64-netinstall.iso
Burn or mount and boot the iso
Burn iso, or mount it in your virtual machine and boot the system up. You will get following screen: Continue reading →
Sometimes I game with some friends. For the time we are playing Payday2 which requires a lot of teamwork. Chatting using the ingame chat system is not the best or fastest way, there is simply no time for it. That’s why I decided to make a Mumble server.
What is Mumble?
Mumble is like teamspeak, ventrilo or skype. It is a online “chat room” but with microphones instead of keyboards (VoIP, Voice Over IP), It’s like a conference call on the phone, but over the internet so it’s free. This makes it good for gaming, since you can speak about what to do in-game without having to use time typing and reading.
Why Mumble and not the other softwares
Some say, Mumble is the best.. But actually they are all great, exept Skype (It uses up all your internet connection so there is nothing left for the game).
I choose mumble personally because it’s open source, and the server can run on Linux. Continue reading →
Distributed file system between multiple servers is a thing I have planned for a long time, but I never got around to it because I first had to find the right filesystem for it.
After a lot of research, I found that GlusterFS was the right file system for me.
My plan was to use a distributed filesystem to share the content of my webservers to make sure all my webservers had the same content on their pages at all time and using some sort of high availability to make sure the content was always there.
To this I used a tool in Linux called Lsyncd before I set up my GlusterFS cluster, this worked well and did live syncing of all the servers using rsync. But there was one problem with it.
If I uploaded a lot of files (20+) to one webserver, and it started to sync to the other webserver before I was finished copying, the result would be that some of the files ended up corrupt, and this was a problem for me!
My distributed file system overview
Here is the overview of the setup I am making, it’s not pretty but I’m sure it’s a lot more easy to explain the setup using a simple mspaint drawing than with text!
As you can see in the picture above, I have build this with high availability in mind, since I want my websites to always be up and running! Continue reading →