Versions Compared

Key

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

 

Section

 

Column

MCCS를 사용하여 서버 이중화를 구성한 후, 서비스 운영 중에 여러 가지 장애가 발생할 수 있습니다.

이 장에서는 MCCS가 어떻게 장애를 감지하고 대처하는지에 대해 다음의 예제에서 상세하게 설명합니다.

(다음 예제에서 운영 서버는 'Active', 대기 서버는 'Standby'란 이름으로 MCCS에 등록되어 있습니다After configuring redundancy environment using MCCS, some failures might occur.

This chapter will explain how MCCS detects the failure and administrates after failure or failover is done. 

(In the following example, the operating server as 'Active', standby server name as 'Standby' is registered on MCCS.)

 

Column
width350px

 

Panel

이 페이지의 주요 내용

Table of Contents
maxLevel4

 

 

 

How to use EMS(Emergency Message Service)

의 활용MCCS는 별도 상용 제품인

MCCS has a bundled product called EMS(Emergency Message Service)를 통해서 해당 시스템의 심각한 오류나 장애가 발생했을 경우, 자동으로 서버 관리자와 MCCS 제품 서비스 담당자에게 문자 메시지를 전송합니다.

또한 웹 기반의 통합 관제 콘솔을 제공함으로써 인터넷을 통하여 언제 어디서든지 장애 현황을 한 눈으로 파악할 수 있으며, 과거의 장애 이력 검색, 관리, 보고서 작성 등을 쉽게 할 수 있습니다.

EMS 시스템에 대한 상세한 사용방법은 "EMS 사용자 안내서 및 EMS Agent 설치 안내서"를 참조해 주십시오.

EMS 구성요소

EMS 에이전트

MCCS가 설치되는 서버에서 동작하는 프로그램으로 EMS 서버와 통신을 합니다.

EMS 서버

MCCS 제품 유지 보수를 담당하는 업체에 설치된 서버 프로그램을 말합니다.

EMS 업무 흐름

로그 저장

EMS 에이전트가 로그를 저장합니다.

다음과 같은 LogType 속성을 이용하여 EMS 서버에 저장될 로그 종류를 지정할 수 있습니다.

H

HA 관련 로그로 저장됩니다.

(파일감시만 지정 가능합니다.)

A

애플리케이션 관련 로그로 저장됩니다.

(파일감시만 지정 가능합니다.)

S

Windows 시스템 이벤트 로그로 저장됩니다.

(Windows event감시만 지정 가능합니다.)

P

프로세스 관련 로그로 저장됩니다.

(파일감시만 지정 가능합니다.)

로그 분석

EMS 서버 이용자는 EMS 서비스를 받고자 하는 시스템에 대하여 장애 레벨을 설정할 수 있습니다.

EMS 서버는 설정된 장애 레벨을 필터로 사용해서 EMS 에이전트가 실시간으로 전송한 운영 서버의 시스템 로그 및 MCCS 로그를 분석하여 장애 여부를 판단합니다.

SMS 통보

정해진 필터에 의해 장애 감지가 확인되면 EMS는 시스템 담당 운영자와 MCCS 제품 서비스 담당자의 휴대폰에 장애 내용을 SMS(문자메시지)로 통보하여 신속하게 대응할 수 있도록 합니다.

EMS 서버 접속 후, 장애 원인 분석

시스템 담당 운영자 및 MCCS 제품 서비스 담당자는 인터넷 연결이 가능한 곳에서 EMS 서버에 접속하여 장애가 발생한 서버의 로그를 살펴보고 장애 원인을 분석합니다.

또한 제조업 관련 고객사인 경우, EMS 서버를 별도로 구축하면 제품 제조 공정에서 운영되고 있는 수많은 이중화 서버들을 중앙에서 모니터링 할 수 있으며, 통계 정보를 통하여 기간별 장애 유형과 장애 처리 내용들을 검색할 수 있습니다.

다음은 EMS 시스템의 업무 흐름을 도식화 한 것입니다.

Image Removed

[그림] EMS 시스템의 업무 흐름도

EMS 서버의 통합 모니터링 화면

다음은 EMS 서버에서 제공하는 통합 모니터링 화면의 일부입니다.

장애가 발생한 서버는 붉은 색으로, 장애 발생 후에 서버 관리자가 이를 인지하고 정상화 과정에 있는 서버는 노란색으로 표시되며, 파란색으로 표시된 서버는 정상 상태임을 나타냅니다.

물론 EMS 서버에 등록된 사용자는 해당 사용자가 관리하는 서버에 대해서만 내용을 확인할 수 있습니다.

Image Removed

[그림] EMS 시스템의 이중화 서버 모니터링 화면

Image Removed

[그림] EMS 시스템의 통계 화면

서버 장애

...

service) that automatically sends SMS to the defined admin members in charge of critical events. 

In addition, since console is web-based management, whenever an error or fault occurs, it can be managed anywhere that has internet service. Plus, Failures records in the past, management, reporting are all very easy to use.

EMS Component

EMS Agent

It is a program installed in the server to connect with EMS server.

EMS Server

It is an installed server program from the product provider company of MCCS.

EMS Workflow

Save Log

EMS Agent saves logs.

EMS server can specify logs by its type using 'LogType' attribute as shown below.

H

It saves the logs related to HA (MCCS).

(It can only specify file monitor.)

A

It saves logs related to application.

(It can only specify file monitor.)

S

It saves event log of Windows system.

(It can only specify Windows event monitor.)

P

It saves log related to process.

(It can only monitor specified file.)


Log Analysis

EMS Server users can set failure level of the system that wants to receive EMS service.

EMS server uses failure level that is set to filter EMS Agent system of operating server and analysis log to determine if it is a failure


SMS Notification

After failure monitoring for given filter is checked, EMS will send the SMS to the system operator and MCCS server operator so that it can be dealt quickly.


After connecting to EMS server, analysis cause of failure

System operator and MCCS service operator can access to the EMS server where anywhere with internet connection to check on the log and analyze the cause.

In addition, in case of manufacturing customer, it provides a centered monitoring system for all the servers in the factory and also provides a statistic of periodical failure type and trouble-shooting solutions.

The following graph is the workflow if EMS system.

Image Added

[Figure] Workflow of EMS System


Control Monitoring of EMS Server Consolidated Web-based dashboard of EMS Server

Following is a part of consolidated web-based dashboard of EMS Server. 

Servers with failures are shown in red, servers that had failure and had notified to the server operators are shown in yellow, and servers that operate normally are shown in blue.

Users registered in EMS server are the only ones that can monitor the dashboard. 

Image Added

[Figure] Redundant server monitoring view of EMS system


Image Added

[Figure] Statistic view of EMS system 


Server Failure

This is the case of system being rebooting or shut down because of conflicts of each device (NIC, Raid Controller), kernel driver problem of other application.

운영 서버 장애 

  1. 서버의 정상 혹은 비정상 종료에 따른 MCCS의 역할에는 차이점이 없습니다. MCCS는 운영 서버에서 장애가 발생하면 대기 서버로 페일오버를 진행합니다.
    화면의 오른쪽에 있는 노드 관리에서 해당 서버를 선택하면 '리소스 상태' 및 '리소스 의존성' 화면을 통하여 장애를 확인할 수 있습니다.
    • 정상 종료 사용자가 운영체제에서 '시스템 종료'를 선택한 경우를 말합니다.
    • 비정상 종료 블루스크린 또는 예기치 않은 상황으로 인해 시스템 종료 혹은 재부팅 되는 경우를 말합니다.
    Image Removed
    [그림] 운영 서버 장애 발생 화면
  2. 서버 장애로 인해 데이터를 복제 할 수 없기 때문에 미러 디스크 리소스 부분 에 Image Removed표시가 생깁니다.
  3. 서버 운영자는 장애를 발생시킨 부분을 확인하여 서버를 정상화 시켜야 합니다.
  4. 장애가 발생한 서버가 다시 부팅이 되면 MCCS는 두 서버간의 상호 미러 역할을 확인 후 장애가 발생한 서버를 복제 타깃으로 설정하고 부분 동기화를 진행합니다.

대기 서버 장애

  1. 대기 서버에 장애가 발생하면 MCCS는 해당 서버에 장애 발생을 표시합니다.
  2. 대기 서버가 정상화 되기 전까지 데이터 복제를 잠시 중단합니다. 
    Image Removed
    [그림] 대기 서버 장애 발생 화면
      • Normal Termination of a system
        This is a case where user selected 'system shutdown' in operating systems.
      • Abnormal Termination of a system 
        This is a case where system is terminated or rebooted due to an unexpected situation or blue screen.
    Image Added
    Figure] Failure in Active Server

  3. Since data cannot be replicated due to the server failure, Image Addedwill be shown in the mirror disk resource.
  4. Server operators check on the failure and put the server back to normal.
  5. After checking on the mirror role of two servers when server with the failure is rebooted, switch the server with the failure as replication target and proceed partial resync.

Standby Server Failure

  1. MCCS will show the failure when failure occurs in standby server.
  2. Data replication will be paused until standby server is back to normal.

    Image Added
    [Figure] Failure in Standby Server

  3. 데이터 동기화가 불가능해지고 미러 디스크가 '네트워크 연결 실패' 상태(Image Removed Image Added )가 됩니다.
  4. 대기 서버에서 장애가 발생하면 운영상에는 문제가 없지만 페일오버할 대상이 없으므로 서버 운영자는 반드시 MCCS 웹 MCCS 웹 콘솔을 통하여 장애를 확인하고 대기 서버를 정상화 시켜야 합니다.
  5. 대기 서버가 다시 정상으로 돌아되면, Image Removed Image Added 아이콘이 사라집니다.
  6. 미러디스크의 DiskState 상태 값은  'Inconsistent'  에서 'UpToDate' 상태로 변경되기 위해, 데이타 동기화(Image RemovedImage Added)를 진행합니다. 
  7. 동기화가 완료가 되면, 현재 정상 데이터가 실시간 동기화되고 있다. (Image Removed Image Added )는 상태로 변경됩니다. 

응용프로그램 장애

...

Application Failure

Active application resources are operated by 4 elements below.

  • MonitorInterval (기본값Default Value=10초10sec)
    설정된 값을 주기로 리소스를 감시합니다. Monitors the resource with interval set value.
  • MonitorTimeout (기본값Default Value=10초)
    설정된 값 만큼 응답이 오지 않으면 장애로 판단합니다. 10sec)
    If there is no reply as much as the set value, it is considered as a failure.
  • RestartLimit (기본값Default Value=0)
    설정된 값만큼 해당 응용프로그램 리소스를 재시작합니다. It will restart the application resource as the set value.
  • OnlieTrustTime (기본값Default Value=600초600sec) 
    리소스 재시작 횟수를 재설정하는 시간입니다. 
    위의 속성값들은 해당 리소스를 등록할 때 설정된 값이고, 사용자는 각 리소스의 속성 페이지를 통하여 값을 수정하거나 확인할 수 있습니다. 
    Image Removed
    [그림] 리소스 속성값 수정 화면

...

  • It re-sets the time of number of resource restarting number.It is the time to reset the frequency of the resource to restart.
    Attributes above are the set value of the registered being added the resource, and users can check or change the values through Resource Attribute view of MCCS console. 

    Image Added
    [Figure] Resource attribute value Edit

  1. MCCS periodically monitors the resources referring  'MonitorInterval'.
  2. If there is no response as the time set in 'MonitorTimeout', it is considered as a failure.
  3. If there are no response after sending the command as the number set in 'RestartLimit', MCCS will failover the group which resource belongs to.
  4. If the resource stays in normal state within the time limit set by 'OnlineTrustTime'. MCCS will initialize the attribute value of 'RestartLimit'. This is to ensure restart number when failure occurs in a resource.
  5. If there is a failover due to a failure in the resource, server operator checks on the problem and put it back to normal.
  6. 장애가 발생한 부분은 MCCS 웹 콘솔에서 확인할 수 있으며, 장애가 발생한 부분을 사용자가 확인한 후에 장애 표시를 제거해 주어야 다시 페일오버 기능이 활성화됩니다. 
    자동으로 장애 표시를 제거하고자 할 경우에는 그룹 속성의 AutoFaultClearTime에 0보다 큰 값을 설정하면 됩니다. 장애가 발생한 서버가 다시 부팅이 되면 MCCS는 두 서버간의 상호 미러 역할을 확인한 후에 장애가 발생한 서버를 복제 타깃으로 설정하고 동기화를 진행합니다. 
    Image Removed
    [그림] 리소스 장애 표시 제거 화면

네트워크 장애 

...

  1. 할 경우에는 그룹 속성의 AutoFaultClearTime에 0보다 큰 값을 설정하면 됩니다. 
  2. After checking on the mirror role of two servers when server with the failure is rebooted, switch the server with the failure as replication target and proceed partial resync.

    Image Added
    [Figure] Failure in Resource Clear

Network Failure

Network failure happens when network connection has problem, such as network switch or network interface card is broken or disconnection in network cable, or ping timeout of some network and so on.

...

Warning

Since MCCS 라이선스는 MAC 어드레스를 참조하기 때문에 네트워크 카드가 변경되면 라이선스를 재발급 받아야 합니다.

...

서비스 네트워크 장애

운영 서버에서 서비스 네트워크 장애가 발생하면 MCCS 웹 콘솔의 네트워크 주소 또는 네트워크 카드 리소스부분에 장애 표시가 되고 대기 서버로 페일오버를 진행합니다.

...

 

...

Image Removed

license referenced to MAC address, license should be reissued if there is a change in network interface card.

    • Service Network Failure

      If failure occurs in service network of active server, the fault mark will be shown on the network interface card resource or IP address of the node in MCCS UI, and will failover to the standby server.

      Image Added

    • [Figure] Failure in Network Interface Card

 

  1. 서비스 네트워크 장애는 장애가 발생한 부분을 MCCS 웹 콘솔에서 확인할 수 있습니다.
  2. MCCS는 네트워크 장애가 발생된 서버의 네트워크 케이블 단절 또는 특정 네트워크로의 Ping 타임아웃 발생 유무를 확인합니다. 
  3. 네트워크 주소 리소스가 장애 원인이라면 사용자는 네트워크 스위치 또는 네트워크 카드부터 점검해야 합니다. 네트워크와 관련된 물리적인 부분들이 정상화 된 후에는 MCCS 콘솔에서 "장애표시제거" 메뉴를 선택하여 장애 표시 항목을 제거 합니다. 이 때부터는 페일오버가 가능한 상태가 됩니다.
  4. MCCS checks network cable disconnection of server where network failure occurred, and whether ping timeout occurs from network.
  5. If IP address resource is the cause of the failure, user should check on the network switch or network interface card.
    When physical parts related to network is back to normal, select 'Clear Fault' from the MCCS web console and remove fault mark in order to re-enable the failover function
  6. 자동으로 장애표시를 제거하려면 그룹 소것ㅇ의 AutoFaultClearTime 에 0보다 큰 값을 설정하면 됩니다. 

 


    • 핫빗 네트워크 장애

      Heartbeat Network Fault

      핫빗은 노드 상호간의 상태를 동기화하고 장애 상태를 결정하는 중요한 역할을 하기 때문에 반드시 이중화되어 있어야 합니다. 이중화된 핫빗 네트워크 중에서 어느 하나라도 장애가 발생하면 장애 내용은 로그창에 표시 됩니다. 
      하지만 MCCS MCCS 웹 콘솔에는 아무런 변화가 나타나지 않습니다. 이것은 운영 서버와 대기 서버에는 아무런 문제가 없다는 것을 뜻합니다. 

      이 때, 운영 서버에 문제가 생겨 대기 서버로 페일오버 해야 할 상황이 발생하면 MCCS는 장애가 발생하지 않은 정상적인 핫빗 네트워크를 이용하여 페일오버를 진행하게 됩니다.  

      만일 이중화된 핫빗 모두가 단절된 상황이라면 MCCS는 서비스 네트워크를 이용하여 핫빗 통신을 하게 됩니다. 

       

      Image Removed

      [그림] 핫빗 장애 발생 화면

       

       

...

    • 복제 네트워크 장애 

      뜻합니다. 
      At this point, when failure occurs in active server and needs to failover to the standby server, MCCS will use redundant normal heartbeat network to failover.
      If all the redundant heartbeat is disconnected, MCCS will use the service network as heartbeat line.

      Image Added

      [Figure] Failure in Heartbeat
        1. Heartbeat failure can be checked on MCCS log, Window System log. If failure occurs in heartbeat line, server operator should check on the TCP/IP of server, physical connection check on the heartbeat through ping test.
        2. If it is an abnormal situation, check on card, cable connection or cable disconnection and clear the cause of the failure.
        • Replication (Mirroring) Network Failure

          복제 네트워크에 장애가 발생하면 데이터 복제를 진행할 수 없으며,

      MCCS
        • MCCS 웹 콘솔의 미러 디스크 리소스 부분이 'Disconnect' 상태(

      Image Removed
        •  Image Added )로 표시 됩니다.

           
      Image Removed
        • Image Added 
    [그림Figure]
      복제 네트워크 장애 발생 화면
           

...

    • 단일 네트워크 스위치 장애 

      단일 네트워크 스위치로 구성된 환경에서 Public Network에 연결된 네트워크 스위치에 장애가 발생하면 운영 서버 및 대기 서버의 모든 그룹 리소스가 오프라인이 되며, 장애가 발생한 리소스는 '장애' 상태로 표시 됩니다.

       

            Image Removed

          [그림] 네트워크 스위치 장애 발생 화면

 

...

        Failure in Replicated Network
            1. Replication network failure can be checked on MCCS log, OS System log. If failure occurs in replication network, server operator should check on the TCP/IP of server, physical connection check on the replication network through ping test.
            2. If it is an abnormal situation, check on card, cable connection or cable disconnection and clear the cause of the failure.

        • Single Network Switch Fault

          When failure occurs in network switch connected to Public Network where it is configured by single network switch, all the resources in active and standby server will be taken offline, resources where failure occurs will show as 'fault'.
          Image Added
          [Figure] Failure in Network Switch    

      1. Network switch failure can be checked on MCCS log, OS System log. If failure occurs in service network connection, server operator should check on the TCP/IP of server, physical connection check on the service network through ping test.
      2. 자동으로 장애 표시를 제거하려면 그룹 속성의 AutoFaultClearTime에 0보다 큰 값을 설정하면 됩니다.네트워크 스위치 장애에 대한 복구는 해당 제조사를 통하여 지원 받으시기 바랍니다.

      디스크 장애

      미러 디스크 장애 

      소스 디스크 장애 

      운영 서버의 미러 디스크 리소스에 장애가 발생하면 MCCS 웹 콘솔에 장애가 표시됩니다. MCCS는 해당 디스크에 Read/Write가 불가능한 상황이므로 장애로 인식하여 대기 서버로 페일오버를 진행합니다. 

      Image Removed 

      [그림] 미러 디스크 장애 발생 화면

      1. MCCS에서 디스크에 대한 장애 감지 방식은 다음과 같습니다.
      2. 해당 디스크에 대해서 Read/Write를 실행합니다.
      3. 해당 디스크의 마운트 유무를 판단합니다Please get the supports regarding the recovery of Network switch failure through manufacturer.

      Disk Failure

      Mirror Disk Failure

      • Source Disk Failure

        If failure occurs in disk resource of active server, MCCS GUI will show the failure. MCCS will failover to the standby server since it is impossible to Read/Write in the disk.

        Image Added 

        [Figure] Failure in Mirror Disk


      1. Availability of disk monitoring of MCCS are as below.
        • Periodic read/write test on the disk.
        • Determines whether drive letter exists in the disk.
      2. 디스크 장애 발생 요인은 다음과 같은 경우가 있을 수 있습니다. 위의 문제가 해결 된 후에 운영 체제는 변경된 디스크를 다시 인식합니다.이후 DRBD에서 동기화를 진행합니다.
        • 디스크 컨트롤러 문제 하드웨어 자체의 문제는 해당 업체에서 해결해야 합니다.
        • 물리적인 디스크 문제 하드웨어 자체의 문제는 해당 업체에서 해결해야 합니다.
      3. 미러 리소스에서 에서 동기화가  동기화가 진행되지 않으면 미러디스크 리소스를 삭제한 후에 다시 생성시도합니다해야 합니다단, 삭제시 삭제 시 리소스만 삭제가 아니라 생성된 미러까지 삭제 하고 삭제하고 다시 생성해야 합니다. 

      • 타깃 디스크 장애 Target Disk Failure
        대기 서버의 디스크에 장애가 발생하면 MCCS 웹 콘솔MCCS 웹 콘솔의 디스크 리소스 아이콘은 변화가 없고, Diskstate 의 속성 값이 UptoDate에서 Diskless 로 변경 됩니다. 그러나 소스 서버에서 운영중인 서비스에는 영향을 미치지 않습니다. 
        Image RemovedImage Added
        [그림] 타깃 디스크 장애 발생 화면

      1. MCCS에서 타깃 디스크에 대한 장애 감지는 해당 디스크의 DiskState 상태에 대한 값만을 출력합니다. 
      2. 디스크 장애 발생 요인은 다음과 같은 경우가 있을 수 있습니다.위의 문제가 해결 된 후에 운영 체제는 변경된 디스크를 다시 인식합니다.이후 DRBD에서 동기화를 진행합니다.
        • 디스크 컨트롤러 문제 하드웨어 자체 문제는 해당 업체에서 해결해야 합니다.
        • 물리적인 디스크 문제 하드웨어 자체 문제는 해당 업체에서 해결해야 합니다.
      3. 미러 리소스에서 에서 동기화가  동기화가 진행되지 않으면 미러디스크 리소스를 삭제한 후에 다시 생성시도합니다생성 해야합니다단, 삭제시 삭제 시 리소스만 삭제가 아니라 생성된 미러까지 삭제 하고 삭제하고 다시 생성해야 합니다. 

      • 미러 디스크 리소스의

        Split Brain of Mirror Disk Resource 

        매우 드문 경우이지만 두 서버상에서 미러 디스크 역할이 모두 Primary로 인식되었고, GI 데이터  웹 콘솔의 데이터 값이 불일치 하는 경우입니다. 
        이러한 상황은 타깃이 소스로 변경되는 시점에 기존 소스가 타깃으로 변경되지 못한 결과이며, 이 때는 서로 자신의 데이터를 동기화하려 하지만 이전 데이터값이 불일치 하기 하지만 이전 데이터 값이 불일치하기 때문에 자동으로 동기화하지 않게 됩니다. 
        미러 디스크에서 Split Brain이 발생하는 상황은 다음과 같습니다.
      1. 소스 서버(A) 장애로 인해 페일오버가 발생합니다.
      2. 타깃 서버(B)의 역할이 Primary 로 변경됩니다. (미러 디스크 역할 변경)
      3. 최초의 소스 서버(A)를 재부팅합니다.
      4. 최초의 소스 서버(A)가 부팅된 후에 타깃 서버(B)의 역할을 확인합니다.
      5. 양 노드의 GI 값을 확인 합니다. .
      6. GI 데이터의 값이 일치유무를 확인하고 일치한다면 자동으로 데이터 동기화를 진행합니다. (5, 6번 과정 확인 실패)
      7. GI 데이터 값이 불일치 하여 어느한쪽 노드를 기준으로 동기화가 필요하며 동기화를 자동으로 진행하지 않습니다.  (Split Brain 발생)

        이러한 상태가 되면 MCCS 웹 콘솔에서 미러 디스크 리소스의 아이콘 표시와 겹쳐서 나타나며(Image RemovedImage Added),  'SplitBrainStatus' 속성 값이 True로 표시됩니다.
        이러한 경우에는 미러 디스크 역할을 수동으로 변경해야 하며, 변경한 후에는 재동기화 과정이 발생합니다.
        미러 디스크 역할을 수동으로 변경하는 방법은 MCCS MCCS 웹 콘솔을 이용하면 됩니다. 

      •  MCCS MCCS 웹 콘솔을 사용해서 스플릿브레인을 해결하는 방법
      1. 리소스 속성창을 확인합니다. 
        Image RemovedImage Added
        [그림] 미러디스크 스플릿 브레인 확인


      2. 미러관리 창을 미러 관리창을 확인합니다.

        Image RemovedImage Added
        [그림] 미러디스크 스플릿 브레인 확인

        Warning

        1) 양노드의 ConnectState 는 양노드의 ConnectState는 StandAlone이며, SplitBrainStatus 값은 True가 True됩니다.
        2) 미러디스크의 LastMirrorOnlineTime을 확인합니다. (LastMirrorOnlineTime은 시스템의 시간이므로 최신 데이터의 유무를 결정할 수 있는 절대값 아닙니다)
        3) 스플릿 브레인이 발생했을 때 발생하는 로그가 출력됩니다. 
        (DRBD 볼륨(r0)에 스플릿브레인이 스플릿 브레인이 발생했습니다.)
        4) 미러관리 창에서 미러 관리창에서 미러 상태가 'SPLIT' 상태 입니다상태입니다.

      3. 미러디스크를 선택하고 오른쪽 버튼을 클릭하여 '스플릿 브레인 해결'을 클릭합니다.
        Image RemovedImage Added
        [그림] 스플릿 브레인 해결  선택

      4. 스플릿브레인에 대한 설명창이 출력됩니다.
         
        [그림] 소스 노드 선택에 대한 내용 확인

      5. 소스노드를 선택합니다.
        Image RemovedImage Added
        [그림] 소스 롤 노드 선택

      6. 선택한 소스노드에 대해 다시 한번 확인합니다.
        Image RemovedImage Added
        [그림] 소스 노드 선택 다시 확인

      7. 스플릿해결 중인 화면입니다.

        [그림] 스플릿 브레인 해결 화면

      8. 스플릿해결 완료 화면입니다.

        [그림] 스플릿 브레인 해결 완료 화면

      9. 선택한 노드가 소스노드가 되고 미러디스크의 DiskState 상태는 UpToData로 되고 미러디스크의 DiskState 상태는 UpToData로 바뀌게 됩니다. 

        [그림] 스플릿 브레인 해결

        Warning

        노드 B 의 변경된 정보는 모두 덮어써지게 됩니다

         

      ...

      External Storage Failure

      외장 디스크의 연결 경로 및 디스크에 장애가 발생하면 해당 디스크의 Read/Write가 불가능하므로 MCCS는 장애를 표시하고 페일오버를 진행합니다.

      Image RemovedImage Added

      [그림] 공유 디스크 장애 발생 화면

       

      1. 외장 스토리지 장애는 MCCS 로그, 시스템 로그에서 장애 내역을 확인할 수 있습니다.

      2. 외장 스토리지 자체에 문제가 생기면 스토리지를 복구 할 때까지 서버 운영이 중단 됩니다. 따라서 빠른 시간 내에 스토리지를 복구하거나 임시 스토리지(백업 스토리지)로 교체해서 사용해야 합니다.

      3. 외장 스토리지와 관련된 장애는 해당 스토리지 업체에 문의하시기 바랍니다.

      4. 장애가 발생한 서버의 외장 스토리지 연결 및 디스크가 정상화 되면 OS가 복구된 환경을 다시 인식할 수 있도록 MCCS의 서버를 재부팅 해야 합니다.

      5. 또한 해당 스토리지 벤더를 통해 스토리지의 이중화 대책을 마련해야 합니다.

      SCSI Lock 장애

      SCSI3-PR 을 사용하는 볼륨매니저와 연동할 때

      볼륨 매니져(예: 시멘택의 SFW 같이 SCSI3-PR 예약 기능을 사용하는 제품)는 SCSI Lock 에이전트와 같이 사용할 수 없습니다.

      SCSI3-PR을 지원하는지 확인할 때

      디스크가 SCSI3-PR 기능을 지원하는지 scsicmd.cmd 명령으로 PR 타입을 확인합니다.

      sg_scan.exe 또는 sg_persist.exe 패스를 못 찾을 때

      해당명령이 %MCCS_HOME%/bin 에 존재하는지 확인합니다.

      공유 디스크 에이전트와 연동할 때

      공유디스크 에이전트와 SCSI Lock 에이전트를 연동할 경우, 공유디스크 에이전트 동작이 정상임을 확인 한 후에 SCSI Lock 에이전트를 등록합니다.

      이때 SCSI Lock 에이전트의 디스크 사용목적은 H/W적인 LOCK 장치로 사용하기 위함이지 디스크의 내용을 사용하지는 않습니다. 따라서 디스크의 크기는 작아도 되며 내용은 보호하지 않습니다.

      등록 키 충돌 오류가 날 때

      scsicmd.cmd -c 옵션 혹은 scsicmd.cmd -cf 옵션 으로 예약키 또는 등록키를 모두 제거한 후 다시 설정해야합니다. 그리고 리소스 등록전에는 등록된 키는 없는지 확인하고 있으면 제거후 등록해야 합니다.

      참고로 현재 키는 노드의 MAC 주소를 사용하여 자동으로 설정합니다. 여러개의 네트웍 어탭터중에서 첫 번째 어탭터의 MAC 주소를 사용합니다. 이 키는 설정파일에 자동 기록합니다. 설정파일에 키가 존재할 경우에는 키를 새로 만들지 않습니다.

      하나의 디스크에 여러 레터가 존재할 경우 한개의 레터에 예약 시 나머지에 레터에 접근을 못할 때

      SCS Lock 대상 디스크는 기본 디스크와 단일 레터를 지원합니다. 동적 디스크나 다중 볼륨(하나의 LUN에 여러 파티션을 구성하는 경우)을 사용하는 디스크는 사용하지 마십시요.

      에이전트 등록 후 DUID가 해결되지 못한 상태로 유지될 때Figure] Failure in Shared Disk

      1. External storage failure can be checked through MCCS log, System log.

      2. If there is a problem in external storage, service is stopped until the storage recovers. Therefore, storage should be recovered in a short period of time or it should be replaced to other one (back up storage).

      3. Problems related to the external storage should be dealt with the vendor.

      4. When the server of external storage connection and disk where failure occurs is back to normal, Server should be rebooted so that MCCS Kernel Driver can identify the recovered environment.

      5. Also, redundancy measures should be solved from storage vendor.



      SCSI Lock Failure

      When interlock with volume manager using SCSI3-PR

      Volume Manager (Ex: something like SFW of Symantec that has SCSI3-PR reservation function) can be used with SCSI Lock agent.


      When check if SCSI-PR is supported

      To check of the disk supports SCSI-3PR function, PR type can be checked using scsicmd.cmd command.


      When cannot find sg_scan.sh or sg_persist.sh pass

      Check if the command exist in $MCCS_HOME/bin.


      When interlock with shared disk

      When interlock shared disk agent and SCSI Lock agent, check if the shared disk agent works normally and then register SCSI Lock agent.
      The purpose of disk of SCSI Lock agent is to use as a LOCK device in hardware perspective, not the contents of the disk. Therefore, size of disk can be small and it is not protected.


      When registration key error occurs

      Remove Reservation key and registration key using scsicmd.cmd-c command and re-set. Before registering resource, check if there is any registered key and if there is, remove the key first before registering.
      Note that the current key is se automatically by its MAC address. It uses the first adapter among the network adapters. This key is automatically recorded in setting file. If key does not exist in setting file then new key is not created.


      When various letters exist in one disk and when register one letter, other letters cannot access

      SCSI Lock disk supports basic disk and single letter. Please do not use the disk that uses dynamic disk or multiple volume(use one LUN to configure various partition).


      When maintaining the state where DUID is not solved after registering agent

      레터를 정의하고 활성화를 요청해야 main.json에 해당 레터에 연결된 DUID 정보가 기록됩니다.


      에이전트 삭제할 때When delete agent

      SCSI Lock 에이전트가 삭제될때 예약을 해제합니다. 따라서 예약대상 공유디스크가 상대 노드에서 사용될 가능성을 염두에 두고 삭제를 해야 합니다. 즉 삭제할 경우에는 상대 노드를 다운시킨 후 작업하십시요.

      서포트 파일을 수집하는 방법

      MCCS 에 문제가 생겼을 경우 로그와 환경 정보의 수집을 위해서 서포트 파일을 수집할 수 있습니다.

      ...



      Ways to collect support files

      When problems occur in MCCS, support file must be collected to collect log and preference information.
      There are 2 ways to collect support file.

       

      ...

      콘솔로 수집하는 방법

      ...

      1. MCCS 웹 콘솔에서 메뉴바의 '파일'을 클릭하여 서포트 파일을 수집할 수 있습니다.

      ...

      1. Image Added
        [그림]

      ...

      1. 메뉴바에서 서포트 파일 수집  

      2. Support files can be collected by clicking the toolbar shown in the figure below.
        Image Added
        [그림]

      ...

      1. 툴바에서 서포트 파일 수집

      ...



      1. 서포트 파일을 수집할 노드의 선택과 이전에 받은 서포트파일을 다시 받을 수 있습니다.

      ...

      1. Image Added
        [그림] 서포트 파일 노드 선택 및 이전 서포트 파일 선택 여부

      확인 버튼을 누르면 서포트 파일을 수집합니다.

      ...


      1. Click 'OK' button and support file is collected.
        Image Added
        [그림] 서포트 파일 수집 중 화면

         

        Info

        로그파일의 용량과 네트워크의 상태에 따라서 몇 분이 걸릴 수도 있습니다.


      2. 아래와 같이 다운로드 창이 열리게 되고 다운받으시면 됩니다.

      ...

      1. Image Added

      2. 수집된 서포트 파일은 지정된 위치에서 확인할 수 있습니다.

      ...

      1. Image Added
        [그림] 서포트 파일 수집 확인

      스크립트 파일을 실행해서 수집하는 방법

      ...



      Collecting file using script files


      Script file is located as below:

      Code Block
      $MCCS_HOME/bin/Support/support.cmd
      Info

      이 방법은 스크립트를 실행한 노드의 정보만 수집합니다.


      수집된 서포트 파일은 다음의 위치에 생성됩니다 

      Info

      This way can only collect information from the running node.

      Collected support file is created in the following directory.

      Code Block
      $MCCS_HOME/support-$HOSTNAME/$HOSTNAME.zip

       

      ...

       

      Info

      If the support file exists, new file will be over-writed, so please be aware.