Novell Home

How to Automate NetWare and OES File Migrations

Novell Cool Solutions: Feature
By Glen Davis

Digg This - Slashdot This

Posted: 7 Sep 2006
 

This article goes through the steps of using Server Consolidation Utility (SCU) to fully Automate File Migrations from one server to another using SCU's Server Based Processing and Cron.

Since SCU uses Novell's SMS backup technology underneath, this could also be used to keep a backup copy of a volume on another server,while preserving file rights, ownerships, and directory quotas. This works migrating to both NetWare and OES Linux NSS volumes.

Step 1: Download and run SCU from the SCMT package.

Download Server Consolidation and Migration Utility (SCMT) from http://download.novell.com/index.jsp. This took contains both the SCU tool and the Migration Wizard tool. Install this tool then launch the application and click the button "Create or Open Project." The tool will ask a couple questions to determine if you want to open the Migration Wizard or the SCU tool. Since we want to open the SCU tool, answer as indicated.

What is your Source Platform?

Select -> NetWare or Open Enterprise Servers

What do you want to do?

Select -> Consolidate and Copy Data and Printing between servers

This will then launch the Server Consolidation Utility.

Step 2: Create a Project and Enable Server-based processing.

From here open a project or create a new project. Once the project is open and you see the view of the eDirectory tree, do the following:

Click as shown below -> Project | Enable Server Based Processing



Choose YES when prompted.

Next click -> Project / Verify and Copy Data. 

This will take you through the Server Consolidation Wizard as usual, but after starting the project, instead of kicking off the file copy it will actually prompt you to kick off the file copy yourself at the server. On the success log you will see this message -

Server-based process files created on server YOURSERVER. Launch this process at the server console with the command: NUWAgent -a "myprojectname"

The workstation is no longer involved in the rest of the process (unless you want to change your poject settings later).

Step 3: Launch the Server-based copy and automate through Cron.

Now go to the server and launch the NUWAgent -a "myprojectname" command and the project will start and complete on it's own. As an alternative, you may want to run this project over and over. Perhaps you set the project up to copy an entire volume, and want to copy new updates every night.

You can simply use CRON to now schedule this every night. (For more info on CRON see http://www.novell.com/coolsolutions/tools/13960.html)

For example, create the following:

Create myrun.ncf with ->
Nuwagent -a "myprjectname"

Edit crontab and add myrun.ncf as an entry. For example:

30 22 * * * sys:\system\myrun.ncf

This will kick off the project every night at 10:30pm (22:30).

One thing the SCU server-based processing will not do is remove files off the destination that have been deleted on the source. For this you must go back to your project on the workstation, and choose Project | Synchronize Dropped Folders. The server-based processing will copy new and updated files since the last time it has been run, just be sure to choose "Copy the Source file if it is newer" or "Always copy the Source file" when setting up your project in the Server Consolidation Utility (SCU).

This solution works for both NetWare\OES to NetWare\OES file migrations and Netware\OES to Linux\OES file migrations.


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

© 2014 Novell