Author: microwave sam

How to Mount USB Flash Drive on CentOS 7

In this blog article, I’ll show you how to mount a USB Flash Drive on CentOS 7 terminal. In my case, I needed to mount a USB Flash Drive on my minimal CentOS 7 machine to copy a file to the USB Flash Drive. USB Flash Drive The file system of my USB flash drive is FAT32. I used a Windows 10 computer to create a folder called System Volume Information on the USB flash drive. Mounting First, go to your...

More

How to Run HPL (LINPACK) Across Nodes – Guide

We’ve been working on a benchmark called HPL also known as High Performance LINPACK on our cluster. Our cluster is made of 6 nodes. The specs are: 6 x86 nodes each with an Intel(R) Xeon (R) CPU 5140 @ 2.33 GHz, 4 cores, and no accelerators. Our OS is CentOS 7. At first, we had difficulty improving HPL performance across nodes. For some reason, we would get the same performance with 1 node compared to 6 nodes. Here’s what we...

More

How to Install Ansible on CentOS 7

Ansible is a useful configuration automation software that allows you to automate the setup of your machines. In comparison to other configuration automation out there like Chef or Puppet, I’ve found it to be much simpler to use for cluster setup. Installation First, I normally update the EPEL on CentOS 7 before installing ansible. yum install epel-release Afterwards, we can use yum install to setup ansible on our machine. If you have a cluster, install ansible on each individual node....

More

How to Install Our Cluster Dependencies for CentOS 6 Locally

We’re going to ASC16 in China for a student cluster competition, but we won’t have internet access on the cluster, so we need to download all  the dependencies beforehand. First, we have a SSD that we’ll download all the things that we need for the server and clients. Install CentOS 6.7 minimum Make directories on the SSD Download dependencies for server and clients on SSD Install CentOS 6.7 minimum First, we installed CentOS 6.7 minimum before we left for the competition....

More

How to Download and Install Yum Packages Locally

On CentOS, we sometimes need to install yum packages as RPMs locally because we may need them at a time when we don’t have internet access. How to Download Yum Packages Locally Option #1 I like to use yum-downloadonly to download packages locally. yum install yum-plugin-downloadonly Make a directory where you will download the RPMs. mkdir /nfs Now, we use –downloadonly to download all the RPMs of the package and its dependencies into the /nfs directory. yum install git -y...

More

Sending Messages to Linux Users without Sudo

This may or may not work depending on the security preferences of the machine, but usually, you can use these commands even if you do not have sudo. To broadcast a message to all users: wall hello All users currently on the machine would receive: Broadcast message from root@domain (pts/2) (Wed Apr 6 12:53:22 2016): hello To send messages directly to a user: who winstonc pts/247 Apr 6 12:04 (107-46-41-155-wireless1x.bu.edu) huyle333 pts/249 Apr 6 12:07 (162-38-41-155-wireless1x.bu.edu) Let’s say that I’m...

More

How to Install Slurm on CentOS 7 Cluster

Slurm is an open-source workload manager designed for Linux clusters of all sizes. It’s a great system for queuing jobs for your HPC applications. I’m going to show you how to install Slurm on a CentOS 7 cluster. Delete failed installation of Slurm Install MariaDB Create the global users Install  Munge Install Slurm Use Slurm Cluster Server and Compute Nodes I configured our nodes with the following hostnames using these steps. Our server is: buhpc3 The clients are: buhpc1 buhpc2...

More

How to Install GlusterFS on CentOS 7

GlusterFS is a scale-out network-attached storage file system. In this tutorial, we’ll be setting up GlusterFS on a cluster with CentOS 7.  Our cluster has 6 nodes connected through a switch. I’ll be using all 6 nodes as servers for distributed replicated storage with opportunity for more nodes to be clients that can access files from the GlusterFS servers. How does GlusterFS work In a GlusterFS, servers are used to store data in a distributed manner, and clients can access...

More

How to Install Ganglia on CentOS 7

Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids. Ganglia is useful when monitoring nodes of a cluster. Setting up Ganglia on CentOS 7 with a bunch of nodes can be confusing. In this blog, I’ll show you how to setup Ganglia and its web interface properly. Our cluster has 6 nodes connected through a switch. Cluster Server and Clients I configured our nodes with the following hostnames using these steps. Our server...

More

How to Add Github.io to Namecheap Domain

As you probably know, you can create username.github.io, and Github will host your static website. What if you want this username.github.io to be a different domain name that you purchased on namecheap? Let’s say that I have buhpc.github.io, and I want it to be buhpc.com, which I have purchased on namecheap. How exactly do I do that? Add CNAME to username.github.io We should add CNAME to our username.github.io. We can easily do this through the terminal or website GUI. I’ll...

More