Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column

클러스터는  페일오버 그룹, 병렬그룹등 다양한  리소스 그룹이 복수개 구성된  하나의 집합입니다.

클러스터는 MCCS 구성의 최상위이며  각 그룹들을 포함합니다.  MCCS의 기본적인 설정값들을 관리하고 있습니다A cluster is a group made of multiple resource groups such as failover or parallel groups.
A cluster is at the top of MCCS configuration and contains all the groups. MCCS's basic configurations are managed.


Column
width350px
Panel

이 페이지의 주요 내용Table of Contents

Table of Contents
maxLevel4

클러스터 구성

투노드 클러스터

페일오버 그룹(Failover Group) 구성 지원

한번에 한 노드에서만 실행될 수 있는 리소스를 포함한 그룹을 페일오버 그룹이라고 합니다.

페일오버 그룹은 중요 자원 장애시 대기 노드로 서비스가 전환됩니다. 이 그룹에 포함된 자원은 운영 노드에서만 동작합니다.

예를 들면 가상 IP 주소의 경우 운영 노드와 대기 노드로 동시에 사용될 수 없습니다. 또한 가상 IP 주소가 장애인 경우 대기 노드로 서비스가 전환됩니다.

병렬 그룹(Parallel Group) 구성 지원

두 개 이상의 노드에서 동시에 실행될 수 있는 리소스로 구성된 그룹을 병렬 그룹이라고 합니다. 병렬 그룹은 페일오버 하지 않습니다.

일반적으로 클러스터로 구성된 응용프로그램을 포함한 리소스들은 운영 노드에서 실행(Online)중일 때는 대기 노드에서는 정지(Offline)된 상태로 있습니다.

그러나 병렬 그룹으로 구성하는 경우에는 지정한 응용프로그램을 양 쪽 노드에서 동시에 시작, 감시, 종료 등을 행할 수 있습니다.

예를 들면 양 쪽 노드에서 백업 소프트웨어를 운영하고 있고 이를 클러스터에서 관리하는 리소스로서 등록하는 경우, 필요하다면 백업 소프트웨어를 양 쪽 노드에서 항상 동시에 실행하는 상태로 운영할 수 있습니다.

(단, 해당 프로그램이 복수의 노드에서 병렬로 실행될 수 있어야 합니다.)

싱글 노드 그룹(Single Node Group) 구성 지원

한개의 노드에서 실행 될 수 있는 리소스로 구성된 그룹을 싱글 노드 그룹이라고 합니다. 싱글노드 그룹은 페일오버 하지 않습니다.

싱글노드 그룹은 포함된 리소스에 장애가 감지 되었을 경우 지정된 횟수 만큼 온라인을 시도합니다.

싱글노드 클러스터

한개의 노드에서 실행 될 수 있는 리소스로 구성된 클러스터를 싱글 노드 클러스터라고 합니다. 싱글노드 클러스터는 페일오버 하지 않습니다.

싱글노드 클러스터에서는 오직 싱글노드 그룹만 지원합니다.

 

클러스터 속성

클러스터의 속성은 클러스터의 속성 뷰에서 파악할 수 있습니다.

MCCS 콘솔의 그룹 관리 뷰에서 클러스터 선택 후 오른쪽의 '클러스터 속성값' 탭의 상세 정보를 볼수 있습니다.

회색으로 표기된 값은 읽기 전용입니다. 이 값들은 그룹 상태를 나타내기 위한 정보입니다. 흰색으로 표기된 값은 사용자에 의해 정의된, 수정가능한 값입니다. 아래에 일부가 설명되어 있습니다.

Image Removed

[그림] 클러스터 속성 화면

클러스터 속성값 

...

속성

...

설명

...

기본값

...

수정

...

ClusterName

...

Cluster Configuration

Two Node Clsuter

Support Failover Group

A failover group is a group that contains the resource that can be run at a single node at a time.
A failover group switches to the standby mode when the main resource is failed. The resource in this group only operates at the operating nodes.
For instance, a virtual IP address cannot be used at the operating node and the standby node at the same time. In addition, if a virtual IP address causes troubles, it will switch service to the standby node.

Support Parallel Group

A parallel group is a group composed of the resources that can be run at more than one node at the same time.
A parallel group does not failover.In general, the resource containing applications made of cluster is online at the operating node and offline at the standby node. However, if you use a parallel group, you can start, monitor or terminate the designated application at the both nodes.
For instance, if the both nodes operate the backup software and you register it as the resource managed in a cluster, you can run the backup software at the both nodes at the same time. (But, the application should be run at multiple nodes in parallel.)

Support Single Node Group

A single node group is a group of resources that can be run at a single node.
A single node group does not failover. When the included resource experiences troubles, a single node group will try to be online as many times as designated.

 

Single Node Cluster

A single node cluster is a cluster of resources that can be run at a single node. A single node cluster does not failover.
A single node cluster only supports a single node group.


 

Cluster Attribute

Cluster attributes can be checked in the cluster attribute view.
In the group management view of the MCCS web console, select a cluster and press the 'Cluster Attribute value' tab on the right to view the detailed information.
The grey values are for reading only. These values represent the group status.
The white colored values are defined by a user and they can be modified.
The below table explains some attributes.

  

Image Added

[Figure] Cluster Attribute View

 

Cluster Attribute

 Attribute Description

Type

 Defaults EditNote

ClusterName

It is the name of the cluster. 
It is defined during the first time configuring the heartbeat.

NAME

 

X

 

GroupLimit

생성할 수 있는 최대 그룹 수입니다It is a maximum number of groups that can be added.

INTEGER

32개32ea

X

 

HBInterval핫빗 수신 여부를 확인하는 주기입니다. 
이 시간의 10분의 1 간격으로 핫빗 데이터를 전송 합니다. 

It is an interval for checking whether to receive heartbeat data, Heartbeat data is transferred at an interval 1/10 of this time.

INTEGER

2000ms

O

 

HBPort

핫빗 서버 포트를 나타냅니다It indicated the heartbeat server port.

PORT

14321

X

 

HBTimeout

핫빗 네트워크 ICMP 테스트 타임아웃 값을 입력합니다. 
핫빗 데이터 연결이 끊어지면 이 시간을 타임아웃으로 ICMP 테스트를 실시합니다. 

INTEGER

3초It is ICMP test timeout for heartbeat network. If heartbeat data is disconnected, Timeout will take place, and the ICMP test will be conducted.

INTEGER

3sec

O

 

IsolationTestTmeout

노드 고립(split)을 테스트할 때, ICMP 테스트 타임아웃을 설정합니다. 

INTEGER

3초It sets up the ICMP test timeout during the node isolation (SPLIT) test. For the test IP address, please refer to 'Isolation TestAddress' from Node Attribute of this chapter.

INTEGER

3sec

O

 

LogBackupCount로그 파일 백업 수를 나타냅니다. 

It indicates the limit of backuped log file count.

INTEGER

3개3ea

O

 

LogFileSize로그 파일의 최대 크기입니다. 
최소 64KB, 최대 10000Kb로 지정 가능합니다. 
로그 파일의 크기가 설정 크기를 초과하면 로그 파일명 뒤에 숫자가 붙으며 백업됩니다. 

It is the size of the log file. Minimum size is 64KB. while the maximum size is 10,000MB. If the size of the log file is greater than this, it will be backed up to mccs.log.1

INTEGER

1000Kb

O

 

LogLevel

로그로 남기는 기준 레벨입니다. 
로그 레벨은 It is the standard level of the log recorded in the log file. The log levels include DEBUG, INFO, WARN, ERROR , FATAL 순으로 중요도가 심해지며 지정된 레벨 이상의 중요도를 갖는 로그만 파일에 기록 됩니다and FATAL, and only those logs above this level will be recorded in the file.

LOG LEVEL

Info

O

 

NodeFaultDetectionTime

노드 장애를 판단하는 시간입니다. 
마지막 핫빗 단절 시간과 두번째 핫빗 단절 시간의 차이가 이 시간을 초과하면 SPLIT-BRAIN으로 간주되며, 초과하지 않으면 노드 장애로 판단합니다. 

INTEGER

30초It is the time for detecting node failures. 
If the time from initial hearbeat disconnection to the disconnection of all heartbeats exceeds this time, it will be regarded as SPLIT, and if smaller, it will be considered a node failure.

INTEGER

30sec

O

 
PingRetryTime

ping 테스트 실패를 판단하는 시간입니다. 핫빗 데이터 연결이 끊어지고 PingRetryTime 설정시간 동안 ping을 반복해서 시도합니다.
설정값을 초과할 때까지 ping이 안되면 실패로 판단합니다Time to determine ping test failure.
If the heartbeat data disconnects, it will try to ping during this time. If ping does not work after the time is exceed, it is determine as failure.

INTEGER0초0secO 

ResourceLimit

생성할 수 있는 최대 리소스 수입니다It is a maximum number of resources that can be added.

INTEGER

500개500ea

X

 

RMIConnectionTimeout

RMI 연결 시간 제한을 입력합니다It is RMI connection timeout.

INTEGER

2초2sec

O

 
SingleNodeCluster하나의 노드로 구성 된 클러스터입니다It is a cluster consist of a node.BOOLEANfalseX 

SysLogLevel

운영체제 로그에 기록할 로그 레벨을 나타냅니다. 
이 레벨 이상의 중요도를 갖는 로그만 운영체제 이벤트 로그에 기록됩니다It indicated the log level to be recorded in the Windows system log. Only those logs above this level will be recorded in the system log.

LOG LEVEL

Error

O

 



CLI

...

Use (mccluster

...

command)

MCCS 클러스터의 속성값을 수정 할 때 사용합니다. CLI를 사용하여 사용자가 원하는 속성 값을 수정 할 수 있습니다Used to modify the attribute values of an MCCS cluster. Using this CLI, a user can modify the desired attributes values.

Info

MCCS 는 설치 시 최초 사용자 계정으로 id 가 'admin' 암호가 'password'인 계정을 생성합니다.

CLI 명령을 실행 시 id 와 password를 입력하지 않으면 , 위의 최초 사용자 계정의 id와 암호로 실행됩니다.

따라서 최초 사용자의 패스워드 변경 시, 필수적으로 CLI 명령에 id와 password를 옵션으로 입력해야하만 합니다When you install MCCS, the initial user account ID is set to 'admin' and the password is set to 'password'.
When you run the CLI command, you need to enter the ID and the password. Otherwise, the above initial ID and password will be used.
Thus, when you change the initial user password, you must enter the ID/password in the CLI command as options.


Syntax

Code Block
mccluster [-u userid -pw password] [-c clusterName] [-a attributeNameattribute] attrValattribute_value


Options

 

옵션설명
OptionDescription

-h

도움말을 출력합니다Display Help.

-u사용자 ID를 지정합니다Designate the user ID.
-pw Enter the user password with the -u 옵션의 사용자 Password를 지정합니다option.

-c

명령을 실행하기 위해 접근할 클러스터를 지정합니다Designate a cluster to be accessed to run the command.

-a

수정하기 위한 속성값 이름을 지정합니다Designate the attribute name to be modified.


Example

modify

testCluster의 클러스터 속성을 수정합니다. Modify the cluster attributes of testCluster.

Code Block
mccluster -u admin -pw password -modify -c testCluster -a attribute attribute_value 

list

클러스터 상태를 출력합니다Display the cluster condition.

Code Block
mccluster -u admin -pw password -list

...