예정된 유지보수 모범 사례 안내#

plans-img 모든 플랜 에서 이용 가능

deployment-img Cloudself-hosted 배포

1,000명 이상의 사용자가 있는 Mattermost 서버에서 예정된 유지보수를 수행하려면 최소한의 중단과 최대한의 투명성을 보장하기 위해 사전 계획과 명확한 커뮤니케이션 전략이 필요합니다.

이 가이드는 이메일과 Mattermost 채널을 통한 사용자 알림, 로드 밸런서의 오류 메시지 업데이트, 예정된 유지보수를 사용자에게 알리는 닫을 수 있는 배너 구성에 대한 모범 사례를 제공합니다.

커뮤니케이션 전략#

유지보수 전, 중, 후에 사용자에게 알리기 위해서는 잘 정의된 커뮤니케이션 전략이 필수적입니다. 이 전략의 주요 구성 요소는 다음과 같습니다:

  • self-hosted Mattermost 서버를 사용할 수 없는 명확한 유지보수 시간대를 정의하세요.

    • Mattermost Cloud 배포는 예외가 발생하여 영향을 받는 고객에게 통보되지 않는 한 토요일에만(해당되는 경우) UTC 기준 8:00-10:00에 미리 정의된 서비스 시간대가 예정되어 있습니다.

  • 이메일 알림: 예정된 유지보수 시간대 7일, 3일, 1일 전에 구조화되고 일관된 이메일을 사용자에게 보내세요.

  • 채널 기반 알림: 이메일 알림과 동일한 간격으로 관련 Mattermost 채널에 이메일과 유사한 메시지 전송

  • Mattermost 배너 알림: 유지보수 시간대와 중단 전에 Mattermost 인스턴스 상단에 표시할 시스템 전체 알림 설정

  • 로드 밸런서 메시지 표시: 예정된 유지보수 다운타임 시간대 동안 유지보수 메시지를 표시하도록 로드 밸런서 업데이트

알림 템플릿#

이메일 템플릿#

7일 전 알림 이메일#

이메일 제목: 예정된 유지보수 알림: [날짜 및 시간]

Dear Mattermost Users,

This is a notification that our Mattermost server will undergo scheduled
maintenance on [Date] from [Start Time] to [End Time] [Time Zone].
During this time, the Mattermost instance will be unavailable.

We apologize for any inconvenience this may cause and appreciate your
understanding as we work to improve our service.

If you have any questions or concerns, please contact our
support team at [Support Email].

Thank you for your cooperation.

Best regards,
[Your Name]
[Your Position]

3일 전 알림 이메일#

이메일 제목: 알림: [날짜 및 시간]에 예정된 유지보수

Dear Mattermost Users,

This is a reminder that our Mattermost server will undergo scheduled
maintenance on [Date] from [Start Time] to [End Time] [Time Zone].
The Mattermost instance will be unavailable during this period.

If you have any questions or concerns, please contact our
support team at [Support Email].

Thank you for your cooperation.

Best regards,
[Your Name]
[Your Position]

1일 전 알림 이메일#

이메일 제목: 최종 알림: 내일 [날짜 및 시간]에 예정된 유지보수

Dear Mattermost Users,

This is a final reminder that our Mattermost server will undergo scheduled
maintenance tomorrow, [Date], from [Start Time] to [End Time] [Time Zone].
The Mattermost instance will be unavailable during this period.

If you have any questions or concerns, please contact our
support team at [Support Email].

Thank you for your cooperation.

Best regards,
[Your Name]
[Your Position]

채널 알림 템플릿#

7일 전 채널 알림#

@all Please be advised that our Mattermost server will
undergo scheduled maintenance on [Date],
from [Start Time] to [End Time] [Time Zone].
The instance will be unavailable during this time. We appreciate your understanding.

3일 전 채널 알림#

@all This is a reminder that our Mattermost server will
undergo scheduled maintenance on [Date],
from [Start Time] to [End Time] [Time Zone].
Please plan accordingly.

1일 전 채널 알림#

@all Final reminder: Our Mattermost server will
undergo scheduled maintenance tomorrow, [Date],
from [Start Time] to [End Time] [Time Zone].
Thank you for your cooperation.

로드 밸런서 메시지 표시#

예정된 유지보수 다운타임 시간대 동안 알림 메시지를 표시하도록 로드 밸런서를 구성하세요.

  1. 사용 중인 로드 밸런서를 식별하세요(예: AWS, HAProxy).

  2. 구성을 편집하세요. 특정 환경에 따라 경로와 구성을 조정하세요.

  • AWS의 경우 EC2 콘솔에서 로드 밸런서 구성으로 이동하세요.

  • HAProxy의 경우 haproxy.cfg 파일을 편집하세요.

중요

서버 유지보수 중 및 이후에 사용자에게 오래된 정보가 전달되는 것을 방지하기 위해 인프라에서 필요한 곳에 헤더를 추가하는 것을 강력히 권장합니다.

시작점으로 사용할 샘플 메시지 HTML은 아래를 참조하세요:

HTML Template
<!DOCTYPE html>
<html>
<head>
    <title>Maintenance in Progress</title>
    <style>
        body {
            text-align: center;
            padding: 50px;
            font-family: "Arial", sans-serif;
            background-color: #f2f2f2;
        }
        .container {
            margin: auto;
            width: 50%;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0px 0px 10px 0px #0000001a;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>Maintenance in Progress</h1>
        <p>Our Mattermost server is currently undergoing scheduled maintenance.</p>
        <p>Estimated downtime: [Start Time] to [End Time] [Time Zone]</p>
        <p>We apologize for any inconvenience and thank you for your understanding.</p>
        <p>If you have any questions, please contact our support team at <a href="mailto:[Support Email]">[Support Email]</a>.</p>
    </div>
</body>
</html>