SFTP vs FTPS Understanding the difference

Understanding the Difference Between SFTP and FTPS SFTP: SSH File Transfer Protocol FTPS: File Transfer Protocol over SSL Understanding the Difference Between SFTP and FTPS When it comes to secure file transfer protocols, two popular options are SFTP (SSH File Transfer Protocol) and FTPS (File Transfer Protocol over SSL). While both protocols serve the same purpose of secure file transfer, they differ in various aspects. In this blog post, we will delve into the key differences between SFTP and FTPS, along with a few use cases for each. [Read More]

Understanding CPU Stats

Your Linux box is slow and you are running top command. Well, you are seeing a lot of metrics, what does these values means. Major CPU Status Idle, the percentage of idle CPU Running a user space program, a User application running. It could be a compiler, Email client Running the kernel, Handling an interrupts, managing resources The above said meta states can be divided. User space programs can be categorized as those running under their initial priority level or those running with a nice priority. [Read More]

Cloud is down !! Whats next?

It happend, What now ? Get into battlefield Monitoring Cell Engineering Cell Customer success Cell Administrative Cell You brought it back Post incident measures It happend, What now ? Its a nightmare for a every cloud provider. Even you take all the measures to prevent, it could be happen. Its called Disaster. You are serving a lot of customers, you have to protect their interests. Because they are also a service provider to their customers. [Read More]

Guest VM in error State, possible reasons.

Preface Core services may not running Two different host types No Shared volume No enough Quota Apparmor in place The source compute host swapped No valid host found Further reading Preface Recently I had faced an interesting question during an Interview. Question was, One of the virtual machine is in error state, how will you troubleshoot?. Well, thats a general question and all of them went through it atleast once? [Read More]

Overcommit per Aggregate in Openstack

What is an Overcommit in cloud ? Overcommitting Memory Overcommitting CPU Why its important in a Public Cloud Where are the Overcommit values in Openstack Well, I have a very special requirement Solution Create the aggregate Add your computes to this Aggregate Setting up Overcommit values to this particular Aggregate How the Guest VM know, i should go to this Aggregate Inject Flavor metadata Check the flavor now Add few filters in nova Disable the current allocation from nova Restart nova Workflow Further Reading What is an Overcommit in cloud ? [Read More]

Share Private network between Two Tenants

Courtesy Preface Assumptions Solution Import Route Target Security Group Futher Reading Courtesy Bytes around me :-) Preface Sharing Private network is a common use case in Cloud Environment. Normally RBAC will help you to achieve. Since Newton release, this feature is Available. But the question is which SDN you are using in your Environment. If you are using Opencontrail 3.2 as SDN, you cannot go with RBAC. Assumptions Openstack Release Ocata Opencontrail 3. [Read More]

Configure Multiple Default Routes, Linux

Courtesy Preface Use Case Implementation New Routing Table Add Policy Rules Flush the routing cache Testing Rules Further Reading Courtesy Tutorial credit goes to [Omar Hamad ] (https://www.linkedin.com/in/omermahgoub/) the real Architect I have seen in last few years. Working with him for the past 3 Years, and learned a Lot. We are going to miss u :( Preface When configuring a Linux host with multiple interface, each with its own default gateway, ensuring route symmetric is a bet challenging for any given pair of endpoint. [Read More]

Bash Tips

Preface History Using ! Using part of Command Preface One of the fancy feature of Bash is the command history. History will store all the command run by the User, which will be in /home/$USER/.bash_history. This will help the user to edit / reclass previously applied commands. To get a command previous run in command you can use UP arrow or DOWN arrow keys. History 288 cd layouts/ 289 ls 290 cd . [Read More]

CURL, find your website Speed.

Page loading speed is very important now a days. If you are a web administrator, or a server administrator who is particularly responsible for organizing the things together, then you have to make it a point that users don’t get disappointed while accessing your site – so there is really need for speed curl -s -w 'Testing Website Response Time for :%{url_effective}\n\nLookup Time:\t\t%{time_namelookup}\nConnect Time:\t\t%{time_connect}\nPre-transfer Time:\t%{time_pretransfer}\nStart-transfer Time:\t%{time_starttransfer}\n\nTotal Time:\t\t%{time_total}\n' -o /dev/null http://www.google.com Output for Google. [Read More]

Monitor your Linux box using Glances

Preface Features Installation Output Preface Glances is a cross-platform command-line curses-based system monitoring tool based on Python Programming language. Glances is using the psutil library to grab informations from the Operating Systm. Glance will monitr CPU, Load Average, Memory, Network Interfaces, Disk I/O, Processes and File System spaces utilization. Glances is released under GPL, and works on FreeBSD and Linux systems. Many options available in Glances. Glance will allow the System administrator to set thresholds (Careful, Warning and Critical) in configuration file and informations will be shown in colors which indicates the bottleneck in the system. [Read More]