

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 部署 Control-M 和 Micro Focus 資源
<a name="deploy-resources-environment"></a>

整合 AWS Mainframe Modernization 與 Control-M 的前兩個步驟是部署 Control-M Agent，然後在 Agent 上部署外掛程式。第三個步驟是在 Control-M 應用程式整合器中部署任務類型。

## 在 EC2 執行個體上部署 Control-M 代理程式
<a name="deploy-agent"></a>

搭配 Micro Focus on Amazon EC2 執行期環境使用自訂 AWS Replatform 時，會叫用 `MFBSIFJCL`公用程式。公用程式會在使用 Micro Focus Enterprise Server 優惠啟動的主機上運作 AWS Marketplace。若要執行`MFBSIFJCL`公用程式，您還必須在該主機上部署 Control-M 代理程式。如需說明，請參閱 [Control-M 文件](https://documents.bmc.com/supportu/9.0.21/en-US/Documentation/Agent_Installation.htm)。

**注意**  
您可以從 [BMC Electronic Product Download 網站下載](https://www.bmc.com/support/resources/product-downloads.html)必要的安裝媒體。

## 在 Control-M Agent 上部署 Micro Focus 外掛程式
<a name="deploy-plug-in"></a>

外掛程式為 Control-M 協調的應用程式和服務提供整合和支援。

外掛程式部署是不常發生的活動。如果您已經有要使用的現有外掛程式，請略過此步驟，並建立連線設定檔。

在 Amazon EC2 上，使用 Micro Focus AWS Mainframe Modernization 的 Replatform 服務會公開 Micro Focus 引擎。為了整合 AWS Mainframe Modernization，Control-M 使用 Micro Focus 外掛程式。如需詳細資訊，請參閱 [Control-M 文件](https://docs.bmc.com/docs/ctm_integrations/control-m-for-micro-focus-1193641959.html)。

您必須將此外掛程式部署到安裝在執行 Micro Focus Enterprise Server 之主機上的 代理程式。

## 在 Control-M 應用程式整合器中部署 AWS Mainframe Modernization 任務類型
<a name="application-integrator"></a>

作業類型部署通常是一次性活動。如果您已具有要使用的現有作業類型，請略過此步驟，並繼續[建立連線設定檔](create-control-m-connection-profile.md)的下一步。

git 儲存庫中提供了作業類型範例 [AIJOB.ctmai](https://github.com/aws-samples/aws-mainframe-modernization-controlm-integration/blob/main/assets/AIJOB.ctmai)。若要部署任務類型，您必須使用[應用程式整合器](https://documents.bmc.com/supportu/9.0.21/en-US/Documentation/Application_Integrator.htm)執行下列步驟：
+ 複製 [aws-mainframe-modernization-controlm-integration](https://github.com/aws-samples/aws-mainframe-modernization-controlm-integration) GitHub 儲存庫，並將`AIJOB.ctmai` 檔案下載到應用程式整合器可存取的檔案系統位置。
+ 登入 Application Integrator。
+ 在**首頁**標籤上，選取**從檔案匯入作業類型**，然後選取 `AIM2JOB.ctmai` 的位置。
+ 如果您要對提供的範例進行任何修改，請熟悉 Application Integrator。
+ 遵循 [Control-M 文件](https://documents.bmc.com/supportu/9.0.21/en-US/Documentation/Deploying_and_Publishing_a_Plug-in.htm)中的指示部署作業類型。