Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
시스템 구성도 예시
Sample System Diagram

Image Added

[그림] 시스템 구성도 예시Figure] Example of System Configuration

Column
width350px
Panel

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

Table of Contents
maxLevel4

 

시스템 요구 사항

...

System Requirements

Hardware

CPU

최소 At least 1Ghz 이상의 or faster 32-bit (x86) 또는 or 64-bit (x64) 프로세서가 필요합니다processor.

메모리

MCCS가 운영되기 위해서는 다음과 같은 메모리 용량이 필요합니다.

최소 1GB 이상 메모리

최소 200MB 이상의 여유 공간

디스크

최소 500MB 이상의 여유 공간이 필요합니다.

네트워크 카드

미러 디스크를 구성할 경우에는 다음과 같이 최소 3개의 NIC(Network Interface Card)가 필요합니다.

  • 서비스용 NIC
  • 핫빗용 NIC
  • 미러용 NIC

공유 디스크를 구성할 경우에는 다음과 같이 최소 2개의 NIC(Network Interface Card)가 필요합니다.

  • 서비스용 NIC
  • 핫빗용 NIC

운영 체제

MCCS 는 다음과 같은 운영체제를 지원합니다.

Memory

Following memory capacity is needed to run MCCS service.
At least 1GB or more memory for system
At least 200MB or more for MCCS service

Disk

At least 500MB is needed.

Network Interface Card

At least 3 NICs (Network Interface Card) as below are needed to configure a mirror disk.

  • NIC for Service
  • NIC for Heartbeat
  • NIC for Mirror

At least 2 NICs (Network Interface Card) as below are needed to configure a shared disk.

  • NIC for service
  • NIC for Heartbeat

 

Operating system

MCCS supports the following operating system.

  • Up to Redhat Enterprise Linux 5 Update 6 이상 x86 or x64x64 
  • Up to Redhat Enterprise Linux 6 이상 x86 or x64 (단, PowerLinux 장비에서는 x64 (Only supports Red Hat Enterprise Linux 6 x64 만 지원합니다for PowerLinux.)
  • Up to CentOS Linux 5 Update 6 이상 x86 or x64
  • Up to CentOS Linux 6 이상 x86 or x64

설치 전 고려 사항

...

 

 

Pre-installation Consideration

Common Information

MCCS 4.0

...

supporting browsers

MCCS4.0 에서는 웹 브라우저를 통한 웹관리 콘솔을 제공합니다.

지원하는 브라우저는 다음과 같습니다.

...

provided the web management console through a web browser. The following types of browsers are supported.

  • Internet Explorer  8.0 or higher
  • Google Chrome 7 이상or higher
  • Fire Fox 4 이상.

 

운영 체제 및 필요 소프트웨어

서버 이중화를 위해 이중화 대상이 되는 두 서버에는 다음과 같은 환경이 동일하게 구성되어야 합니다.

  • 동일 OS or higher

Operating System and Software

Server redundancy for high availability is subject to the following two server environment must be configured identically.

  • The sameOS version, Kernel Version
Warning

SE Linux must be disabled.
Network Manager
서비스는 비활성화 되어야 합니다. 

MCCS 의 리소스 가 사용하는 커널 모듈이 ONDEMAND 타입일경우, 리소스의 온라인전에 모듈이 활성화 되어있어야 합니다. (Ex. 사용하지 않는 파일 시스템 모듈등 (ext3))

미러디스크 리소스를 지원하려면 service must be disabled.
If kernel modules that are used by the resources of the MCCS is ONDEMAND type, before resource online the module must be active.
In order to use MirrorDisk resource, you should pre-install DRBD 8.3.13 버전이 사전에 설치되어야 합니다.

자세한 사항은 "8- 부록 DRBD 설치" 를 참고하십시오. 

 

...

.
For more details about DRBD installation, please refer to“8- Appendix DRBD Installation”of this document.)

 

IBM PowerLinux must be configured as below: 

Warning

PowerLinux 장비에서는 IBM에서 제공하는 PowerLinux용 PowerLinux required Above PowerLinux JDK 1.78.0 64bit version 이상이 설치되어 있어야 합니다64 bit version for installation.
PowerLinux 장비에서는 MCCS 로그 수집을 위해, ZIP 패키지가 설치 되어 있어야 합니다required ZIP package to gather MCCS log.
PowerLinux 장비에서는 ehea 드라이버 모듈을 사용하는 네트워크 카드는 지원하지 않습니다.

PowerLinux 장비에서는 미러디스크 리소스를 지원하지 않습니다.

PowerLinux 장비에서 MCCS가 지원하는 OS는 does not support network cad that uses ehea driver module.
PowerLinux does not support mirror disk environment.
PowerLinux only supports Red Hat Enterprise Linux 6 x64 만 지원을 합니다.

 

 

네트워크 인터페이스

2개의 핫빗을 사용할 경우

  • 서비스를 위한 네트워크 인터페이스 카드 :  클라이언트 연결에 사용되며, 2번째 핫빗으로 사용됩니다.
  • 핫빗을 위한 네트워크 인터페이스 카드 : 노드간에 통신을 위해 사용됩니다.

3개의 핫빗을 사용할 경우

  • 서비스를 위한 네트워크 인터페이스 카드 : 클라이언트 연결에 사용되며 3번째 핫빗으로 사용됩니다.
  • 핫빗을 위한 네트워크 인터페이스 카드 : 노드간에 통신을 위해 사용됩니다.
  • 미러를 위한 네트워크 인터페이스 카드 : 로컬 디스크의 데이터 복제용으로 사용되며, 2번째 핫빗으로 사용됩니다.

(고객사 환경에 따라 가상 IP의 개수는 차이가 있을 수 있습니다.)

Active-Standby 서버 환경을 구성할 때, 서비스용 가상 IP는 클러스터에서 관리하며, 운영 및 대기 서버의 IP와 같은 대역이어야 합니다. 

미러용 네트워크는 Gigabit 랜으로 구성하기를 권장 합니다.

MCCS를 설치하기 전에 Ping 테스트 등을 통하여 모든 네트워크 통신이 정상임을 반드시 확인하고, 네트워크 카드의 드라이버는 NIC 제조사의 최신 드라이버 설치를 권합니다.

Warning

각 핫빗(Public, Heartbeat, Mirror)은 다른 네트워크 대역이어야 하며, 같은 핫빗에 속한 노드 별 포트는 동일한 네트워크 대역으로 설정합니다. 

IP 주소

MCCS 에 사용되는 클러스터의 각 노드의 모든 NIC 은 적어도 하나의 IP 주소가 있어야 합니다. 클라이언트와 통신하는 노드간의 전환가능한 가상 IP 주소는 사전에 미리 예약되어야 합니다. (가상 IP 주소의 갯수는 클라이언트의 필요에 따라 달라질 수 있습니다.)

...

Network Interface Card

At least 2 NICS as listed below are needed for shared disk environment.

  • NIC for service : Used to client connection. This is also used for 2nd heartbeat.
  • NIC for heartbeat : Used to communication path between nodes.

At least 3 NICs as listed below are needed for mirror disk environment.

  • NIC for service : Used to client connection.  This is also used for 3rd heartbeat.
  • NIC for heartbeat : Used to communication path between nodes.
  • NIC for mirror : Used to replicate the data of local disk to target disk. This is also used for 2nd heartbeat.

(Number of virtual IP can be different according to the customer's environment) 
When configure Active-Standby server environment, virtual IP for service is managed in cluster and it should be the same bandwidth as IP of active and standby server.
Giga LAN is recommended for network for data mirroring.
Before installing MCCS, all network connection should be checked first through Ping test. Latest driver installation of NIC manufacturer is recommended for driver of network card.

Warning

When you assign an IP address on each NIC for service, heartbeat and mirror, Each IP address should not be on the same subnet among them. But each pair of them between nodes must be on the same subnet.

IP Address

Each node in a cluster should have at least one IP address for every NIC to be used by MCCS. Virtual IP addresses which is switchable between nodes which communicate to clients also should be reserved. (The number of virtual IP address can be variable according to the clients' needs.)
When you reserve virtual IP addresses, this must be on the same subnet as the real IP address of the NIC of node. For example, if the real IP address of the NIC is 10.10.10.10/255.255.255.0 이라면 MCCS 가 사용하는 NIC 의 가상 IP 주소는10, virtual IP addresses that MCCS uses on that NIC must be in the form 10.10.10.x/255.255.255.0 이어야 합니다.(x 는 1 에서 254 사이의 값이어야 합니다)

방화벽

기본적으로 MCCS는 14321부터 14324까지의 TCP 포트를 사용하며 설치 시 자동으로 등록해 줍니다. 

사용되는 포트들은 설치시  iptables 에 자동으로 등록됩니다.

Warning

웹포트 및 미러 디스크 관련 포트는 방화벽에 자동 등록되지 않습니다. 또한 기본 포트를 변경했을 경우, 방화벽에 사용자가 변경해야 합니다.

디스크

미러 디스크

  • 양 서버의 미러링 볼륨 크기는 동일하거나 대기 서버의 볼륨이 커야 합니다.
  • DAS, SAN, iSCSI 환경 모두를 지원합니다.
    (NAS와 같은 네트워크 드라이버에 대한 복제는 지원하지 않습니다.)

공유디스크

  • SAN, DAS, iSCSI 환경 모두를 지원합니다.

스카시 예약 디스크

  • SAN 프로토콜 중에서 SCSI3-PR을 지원하는 공유 스토리지를 지원합니다. 
사용자 프로그램

MCCS는 물리적 리소스뿐만 아니라 서버에서 운용되는 다음과 같은 사용자 프로그램들을 감시합니다.

  • 단일 프로세스 형태의 기본 응용 
  • 여러 개의 프로세스로 이루어진 응용 프로그램 형태의 복합 응용 
  • 리눅스에서 실행되는 리눅스 서비스

또한, 사용자가 등록한 리소스에 장애가 발생하면 페일오버 절차에 의해 대기 서버에서 동일한 프로그램을 운영할 수 있게 합니다. 따라서 사용자는 위와 같은 서비스 리소스들을 MCCS에 등록해야 합니다. 

사용자가 등록한 리소스들에 대한 등록 절차는 "MCCS 사용자 안내서의 6-리소스의 각 리소스 등록 및 삭제"를 참조해 주십시오.

리소스를 등록하기 전에 사용자는 어떤 서비스를 MCCS의 리소스에 등록 할 것인가를 결정하고 다음과 같은 사항을 미리 숙지하시기 바랍니다.

...

  • 기본응용으로 등록하려는 프로그램의 폴더 위치
  • 단일 파일로 된 실행 가능한 파일
  • 실행하려는 계정

...

  • 복합 응용으로 등록하려는 프로그램의 스크립트 파일 폴더 위치 (상세한 내용은 "MCCS 사용자 가이드의 6-4 복합응용 리소스"를 참조해 주십시오.)
  • 실행하려는 계정

...

다음은 MCCS 설치와 구성을 위한 사전 체크 리스트입니다.

...

where x is any unassigned number from 1 to 254.

Firewall

MCCS basically uses TCP/UDP port from 14321 to 14324 and it is done mostly automatically. 
That ports are registered in linux iptables during installation automatically.

Warning

 Web ports and mirror disk related ports are not automatically registered in the firewall. In addition, if the basic ports are changed, users need to register them in the firewall.

Disk

Mirror Disk

    • Either volume size should be the same on both servers or volume size of standby server should be bigger for mirror disk environment.
    • MCCS supports DAS, SAN, iSCSI
      (However, MCCS does not replicate the data on network driver like NAS.)

Shared Disk

  • Support SAN, DAS and iSCSI.

SCSI Reservation disk

  • It supports the shared storage that supports SCSI3-PR that is a kind of SAN protocols. 


User Program

MCCS detects not only the physical resources but also the user program listed below.

  • Process service in a form of single process.
  • Application service that consists of several processes of application.
  • Linux service running in Linux

When failure occurred in a group, MCCS will online the service resources on the standby which runs the same resources on the active. Users need to add the service resources mentioned above to manage by MCCS. 
Please refer to "7-Resource  of MCCS  User Guide" for more details about adding a resource by the user .
Before adding a resource, user should decide what kind of service of resource and read the following in advance and these attributes will be set.

  • Process Service 
    • Directory where program of Process is registered
    • Program name in a form of single process that executable
    • The name of the account that you want to run
  • Application Service
    • Directory location of script files of the program to register Application
      (Please refer to " 7-Resource of MCCS  User Guide" for more details.)
    • The name of the account that you want to run
  • Linux service
    • Turn 'off' the start level of service registered in the Linux service manager.
    • Same service name for the both nodes registered in the Linux service manager.


Checklist for Installation and Configuration

Following is the checklist for installation and configuration for MCCS.

ComponentNode1Node2
 Active(소스Source)Standby(타깃Target)
Network Info.Hostname  
Service NetworkNIC Name  
IP Address  
Subnet Mask  
Virtual IP Address  
Heartbeat NetworkNIC Name  
IP Address  
Subnet Mask  
Heartbeat NetworkNIC Name  
IP Address  
Subnet Mask  
Disk Info.Shared Disk Volume   
Mount Point   
Application Info.Protection Service   
Protection Process   
Protection Application   

 

아래는 위의 체크리스트를 이용하여 만든 사전 체크리스트의 예입니다.

...

Following is a sample checklist for MCCS installation and configuration..

ComponentNode1Node2

 

Active (소스Soruce)

Standby (타깃Target)

Network Info.

 

 

 

 

 

 

 

 

 

 

Hostname

tom

jerry

Service Network

 

 

 

NIC Name

eth0

eth0

IP Address

210.169.4.2

210.169.4.3

Subnet Mask

255.255.255.0

255.255.255.0

Virtual IP Address

210.169.4.1 / 255.255.255.0

 

Heartbeat Network

 

 

NIC Name

eth1

eth1

IP Address

10.10.10.1

10.10.10.2

Subnet Mask

255.255.255.0

255.255.255.0

Heartbeat Network

 

 

NIC Name

eth2

eth2

IP Address

20.20.20.1

20.20.20.1

Subnet Mask

255.255.255.0

255.255.255.0

Disk Info.

Shared Disk Volume

 

/dev/sdd1

 

Mount Point /Oracle 

Application Info.

 

Protection Service

 

vsftpd

 

Protection process Custom Process 

Protection application

 

Oracle