

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# Control-M 연결 프로필 생성
<a name="create-control-m-connection-profile"></a>

연결 프로파일은 애플리케이션의 특정 인스턴스에 대한 연결 속성과 보안 인증을 정의합니다. 여러 작업에서 각 연결 프로파일을 참조할 수 있습니다. 애플리케이션과 보안 인증의 고유한 조합마다 별도의 프로파일을 가질 수 있습니다.

연결 프로필을 정의하려면 Control-M 웹 인터페이스의 [구성 도메인을](https://documents.bmc.com/supportu/9.0.21/en-US/Documentation/Creating_a_centralized_connection_profile.htm) 사용하거나 JSON을 사용할 수 있습니다. 다음 코드는 JSON 사용의 예입니다.

```
{
  "MICROFOCUS-WINDOWS": {

  "Type": "ConnectionProfile:Micro Focus Windows",
  "Centralized": true,
  "Description": "Micro Focus on Windows Connection Profile - file locations refer to the Enterprise Server host", "MFBSI Config Path": "C:\\microfocus\\ES\\mfbsi\\MFWIN\\mfbsi.cfg",
  "MFBSI Directory Path": "c:\\microfocus\\es\\mfbsi\\MFWIN",
  "Runtime Environment": "\"C:\\Program Files (x86)\\Micro Focus\\Enterprise Developer\\createenv.bat\"", "Run As": "dbauser",
  "RunAs-Pass": "*****"
  }
}
```

예제 코드는 GitHub 리포지토리의 파일에 `ConnectionProfile-Custom-M2-Replatform.json` 있습니다. 코드를 배포하려면 Control-M Automation API 배포 서비스를 사용합니다.

```
ctm deploy ConnectionProfile-Custom-M2-Replatform.json
```

Control-M Automation API의 응답은 다음과 유사합니다.

```
[ 
 {
    "deploymentFile": "cp-JOG-MF-WINDOWS.json", 
    "deploymentState": "DEPLOYED_CONNECTION_PROFILES", 
    "deploymentStatus": "ENDED_OK", 
    "successfulFoldersCount": 0, 
    "successfulSmartFoldersCount": 0, 
    "successfulSubFoldersCount": 0,
    "successfulJobsCount": 0, 
    "successfulConnectionProfilesCount": 1, 
    "successfulDriversCount": 0, 
    "isDeployDescriptorValid": false, 
    "deployedConnectionProfiles": [ " MICROFOCUS-WINDOWS " ]
  }
]
```