Linux.com

Community Blogs



Data-protector Installation on VMware on Linux Desktops

 

Data is one of the most crucial elements for security and protection. Tech market giants make investments of millions. Backup/Data Protection is a key area when we talk about data retention and data recovery. We have big giants involved who have made this possible by developing a variety of data-protection tools. These data-protection techniques have been utilised in both physical and virtual environments.

 

These backup techniques are basically of two types :

 

1. Image Backup

2. Client Backup

 

The earliest kind of backup configurations were client backups. Traditional backup methods work like this by storing redundant data over and over again. Because of this, client backup installation had various performance degradation issues. The below issues were rectified by a technique called Image Backups. In this technique there was improvisation in data protection by the storage of only the changed storage block, instead of everything as in the  client backup technique. Tremendous improvement in the performance of the VMS was recorded by using image backup technique. There was also less congestion in the network bandwidth.

 

In Virtual Environments the Major Tools used for Image Backup Technique are as stated below

 

  • VMware Vsphere Data protector

  • IBM Tivoli Manager

  • Avamar Proxy Server

 

Introduction to  VMware Vsphere DataProtector (VDP):

 

  • Robust ,Simple to deploy disk-based backup and recovery technique.

  • It enables centralised and efficient management of backup jobs while storing backups in deduplicated storage locations.

  • VMware vSphere Web Client interface is used to select, schedule, configure, and manage backups and recoveries of virtual machines.

  • The Vsphere data protector creates a snapshot quiesced snapshot of the virtual machine and deduplication is performed with every backup operation.

  • It uses Change Block Tracking (CBT) technique which is Vmkernel function, keeping a track of storage blocks of virtual machines as they change over time. VMkernel  keeps a track of block changes on virtual machines, this enhances the backup process for applications.

  • It uses VMware storage API’s used for Data Protection as well enables centralized backup of a VM machine without causing any disruption.

  • The VDP Appliance is a purpose built virtual appliance for vSphere data protection.

 

 

Installation of Vsphere Data Protector:

 

Software Requiremnets:


VDP 5.5 requires the following software:

  • VMware vCenter Server: Version 5.1 or later

  1. vCenter Server Linux or Windows.

NOTE: Backing up more than 2 TB VMs on Windows operating systems is not supported. This limitation does not exist on Linux operating systems.

  1. Web browsers must be enabled with Adobe Flash Player 11.3 or higher to access the vSphere Web. Client and VDP functionality

 

  • VMware ESX/ESXi (the following versions are supported)

  1. ESX/ESXi 4.0, 4.1,ESXi 5.0, ESXi 5.1, ESXi 5.5

Pre-Installation Configurations:

  • “DNS Configuration”

  • “NTP Configuration”

  • “User Account Configuration”

  • “vSphere Data Protection Best Practices”

 

Installation of Vsphere Data Protector:

 

The installation is basically completed in two steps :-

  • “Deploy the OVF Template”

  • “Configuring the VDP Appliance System Settings”

 

Deploy the OVF Template:-

 

Procedure

1. From a web browser, access the vSphere Web Client.

2. Log in with administrative privileges.

3. Select vCenter > Datacenters.

4. On the Objects tab, click Actions > Deploy OVF Template.

5. If prompted, allow and install the VMware Client Integration Plug-in.

6. Select the source where the VDP Appliance is located. By default the File name dialog is set to OVF

Packages (*.ovf). From the drop-down box to the right of File name, select OVA Packages (*.ova).

7. Navigate to the location of the VDP Appliance .ova file. Confirm that you select the appropriate file for

the datastore. Click Open.

8. After the VDP Appliance .ova file is selected, click Next.

9. Review the template details and click Next.

10. On the Accept EULAs screen, read the license agreement, click Accept, and then click Next.

11. On the Select name and folder screen, enter the name for the VDP Appliance (this must match the entry configured on the DNS Server) and click on the folder or datacenter in which you want it deployed. The VDP Appliance Name should not be changed after installation. Click Next.

12. On the Select a resource screen, select the host for the VDP Appliance and click Next.

13. On the

Select Storage screen, select the virtual disk format and select the location of the storage for the VDP Appliance. Click Next.

14. On the Setup networks screen, select the Destination Network for the VDP Appliance and click Next.

15. In the Customize template screen, specify the Default Gateway, DNS, Network 1 IP Address, and

Network 1 Netmask. Confirm that the IP addresses are correct and match the entry in the DNS Server.

Setting incorrect IP addresses in this dialog box will require the .ova to be redeployed. Click Next.

NOTE: The VDP Appliance does not support DHCP; a static IP address is required.

16. On the Ready to complete screen, confirm that all of the deployment options are correct. Check Power on after deployment and click Finish.

vCenter deploys the VDP Appliance and boots into the install mode. You can monitor Recent Tasks to determine when the deployment is complete.

 

Configuring the VDP Appliance System Settings:

 

Note: That the OVF template has been deployed

 

Procedure

1. From a web browser, access the vSphere Web Client.

2. Log in with administrative privileges.

3. Select vCenter Home > vCenter > VMs and Templates. Expand the vCenter tree and select the VDP

Appliance.

4. Open a console session into the VDP Appliance by right-clicking the VDP Appliance and select Open

Console.In the console, the URL and the steps required to configure the VDP display.

5. Enter the required information in the console.

6. Open a web browser and type:

https://<IP_address_VDP_Appliance>:8543/vdp-configure/

The VDP Welcome screen appears.

7. Click Next.

8. The Network settings dialog box appears by default. Specify (or confirm) the following network and

server information for your VDP Appliance:

a IPv4 Static address

b Netmask

c Gateway

d Primary DNS

e Secondary DNS

f Hostname

g Domain

9 Click Next.

10 The Time Zone dialog box appears. Select the appropriate time zone for your VDP Appliance, and click Next.

11 The VDP credentials dialog box displays. For VDP credentials, type in the VDP Appliance password, and then verify the password by retyping it. This will be the universal configuration password. Specify a password that contains the following:

Nine characters

At least one upper case letter

At least one lower case letter

At least one number

No special characters

12. Click Next.

13. The vCenter registration dialog box appears. Specify the following:

a vCenter username—If the user belongs to a domain account then it should be entered in the format

“SYSTEM-DOMAIN\admin”.

CAUTION If an SSO admin user is specified as the vCenter username in the format <username@vsphere.local>;,

tasks related to VDP operations do not appear in the vCenter Recent Tasks pane of the vSphere Web Client.

For tasks to appear in the Recent Tasks pane, specify the SSO admin user in the format

<vsphere.local\username>.

b vCenter password

c vCenter hostname (IP address or FQDN)

d vCenter port

e If disabled, click the Use vCenter for SSO authentication check box for SSO authentication.

NOTE: Leave the Use vCenter for SSO authentication check box enabled if your vCenter has SSO embedded in the vCenter server appliance.

14. Click Test connection.

 

NOTE: If on the vCenter registration page of the wizard you receive the message “Specified user either is not a dedicated VDP user or does not have sufficient vCenter privileges to administer VDP.”

If you follow the steps then your installation of Vsphere Data Protector should go without a hitch.

 

 

CherryTree Review: The Rich Tree Notes Application

CherryTree is a notes-taking application which organizes your notes into a hierarchical tree, has support for text formatting, and is written in GTK2/Python. Lately this application has got a lot of attention due to rich features and frequent updates. It also comes by default in distributions such as MakuluLinux MATE Edition.

 

First let me start by talking a bit about the way CherryTree organizes its notes. First of all, the notes are kept in a tree-like hierarchy in the left panel on the main window. Here, you can set so-called “nodes” and “sub-nodes” to create and archive your notes. Each node has a few configurable properties. For example, for each node you can change its name, or you can select its type: Rich Text, plain text or automatic syntax highlighting. The syntax highlighting feature has support for many programming languages. Additionally, you can use tags for each note or make a node read-only, so it can’t be modified.

 

Full article

 

ShellShock vulnerability

ShellShock is a the vulnerability in bash, a most commonly used shell (command line interpreter) programmer in Linux.

Read more at PageFrames

 

resolv_wrapper 1.0.0 - the new cwrap tool

The cwrap project released a new preloadable wrapper which can be used for
nameserver redirection or DNS response faking. The tool is named
resolv_wrapper and can be used in testing environment to route DNS queries
to a real nameserver separate from resolv.conf or fake one with simple config
file. The tool is supported on several platforms, including Linux, Solaris and
FreeBSD.

If you want to write a unit test, which requires to acquire a Kerberos ticket
using kinit before, you would need to be able to locate the Kerberos KDC
looking up a SRV records in the nameserver. resolv_wrapper could be used make
sure the kinit is working correctly by talking to your nameserver or by faking
the DNS response. It wraps the functions provided by libresolv.so like
res_query() and res_search().

You can download resolv_wrapper here.

 

PostgreSQL features that may interest you

Range Types

Ever had start_date and end_date columns? Have you written queries like this to find overlapping date ranges?:

… WHERE ('2014-07-15 15:20:00’ >= start_date
AND '2014-07-15 15:20:00’ < end_date)
OR ('2014-07-15 15:50:00’ > start_date
AND '2014-07-15 15:50:00’ <= end_date);

Well this isn’t necessary in PostgreSQL

CREATE TABLE appointments (
id serial primary key,
appointment tstzrange,
details text);
INSERT INTO appointments (appointment, details)
VALUES ('[2014-07-15 15:00:00,2014-07-15 15:30:00)’, 'Dentist’);
SELECT *
FROM appointments
WHERE appointment && '[2014-07-15 15:20:00, 2014-07-15 15:50:00)’::tstzrange;

Square brackets mean “including”, round brackets mean “from/to but not including”. So the appointment is from 15:00, and up to, but not including, 15:30. We want it this way because if we had an appointment at 15:30, we don’t want it overlapping the previous appointment at all. The && operator means "overlaps".

 

Arrays

Ever had several items that you wanted to store together, but had to create a column for each one? In PostgreSQL any type (even user-created ones) can be specified as an array type by adding "[]" to the end of the type name. (note: the ISBN13 type shown below is part of the core extension "lsn")

CREATE TABLE books (isbn ISBN13, title TEXT, author text, tags TEXT[]);INSERT INTO books (isbn, title, author, tags)
VALUES
('978-0575081406','The Name of the Wind','Patrick Rothfuss', ARRAY['fantasy','fiction','epic']),
('978-0753827666','Gone Girl','Gillian Flynn',ARRAY['mystery','fiction']),
('978-0575079755','The Lies of Locke Lamora','Scott Lynch', ARRAY['fantasy','epic']);

SELECT *
FROM books
WHERE tags @> '{fantasy}';

       isbn        |          title           |      author      |          tags        
-------------------+--------------------------+------------------+------------------------
978-0-575-08140-6 | The Name of the Wind | Patrick Rothfuss | {fantasy,fiction,epic}
978-0-575-07975-5 | The Lies of Locke Lamora | Scott Lynch | {fantasy,epic}
(2 rows)


Function Languages

PostgreSQL supports not just SQL and plpgsql as function languages, but many others including Perl, Python, Bash, TCL, Sh, R, Java, Javascript, Javascript V8, LOLcode, Scheme, PHP, Ruby, Lua, or any other language you wish to add:

CREATE OR REPLACE FUNCTION divide_python(a numeric, b numeric) RETURNS numeric AS $$
if b > 0:
return a / b
$$ LANGUAGE plpython3u;

CREATE OR REPLACE FUNCTION divide_perl(numeric, numeric) RETURNS numeric AS $$
if ($_[1] > 0) {
return $_[0] / $_[1];
}
$$ LANGUAGE plperl;

 

Foreign Data Wrappers

PostgreSQL can connect to pretty much any external data source:

-- Create the file_fdw extension so we can read in files from disk.
CREATE EXTENSION file_fdw;
-- Create the server definition which is straight-forward for files
CREATE SERVER file FOREIGN DATA WRAPPER file_fdw;
-- Now create the definition of the foreign table that will read in the file when queried.
CREATE FOREIGN TABLE report_file (report_date date, item text, count int) SERVER file
OPTIONS (FILENAME '/tmp/report.csv', HEADER 'true', FORMAT 'csv');
-- Let's query it as if it were just a regular table
SELECT * FROM report_file ORDER BY count desc;
 report_date | item | count
-------------+---------+-------
 2014-10-15 | Books | 15
 2014-10-15 | Glasses | 5
 2014-10-17 | Laptops | 3
(3 rows)

 

 

 

Try the New Makulu Cinnamon Debian Edition: Gaming-Ready, Cinnamon at Its Peak

In the past I have reviewed MakuLinux MATE Edition, which came with a very polished and beautiful interface, but also bundled in the ISO a big number of applications to be installed. At the time the MATE edition made a very good impression on me, so I kept a close eye on the development of Makulu.

 

So now it’s time to look at the brand new MCDE – MakuluLinux Cinnamon Debian Edition – which features Cinnamon 2.2, is based on Debian Testing and comes ships with components to make it a great choice for gamers, beautiful appearance customization themes and wallpapers, a custom control center and many more features.

 

Read more

 

Emacs 24.4 Ships with Integrated Web Browser [Ubuntu Installation]

Emacs 24.4 has been released earlier today, and it ships with several new features and improved functionality, on the most notable being the presence of an integrated web browser.

Emacs is the powerful integrated development environment developed by the GNU project, with support for countless features and tools. You can program with it, read mail, browse files, and even play the built-in games, and version 24.4 extends its functionality with a web browser as well.

The list of changes that went into Emacs 24.4 is rather large, so here are the main new improvements.

Full article

 

Ubuntu 15.04 to Be Codenamed Vivid Vervet, Ubuntu Celebrates 10 Years Birthday

With only a few days before Ubuntu 14.10 will officially see the light of day, Mark Shuttleworth posted a blog entry filled with a richness of Vibrant words in which he announced the codename for the next version of Ubuntu, which will follow Utopic.

 

This announcement also comes as to celebrate the 10th anniversary since Warty Warthog, the first Ubuntu version, was released.

 

Full article

 

Marble Atlas Review - Alternative to Google Earth

Marble is a 3D virtual globe application which features various map views, Internet services integration for geographical and meteorological data, satellite views, routes suggestions, plugins.

Marble comes included by default in the KDE environment, in the KDE Education package.


By default, there are 10 different map view modes in Marble, each showing specific information, however, tens more can be downloaded and installed.

 

Full article

 

DigiKam 4.4.0 Review & Ubuntu Installation

It’s been a while since I had a look at DigiKam, and even though I’m not much into using a specialized application for organizing and keeping track of photos, I decided to have a look at the state of this popular and feature-complete photo manager for KDE.

 

Full article

 

For beginners - 3D assisted drawing

Have just tested a simple idea to make drawing easier. Basically I used the 3D software Blender to make a simple model of what I was going to draw. The model as in the screenshot below consists only of primitives and is very crude. First I thought of using an armature in the software but this was unnecessary. Just move and rotate the various body parts. Since I’m not trained at all in drawing I just put a piece of paper over screen and begin following contours. Then it was easy just to correct the drawing.

 

sBlenderDino

 

Blender 3D assisted sketch of the dino.

sDino

s

 

 
Page 4 of 137

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    05 Jan » 09 Jan - Virtual
    Details
  2. LFS220 Linux System Administration
    05 Jan » 08 Jan - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    12 Jan » 16 Jan - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board