Hypervisor and their virtual disk formats

HYPERVISOR FORMAT
VirtualBox VMDK Stream Optimized
VirtualBox RAW
VirtualBox VMDK Flat
VirtualBox VMDK Sparse
VirtualBox VHD Flat Disk
VirtualBox VDI Fixed Disk
VirtualBox VDI Sparse Disk
KVM RAW
KVM VMDK Flat
KVM VMDK Sparse
KVM VHD Flat
KVM VHD Sparse
KVM QCOW2 Flat
KVM QCOW2 Sparse
XEN RAW
XEN VMDK Flat
XEN VMDK Sparse
XEN VHD Flat
XEN VHD Sparse
VMWARE RAW
VMWARE VMDK Flat
VMWARE VMDK Sparse
Hyper-V VHD Flat
Hyper-V VHD Sparse

Merging of VMDK files to Single VMDK ( .VMDK, S001.VMDK, S002.VMDK .. S00N.VMDK to single VMDK file

vmware-vdiskmanager –r thefirstfile.vmdk –t 0 singlefile.vmdk


vmware-vdiskmanager is available if you install vmware workstation its in direcotry

programme files \ vmware \ vmware workstation \

Solution : Vmware VM import Failed to open disk scsi0:0: Unsupported and/or invalid disk type 7. Did you forget to import the disk first?Unable to create virtual SCSI device for scsi0:0, Module DevicePowerOn power on failed.

This error comes when thin provisioned VMDK file is imported as new vm from backup, or clone VM.

error : "Failed to open disk scsi0:0: Unsupported and/or invalid disk type 7. Did you forget to import the disk first?Unable to create virtual SCSI device for scsi0:0,  Module DevicePowerOn power on failed."

solution : reimport the VM using the "zeroedthick"
for doing this.....

Go to /vmfs/volumes/yourdatastore/

and then give the following command

vmkfstools -i Ubuntu-server.vmdk -d zeroedthick Ubuntu-server1.vmdk


after that remove Ubuntu-server.vmdk and rename Ubuntu-Server1.vmdk to Ubuntu-Server.vmdk and continue the process of import it will work.




"zeroedthink" a flat file of full size is created. ( not thin provisioned)


for more information ClickHere


 

How to share files between Vmware workstation Guest operating system and Host

  • Both systems run Windows operating systems, using Windows file sharing
  • You are connecting from a Linux system to a Windows system, using smbmount
  • You are connecting from a Windows system to a Linux system, using Samba
  • Both systems run Linux operating systems, using NFS, FTP and Telnet 
For this to work set up your virtual machine using NAT networking.Besides giving the virtual machine a direct connection to the host computer's network, NAT networking sets up a virtual network adapter on the host computer. You can use this adapter, which connects to a virtual switch identified as vmnet8, to communicate between host and virtual machine. You can also connect two or more virtual machines using vmnet8. For details on NAT networking, see Network Address Translation (NAT)


For more information click here 

Top VMware Virtulization blogs

Are you looking for these

How to start learning vmware
free Vsphere training
troubleshooting vmware

Here is the list of top Virtulization blogs related to vmware
if you want to become vmware master follow these blogs.. I strongly recommend

    * Yellow Bricks (Duncan Epping)
    * Scott Lowe
    * Virtual Geek (Chad Sakac)
    * NTPro.nl (Eric Sloof)
    * RTFM Education (Mike Laverick)
    * Virtualization Evangelist (Jason Boche)
    * VM/ETC (Rich Brambley)
    * Gabe's Virtual World (Gabriel Van Zanten)
    * Virtual Storage Guy (Vaughn Stewart)
    * Virtu-al (Alan Renouf)
    * vSphere-land (Eric Siebert)
    * vCritical (Eric Gray)
    * VMware Tips (Rick Scherer)
    * Frank Denneman
    * The VM Guy (Dave Lawrence)
    * Planet VM (Tom Howarth)
    * The SLOG (Simon Long)
    * VMGuru.nl (Various)
    * Mike D's Blog (Mike DiPetrillo)
    * Hypervizor (Hany Michael)
    * TechHead (Simon Seagrave)
    * vReference (Forbes Guthrie)
    * Pivot Point (Scott Drummonds)
    * Technodrone (Maish Saidel-Keesing)
    * Chris Wolf's blog
    * 2 VCP's (Jon Owings)
    * A Crazy Penguin (Andy Wood)
    * A Day In The Life (Adam Baum)
    * Aaron Delp Blog
    * Andi Mann – Ubergeek
    * Arnim van Lieshout
    * Beaver's Virtual Dam (Steve Beaver)
    * Blue Gears (Edward Haletky)
    * Blue Shift Blog (Kevin Kelling)
    * By The Bell (Steve Kaplan)
    * Cretec's Virtual Blog (Clint Eschberger)
    * Daily Hypervisor (S. Smith & D. Convery)
    * DeinosCloud (Didier Pironet)

    * Double Cloud (Steve Jin)
    * Elastic Vapor (Reuven Cohen)
    * ESX Virtualization (Vladan Seget)
    * Everyday Virtualization (Rick Vanover)
    * Gerbens Blog (G. Kloosterman)
    * GestaltIT (Various)
    * Going Virtual (Brian Norris)
    * Hypervisor.fr
    * Information Week Blog (Various)
    * Infoworld Virtualization Report (D. Marshall)
    * IT 2.0 (Massimo Re Ferre)
    * It's Just Another Layer (Ian K.)
    * J.F.V.I. (Chris Dearden)
    * Jase's Place (Jase McCarty)
    * Jume (Bouke Groenescheij)
    * Ken's Virtual Reality (Ken Cline)
    * Kendrick Coleman (Kendrick Coleman)
    * Knudt Blog (Brian Knudtson)
    * Lori MacVittie (Lori MacVittie)
    * LucD (Luc Dekens)
    * Malaysia VM (Various)
    * My Virtual Cloud (Andre Leibovici)
    * Musings of Rodos (Rodney Haywood)
    * Nickapedia (N. Weaver/T. Nicholas)
    * Peeters Online (Hugo Peeters)
    * Professional VMware (Cody Bunch)
    * Rational Survivability (Christofer Hoff)
    * Rickatron Blog (Rick Vanover)
    * Roger Lund IT/VMware Blog (Roger Lund)
    * Run-virtual (Richard Garsthagen)
    * SearchServerVirtualization Blog (Various)
    * TechProsaic (Hal Rottenberg)
    * The HyperAdvisor (Antone Heyward)
    * The Lone Sysadmin (Bob Plankers)
    * The Lower Case W (Matt Liebowitz)
    * The Virtualization Practice (Various)
    * vDestination (Greg Stuart)
    * vFrank (Frank Brix Pedersen)
    * View Yonder (Steve Chambers)

    * Vinf.net (Simon Gallagher)
    * Vinternals (Stuart Radnidge)
    * Virtual Admin Notes (Anton Zhbankov)
    * Virtual Future (Sven Huisman)
    * Virtual Hints (Matt Lorimer)
    * Virtual Insanity (S. Sauer/A. Sweemer)
    * Virtual Jay (Jay Rogers)
    * Virtual Kenneth's Blog (K. van Ditmarsch)
    * Virtual Lef (Ivo Beerens)
    * Virtual Lifestyle (Joep Piscaer)
    * Virtual Planet (Ricky El-Qasem)
    * Virtual Troll (Heino Skov)
    * Virtual VCP (Rynardt Spies)
    * Virtually Speaking (Dan Kusnetzky)
    * Virtualised Reality (Barry Coombs)
    * Virtualization Buster (Jonathan Franconi)
    * Virtualization Information (S. Snowden)
    * Virtualization Security (Tripwire)
    * Virtualization Stuff (Mark Mac Auley)
    * Virtualization Team (Various)
    * Virtualize Tips (Brian Suhr)
    * Virtualizing the D.C. (Tony Wilburn)
    * Virtually Ghetto (William Lam)
    * VirtualPro (Craig Stewart)
    * vKnowledge.nl (Martijn Baecke)
    * VM Admin (Andy Barnes)
    * VM Bulletin (Rick Schlander)
    * VM Hero (Ryan Marimon)
    * VM Today (Joshua Townsend)
    * VM-Aware (Paul Shannon)
    * VMpros.nl (Sander Daems)
    * VMware Info (Carlo Costanzo)
    * VMware Training and Certification (Scott Vessey)
    * VMwarewolf (Richard Blythe)
    * VMwise (Kanuj Behl)
    * VMworldz (Scott March)
    * vNotion (Anton Gostev)
    * Wikibon Blog (S. Miniman/D. Vellante)








please post the other blogs in comments which you find intresting

Hyderabad Cloud Computing Group

Are you interested in Cloud Computing ?? Are you from Hyderabad ??

Then this the Spot for you to Share your knowledge and get some.........

Join:

http://www.meetup.com/The-Hyderabad-Cloud-Computing-Group/

IAAS, PAAS, SAAS - A to Z of Cloud Computing and Virtualization.
KVM Qemu XEN Virtio Opennebula.. you name it.. we cover it.
Discuss and share ideas about Cloud Implementation, Deployment and applications.
Cloud at Datacenters, Cloud in Enterprise, Cloud for HPC, Cloud for Genomic computation.
Cloud & Multitenancy, Service Models.. Cloud Eco-system .. and more.

I have attended the meet up... It  was amazing knowledge sharing session.. I'm Waiting for more.........


Here are few snaps





I strongly recommend you to join this group ................

TCP/IP user commands that may be used to display various network-related information

hostname
Display the name of the local system

ifconfig
Display information about network interfaces (also configure them)

ping
Perform a simple network connectivity test

arp
Display or modify the IP-to-MAC address-translation tables

netstat
Display various network usage statistics

route
Display or modify the static routing tables

traceroute
Determine the route to a specified target host

nslookup
Determine IP address-to-hostname and other translations produced by the Domain Name Service

Intel turbo boost demo

http://www.intel.com/technology/product/demos/turboboost/demo.htm?iid=tech_tb+demo

various virtualization file extentions

vmware virtual machine (.vmx)
Microsoft virtual pc or vrtual server virtual machines (.vmc)
Syamantec livestate recovery image (.sv2i)
acronis true image backup (.tib)
storageCraft shadowStor (.spf)
parallels virtualization products (.pvs)


Vmware guided Consolidation Step by Step

General scenario where guided consolidation is useful.

if you have some number 10 to 20 physical servers in a

data-center and you want to consolidate them

( Consolidate means turning physical servers to virtual )

Then Vmware guided consolidation is useful.



For guided consolidation of data-center 3 steps are involved

FIND , ANALYZE and then CONSOLIDATE.

first the find process involves finding of all physical servers

that needs consolidation.

Then GC ( guided consolidation ) will analyze performance data on

those physical machines for period of time .

Then physical resources are compared to Virtual resources weather t

the required resources are available.

This Guided Consolidation is Free but available only for Vsphere.

vCenter Guided Consolidation is a plug-in to Vsphere

make sure this plug-in is installed.

Then

Collector Service,
Converter Service, and
vCenter Server

Should be running ( check this in Vcenter configuration )


From there in Vcenter got to

Home > Solutions and Applications > Guided Consolidation

from there it is pretty self explanatory we can follow

the step by step procedure as we do for installation.

How to Use a USB device with ESX step by step

 For a specific VM

a) go to add hardware
b) in Device type select USB controller
c) Then associate any installed USB to the VM as required.


I am answering the doubts you get below :) .

No need to shutdown VM to add USB device.
virtual hardware version 7 is required.
USB device can be associated with only one virtual machine at any time
if hot add feature is enabled for that VM
that is,  if hot add of Processor or Memory is enabled for that VM , the USB device must be removed before using hot add functionality.
(If not you may receive serious data loss so be careful )

We can use USB device for DRS but its not recommended.
( for using this we should turn off  DPM ( distributed power management )
as USB device doesn't work in power saving mode ... :)


For currently supported USB devices click here

Hardware Prices in india as of August 2010

PROCESSORS:

INTEL
Core i7 980X 3.33GHz @ 50k
Core i7 930 2.8GHz @ 13.8k

Core i7 870k 2.8GHz @ 17.7k
Core i7 870 2.8GHz @ Rs. 13.8K
Core i5 750 2.66GHz @ 9.5k

Core i3 530 2.93GHz @ 5.2K

Core 2 Quad Q8300 2.5GHz @ 6.5k
Core 2 Duo E7500 2.93GHz @ 4.6k
Pentium Dual Core E5400 2.7GHz @ 2.55k
Pentium Dual Core E5300 2.6GHz @ 2.45k


AMD
Phenom II X6 1090T 3.2GHz B.E. @ 13.9k
Phenom II X6 1055T 2.8GHz @ 9.6k

Phenom II X4 965 3.4GHz B.E. C3 @ 8.9k

Phenom II X4 955 3.2GHz B.E. @ 7.8k
Phenom II X4 945 3GHz @ 7.2k
Phenom II X4 925 2.8GHz @ 6.9k

Phenom II X2 555 3.2GHz B.E. @ 5.1k
Phenom II X2 550 3.1GHz B.E. @ 4.4k

Athlon II X4 635 2.9GHz @ 4.8k --> The _MOST_ VFM CPU ever

Athlon II X3 440 3GHz @ 4.6k
Athlon II X3 435 2.9GHz @ 3.5k

Athlon II X2 255 3.1GHz @ 4k
Athlon II X2 250 3GHz @ 3K -->BEST VFM
Athlon II X2 240 2.8GHz @ 2.8k

Sempron 140 2.7GHz @ 1.75k --> Can Unlock to an X2

.................................................. .................................................. ..

Graphics Cards:

ATI
Sapphire HD5970 2GB GDDR5 @ 38k
MSI HD5970 2GB GDDR5 @ 36k
VTX3D HD5970 2GB GDDR5 @ 36k

Sapphire HD5870 Eyefinity 6 2GB GDDR5 @ 29k
Sapphire HD5870 1GB GDDR5 VAPOR-X @ 25.9k
PowerColour HD5870 1GB GDDR5 @ 24k
MSI HD5870 1GB GDDR5 LIGHTNING @ 23.5k
VTX3D HD5870 1GB GDDR5 @ 23.1k
Sapphire HD5870 1GB GDDR5 @ 23k
MSI HD5870 1GB GDDR5 @ 22.3k

Sapphire HD5850 1GB GDDR5 VAPOR-X @ 17.2k
MSI HD5850 Twin Frozr II 1GB GDDR5 @ 16.8k
PowerColour HD5850 1GB GDDR5 @ 16.4k
XFX HD5850 1GB GDDR5 @ 16.1k
MSI HD5850 1GB GDDR5 @ 15.9k
Sapphire HD5850 1GB GDDR5 @ 15.8k
VTX3D HD5850 1GB GDDR5 @ 15.2k


Sapphire HD5830 1GB GDDR5 @ 14.5k
MSI HD5830 Twin Frozr II 1GB @ 13.8k

MSI HD5770 HAWX 1GB GDDR5 @ 9.6k

Sapphire HD5770 1GB GDDR5 @ 9.6k
PowerColour HD5770 1GB GDDR5 V2 @ 9.6k
MSI 5770 PMD 1GB GDDR5 @ 8.9K
Biostar HD5770 1GB GDDR5 @ 8.7k


PowerColour PCS HD5750 1GB GDDR5 @ 8.4k
MSI HD5750 1GB GDDR5 @ 8.2K
Sapphire HD5750 1GB GDDR5 @ 8k

Biostar HD5670 1GB GDDR5 @ 6.5k
Sapphire HD5670 1GB GDDR5 @ 6.5k
MSI HD5670 1GB GDDR5 @ 6.3k
Sapphire HD5670 512MB GDDR5 Artic Cooling @ 5.5k
Sapphire HD5670 512MB GDDR5 @ 5.2k

Sapphire HD5570 1GB GDDR3 @ 5k
MSI HD5570 1GB DDR3 @ 4.8k
Sapphire HD5550 1GB GDDR3 @ 4.9k
Sapphire HD5550 1GB DDR2 @ 4.4k

Sapphire HD5450 1GB DDR3 @ 3.9k
Sapphire HD5450 1GB DDR2 @ 3.5k
MSI HD5450 1GB DDR2 @ 3.7k

Sapphire HD4670 512MB GDDR3 Artic Accelero @ 3.9k


AGP Graphics Cards
Sapphire HD3850 512MB GDDR3 @ 7.3k
Sapphire HD3850 512MB DDR2 @ 6.3k
Sapphire HD4670 1GB DDR2 @ 5.1k



NVIDIA
MSI GTX 480 1536MB GDDR5 @ 29k
Zotac GTX480 1536MB GDDR5 @ 29k

Zotac GTX470 1280MB GDDR5 @ 22k
MSI GTX 470 1280MB GDDR5 @ 21k

MSI GTX 465 1GB GDDR5 @ 16.5k

Palit GTX 460 1GB GDDR5 SONIC PLATINUM @ 15.2k
Zotac GTX460 1GB GDDR5 @ 14.5k
Palit GTX 460 1GB GDDR5 SONIC @ 14.4k
POV GTX460 768MB GDDR5 @ 11.1k
Palit GTX460 768MB GDDR5 @ 10.9k

MSI GTS250 512MB GDDR3 @ 6.5k
Zotac GTS250 512MB GDDR5 @ 6.6k

Zotac GT240 512MB GDDR5 @ 5.3k
MSI GT240 1GB GDDR3 @ 5k

.................................................. .................................................. ...

RAM:

Kingston 1GB DDR2 800MHz @ 1.2k
Kingston 2GB DDR2 800MHz @ 2.1k
A-data 1GB DDR2 800MHz @ 1.1k
A-data 2GB DDR2 800MHz @ 1.8k

Transcend 2GB DDR3 1333MHz C9 @ 2.3k

G.Skill F3-10600 1333MHz CL9 2GB @ 2.9K

Corsair 4GB DDR3 1333MHz C9 @ 5.6k
Corsair TW3X4G-1600C9DHX 4GB Kit @ 6.6k
Corsair 4GB DDR3 1600MHz C9 Titanium @ 6.8k

Corsair TR3X1G-1333 XMS3 C9 3GB Kit @ 4.5k
OCZ Core i7 Edition 3x1GB DDR3 1333MHz CL7 @ 5k
G.SKill F3-10666 1333MHz CL9 3GB @ 6.3K

Corsair TR3X2G-1333 XMS3 C9 6GB Kit @ 7k
Corsair TR3X2G-1600 XMS3 C9 6GB Kit @ 8.6k
G.SKill F3-10666 1333MHz CL9 6GB @ 9.2K
G.Skill F3-12800 1600MHz CL9 6GB @10.2K
G.Skill F3-16000 1866MHz CL9 6GB @ 10.8K
G.Skill F3-12800 1600MHz CL6 6GB @ 13K

.................................................. .................................................. ...

UPS:

INTEX 600va @ 1.3k
Microtek 600va @ 1.6k
APC 550va @ 1.8k

.................................................. .................................................. ...

COOLING PRODUCTS:

OCZ XTC Ram Cooler Rev2 @ 1.1K

OCZ Vanquisher @ 1.2K
Cooler Master Hyper TX3 @ 1.3k
Gelid Silent Spirit Quadheatpipe @ 1.8k
Core-Contact Freezer 92mm CPU Cooler @ 1.9k

Cooler Master Hyper 212 @ 2.2K
Asus Triton 77 @ 2.3k
Coolermaster Hyper N520 @ 2.4K
Core-Contact Freezer 120mm CPU Cooler @ 2.5k
Tuniq Propeller 120 @ 2.5k
OCZ Vendetta 2 @ 2.5K
Thermalright Ultima-90 @ 2.5k
Scythe MUGEN-2 CPU Cooler 2.5K

Scythe NINJA 2 CPU Cooler 2.7K
Thermalright Ultra-120 eXtreme 2.7K
Coolermaster Hyper N620 @ 2.9K
Tuniq Tower 120 Extreme @ 2.9k

Thermalright TRUE Black Ultra-120 eXtreme 3.5K
Prolimatech Meghalem @ 4k
Coolermaster V8 @ 4.9k


WATER

Corsair Hydro Series H50 @ 4.4k
Cooler Master Aquagate Max @ 13.4k
Swiftech H20-220 Apex Ultimate @ 16.8k


NOTEBOOK/LAPTOP COOLING PADS
Cooler Master X-Lite @ 0.9K
CM Notepal X1 @ 1.2K
CM Notepal Infinite @ 1.7K
CM Notepal Infinite (Blue/White/Pink/Gold) @ 1.8K
CM Notepal Infinite (Silver) @ 1.9K

.................................................. .................................................. ...

TV Tuner CARDS:

External
Gadmei TV 3488E @ Rs. 950
Gadmei TV 3820E @ Rs. 975
Umax Tvision LCD TV Tuner card @ 1.8k

Internal
PixelView Play TV Pro 3 @ 1.2k
Pixel View PV-M54500 @ 1.4k
Avermedia Super 007 @ 1.6k


.................................................. .................................................. ...

Network Peripherals:

Linksys Wireless router WRT54G @ 2k
D link Wireless router @ 1.9k
Netgear Wireless router @ 1.9k

T-Link 8 port switch @ 0.7k

.................................................. .................................................. ...

External HDDs

Iomega 320GB 2.5" @ 3.4K

Transcend USB Storejet 320GB @ 3.2K
Transcend USB Storejet 500GB @ 4.3K

Seagate Free Agent Go 320GB @ 3.5K
Seagate Free Agent Go 500GB @ 4.5K

Western Digital My Passport Essential 320GB @ 3.3K
Western Digital Passport Essential 500GB @ 4.5K

.................................................. .................................................. ...

KEYBOARDS and MICE:

KEYBOARDS:
Logitech G15 @ 4k

Microsoft Comfort Curve 2000 @ 1.1k
Microsoft Sidewinder X6 @ 4.2k

Razer Arctosa @ 2.4k
Razer Lycosa @ 3.9k
Razer Lycosa Mirror (Special Edition) @ 4.2k
Razer Tarantula @ 5.5K

Gigabyte GKM5000 @ 0.6k
Gigabyte GKM6150 @ 0.7k
Gigabyte GKM-WM01C @ 1.3k
Gigabyte GKM7500 @ 1.9k


MOUSE
Gigabyte GM6800 @ 0.8k
Gigabyte GM6880 @ 1.3k

Microsoft Sidewinder X3 @ 1.8k
Microsoft Sidewinder X5 @ 2.6k

Logitech MX518 Laser @ 1.5k
Logitech G9 Laser @ 5k

Razer Abyssus Black @ 1.5k
Razer DeathAdder @ 2.3k

.................................................. .................................................. ...

MOTHERBOARDS:

INTEL
>

H55
Biostar TH55B HD @ 4.9k
Biostar TH55 HD @ 5.3k

MSI H55M-E33 @ 5.5k

Intel DH55TC @ 4.8k
Intel DP55WB @ 5.5k

Gigabyte GA-H55M-S2H @ 6.7k
Gigabyte GA-H55M-UD2H @ 7.2k
Gigabyte GA-H55M-USB3 @ 7.4K


P55
Intel DP55WB @ 6.1k

ECS P55H-CM @ 5.5k
ECS P55H-A @ 6.8k
ECS P55H-A BLACK @ 9.9k

Biostar TP55 @ 6.6k
Biostar T5 X3 @ 7.6k
Biostar TPower I 55 @ 11.1k

Gigabyte GA-P55M-UD2 @ 7k
Gigabyte GA-P55-US3L @ 7.4k
Gigabyte GA-P55-USB3 @ 8.4k
Gigabyte GA-P55A-UD3R @ 11.5k
Gigabyte GA-P55A-UD6 @ 15.8k

MSI P55-GD45 @ 7k
MSI P55-CD53 @ 6.7k
MSI P55-GD65 @ 8.2k
MSI P55-GD80 @ 11k
MSI Big Bang-Trinergy @ 20.2k
MSI Big Bang-Fuzion @ 21.8k

DFI LANPARTY DK P55-T3eH9 @ 13.6k

Asus P7H55 @ 5.5k
Asus P7H55D-M-PRO @ 6.3k
Asus P7H55D-M-EVO @ 8k
Asus P7P55-D @ 10.1k
Asus P7P55-PRO @ 11.5k



MSI X58M @ 10.3k
MSI X58 Pro @ 10.8k << BEST BUY X58 BOARD

Gigabyte GA-EX58UD3R @ 14K
Gigabyte EX58-UD5 @ 16.1k

BIOSTAR TPower X58 @ 14.5k

ASUS Rampage II Gene @ 17.4k
ASUS P6T-WS PROFESSIONAL @ 22k



MSI P43NEO-F @ 4.6k
BIOSTAR TP43E Combo @ 4.2k

Gigabyte GA-G41M-ES2L @ 3k



AMD

MSI 890FXA-GD70 @10.8k

Asus M4A89GTD-Pro/USB-3 @12k
Asus M4A89GTD-Pro @10.2k
Gigabyte GA-890GPA-UD3H @ .5k
ECS 890GXM-A @ 7.5k
MSI 890GXM-G65 @7.2k
Biostar TA890GXE @ 6.6k

Asus M4A88TD-V-EVO/USB-3 @ 7.2k
Asus M4A88TD-M-EVO/USB-3 @ 6.2k
MSI 880GMA-E45 @ 6k

Asus M4A87TD-EVO @ 6k
Asus M4A87TD-USB-3 @ 5.6k

ECS A885GM-A2 @ 4.9k
ECS A885GM-M2 @ 4.9k

Biostar TA785G3 HD @ 4.3k
Biostar TA785G A3 @ 3.7k

.................................................. .................................................. ...

SPEAKERS:

2.1
F&D A310 @ 3k
F&D A520 @ 4k

Zebronics ZEB-SW2600W @ 1.1k

GBL Creature III @ 6.5k

Artis S222 @ 2.1k

Creative SBS A100 @ 1.2k
Creative SBS A200 @ 1.3k
Creative SBS A500 @ 2.8k
Creative Inspire M2600 @ 1.9k
Creative Inspire T3100 @ 2.2k
Creative Inspire T3130 @ 2.3k
Creative Inspire T3200 @ 3.3k
Creative Inspire T10 @ 3.3k
Creative Gigaworks T20 II @ 6k
Creative Gigaworks T20 @ 6.3k
Creative Gigaworks T40 @ 10.5k
Creative Gigaworks T3 @ 14.1k

Altec Lansing BXR1121 @ 1.2k
Altec Lansing VS-2321 2.1k
Altec Lansing VS-2421 @ 2.5k
Altec Lansing VS-2621 @ 2k
Altec Lansing VS-2521E @ 2.9k
Altec Lansing FX3021AA @ 4k
Altec Lansing MX6021E @ 7.8k

Logitech X240 @ 2.4k

Umax Powerbeats UPB 3200 2.1 @ 1.3k


5.1
F&D F6000 @ 9.9k

Artis X-15 @ 13.5k
Artis S5555-USB @ 5.5k

Zebronics ZEB-SW700R @ 2.8k

Creative Inspire M4500 @ 2.4k
Creative Inspire M5300 @ 3.3k
Creative Inspire T6160 @ 3.7k
Creative Inspire T6200 @ 5.5k

Altec Lansing FX5051 @ 8.6k

Logitech X540 5.1 @ 5.2k
Logitech Z5500 Digital 5.1 @ 17.5k


7.1
Creative Inspire T7900 @ 7.8k
Creative Gigaworks 750 @ 31k

.................................................. .................................................. ...

HardDisk Drives:
Seagate Barracuda 7200.12 320GB @ 1.7k
Seagate Barracuda 7200.12 500GB @ 2k
Seagate Barracuda 7200.12 1TB @ 3.4k

Seagate Barracuda 7200.12 1.5TB @ 5.1k

Western Digital Caviar Blue 320GB @ 1.75k
Western Digital Caviar Blue 500GB @ 2.1k
Western Digital Caviar Black 500GB @ 2.7k
Western Digital Caviar Green 1TB @ 3.6k
Western Digital Caviar Black 1TB @ 4.5k
Western Digital Caviar Blue 1.5TB @ 4.9k
Western Digital Caviar Blue 2TB @ 7.1k

Samsung 320GB @ 1.7k
Samsung 500GB @ 2k
Samsung 1TB @ 3.2k
Samsung SpinPoint F2 EcoGreen 500GB @ 2.7k
Samsung SpinPoint F1 1TB @ 4.7k

Hitachi Deskstar 7K1000.B 500GB @ 3k
Hitachi Deskstar 7K1000.B 1TB @ 4.6k


.................................................. .................................................. ...

PEN DRIVES:

Kingston 4GB @ Rs. 480
Kingston 8GB @ Rs. 820
Kingston 16GB @ 1.7k
Kingston 32GB @ 3.5k
Kingston 64GB @ 7k

Corsair Voyager 4GB @ Rs. 550
Corsair Voyager 8GB @ Rs. 900

.................................................. .................................................. ...

SOUND CARDS:

Creative
Creative Sound Blaster USB Plug&Play @ 1.5k
Creative Sound Blaster X-Fi USB Plug&Play @ 3.3k

Creative Sound Blaster X-Fi Surround 5.1 @ 3.8k
Creative X-Fi Titanium @ 12k

ASUS Xonar DX @ 4.5k

.................................................. .................................................. ...

Power Supply Units:

FSP Saga II 350 Watts @ 1.7k
FSP Saga II 400 Watts @ 2.3k
FSP Saga II 500 Watts @ 2.9k
FSP Blue Storm Pro 350W @ 2.4k
FSP Blue Storm Pro 400W @ 3.3k
FSP Blue Strom Pro 500W @ 3.7k
FSP Epsilon 80 PLUS 450W @ 4.1k
FSP Epsilon 80 PLUS 500W @ 4.6k
FSP Epsilon 80 PLUS 600W @ 5.1k
FSP Epsilon 80 PLUS 700W @ 6k
FSP Everest 80 Plus 400W @ 4.3k
FSP Everest 80 Plus 500W @ 4.8k
FSP Everest 80 Plus 600W @ 5.4k
FSP Everest 80 Plus 700W @ 6.2k
FSP Everest 80 Plus 800W @ 7.3k
FSP Everest 80 Plus 900W @ 7.8k
FSP Everest 80 Plus 1010W @ 8.4k

VIP Gold 400W @ 1.4k
VIP Gold 500W @ 2.2k
VIP Gold 600W @ 2.8k

Gigabyte LC400 80+ 400W @ 1.6k
Gigabyte 80 Plus Active PFC 460W @ 2.2k
Gigabyte 550W @ 3.7k

GlacialPower 650W AA @ 4.6k

Zebronics Pro 350W @ 1.5k
Zebronics 550W Pro @ 2.8k
Zebronics 600W Pro @ 3.7k

Cooler Master GX-550W @ 4.4k
Cooler Master GX-650W @ 5.5k
Cooler Master GX-750W @ 6.7k

Corsair CX400W @ 2.8k
Corsair VX450W @ 3.8k
Corsair VX550W @ 4.7k
Corsair TX750W @ 6.45k
Corsair TX850W @ 7.3k
Corsair HX650W @ 7.3k
Corsair HX750W @ 8.4k
Corsair HX850W @ 9.5k

Seasonic Bronze S12II 380W @ 2.9k
Seasonic Bronze S12II 430W @ 3.25k
Seasonic Bronze S12II 520W @ 4.1k
SeaSonic Bronze S12II 620W @ 5.4k
SeaSonic Bronze S12D 750W @ 6.5k
SeaSonic Bronze S12D 850W @ 7.15k
SeaSonic Bronze M12D 850W @ 9.35k - MODULAR

XFX 650W Modular @ 9k
XFX 750W Modular @ 10.6k

Tagan Stone Rock TG500-U37 500 Watt @ 3.5k
Tagan Stone Rock TG600-U37 600Watts @ 4.6k
Tagan Super Rock TG600-U33 600W @ 6.4k
Tagan BZ500 Modular @ 4.7k
Tagan BZ600 Modular @ 6.1k
Tagan BZ700 Modular @ 7.5k
Tagan BZ800 Modular @ 7.9k
Tagan BZ900 Modular @ 8.3k

.................................................. .................................................. ...

Cabinets:

Zebronics Krish @ 1k
Zebronics Bijli @ 1.5K
Zebronics Antibiotic @ 2.5k

Cooler Master Elite 310 @ 1.5k
Cooler Master Elite 360 @ 2.1k - Mini Tower
Cooler Master Elite 342 @ 2.2k
Cooler Master Elite 430 @ 2.6k
Cooler Master Centurion 690 @ 4.2k
Cooler Master 690 Black Edition @ 5.3k
Cooler Master Mystique 632S, Black @ 5.2k
Cooler Master Scout- Storm @ 6.1k
Cooler Master HAF 922 @ 6.6k
Cooler Master Sniper @ 9k
Cooler Master HAF 932 @ 9.2k

Thermaltake Element T @ 4.5k
Thermaltake V9 @ 5.2k
Thermaltake V9 Black Edition @ 5.7k
Thermaltake Element G @ 7.1k

NZXT Gamma @ 2k
NZXT M59 @ 3.8k
NZXT LEXA S @ 5.1k

.................................................. .................................................. ...

Monitors:

DELL

  • Dell IN1910N 18.5" @ 6k
  • Dell S2009W 20" @ 6.8k
  • Dell S2209W 21.5" FULL HD @ 8.6k
  • Dell ST2210 21.5" FULL HD @ 9k
  • Dell SX2210 21.5" FULL HD @ 12k
  • Dell S2409W 24" FULL HD @ 12.7k
  • Dell ST2410 24" FULL HD @ 13k
  • Dell G2410 24" FULL HD LED @ 15k

BENQ
  • BenQ G2020HD 20" LCD Monitor @ 6.5k
  • BenQ 22" G2220 FULL HD LCD Monitor @ 7.5k
  • BenQ 24" G2420 FULL HD LCD Monitor @ 11.3k

SAMSUNG
  • Samsung 2033SW 20" LCD Monitor @ 7.2k
  • Samsung 2233SW 22" FULL HD LD Monitor @ 9.2k
  • Samsung P2350 23" FULL HD LCD Monitor @ 12k

ACER
  • Acer V233H 23.6" FULL HD LCD Monitor @ 10.6k

AOC
  • AOC 2236Vw 22" FULL HD LCD Monitor @ 8.7k
  • AOC F22 22" FULL HD LCD Monitor @ 8.8k

Bash Script to find CPU type or model

#!/bin/sh

if [ -f /proc/cpuinfo ]; then

    echo -n "MODELNAME=\""
    grep -m 1 "model name" /proc/cpuinfo | cut -d: -f2 | sed -e 's/^ *//' | sed -e 's/$/"/'
   
fi



OUTPUT:
MODELNAME="Intel(R) Core(TM)2 Duo CPU     E8200  @ 2.66GHz"

Bash Script to find system architecture

#!/bin/sh

echo ARCH=`uname -m`



OUTPUT:


ARCH=x86_64

Various Vsphere training modules provided by Vmware




VMware vSphere: Overview [V4]

Module 1: Course Introduction
Module 2: Virtual Infrastructure Overview
Module 3: Creating Virtual Machines
Module 4: Allocating Compute Resources to Business Functions
Module 5: Migrating Virtual Machines
Module 6: Balancing Virtual Machine Workloads
Module 7: Monitoring the Virtual Datacenter
Module 8: High Availability and Fault Tolerance
Module 9: Extending VMware vSphere Capabilities

Vmware vsphere: Whats New 4

Module 1: Introducing vSphere 4
Module 2: Infrastructure Administration
Module 3: Networking
Module 4: Storage
Module 5: Resource Management
Module 6: Business Continuity

VMware vSphere: Install, Configure, Manage [V4]

Module 1: Course Introduction
Module 2: Introduction to VMware Virtualization
Module 3: Configuring ESXi/ESX
Module 4: Installing and Using VMware vCenter Server
Module 5: Networking
Module 6: Storage
Module 7: Virtual Machines
Module 8: Access Control
Module 9: Resource Monitoring
Module 10: Scalability
Module 11: High Availability and Data Protection
Module 12: Configuration Management
Module 13: Installing ES

VMware vSphere: Troubleshooting [V4]

Module 1: Course Introduction
Module 2: ESXi Command-Line Troubleshooting Methods
Module 3: ESX, ESXi, and vCenter Server Log Files
Module 4: Network Troubleshooting
Module 5: Management Troubleshooting
Module 6: Storage Troubleshooting
Module 7: vMotion Troubleshooting
Module 8: VMware Infrastructure Troubleshooting
Module 9: vSphere 4 DRS Cluster Troubleshooting

VMware vSphere: Fast Track [V4]

Module 1: Course Introduction
Module 2: Introduction to VMware Virtualization
Module 3: Configuring VMware ESX/ESXi
Module 4: Installing and Using VMware vCenter Server
Module 5: Networking
Module 6: Storage
Module 7: Virtual Machines
Module 8: Access Control
Module 9: Resource Monitoring
Module 10: Scalability
Module 11: High Availability and Data Protection
Module 12: Configuration Management
Module 13: Installing ESX
* Perform manual (ESX/ESXi) and scripted (ESX) installations


VMware View: Install, Configure, Manage [V4]

Module 1: Course Introduction
Module 2: Introduction to VMware View
Module 3: VMware View Connection Server
Module 4: VMware View Virtual Desktops
Module 5: VMware View Client Options
Module 6: VMware View Administrator
Module 7: Configuring and Managing Linked Clones
Module 8: Unified Access
Module 9: Virtual Printing
Module 10: Managing View Security
Module 11: View Manager Performance and Scalability
Module 12: VMware ThinApp


Using VMware vCenter Lab Manager [V4]


Module 1: Course Introduction
Module 2: Introduction to VMware Virtualization
Module 3: VMware vCenter Lab Manager Overview
Module 4: VMware vCenter Lab Manager Concepts
Module 5: Working with Lab Manager as a User

VMware vSphere: Manage Availability [V4]

Module 1: Course Introduction
Module 2: Business Continuity
Module 3: Virtual Machine Clustering
Module 4: VMware High Availability Clusters
Module 5: VMware Fault Tolerance
Module 6: VMware vCenter Server Heartbeat

VMware vSphere: Manage Scalability [V4]

Module 1: Course Introduction
Module 2: Thin Provisioning
Module 3: Host Profiles
Module 4: VMware Distributed Resource Scheduler Clusters
Module 5: VMware vCenter Linked Mode
Module 6: VMware ESX Scripted Installation

How to do LAN Crimping

WO-O-WG-B-WB-G-WBr-Br -- that's regular

WG-G-WO-B-WB-O-WBr-Br on one side and...
WO-O-WG-B-WB-G-WBr-Br on the other for crossover.

Restore data from amanda backup server

Go to install and configure Amanda backup Server

Continution to my post install and configure amanda backup server i am posting step by step process of
recovering data from the backup server.

Our Current Scenario is :

1. My daily backup profile is DailySet1

2. The data backup is in /data/amanda/vtape/DailySet1 on amanda server.

3. We will recover data on client system to /tmp/amanda  directory

-----------------------------------------------------------------------------------------------
Do this on Amanda Client System
-----------------------------------------------------------------------------------------------

Switch user to root

# sudo su
 Then as a root user do amrecover

# amrecover DailySet1

 then use  listdisk command to see the list of  backups

# listdisk

  it shows the client names and the directories we are taking backup on that client
Then use setdisk command to set the directory which we want to recover data from


# setdisk /data/backup


then add the files you want to recover for example if you want to recover file1
use

# add file1


In my case i have give only one file to take backup so i will use '*' to  recover all files in that
direcory.


# add *


Then finally use extract command to recover all files.


The output of all these commands can be seen here :




After giving extract command it will gives the list of data extracting location , tapes needed and the location of backup directory and it will ask for confirmation


Continue [ ?/Y/n/s/d]?


i am showing the rest of the flow in screen shots have a look at them



we can see from the above screenshot that amanda-backup-client debian package has been recovered .


we can see that file below in the temp directory.



Go to install and configure Amanda backup Server


Protected by Zmanda

Install and configure Amanda Backup Server




Amanda is one of the complex installation as it has got many features and one can be easily be confused when
installing it for first time. So i have thought of  sharing minimal installation steps to jump start your backup

First download Server and Client packages of  amanda depending on operating system you use from below
location

http://www.zmanda.com/downloads/community/Amanda/

I have taken 2 ubuntu machines 9.04

Server -- 192.168.155.108  - amanda-backup-server_3.1.0-1Ubuntu904_i386.deb
Client  -- 192.168.155.109 - amanda-backup-client_3.1.0-1Ubuntu904_i386.deb

after installation just update your repository
------------------------------------------------------------------------------------------------
On Server do this 
-----------------------------------------------------------------------------------------------


#apt-get update

then install all build essentials required for a package to install

#apt-get install build-essential

afther that install debian package

#dpkg -i  amanda-backup-server_3.1.0-1Ubuntu904_i386.deb

I've noticed that if I try to install this package it doesn't seem to work because of missing dependent librararies typing


#apt-get -f install

will solve dependency problem

After installation of that package

User amandabackup
group disk
 will be created.

add password for the user amandabackup

# passwd amandabackup

after adding user we need to create directory where our backup has to be stored.

# mkdir -p /data/amanda/vtape/DailySet1
# chown amandabackup:disk /data/amanda/vtape/DailySet1
# chmod -R 750 /data/amanda/vtape/DailySet1



------------------------------------------------------------------------------------------------
On Client do this 
-----------------------------------------------------------------------------------------------
 Install client package same as you installed on server

here also user amandabackup will get created

change password for user amandabackup

#passwd amandabackup

The client configuration file of amanda is

/etc/amanda/amanda-client.conf

Change this line:

tapedev    "tape:/dev/YOUR-TAPE-DEVICE-HERE" # your tape device
to this:

tapedev    "file://data/amanda/vtape/DailySet1" # your tape device

this is the location where we are taking backup.

after configuring  go to server again.

------------------------------------------------------------------------------------------------
On Server do this 
-----------------------------------------------------------------------------------------------

We have created a backup directory and created user amandabackup and set its password on Server
now switch user to amandabackup

# su – amandabackup

then enter this command to configure server configuration file for DailySet1

# amserverconfig DailySet1 --template harddisk --tapedev /data/amanda/vtape/DailySet1 --mailto root@localhost --dumpcycle 1week --runspercycle 5 --tapecycle 12 --runtapes 1

the output will be:



















Now adding Client 192.168.155.109 on server give second command

Explaining:
amserverconfig : command that creates the initial Amanda configuration
daily : the name of this backup set
template disk : this backup is written to disk (or “virtual” tape -vtape-)
tapedev /var/lib/amanda/vtapes/daily : this is the path of the vtapes
mailto me@mydomain.com : Amanda emails the backup report to this address
dumpcycle 5 : This backup cycle has 5 days (lets say ... Mon to Fri)
runspercycle 1 : This backup runs only once per day
tapecycle 20 : 20 vtapes (4 weeks) on the cycle
runtapes 1 : The maximum number of tapes (in this case “vtapes”) used in a single run


# amaddclient --config DailySet1 --client 192.168.155.109 --diskdev /data/backupme --dumptype  comp-user-tar


/data/backupme  is the directory on the client you want to take backup

output will be :

























after adding client now everything is ready we should test its working or not
we can test it using amcheck command

# amcheck DailySet1


the output will be:













Now checking is successful if you see 0 problems found in the output as shown above.
now we are ready to take first backup with the command amdump

# amdump DailySet1

This command will take backup and the status is emailed to root@localhost of server as we have configured above.

the mail will be like this :


From amandabackup@amandaserver  Tue Jul 20 15:19:10 2010
Return-Path:
X-Original-To: root@localhost
Delivered-To: root@localhost
Received: by amandaserver (Postfix, from userid 1001)
    id 98122602ED; Tue, 20 Jul 2010 15:19:10 -0400 (EDT)
To: root@localhost
Subject: DailySet1 AMANDA MAIL REPORT FOR July 20, 2010
Message-Id: <20100720191910.98122602ED@amandaserver>
Date: Tue, 20 Jul 2010 15:19:10 -0400 (EDT)
From: amandabackup@amandaserver (Amanda)

Hostname: amandaserver
Org     : DailySet1
Config  : DailySet1
Date    : July 20, 2010

These dumps were to tape DailySet1-1.
The next tape Amanda expects to use is: 1 new tape.
The next new tape already labelled is: DailySet1-2.


STATISTICS:
                          Total       Full      Incr.
                        --------   --------   --------
Estimate Time (hrs:min)     0:00
Run Time (hrs:min)          0:00
Dump Time (hrs:min)         0:00       0:00       0:00
Output Size (meg)            1.6        1.6        0.0
Original Size (meg)          1.6        1.6        0.0
Avg Compressed Size (%)     98.8       98.8        --
Filesystems Dumped             1          1          0
Avg Dump Rate (k/s)        163.1      163.1        --

Tape Time (hrs:min)         0:00       0:00       0:00
Tape Size (meg)              1.6        1.6        0.0
Tape Used (%)                0.0        0.0        0.0
Filesystems Taped              1          1          0
Parts Taped                    1          1          0
Avg Tp Write Rate (k/s)    160.1      160.1        --

USAGE BY TAPE:
  Label               Time         Size      %    Nb    Nc
  DailySet1-1         0:00           0G    0.0     1     1

NOTES:
  planner: Adding new disk 192.168.155.109:/home/vxadmin.
  taper: tape DailySet1-1 kb 1601 fm 1 [OK]


DUMP SUMMARY:
                                       DUMPER STATS               TAPER STATS
HOSTNAME     DISK        L ORIG-GB  OUT-GB  COMP%  MMM:SS   KB/s MMM:SS   KB/s
-------------------------- ------------------------------------- -------------
192.168.155. -me/vxadmin 0       0       0   98.8    0:10  163.2   0:10  160.1

(brought to you by Amanda version 3.1.0)


So you have succesfully taken backup of your first client

How to Restore data from Amanda Backup Server


Protected by Zmanda

solution for error: glib not found or too old

 sudo apt-get install libgtk1.2-dev

another error we get is


checking for glib-config... no
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***





Solution for that is:

sudo apt-get install libglib2.0-0, libglib2.0-0-dev

or 

sudo apt-get install libglib*




Hard disk cloning in linux

To Replace the hard disk need to be taken the clone of the new hard disk

The procedure is as follows:

Cloning a hard drive is a good way to create an "image," or snapshot of our current operating system as a back-up. It is also useful if we want to transfer the contents of the running mangement node computer exactly as it is, complete with all preferences, from an old drive to a new one.

Instructions:

--Back up all important data, in case anything goes wrong.

--Detach any storage devices--including external drives, memory cards, cameras and memory cards--besides the drive you want to clone and the destination drive where you want to store the image.

--Boot the computer where vx64 is running with Linux live CD.
--Learn the naming scheme for the computer's drives by opening a Linux terminal window and typing the following command:

#sudo fdisk -l
--Take note of (and preferably write down) the information under the "Device" column. It will include a list of one or more items named /dev/sda1, /dev/sda2, /dev/sdb, and so forth. The letters (sda, sdb) indicate separate hard drives. The numbers (sda1, sda2) indicate separate partitions within each drive.

Note: The new hard disk is raw..hence need to format the raw hard disk by typing the command

#mkfs

hence the fdisk will show the new hard disk as dev/sdb as if the old one is dev/sda.

--Using the information you obtained from the previous step(#fdisk -l), determine which is your source drive (/dev/sda) and your destination drive (dev/sdb).

--Some clues include the size of the respective drives and their partitions. For example: You are trying to clone a 60-gigabyte source drive onto a 120-gigabyte destination drive. If the previous step tells you /dev/sda has a 60-gigabyte capacity and /dev/sdb has a 120-gigabyte capacity, you can use their respective sizes to tell which is which. Another example: You are copying a three-partition source drive onto a blank destination drive. You see four rows labelled: /dev/sda1, /dev/sda2, /dev/sda3 and /dev/sdb. Next to them are numbers that correspond to each of your partitions and a blank field next to /dev/sdb. You can conclude that sda is your source drive and sdb is your destination drive.

--Open a terminal window.
--Type in the following command, replacing SOURCE with the name of the source drive and DESTINATION with the name of your destination drive:

#dd bs=4k if=/dev/sda of=/dev/sdb conv=noerror,sync

--Here, if=... sets the source and of=... sets the destination. "dd" doesn't care of the contents of the hard disk. It just reads bytes from /dev/sda and writes them into /dev/sdb. It doesn't know what are files. So, the hard disk file system and how many partitions it has are not important. For example, if /dev/sda is splitted into three partitions, the /dev/sdb will have the same partitions. i.e. "destination" is completely same with "source"

Note:To clone only one partition from the source drive, specify the partition (e.g., /dev/sda1 or /dev/sda2). To clone the entire drive, specify only the drive name, with no partition number (e.g., /dev/sda).

to execute "dd" you should login as "root" or switch to "root" using "su" command. And you must be careful, a small mistake may cause a serious problem!

--Wait. Cloning a large drive using dd can take hours, and according to some accounts, even more than a day.

Tips & Warnings:

--After the process is complete, test whether cloning took place properly by attempting to boot from your destination drive.

--Giving dd to the wrong source and destination drives can cause you to overwrite important data. Be sure to input the correct source and destination drives. Always back up important data before attempting this process.

Most of time we don't want to make a complete duplication of hard disk. Then we may prefer to creating an image file of the hard disk and save it in other storage devices. The following command will create an image file "disk1.img" in your user's directory from /dev/sda:

#dd if=/dev/sda of=~/disk1.img

Since you have created an image file, you can compress it with "gzip" or "bzip2":

gzip disk1.img #generates disk1.img.gz or

bzip2 disk1.img #generates disk1.img.bz2

You can save much storage space with compression. But it will take very long time.

To restore a partition or a hard disk from an image file, just exchange the arguments "if" and "of". For example, restore the whole hard disk from the image file "disk1.img":
#dd if=disk1.img of=/dev/sda

Restore the first partition of /dev/sda from the image file "disk2.img":

dd if=disk2.img of=/dev/sda1


My practical test in our lab environment

-Created on virtual machine(min10GB) on esxi box

-After success ful installation shutdown the virtual machine and added new hard disk form the vsphere client add and remove console with incresing the disk size upto 12 GB

-now the boot priority changed to cdrom as the first boot device and the vm is booted with the live cd of Ubuntu linux.

-- formated the new hard disk and mounted the volume and cloned the old hard disk to the new one with "ddcommand"
-- after completion of the process the boot priority is chnaged the new harddisk and booted

-- after successful boot the os on the new hard disk is running fine and proper.

Installing and configuring Web keepass Step by Step - Raja Antony

What is Webkeepass?   
A free, easy to use password manager which helps you to manage your passwords in a secure way. Focused on deep encryption and ease of use. Also supports importing/exporting of KeePass data!

How to Use WebkeePass:

 There are 4 sections in webkeepass:

1) work with my passwords

                   - My passwords Profile
                   - Edit My password
                   - My password by category

2) KeePass import/export

                  -  import KeePass xml
                  - export KeePass xml

3)work with shared passwords

                  - Share my passwords
                  - My passwords shared profile
                  - Passwords shared by others

4)work with web users

                 -  Web user profile
                 -  Edit web users
                 - Web user group profile
                 - Edit web user groups 
 
Admin will work with all the 4 sections, whereas normal user, as far now is granted to use only 1 and 3 sections.  


How to Login?
                               URL :  https://Yourpublicip:8443/                           - External
                                          https://localhost:8443/                                 - Internal


you need to have credentials to login to webkeepass.

What to do After Logging In?

Edit Password: If you want to store your personal usernames and passwords :

 click on Edit My password ->     Give password ID(It can be IP or Name)
                                                       Enter username and password.




beside password box you can see … button, you can use this button not to show password as  you type. Just beside that you can see one more button, which can be useful to create password. Incase If you want to copy the password, you can use the Last button, and use your gedit or notepad to save the password within 10 seconds.
Click on “Update changes” which is on top menu.
Now you have saved one password. Likewise, you can save as many passwords as you want.




My Passwords Profile:     You can use this button to List out all the Password IDs of yours:





If you want to share your Passwords, Select the option “share my password”

Share My Passwords:




In the above picture you can see Password ID#. Click on it and you can see screen like below:




Select the Password ID that you want to share and Double click it. It will be shown in the Password ID# box like below.


From the above picture, you can see one option saying New Share. Select it, and then enter webuser/web group name, to whom you want to share.(Note: case sensitive).

 For this you need to know web user id / web user group name.
Web user groups :          Management
operations
development and testing.

Web user names:
User1
User2
User3



Then check the box share active. Later if you want to remove the share, just uncheck the share active check box.Click on Update Changes. You can see confirmation message like this.














My shared Password Profile:
Here you can see, what are the Password IDs that you are sharing to others.






Passwords Shared By Others:
If you want to see, what are all the passwords are shared to you by admin or  others. Click on  “ Passwords shared by others”.


















At Bottom, you can see view password option. Use this to see any of the passwords that are shared to you.


Work with Web Users profiles:   Here we can define the usernames and passwords, who can login to WebkeePass interface.
Edit Web Users:


















Give user ID and Password. Address information is optional. In Access Information box, we need to check user active and add that user to any of the web groups we have created or already created. By default, there are two web groups:
1)    Admins
2)    Users
    Enter the User Group appropriate and then click on Add/Update. Now he can login via web with the url given along with credentials provided.

Web User Profile:
Here we can see how many web users are existed and to which they belong to.




















Web User Groups:   To create new web user group: click on Edit web User Groups.


















Enter UserGroup and then check Group Active box ….etc. Use Menu XML button to select type of xml sheet to be used , give date format, select server access.
Now, click on Add/Update to add the web group.
Why do we need this Web Groups?
If you have observed how we are sharing our Password IDs. They can be shared to web user/web group. Most of the time, it is very difficult to share the password ID to each individual users. It consumes lot of time. So what we can do? Since, we have created few groups. At the time of creating users add them to appropriate groups. While sharing simply share to the group. Now all the group members can have access to the share.
Web User Group Profile:
Click on WebUserGroupProfile. You’ll be shown nothing there.





















Click on ‘Find-it’ which you can see on top. Now you will be displayed all the groups that are existed like below:

































That’s it.

Overview:

Options                                                                          Usage
My Password Profile          ---------------------->      To list out all the Password IDs
Edit Password                    ---------------------->      create new Password IDs
Share My Passwords      ---------------------->     To share passwords to web users/web groups           
My shared Password Profile ---------------------->     To List out all the passwords that are shared.
Passwords shared By others    ---------------------->   To view the passwords that are shared by others
Web User Profile         ---------------------->        To list out all the web users existed
Edit Web Users       ---------------------->     To create new web users and add them to any web group
Web User Group Profile      ---------------------->     To see all the web groups which are created
Edit Web User Groups         ---------------------->    To create New web User Group

Mail linux man pages to mail in Pdf format


man -t sendmail | ps2pdf - sendmail.pdf

It uses  Postscript to Portable Document format converter

Centralized Log Management with RSyslog , Recording in MySql DB , Viewing and querying in Web UI - By Raja Antony


Why Rsyslog?


For Centralized logging.Having a centralized logging is a prerequisite if you want to have your logs intacts. But having the events recorded in plain files is virtually impossible for queries.Because of this, we can configure rsyslog to write events in MySQL DB and a web interface for queries with filters to facilitate viewing of the logs without have to access the console for such task.

Rsyslog Installation

Installing rsyslog on Ubuntu is easy:

 #aptitude install rsyslog
 #aptitude install rsyslog-doc
All configuration is placed in the /etc/rsyslog.conf file or in files  found under the /etc/rsyslog.d directory. 
  • Configuration structure :Configuration files are structured in the following manner:



    • Modules
    • Global directives
    • Filter rules
  • Rsyslog Server configuration: 
 #vim /etc/rsyslog.conf
Local logging functionality is provided by the imuxsock plug-in (also 
enabled by default).

$ModLoad imuxsock
 $ModLoad imklog
On the server, assuming you are running rsyslog, you do this by  enabling the appropriate input module, as well as specifying the port to  be used: 
UDP:
 
$ModLoad imudp
$UDPServerRun 514
TCP:

$ModLoad imtcp 
$InputTCPServerRun 514 

Rsyslog provides a flexible system to specify the output formats. It is template-based. A template with the traditional syslog format looks as follows:



$template TraditionalFormat,"%timegenerated% %HOSTNAME% %syslogtag%%msg:::drop-last-lf%\n"


 Now we have the right template - but how to write it to a file? You probably have a line like this in your rsyslog.conf:

*.* -/var/log/messages.log;TraditionalFormat

 

 

 -------------------------------------------------------------------------

Writing syslog messages to MySQL

--------------------------------------------------------------------------

 

 

rsyslog-mysql mysql-server php-mysql
while installing you will be prompted for mysql rsyslog user  password.Enter the details and remember them.Next, the server should  load the output module ommysql and be configured to connect to the  database. Its configuration should be similar to the following:

#vim /etc/rsyslog.conf
# service mysqld start
# mysql -uroot -predhat
mysql> GRANT SELECT, UPDATE, INSERT ON Syslog.* TO rsyslog@localhost IDENTIFIED BY 'password'; 
mysql> \q 
#vim /etc/rsyslog.conf 
$ModLoad ommysql 
*.* :ommysql:127.0.0.1,Syslog,rsyslog,rsyslog 
[*.*  :ommysql:database-server,database-name,database-userid,database-password]
#restart mysql 
#restart rsyslog 

Now check your database:

#mysql -uroot -predhat 
#show databases; 
#USE Syslog;
#show tables;
#DESCRIBE SystemEvents; 
#select * from SystemEvents; 

you can see all your log messages here,if you have properly configured.Generate few log messages with logger command, then open three terminals.

#tail -f /var/log/messages
#logger system rebooted 
#mysql 


check the timestamps of the logs and whether they are being logged into database or not.
  • Clients Setup:
#apt-get install rsyslog


First, you need to create a working directory for rsyslog. This is where it stores its queue files (should need arise). You may use any location on your local system. There is nothing else to do. With the following simple config file, you forward anything you receive to a remote server and have buffering applied automatically when it goes down. This must be done on the client machine.

#vim /etc/syslog.conf
$ModLoad imuxsock    # local message reception 
$WorkDirectory /rsyslog/work       # default location for work (spool) files 
$ActionQueueType LinkedList       # use asynchronous processing
$ActionQueueFileName srvrfwd    # set file name, also enables disk mode 
$ActionResumeRetryCount -1       # infinite retries on insert failure 
$ActionQueueSaveOnShutdown on  # save in-memory data if rsyslog shuts down. 

*.* @@server:port 
*.* @172.168.155.75:514      #forward all its logs via UDP 
*.* @@172.168.155.75:514  #forward all its logs via TCP.

 

-----------------------------------------------------------

LogAnalyzer - WebUI

------------------------------------------------------------

The LogAnalyzer project provides an easy to use but powerful frontend for searching, reviewing and analyzing syslog, event log and many other event sources.
  • HOWTO install LogAnalyzer
To install LogAnalyzer, you need:

* Apache
* PHP5

#apt-get install apache2
#apt-get install php5
#apt-get install libapache2-mod-php5
#/etc/init.d/apache2 restart 

Now install Loganalyzer. It's pretty easy.
#wget http://download.adiscon.com/loganalyzer/loganalyzer-3.0.1.tar.gz 
#tar -xvzf loganalyzer-3.0.1.tar.gz 
#mkdir -p /var/www/loganalyzer

Upload all files from the loganalyzer/src/ folder to you webserver. The other files are not needed on the webserver.

#cp -R loganalyser-v3.0.1/src/* /var/www/loganalyzer 


Upload the scripts configure.sh and secure.sh from the contrib folder to your webserver, into the same folder where you uploaded the other LogAnalyzer files into. Then set the execution flag to them (chmod +x configure.sh secure.sh).Now run ./configure.sh, this will create a blank config.php, and will also set write access to everyone to it.You can of course do this manually if you want.

#chmod +x configure.sh secure.sh 
#./configure.sh 

Now open your LogAnalyzer installation in your favourite webbrowser, you will see an error, and you will be pointed to the installation script. The install script will guide you through the LogAnalyzer installation, just follow the instructions.



 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Some Related Links for more information

http://www.ubuntu.com/system/files/CentralLogging-v4-20090901-03.pdf