8/02/2018

How to take backup/convert production Linux system without downtime P2V, Image to VHD,VMDK & VDI


How to take backup/convert production Linux system P2V
without downtime




    Today, we are going to learn How to take backup/convert production Linux system without downtime. Most of all thinking that some tools are requires to converting physical system to any Virtual system.
Actually the requirement is same disk size of source disk (Production system). Either same size of hard disk or higher/external disk is better to copy any ware



Then check hard disk



# fdisk –l



Here I am using external hard disk for conversion


# dd if=/dev/sda of=/mnt/run/media/filename.img bs=4M

If wont to zip the file

# dd if=/dev/sda |gzip > /mnt/run/media/filename.img bs=4M






This procedure will take several time to complete.

Oracle Virtual box should be installed for this activity to convert DD image to any Virtual system




For Virtual Box, Do this command

I:\>VBoxManage convertfromraw --format VDI sourcefile.dd    filename.VDI

For Vmware EXi , Do this command

I:\>VBoxManage convertfromraw --format VMDK sourcefile.dd     filename.VMDK

For Hyper-V, Do this command


I:\>VBoxManage convertfromraw --format VHD sourcefile.dd       filename.VHD




Press Enter to start the conversion. Wait about serveral minute or so while the conversion takes place, and then create the new virtual machine with the VDI file.

Then Open VirtualBox.

New->Create New Virtual Machine


Change require configuration for the virtual machine as per your image backup,then choose the converted VDI file



Select VID file

Here you can see the screen of converted production system booting..










8/01/2018

How to convert Linux dd .img to .VDI,VMDK,VHD, with VIrtualBox Command

How to convert Linux dd .img to .VDI,VMDK,VHD


       We will Learn useful one, about how to convert IMG Files to VDI,VMDK,VHD format for Oracle VirtualBox,Vmware and XenCenter


First We have to take Image from Linux System and It will take several time.




Step By Step procedure


Click Run -> cmd -> Enter

Notice that Windows open a DOS window. Then go to dd image drive








Oracle Virtual box should be installed for this activity




For Virtual Box, Do this command

I:\>VBoxManage convertfromraw --format VDI sourcefile.dd    filename.VDI

For Vmware EXi , Do this command


I:\>VBoxManage convertfromraw --format VMDK sourcefile.dd     filename.VMDK

For Hyper-V, Do this command


I:\>VBoxManage convertfromraw --format VHD sourcefile.dd       filename.VHD





Press Enter to start the conversion. Wait about serveral minute or so while the conversion takes place, and then create the new virtual machine with the VDI file.



7/31/2018

HOW TO USE GIT COMMANDS,learn basic git

We are going learn how to import a new project into Git, make changes to it, and share changes with other developers.

1. Need create git account from git hub



2. Login git hub and create one remote branch

3. Now create one project folder

4. first initialize git -with command
#git init  

Now its created empty local repository

5. # git status 

Then create program files in this directory.
6. assume that create any sample program to commit here

7. # git status to check recent created file -not added to local repo


8. # git add filename
Exm:- git add test.htm

9. # git commit -m "first commit"filename

changes to commit --- -m for message to commit


One file committed to local git repo

Then create one user and mail id

# git config --global user.name "Name Here"
# git config --global user.email domain.example.com

Then push the files to remote repository

# git push filename

It will appeared in remote repository





How to take backup/convert production Linux system without downtime P2V, Image to VHD,VMDK & VDI

How to take backup/convert production Linux system P2V without downtime     Today, we are going to learn How to take backup/conv...