Friday, March 8, 2013

How To configure R1soft backup in CDP Server.


1) Install CDP agent as per wiki instrauctions.
2) Login to CDP server(inas3) and Add Agent(test.server.com)
   Click the "Agent" Icon in the left menu, then click "Create New Agent" and fill-up the required fields:
   Name : test.server.com
   HostName/IP : 10.10.19.18 (Use Internal IP, you need to ensure internal network is working in the server before doing this)
   Keep the port as 1167
   Enable the option "Enable database add-on"
   Then Test the Agent connection by clicking the button "Test Agent Connection", you need to make sure agent connected/authenticated successfully. you may need to do some changes in server firewalls like opening the agent port on agent server or allowing agent servers IP in Inas3 firewall etc.
  Click "Create" button once the connection is Okay.

Now you "Successfully created agent!"

3) Create New Disk Safe for new Agnet.

   Click "Dsik Safes" Icon in the left menu and then click "Create New Disk Safe" and fill-up the required fields:
   Name : test.server.com
   Agent : Select the agent we created from drop down list, here it is "test.server.com
   Volume : Select Volume as inas3
   Devices : Uncheck "Automatically add new devices"
   Then Click "Create"
   After Creating the Disk Safe, a pop-up window will appear

asking "Add Devices To Protect", you need to Click "Add" button.

   This will fetch the list of drives in agent server in left side of the window(Devices On Agent),
you need to add the devices to right side of the window(Devices In Disk Safe), you
only need to add the devices that you would like to backup. Click "plus" icon to add the devices.
Please skip the backup drive, since we don't need the backup of the backup drive. Then Save the task.

4) Create Policy for this agent, we are creating daily backup

policies with 10 recovery points.

  Click "Policy" Icon in left side menu, then "Create New Policy" and fillup the required fileds:
  Name : test.server.com
  Description : test.server.com
  Agent : Select the agent from the drop down list. here the agent is test.server.com
  Disk Safe : Select the agent from the drop down list. here the Disk Safe is test.server.com
  Replication Schedule : Click "Edit Schedule", and select "Replication Frequency" as daily and select
an Off peak hour to run the policy, click OK.

  Merge Schedule : Click "Edit Schedule", and select "Replication Frequency" as daily and select non off peak hours,
since this operation is running on the CDP server itself and agent server has no role in this operation.

5) Click the "MySQL" Tab in the policy window to create MySQL DB instances.

   Click "Add New MySQL instances", this will pop a window asking for some details, Fill-up the details as follows.
   Name : Give some name, like "test"
   Authentication : User - r1soft ; Pass - by5BkmlshlzgKeo5yzdign:fg
   Leave all other fields as such.
   Run following MySQL query in Agent server(here test) and Test the MySQL server connection by clicking the "Test
Connection" button.

   grant all privileges on *.* to r1soft@127.0.0.1 identified by 'by5BkmlshlzgKeo5yzdign:fg' ;
   If the Connection is Okay, then click "Add" then Click "Save"

  Thats all!

No comments:

Post a Comment