Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
This document explains about the Script which allow users to complete their Migration job by executing a single script, instead of using several migration tools. This script takes all the required information from user before it starts Migration. Once it collects all the required information it executes the different tools sequentially to finish Migration job.
This script is available in Ruby and Perl. User can use any flavor whichever is comfortable. These scripts supports NetWare, OES 1.0 Linux and Windows as sources and OES 2.0 Linux as the target. The following scenarios are supported with the script.
Following are the details which you need to know before you start the script.
This script uses Migration command line utilities in a particular sequence based on user input to perform Migration job. For example in case of NetWare Migration different tree scenario this script calls the following command line tools in sequence.
If any point of time during Migration if script fails to perform a particular job then it will send E-mail notification to the user along with the description. It also sends the information regarding when Migration is started and when it has completed. For sending E-mail notifications script uses “sendmail” command.
Copy the Migration Script to a local directory. Run the Migration script and enter the required details when it prompts.
NetWare Migration sample:
Here is the screen shot which shows Migration in a different Tree scenario:
$:/home/MIGRATION # ./OES2_FSMigration.rb
Enter the Source Server's IP address: 192.168.100.101
Enter the type of Source Server (Netware/OES1.0 (N)/Windows (W)) (N): N
Enter name of the Source volume: FUN
Enter name of the Destination volume: NSSVOL1
Enter the type of destination volume NSS (N), NCP(C), POSIX(P) (C)?:
Enter the mail Id where you want to recieve status:admin@company.com
Enter the username (e.g cn=admin,o=mycompany)
for the server 192.168.100.101: cn=admin,o=novell
Enter cn=admin,o=novell password:
Enter the username (e.g cn=admin,o=mycompany)
for the server 192.168.100.100: cn=admin,o=novell
Enter cn=admin,o=novell password:
Migration started at Thu Nov 15 15:57:03 IST 2007
mls: Collecting user information, please wait...
maptrustees: Mapping Users and Groups, Please wait...
migtrustees: Creating Users on Destination Server, Please wait...
migfiles: Copying files from Source Server to Destination Server, Please wait...
Migration process Completed Successfully at Thu Nov 15 15:57:47 IST 2007
Windows Migration sample:
Here is the screen shot which shows Migration from Windows Sources:
$:/home/MIGRATION # ./OES2_FSMigration.pl
Enter the Source Server's IP address: 192.168.50.60
Enter the type of Source Server (Netware/OES1.0 (N)/Windows (W)) (N): W
Enter name of the Source volume: data1
Enter name of the Destination volume: NCPVOL1
Enter the type of destination volume NSS (N), NCP(C), POSIX(P) (C)?:C
Enter the destination LDAP container: ou=winusers1,o=novell
Enter the mail Id where you want to recieve status:admin@company.com
Enter the username (e.g administrator)
for the server 192.168.50.60: administrator
Enter administrator password:
Enter the username (e.g cn=admin,o=mycompany)
for the server 192.168.50.61: cn=admin,o=mycompany
Enter cn=admin,o=novell password:
Migration started at Thu Nov 15 16:00:10 IST 2007
migfiles: Copying files from Source Server to Destination Server, Please wait...
ntfsmls: Collecting file attributes and User permissions, Please wait...
ntuserls: Collecting User and Groups information from Source Server, Pease wait...
maptrustees: Mapping Users and Groups, Please wait...
migtrustees: Creating Users and Groups on Destination Server, Please wait...
ntfsmap: Mapping Windows Access rights to NSS/NCP, Please wait...
migrights: Setting file rights on Destination Server, Plase wait...
Migration process Completed Successfully at Thu Nov 15 16:00:10 IST 2007