Wednesday, July 31, 2013

Risks of Using the Intelligent Platform Management Interface (IPMI) - (TA13-207A)

Systems Affected
Any system connected to the internet running the Intelligent Platform Management Interface (IPMI) may be affected. IPMI is resident on many server platforms, and provides low-level access to a system that can override operating system controls.

Overview
Attackers can easily identify and access systems that run IPMI and are connected to the Internet. It is important to restrict IPMI access to specific management IP addresses within an organization and preferably separated into a separate LAN segment.

For more detail information, see Alert (TA13-207A) - Risks of Using the Intelligent Platform Management Interface (IPMI)

Friday, July 26, 2013

SINGAREN Network Configuration

Network Configuration of SINGAREN.

For more information, see SINGAREN Network Configuration



Wednesday, July 24, 2013

Installing cmake 2.8 on CentOS 5

If you are intending to compile and install cmake 2.8 on CentOS 5, you have to use a slightly older version of cmake 2.8.10.2 is compatible with CentOS 5. You can get it from this link

http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz

The most recent version of cmake-2.8.11 is only able to be compiled easily on CentOS 6 unless you wish to fix dependencies issues like GBLIC 2.7

Installation is quite easy to compile cmake-2.8.10.2

Step 1: You can use the bootstrap which will default the cmake to default location ie /usr/local/. If you are using bootstrap,
# tar -zxvf cmake-2.8.10.2
# cd cmake-2.8.10.2
# ./bootstrap
# make
# make install

Alternatively, I use the configure command which I’m more accustomed
# tar -zxvf cmake-2.8.10.2
# cd cmake-2.8.10.2
#./configure --prefix=/usr/local/cmake-2.8.10.2
# make
# make install

Monday, July 22, 2013

NetworkManager causing Device eth0 does not seem to be present, delaying initialization on CentOS

"Device eth0 does not seem to be present, delaying initialization on CentOS" error can be due to
  1. Cannot get device settings No such device. 
  2. "Device eth0 does not seem to be present" on cloned CentOS VM
Step 1. But it could be also due to the NetworkManager overridding your manual settings in the network configuration. You may want to disabled NetworkManager

# chkconfig --levels 2345 NetworkManager off

Step 2: At the /etc/sysconfig/network-scripts/ifcfg-eth0, do remember to put this line in
.....
..... 
NM_CONTROLLED="no"
.....
.....

Step 3: Reboot the machine and do a ifconfig
# ifconfig

You should be able to see the eth0

Tuesday, July 16, 2013

Compiling OpenMPI with CUDA and Intel Compilers

If you are intending to compile OpenMPI with CUDA Support, do note that you have to download the feature version of OpenMPI. The version I used for compiling OpenMPI with CUDA is version 1.7.2. The current stable version of OpenMPI 1.6.5 does not have CUDA-Support

1. Download and unpack OpenMPI 1.7.2 (features)
# wget http://www.open-mpi.org/software/ompi/v1.7/downloads/openmpi-1.7.2.tar.gz
# tar -zxvf openmpi-1.7.2.tar.gz
# cd openmpi-1.7.2

2. Configure the OpenMPI with CUDA Support
# ./configure --prefix=/usr/local/openmpi-1.7.2-intel-cuda CC=icc CXX=icpc 
F77=ifort FC=ifort --with-cuda=/opt/cuda --with-cuda-libdir=/usr/lib64
# make -j 8
# make install

References:
  1. 34. How do I build Open MPI with support for sending CUDA device memory?