DDR Setup and Configuration

From Spaldam's Wiki
Jump to navigationJump to search
World History Wiki is Brought to you by:
S.J.'s Adventures


This document is for entertainment purposes only. Use at your own risk. This site is in no way affiliated with Data Domain, or EMC.

This document may have some information that is out of date.

The DataDomain NAS servers requires certain procedures to setup LUNs (gateway only) and replication.

Also see: Storage Servers in NetBackup and OST Naming Standards

Login[edit]

  • Login is done via SSH
  • User name is "sysadmin" (unless you have setup another user account)
  • Password is the password for the account.
    You can also setup your own personal account

Gateway LUNs[edit]

According to DDR user guide, the Gateway can only have 16 LUNs presented, and a max size of 2TB each.

Adding and removing LUNs[edit]

!!The Gateway cannot have LUNs removed without destroying the file system!! !! failure to follow these directions will result in requiring a complete rebuild of the DDR gateway!!

Removing LUNs[edit]

1. Disable any replication

replication break all

2. Disable the filesystem

filesys disable

3. Destroy the file system

filesys destroy and-shrink

4. remove the LUNs

Adding LUNs[edit]

1. Re-scan the disk

disk rescan

2. Make sure they are viable

disk show hardware

if any things show's up with a "(?)" you may need to reboot to clean out the old entries.

disk show raid-info

If they show anything other then "unknown" you'll likely have problems adding the disk

3. Add the new LUNs

disk add DEVNAME

Replication[edit]

Directory Replication[edit]

One Direction[edit]

To set up and start directory replication for a directory named dir2:

Add Source and Destination[edit]

Run the following command on both the source (hostA) and destination (hostB)

replication add source dir://hostA/backup/dir2 destination dir://hostB/backup/dir2

Initialize Replication[edit]

Run the following command on the source:

replication initialize dir://hostB/backup/dir2

Bi-directional[edit]

To set up and start directory replication for a directory named dir2 from hostA to hostB and for dir1 from host B to hostA:

Add Sources and Destinations[edit]

Run both of the following commands on hostA and on hostB:

replication add source dir://hostA/backup/dir2 destination dir://hostB/backup/dir2
replication add source dir://hostB/backup/dir1 destination dir://hostA/backup/dir1

Initialize Replication[edit]

Run the following command on hostA:

replication initialize dir://hostB/backup/dir2

Run the following command on hostB:

replication initialize dir://hostA/backup/dir1

Multi-System Replication[edit]

To set up and start directory replication for directories from hostA and from hostB to hostC:

Add Sources and Destinations[edit]

Run the following command on both hostA and hostC:

replication add source dir://hostA/backup/dir2 destination dir://hostC/backup/dir2

Run the following command on both hostB and hostC:

replication add source dir://hostB/backup/dir1 destination dir://hostC/backup/dir1

Initialize Replication[edit]

Run the following command on hostA:

replication initialize dir://hostC/backup/dir2

Run the following command on hostB:

replication initialize dir://hostC/backup/dir1

Replace a Replication Source[edit]

To integrate a new directory replication source with a new name (hostC) that replaces a previous directory replication source (hostA):

Disable File system[edit]

Run the following commands on the destination:

filesys disable

Modify Replication[edit]

Run the following command on the destination:

replication modify dir://hostB/backup/dir2 source-host hostC
replication reauth dir://hostB/backup/dir2
filesys enable

Add New Source[edit]

Run the following commands on the new source:

replication add source dir://hostC/backup/dir2 destination dir://hostB/backup/dir2
replication recover dir://hostB/backup/dir2

Collection Replication[edit]

Basic Setup[edit]

To set up and start collection replication between two Data Domain systems, hostA and hostB:

Destroy File system[edit]

Run the following command on the source and destination

filesys destroy

Add source and Desitionation[edit]

Run the following command on both the source and destination

replication add source col://hostA destination col://hostB

enable file system[edit]

Run the following command on the source and on the destination

filesys enable

Initialize Replication[edit]

Run the following command on the source

replication initialize

Replace a Collection Replication[edit]

To integrate a new collection replication source that replaces a previous collection replication source and that uses the same name:

If the new source was using the VTL feature, run the following command on the new source:

Run the following commands on the new source to clear all data from the file system:

filesys disable
filesys destroy

Run the following commands on the destination:

filesys disable
replication reauth

Run the following commands on the new source:

replication add source col://hostA destination col://hostB
replication recover

Convert to Directory[edit]

To convert a collection replication pair (source is hostA, destination is hostB) to directory replication: Run the following commands on both the collection replication Run the following commands on the destination:

 filesys disable
 replication reauth

Run the following commands on the new source:

replication add source col://hostA destination col://hostB
replication recover

Convert to Directory[edit]

To convert a collection replication pair (source is hostA, destination is hostB) to directory replication:

Run the following commands on both the collection replication systems:

filesys disable
replication break col://hostB
filesys destroy
filesys enable

Run the following command on both systems:

replication add source dir://hostA/backup destination dir://hostB/backup/hostA

Run the following command on the source system:

replication resync dir://hostB/backup/hostA



Back to Storage Servers in NetBackup