Novell Home

Consolidate Data Between OES Linux Servers

Novell Cool Solutions: Tip
By Florian Deckert

Digg This - Slashdot This

Posted: 22 Feb 2007
 

Problem:

How to consolidate data between OES Linux servers as Consolidation Tools is currently not compatible with OES Linux sources.

Solution:

The consolidation will be done by associating the Novell provided nbackup tool with ssh and remote command execution.

nbackup will gather the data from NSS using tsafs, and keep trustees, compression, IRF ... and write the result on the default output.

: nbackup -U eDirectoryUser -P password -cf "/media/nss/VOL1/folder" |

nbackup output will be redirected to an ssh client that will compress, transport, and feed them to a remote server. ssh will be used to run a remote instance of nbackup.

The remote nbackup will be in charge of getting the data from the source server and writing the data to the tsafs restoring trustees, compression and IRF.

: | ssh -C remote.dns.server "nbackup -U eDirUser -P password -x"

The final data flow is the following:

tsafs -> nbackup -> ssh <------> sshd -> nbackup -> tsafs

Example:

From one server to a remote server in the same folder with compression:

/opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxx -cv /media/nss/VOL1/groups/myfolder | ssh -C remote.dns.server "/opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxxx -x"

From one server to a remote server in a different folder with compression:

/opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxx -cv /media/nss/VOL1/groups/myfolder | ssh -C remote.dns.server "/opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxxx -r \"/media/nss/VOL1/groups/myfolder /media/nss/VOL1/an/other/folder\" -x"

On the same server from one folder to an other:

/opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxx -cv /media/nss/VOL1/groups/myfolder | /opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxxx -r "/media/nss/VOL1/groups/myfolder /media/nss/VOL2/an/other/folder" -x

Environment:

OES Linux


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell