Cool Solutions

Consolidate Data Between OES Linux Servers



By:

February 22, 2007 2:23 pm

Reads:5,353

Comments:0

Score:Unrated

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 another:

/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

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading ... Loading ...

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS