Beruflich Dokumente
Kultur Dokumente
Scott Fluegge
& Richard Sherman
Infospectrum Consulting
What is Migration?
›Upgrade!
Old New
Types of Migration
› Advantages
– Less Space Required
– Fewer System Resources Required
– No Port Conflicts
› Disadvantages
– No Burnin
– No Testing
– No Backout
– Higher Scheduling Impact (Down Time - Cutover)
Parallel Migration
› Advantages
– Testing
– Buy In
– Burn In
– Limited Down Time (Cutover)
– Simple Backout
› Disadvantages
– Possible Port Conflicts
– Greater Disk Space
– More System Resources
EM Migration Steps– In Place
› Validate EM Data
› BRING PROD EM DOWN
› Export EM Data
› Un-Install existing EM
› Install NEW EM
› Install New Clients (First uninstall where necessary)
› Configure New EM
› Import old EM Data
› Test new environment
› BRING PROD EM UP
› Migration Complete
EM Backout - In Place Migration
› Install new EM
› Install new EM Clients
› Configure new EM
› Test new environment
› Validate old EM Data
› BRING PROD EM DOWN
› Export EM Data
› Import old EM Data
› BRING PROD EM UP
› Migration Complete
› Cleanup old install
EM – Parallel Migration Backout
AND
› Migrate
– Advantages
• Migrates AJF
• Migrates Security
• Migrates Q Resources
• Migrates Shout Destinations
• Migrates Stats
• Migrates Node Groups
– Disadvantages
• May take longer
• Longer Down Time
CTM Migrate Vs. Upload
› Upload
– Advantages
• Fast
• Can be pre-staged to minimize down time
– Disadvantages
• Does not migrate AJF
• Does not migrate Security
• Does not migrate Q Resource Definitions
• Does not migrate Shout Destinations
• Does not migrate Stats
• Does not migrate Node Groups
CTM Migrate Vs. Upload
BRING PROD SERVER DOWN Create Reports (Waiting Jobs, Q Res, Security, Shouts, Node Groups)
Configure New SERVER Manually Create Q Res, Security, Shouts and Node Groups
Migration Complete Manually order jobs from previous day still waiting
Migration Complete
CONTROL-M - Parallel - Comparison
CTM Migration Steps – Parallel - Migrate CTM Migration Steps – Parallel - Upload
Validate SERVER Data Create Reports (Waiting Jobs, Q Res, Security, Shouts, Node Groups)
BRING PROD SERVER DOWN Manually Create Q Res, Security, Shouts and Node Groups
Monitor New Day Manually order jobs from previous day still waiting
› Supplied by BMC
› Free and Downloadable
› Product Specific
› For 6.2.01:
– http://www.bmc.com/support/techdocs/LPH3S.6.2.01.html
› Check all pertinent values based on release
› Validation portion runs while products are up
› Export is database un-aware
The Migration Process
› Step 1
– Install New Release of CONTROL-M/EM
• Install the database & server components on a new environment (an alternative
Unix account for example)
• Install the client components on selective desktops. Note that the basic client
components (CONTROL-M/Desktop and CONTROL-M/EM GUI) can co-exist
with CONTROL-M/EM 6.1.03
• Get familiar with the new release
Migration steps – Download/Install
› Step 6 - Export
– Run the “export” option at the migration menu
• Assure all components besides the database are shut down prior to actual export
to verify data consistency
• Export results are kept in:
– Unix – migration_export/ECSExportForMigration.tar
– Windows – migration_export/data/*
Migration steps - Export
› Step 6 (cont)
– Migrated and non-migrated information
CONTROL-M/EM 5.0.09
Migrated Data Non-Migrated Data
■ Job processing definitions ■ Active jobs, conditions, and resources.
■ Calendar definitions These will be updated after a connection to CONTROL-M/Server is
■ Global conditions information (such established.
as prefixes) ■ Alerts
■ CONTROL-M definitions ■ Old nets information
■ System parameters ■ User authorizations (report can be generated to manually enter
■ Users list authorizations)
› Step 6 (cont)
– Control-M/Server Migrated and non-migrated information
CONTROL-M/Server
Migrated Data Non-Migrated Data
■ Database data: ■ Configuration parameters:
— Job processing definitions — CTM_RT_PORT_NUMBER
— Calendar definitions — CONTROLM_DATABASE
— Active environment — OS_PRM_SOCKET_PORT_NUM
— Security definitions — OS_PRM_LOCK_DIR (Unix only)
— Configuration parameters — OS_PRM_HOSTNAME (Unix only)
■ CONTROL-M/Server configuration — CTMS_HOSTNAME
files: — CTMS_PORT_NUM
— Configuration parameters — TMP_PATH
■ CONTROL-M/Agent parameters ■ CONTROL-M/Server configuration files:
■ System parameters — Process parameters
— Comments
■ Communication parameters:
— ECS port
— Minimum server processes (CS)
— Maximum server processes (CS)
■ Computer/account specific parameters:
For example, proclib: Executables path
Migration steps - Export Notes
› Syntax:
$HOME/migrate_ecs/save_authorizations <user> <password>
– A report called save_authorizations.txt is created in the
$HOME/migrate_ecs/data directory
– This report is used after the migration process as a basis for the
authorizations that will need to be manually defined in the 6.2.01
environment
Migration steps - Import
› Step 7 - Import
– Import the data into the new environment and activate it
• Copy the output of the “export” step to the new environment
• If using ftp – assure binary transfer mode is used
• Assure all components but the database are shut down
• Activate the “migration” utility (can be found at the “migration_import”
directory) and select the “import” option
• Initiate the environment and start using the new CONTROL-M/EM
– The import step performs data adjustments that deals with database
schema changes and with all warning and information messages that were
left after the validation step
Migration steps – Migrate Datacenter
CTM
Old CTM New CTM
Migration
Migration steps – Migrate Datacenter
Ex
tr a 1
cti EM Database
n gd
ata
Data Center C Data Center D
2 Migrate_dc
Migrating
data d ata t Data Center A Data Center B
t he r m a
o r ing w fo
St e ne
th
in General definitions
3
Migration steps – Migrate Datacenter
› What is performed:
› from 2.24.0x
– Updates the data center version
– Rearranges condition order to comply with the AND/OR logic of version
6.0.xx.
– Converts the INTERVAL value.
– Initializes the INTERVAL_FROM field.
– Generates errors when illegal characters), (, |, and blank are found in IN, OUT,
and DO CONDITION names.
– Updates job processing definitions to support the modified WEEKSCAL
parameter.
› Where:
Old CONTROL
New CONTROL--M
M
Q&A