Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.8. LVS 시작하기

LVS를 시작하려면, 주요 LVS 라우터로 두 개의 root 터미널을 동시에 열거나 또는 동시에 열린 두 개의 root가 주요 LVS 라우터로 ssh 세션을 열게 하는 것이 좋습니다.
하나의 터미널에서, 다음과 같은 명령으로 커널 로그 메세지를 확인합니다:
tail -f /var/log/messages
그 후 다른 터미널로 다음과 같은 명령을 입력하여 LVS를 시작합니다:
/sbin/service pulse start
Follow the progress of the pulse service's startup in the terminal with the kernel log messages. When you see the following output, the pulse daemon has started properly:
gratuitous lvs arps finished
/var/log/messages 파일 보기를 정지하려면, Ctrl+c 키를 사용합니다.
이 시점에서 부터, 주요 LVS 라우터는 활성 LVS 라우터로도 됩니다. 이 시점에서 LVS에 요청을 하면서 LVS를 서비스로 보내기 전에 백업 LVS 라우터를 시작해야 합니다. 이를 위해, 백업 LVS 라우터 노드에서 설명된 절차를 반복하여 실행합니다.
마지막 단계를 완료하면 LVS가 시작됩니다.