|
|
|
# Migration Workflow
|
|
|
|
|
|
|
|
## Daily Process Flow
|
|
|
|
|
|
|
|
### 1. Queue Sync (1:00 PM)
|
|
|
|
|
|
|
|
- Fetches new user consents from Bohrium API
|
|
|
|
- Adds users to migration queue
|
|
|
|
- Automatically triggers batch creation after sync
|
|
|
|
|
|
|
|
### 2. Batch Creation (Auto-triggered)
|
|
|
|
|
|
|
|
- Creates batches based on server capacity
|
|
|
|
- Assigns batches to available servers (TEMP01, TEMP02, TEMP03)
|
|
|
|
- Only creates batches for servers that have capacity
|
|
|
|
|
|
|
|
### 3. Pre-Migration Emails (1:30 PM)
|
|
|
|
|
|
|
|
- Sends notification emails to users scheduled for migration
|
|
|
|
- Includes migration date and instructions
|
|
|
|
- Sends summary email to monitoring address
|
|
|
|
|
|
|
|
### 4. AD Group Management (5:30 PM)
|
|
|
|
|
|
|
|
- Adds users to `sabahgov-gws-gmail` Exchange group (synced into Google Workspace as sabahgov-gws OU via GCDS)
|
|
|
|
- Removes users from `sabahgov-non-gmail` Exchange group
|
|
|
|
- Logs all changes
|
|
|
|
|
|
|
|
### 5. GCDS Sync (5:30 PM - After AD Management)
|
|
|
|
|
|
|
|
- Triggers GCDS task on Xenon server
|
|
|
|
- Waits for sync completion
|
|
|
|
- Synchronizes AD changes with Google Workspace
|
|
|
|
|
|
|
|
### 6. Migration Execution (6:00 PM)
|
|
|
|
|
|
|
|
#### PST Export
|
|
|
|
- Triggers PST export on Hafnium for servers with batches
|
|
|
|
- Monitors export progress
|
|
|
|
- Only triggers for servers that have batches assigned
|
|
|
|
|
|
|
|
#### GWME Migration
|
|
|
|
- Monitors PST export completion per server
|
|
|
|
- Triggers GWME migration when PST export completes
|
|
|
|
- Only triggers GWME for servers that have batches
|
|
|
|
- Monitors GWME execution and logs
|
|
|
|
|
|
|
|
## Batch Management
|
|
|
|
|
|
|
|
- Batches are created automatically after queue sync
|
|
|
|
- Batch size is based on server capacity
|
|
|
|
- Batches are assigned to servers based on availability
|
|
|
|
- Only servers with batches will execute PST export and GWME
|
|
|
|
|
|
|
|
## Error Handling
|
|
|
|
|
|
|
|
- Failed migrations are logged
|
|
|
|
- Retry logic for transient failures
|
|
|
|
- Master summary log tracks all operations
|
|
|
|
- Errors in logging don't interrupt workflow
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**See also:** [Operations](Operations.md), [Troubleshooting](Troubleshooting.md)
|
|
|
|
|