Monday, September 20, 2010

VirtualMachine Backup using Veeam

Veeam Backup and Replication :
---------------------------------
VM Backup process
--------------------
Prior to performing backup or replciation processes, it is necessary to add servers to add servers
you want to work with to veeam backup &replication. You may add ESX/ESXi server,vCenter and Linux servers.

To Add a Server, do one of the following:
Right click the servers node in the management tree and Select Add Server.
Click the Add server button in the tool bar.
Select the Add server command in the File menu.
Press Alt+A on the keyboard.



Adding ESX/ESXi server
--------------------------
Specify server type and name.
Enter a full DNS name or IP address of the server and select the server type ESX/ESXi host.

Specify server connection settings

You should enter administrator's credentials to connect to the ESX/ESXi server : Username and password.


Specify service console connection settings
This step is available if you are adding ESX server only.

Finish working with the wizard.
If you want to connect to the added ESX server on finishing work with the wizard, Select the connect when I click finish checkbox. Then click Finish button.




Creating a Backup job.

To perform Backup of a VM, you should create a backup job.
Before you begin.
prior to creating a backup job, make sure you have enough free space on the destination disk. When a backup job runs for the firsttime, full backup is performed. At all subsequent backups, only incremental data will be saved.
Launch a new backup wizard.
To run a new backup wizard, click Backup button in the toolbar. Alternatively, you can select Backup>Backup in the mainmenu.

Specify Job name and description.
At the first step of the wizard, enter the name and description of the job.
By default, the following description is initially provided for the created job.




You can select to perform backup in one of the three modes : VMWare storage API, VMWare consolidated Backup or Network Backup.

If the VMWare vStorage API mode is selected, choose the mode that should be used to transport VM data to the destination host: SAN with failover (recommented), SAN only and Network or virtual appliance.












Select VM to backup.
Click the Add button to browse to VMs that should be backed up. In the displayed VI tree, select the necessary object and Click the Add button.














Select the VM and click Add button.














Specify Backup destination,

From the destination list, select a host where the created backup should be stored.












Enable a VSS integration
Veeam Backup and Replciation allows you to create a transactionally consistent backup, ensuring successful recovery of vm applications without any data loss. To Enable this option, select the Enable veeam vss integration checkbox.
Select continue backup even if veeam vss quiescense fails if you want to continue backing up a virtual machine incase of any vss errors that may cause the operation to abort.












Define a job schedule, The job schedule step of the wizard allows you to choose to manually run the created job.
To specify the job schedule, select the Run the job automatically checkbox.











Finish working with the wizard. After you have specified a scheduled settings, click create . Select the Run the job when I click Finish checkbox if you want to start the created job
right after you complete working with the wizard. Click Finish button.












Confirm the job what job you are going to start.












Click Start option in the option list. Thats all. Now the backup job is running and storing the backup data into the destination folder.













Thanks,
Veera
Software Engineer,
ClimbInc,
Veeam Backup software

Changing Oracle DB Default ports

ORACLE DB Default port number change
-----------------------------------------
If you want to change the oracle port whether Tomcat using port number 8080.

You can simply execute the following statements in SQL *Plus.

The following section desctibes the syntax that can be used to alter XML DB configuration
information from within SQL*Pus. Ensure that you are logged into the database from a DBA account. In the following example, the default HTTP and FTP ports are changed from 8080 and 2100 to 8083 and 2111 respectively:

SQL> -- Change the HTTP port from 8080 to 8083
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8083))
/
Call completed.

SQL> -- Change the FTP port from 2011 to 2111
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
'/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',2111))
/
Call completed.

SQL> COMMIT;
Commit complete.

SQL> EXEC dbms_xdb.cfg_refresh;
PL/SQL procedure successfully completed.

-----------Verify the change---------------
You can view the xml file whatever you changed in the CALL command.

SQL> set long 100000
SQL> set pagesize 9000
SQL> SELECT dbms_xdb.cfg_get FROM dual;

Thanks,
Veera
Software Engineer,
ClimbInc,
http://www.climb.co.jp

Database replication software
DBMoto http://www.hitsw.com

Virtualization software
Veeam http://www.veeam.com