This script is taken from Quick and Dirty way to ensure only one instance of a shell script is running at a time
For example, this can be used to ensure SAGE Mirroring rsync run once.
Here we will see how to take input from user in a script with the help of read command.#!/bin/bash
read -p "First number:" value1
Here we will see the naming convention of parameters which are passed to a script and how we can use them? how shifting works?#!/bin/bash
Lets create a file with following content:#!/bin/bashecho "Value which is there in variable USER is $USER"
Lets create a file with following content:#!/bin/bashecho "$var1"Assign a value to a local variable var1sunny@sunny-workstation bin]$ var1=sunny-workstationsunny@sunny-workstation bin]$ chmod +x 2_simple_script.sh
After configuring OpenLava-3.0 using the tar ball and following the instruction according to the OpenLava – Getting Started Guide
I was encountering errors like
openlava project 3.0, June 25 2015
ls_getclustername(): LIM is down; try later
Today I hosted a CloudStack hands-on workshop at DevOpsDays Amsterdam, together with my colleague Fred Neubauer. It was really awesome to see all attendees building their own CloudStack cloud. And succeeding! Here are the slides and instructions: We proposed the workshop to the CloudStack Collaboration Conference Europe, in Dublin next October so we might do it […]