Section | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Adding
그룹에 복합 응용 리소스를 그룹에 추가합니다Add the complex application resource to a group.
- When add a resource from a group name, select a group → right click → 'Add Resource'. Or select Edit(E) from the main menu bar → select 'Add Resource'. Or select 'Add Resource' icon from the tool bar.
- Select 'Application' from Resource Type lists and click 'Next' button. When add a resource from the Application resource type name, this step will be skipped.
리소스 이름, 시작 프로그램, 종료 프로그램, 감시 프로그램 혹은 감시대상 프로세스 목록을 입력합니다.
시작 프로그램, 종료 프로그램, 감시 프로그램은 '파일' 버튼을 눌러 각 스크립트 파일을 선택하거나.
'작성' 버튼을 눌러 스크립트 파일을 생성 할 수 있습니다.Info - 감시 프로그램과 감시대상 프로세스 목록이 모두 입력이 될 경우 감시 프로그램의 성공여부와 감시대상 프로세스 목록의 여부까지 모두 확인합니다.
- 기본응용 프로그램을 실행 할 사용자의 기본값은 MCCS 프로세스를 실행하는 사용자입니다.
만약 기본값이 아닌 다른 사용자로 프로세스를 실행해야 한다면 다음과 같이 실행계정을 지정해 주시기 바랍니다.
[그림] 복합응용 리소스 추가 화면
완료를 클릭하면 다음과 같이 복합 응용 리소스가 생성됩니다. - 관리 웹 콘솔 상에서 바로 확인이 가능합니다
Enter the name of resource and the program for start, termination and monitoring, or the process lists for monitoring target.
In the start, terminate or monitoring program, click 'File' button to select each script file
or, click the 'Edit' button to create a script file.Info - If all of the monitoring program and the process lists for monitoring target are entered, check whether the monitoring program is successful or whether there are process lists for monitoring target.
- The default user for running the basic app is the user that runs the MCCS process.
If the process needs to run for another user other than the default user, then you must designate an execution account as follows.
[Figure] Complex Application Resource Added - Click the 'Finish' to see that the complex application resource is created as follows.
You can immediately check the result in the management web console.
Deleting
Select resource type → right click → delete resource.
삭제된 리소스는 관리 웹콘솔 상에서 바로 사라집니다. The deleted resource will immediately disappear from the management web console.
Status
The following table explains the status switching of the MCCS resource caused by a user's command and the status.
The command assumes that it is generated by a user
Application agent: It manages general application items.
It provides a more complex, wider expandability than processes to manage applications and services.
Status | Agent command | Description | Note |
---|---|---|---|
Online All the processes registered in MonitorProcesses are running and MonitorProgram returns '0'. | Offline | Runs the script registered in the StopProgram attributes. | |
Monitoring | Runs the scripts registered in the MonitorProgram attributes. | ||
Offline If any one of the processes registered in MonitorProcesses is terminated or the monitoring program returns a non-zero value, it is deemed as offline. | Online | Runs the script registered in the StartProgram attribute. | |
Monitoring | Refer to the description of monitoring as above. | ||
Trouble When the online resource is switched to offline without using the agent termination command, it is defined as the trouble state. | Online | Refer to the above online command. | |
Offline | Runs the script registered in the StopProgram attributes. |
Attribute
복합 응용 리소스의 고유 속성을 표시 합니다Show the unique attribute of complex application resource.
Attribute | Description | type | Default | Edit | Note |
Domain | It specifies domain of user account. | STRING | O | ||
MonitorProcesses | It is the list of the process to be monitored. | STRING | O | If Monitor Program does not exist, this is required and is able to insert both attributes Both must be satisfying when insert both attributes. | |
MonitorProgram | It is a program that executes programs for monitoring or inserts the path name of the batch script. | FILE | O | If MonitorProcesses does not exist, this is required and is able to insert both attributes Both must be satisfying when insert both attributes. | |
Password | It is the password defined by the user. | PASSWORD | O | ||
StartProgram | It is a program to bring online the Application in each node. | FILE | O | ||
StartupDirectory | It is a work directory. it means %MCCS_HOME if it does not have a input value. | DIRECTORY | (.) | O | |
StopProgram | It is a program to take offline the Application of each node. | FILE | O | ||
User | It is a user name which has received the permission to use the application. | STRING | System Account | O |
Attribute value of ArgList arguments are the values that are added resources and the value can be changed or viewed through ’Specified Attribute’ list on the detailed information panel.