LogoLogo
  • Welcome
  • Overview
    • Architecture
      • API Server
      • Sizing
    • Dashboard Overview
    • Monitoring Concepts
      • Application Performance Management
        • Availability Monitoring
        • Performance Intelligence
        • Service Level Management
        • Synthetic Transaction Management
        • Alerts Management
        • Reporting & Analytics
      • Infrastructure Monitoring
      • Unified Monitoring
    • Automation Concepts
      • Definition of Terms
      • Infrastructure as Code
        • Project Structure and Organization
        • Setting Up IaC Environment
        • Infrastructure Provisioning
        • Configuration Management
      • SAP Basis Automation
      • Automated Migration
  • User Guide
    • Onboarding
    • Setup
      • Gateway Setup
        • Gateway Network Setup
        • IT-Conductor Gateway Setup on Windows
        • IT-Conductor Gateway Setup on Linux
        • IT-Conductor Gateway Setup on AWS
        • IT-Conductor Gateway Setup on Azure
        • IT-Conductor Gateway Setup for SAP Secure Network Communications (SNC)
      • API Server Setup
      • MSP Tenant Setup
      • SSO Setup
        • Azure ADFS Identity Provider
        • Azure Active Directory (AAD) App Gallery
    • Monitoring
      • General
        • Maintenance Mode
          • Manual Maintenance
          • Scheduled Maintenance
        • Central Syslog Server Monitoring
        • URL Monitoring Locations
      • Cloud Monitoring
        • AWS Monitoring
        • Microsoft Azure Monitoring
      • Database Monitoring
        • IBM DB2 Database Monitoring
        • Microsoft SQL Server Monitoring
        • Oracle Database Monitoring
        • SAP HANA System Monitoring
          • SAP HANA Scale-Out Monitoring
          • SAP HANA Overview Dashboard
          • SAP HANA Alert Management
        • SAP ASE Database Monitoring
        • SAP MaxDB Monitoring
        • HA/DR Monitoring
      • Infrastructure Monitoring
        • File Server Monitoring
          • File Watcher Monitoring
        • Git Server
        • OS Monitoring
          • Unix/Linux System Monitoring
            • Linux Network Interface Monitoring
            • OS Printer Monitoring
          • Windows System Monitoring
            • WinRM Adapter Configuration
              • WinRM Services Configuration
              • Domain User Access
              • WMI Namespace Access
              • Windows Service Configuration
        • VMWare vCenter Monitoring
      • SAP Monitoring
        • Business Process Monitoring
          • Business Process Composer
          • BDoc Monitoring
          • IDoc Monitoring
        • SAP BusinessObjects Monitoring
          • SAP BO Data Services Monitoring
        • SAP Cloud Connector Monitoring
        • SAP Host Agent Monitoring
        • SAP NetWeaver Monitoring
          • SAP ABAP System Monitoring
            • SAP Transports
            • Security Role Import
            • SAP ABAP Overview Dashboard
            • SAP CCMS Alert Monitoring
            • SAP Batch Jobs Monitoring
              • SAP Batch Job Monitoring for CCMS Alerts
              • Advanced SAP Batch Job Monitoring
            • SAP SLT & RFC Connection Monitoring
            • Print Spooler Monitoring
            • Workload Monitoring
              • Transaction Code Monitoring
              • SAP Workload Monitoring
          • SAP J2EE System Monitoring
            • SAP J2EE Monitoring Role
            • Keystore Views and Certificates Monitoring
            • SAP PO Application Monitoring
          • SAP Systems Administrator Panel
        • SAP Web Dispatcher Monitoring
        • LMDB Discovery
        • Team-Based Central SAP Download Manager
    • Automation
      • Migration
        • Oracle to AWS Migration
        • Oracle to ASE Migration
        • SAP on MSSQL to AWS Migration
        • S/4HANA to Cloud Migration
      • E2E System Refresh Automation
        • Frequently Asked Questions
      • Age-based HANA Backup Automation
      • Inbound/Outbound Queue Restart Automation
      • OS File System Cleanup Automation
      • OS Linux Pacemaker Cluster Error Management
      • OS Printer Queue Restart Automation
      • OS Linux Kernel Patching using ChAI
      • OS Linux System Reboot using ChAI
      • SAP Batch Job Restart on Error
      • SAP Kernel Update using ChAI
      • SAP HANA Account Activation using ChAI
      • SAP Transports using ChAI
        • Frequently Asked Questions
      • SAP User Unlock and Password Reset Automation
      • Start/Stop Automation
    • Reporting
      • Available Reports
      • Creating Reports
        • Service Health KPI Report
      • Scheduling Reports
        • Automated HANA Reports
      • Report Elements
      • Archived Alerts Reporting
    • Account Administration
      • Invite Users
      • Create Robot Users
      • Update Linux System Account Password After Expiration
    • Notifications
      • Alerts
      • Threshold Overrides
        • Threshold Overrides Variables
      • Notification Targets
      • Distribution Lists
      • Subscriptions
      • Custom SMTP Notification Providers
      • Integration Providers
        • Derdack EA Integration
        • ilert Integration
        • Jira Service Desk Integration
        • Microsoft Teams Integration
        • PagerDuty Integration
        • Slack Integration
      • On-Call Scheduling
      • Calendar Events
    • Diagnostics
      • Gateway Communication Dump Debug Mode
      • Running IT-Conductor Gateway from CLI
      • SAP CCMS Missing Data
    • IT-Conductor FLUX
    • SID-Refresh
      • Product Overview
      • Getting Started
      • Documentation
      • Release Notes
      • Frequently Asked Questions
      • Troubleshooting Guide
        • Component CRM_MIDDLEWA_CRM - CRM Middleware Configuration
        • Failure to Start the Java-based GUI
        • Inconsistencies found in the table TADIR
        • Java-based GUI Runs with Pixelated Fonts
        • No email message is created after sending an email in SO01
        • Program Run as root
        • SICF Wrong Credentials
        • SU01: Error in user management
        • External Resources
      • Pricing
  • Release Notes
    • Gateway
  • References
    • Open-Source Software
    • Support
Powered by GitBook
On this page
  • Process Definition
  • Video
  1. User Guide
  2. Automation
  3. Migration

S/4HANA to Cloud Migration

PreviousSAP on MSSQL to AWS MigrationNextE2E System Refresh Automation

Last updated 1 year ago

Migrating S/4HANA to the cloud through IT-Conductor can be accomplished using a process definition. This automation feature in the platform simplifies the migration process from the provisioning of virtual machines (VMs) to the installation of the database and application in the cloud environment.

Process Definition

To access the process definition developed for this demo scenario, navigate to the Tenant Service Grid → Process Definitions → AWS S4 HANA 2021 and HSR Setup -ag.

Also, we used our tenant called “OZSoft” but the process can be cloned and applied to any customer after being onboarded to IT-Conductor as a tenant. IT-Conductor creates and clones the Git repository for each tenant who needs to leverage these types of automation runbooks.

Now, let's look into each step/activity of this process definition in more detail.

Provision S4HANA Node

The "Provision s4 hana node" and the "Provision s4 hana node - Secondary" activities are responsible for the provisioning of the VMs for the primary and secondary nodes respectively using Terraform scripts.

Before provisioning the VMs, it is important to ensure that the necessary authentication details, including the access key and secret access key, are in place to enable successful authentication with the AWS cloud environment.

Below are the available fields that you need to define before running the process definition.

  • Variables - contains the access and secret keys

  • Root Directory - contains the Github directory

  • Main File - contains the Terraform (.tf) file

Install S4HANA DB

The "Install S4 HANA DB" and the "Install S4 HANA DB - Secondary" activities are responsible for the installation of the S4HANA database using Ansible.

Below are the available fields that you need to define before running the process definition.

  • Root Dir - contains the GitHub directory where the Ansible files are placed.

  • Playbook - contains parent playbook "sap-deploy.yml" which will be used for S4HANA database installation.

  • Execution Config - contains variables of the installation that can be modified per your needs such as System ID (SID), System Number (sysnr), etc.

Install S4HANA App

The "Install S4 Hana App" and the "Install S4 Hana App - Secondary" activities are responsible for the installation of the S4HANA application using Ansible.

Below are the available fields that you need to define before running the process definition.

  • Playbook - contains the parent playbook "s4-app-deploy.yml" for installing S4HANA App

  • Execution Config - contains variables of the installation that can be modified per your needs such as System ID (SID), System Number (sysnr), etc.

The VM provisioning and the DB and app installations on both primary and secondary nodes/servers can be done in parallel. Once both VMs are provisioned, and the HANA database and S4 app are successfully installed, the workflow will proceed to trigger the “Join” activity.

Confirm to Begin HSR

Following the completion of the "Join" activity is the “Confirm to Begin HSR” activity. This is a manual task that can be triggered once the customer is ready to perform system replication.

To do that, click Confirm to Begin HSR > General tab. Select "Completed" as the status to confirm that you are now ready to proceed to the next activity. Then click the Save button.

Pre-configure Secondary Host

The "Pre Configure Secondary Host" activity is responsible for preparing the secondary host or node/server before the system replication using Ansible.

Below are the available fields that you need to define before running the process definition.

Replicate

The "Replicate" activity is responsible for performing the system replication using Ansible.

Below are the available fields that you need to define before running the process definition.

Note:

  • It takes time to replicate the data depending on the size of the database and network bandwidth.

  • Just keep refreshing at regular intervals until all activities turn GREEN which indicates that they have been successfully executed.

  • You can further perform validation using execution logs and/or checking the replication state directly from the primary and secondary host/node/server.

Video

Figure 1: AWS S4 HANA 2021 and HSR Setup -ag Process Definition
Figure 2: Provision S4HANA Node (Terraform Configurations)
Figure 3: Install S4HANA DB (Ansible Configurations)
Figure 4: Install S4 Hana App (Ansible Configuration)
Figure 5: Primary and Secondary Activities
Figure 6: Confirm to Begin HSR Activity (General Detail)
Figure 7: Pre-configure Secondary Host Activity (Ansible Configurations)
Figure 8: Replicate Activity (Ansible Configurations)