Skip to main content

Posts

Ranger KMS Encryption

 Ranger KMS Encryption Range KMS is used to encrypt the HDFS (data at rest). This is very important for your cluster and customer to encrypt your data. It gives more security to your data. Ranger provides centralized administration of the key management server through the Ranger admin portal. There are 3 main functions provided by Ranger KMS. 1.     Key Management: It provided you facility to create/update/delete keys using UI interface. Using keyadmin username and password. 2.      Access Control Policies: through this you can manage the permission of your keys. 3.     Audit: this helps you to track the activities on your Ranger KMS. Ranger KMS with hdfs encryption is recommended to use in all env. To secure the key storage using database. KMS is also scalable and you can use multiple versions of KMS behind the load balancer. This blog page depicts the Process of Creating the Encryption Zone. Process: Step 1 : Cre...

Script To Monitor disk Usage

Hello All, Many times we have a requirement to automate few of the tasks, and one of the important task is to delete old log files from log destination. We usually get the conditions where we have to delete the log from particular directory when it reaches to some thresh hold value. Now a day the requirement of automation is highly increased where we are seeing most of the day to day tasks are getting automated using different scripting languages. Its always a good idea to automate your daily tasks which will save your working hours and will increase your productivity. Most of the time log destination gets full and due to which we face other issues like application down or particular service stop working. And manual deleting of log is hectic process so below script will help you to delete your log data when it meets your condition, and also it will trigger mail to recipient after deletion of logs. You can schedule this script in your crontab according to your feasible ti...

How to create a VM from a snapshot in Azure

  Hello All, If you are using azure cloud in your environment so you have definitely faced issue where your VM got corrupted or due to some other issues you are unable to connect to it. This might be production or development machine and then it creates a big issue as you have some important data on that vm disks which you have not backed up. This issue mostly occurs when you make changes in fstab file or any boot file missing from your VM. Sometime there might be some other issues which are related to networking. So it’s always a good idea to check your network connection and basic troubleshooting before applying this solution. In this blog post we will go through the steps on how to create a new vm from existing vm’s disk snapshot. I have clearly mentioned the steps to create the snapshot of existing vm and how to create a new vm from created snapshot. Below steps will help you to create an azure vm from azure disk snapshot. Step 1: Create a snapshot First we have to create the s...

Basic Linux Commands

  Linux Command Cheat Sheet Hello All, Below are the most common commands used in a day to day life of  linux user. if you are new to linux i will recommend you to go through all of the commands.  this commands will help you to troubleshoot linux issues.   Command Description ls Lists all files and directories from present working directory ls-R Lists files in sub-directories ls-a to list down hidden files. ls-al Lists files and directories with complete details like permissions, size, owner cd or cd ~ To go back to home directory cd .. Move one level up cd To change to a particular directory cd / Move to the root directory cat > filename Creates a new file cat filename Displays the content of a file cat file...