75 articles Uncategorized

Is your organization planning to have FedRAMP Compliance Certification?

The Federal Risk and Authorization Management Program (FedRAMP) is a government-wide program that provides a standardized approach to security assessment, authorization, and continuous monitoring for cloud products and services. FedRAMP is required if organization is planning to have projects from US FedRAL Government. It is also a framework to harden organization’s infrastructure. Getting FedRAMP is…

LinuxAcademy.com ! Certification Trainings !

With 1,871 videos, obtain experience you need as you learn and practice on your lab servers, provided by the Linux Academy, to master the concepts. All of our courses are self-paced, so work at your convenience, at a speed that is comfortable for… LinuxAcademy.com is really an awesome place to learn Linux and Cloud related…

Setting up Cassandra using Datastax OpsCenter

CassandraDB is basically distributed Database system and used to deal with huge Data. To setup Cassandra cluster, we can use Datastax OpsCenter community tools or enterprise edition. It is the easiest way to manage Cassandra cluster graphically.In this case major Components of Cassandra cluster are: 1. OpsCenter for Managing Cassandra Cluster 2. Datastax Agent 3.…

Monitoring Kafka, Storm, Zookeeper with Icinga2

Steps to monitor Kafka & Storm: – open JMX port for kafka and storm – To open JMX port in Kafka : a. Add below line to $KAFKA_HOME/bin/kafka-run-class.sh b. Add below line to $KAFKA_HOME/bin/kafka-server-start.sh c. Restart kafka – To open JMX port in Storm: a. Add below lines $STORM_HOME/conf/storm.yaml b. Restart Storm – Check ports…

Migrate Linux VMs from XEN (SolusVM) to KVM (Proxmox)

Migrating CentOS Linux installed Xen instance to KVM is really tricky. This note contains one of the way to migrate. Here I have used SolusVM for Xen based instances and Proxmox for KVM based instances. PS: This will work with Linux Only. For eg. I have used CentOS6 linux Here are the steps to migrate:…

Script to Kill MySQL Sleeping Processes

Create Script /bin/mysql_kill_sleepProc.sh #!/bin/bash echo ” ” echo ‘###########################################’ date mysqladmin -u root –password=<mysqlPassword> processlist|grep Sleep for i in `mysqladmin -u root –password=<MysqlPASSWORD> processlist|grep Sleep|awk ‘{print $2}’`; do mysqladmin -u root –password=<MysqlPASSWORD> kill $i; done > /dev/null 2>&1 wc=`echo $?` if test $wc == 0 then echo “Mysql sleeping queries killed succesfully” else echo “Command…

Configuring lbaas in OpenStack

My scenario: Openstack enviornment is configured on 3 nodes with CentOS 7 & OpenStack Juno. srv1 -> Controller node, Compute, Neutron Server, Cinder srv2-> Compute Node srv3-> Neutron Network Node, Compute Node Virtual Architecture of Load Balancer as a Service (lbaas) : Steps: 1. Install haproxy on all nodes as it is used as loadbalancer…

Troubleshoot Yum Python grabber.py error in CentOS7

To troubleshoot Yum Python grabber.py error in CentOS7:   In CentOS 7.0, you will get errors for grabber.py while running “yum update” command. Please follow the following steps to resolve this issue till next update. 1. Open /usr/lib/python2.7/site-packages/urlgrabber/grabber.py in preferable editor vi /usr/lib/python2.7/site-packages/urlgrabber/grabber.py 2. Go to line number 1510. Below command is for VI editor…

Setting up KVM Virtual Machine using CLI

KVM is Virtualization Solution for Linux. Using KVM, one can run multiple virtual machines running unmodified Linux or Windows images. Each virtual machine has private virtualized hardware: a network card, disk, graphics adapter, etc. KVM uses the Linux kernel as a bare metal hypervisor. A host running KVM is actually running a Linux kernel and…