Introduction to Conga: 레드햇 엔터프라이즈 리눅스 5에서의 클러스터와 스토리지 시스템 관리

-

대다수의 기업들은 IT 비용 절감을 위해 랩을 통합하여 공간 및 전력 비용을 최소화하고 시스템 관리 프로세스를 자동화해 관리 비용을 줄이는 등의 방법을 시도한다. 또한 작은 서버들의 대수를 줄이고 블레이드 서버를 늘려 하드웨어 비용을 절감 하고, 마침내는 가상 기계로의 교체를 생각하게 된다.

미션 크리티컬한 어플리케이션을 비롯해 다수의 소프트웨어가 가상 기계 상에서 구동될 수 있도록 해줌으로써 개발자를 비롯해 CIO들에게 없어서는 안될 기능이 되었다.
이렇듯 가상화는 비용 절감 및 성능 측면에서 완벽하지만, 만약 누군가 모든 가상 기계가 호스팅되고 있는 서버의 코드를 밟고 넘어져버렸다면 어떨까?

이 가상 기계 중에는 고객들과 직접 관련이 있는 어플리케이션을 지원하는 기계가 있을 수도 있고 기업의 인벤토리 컨트롤 시스템이 구동되고 있는 기계가 있을 수도 있는 일이다.

실제 서버 클러스터링에서와 마찬가지로 가상 기계 동작에 있어서도 페일오버는 빼놓을 수 없는 중요한 부분이지만 기존의 가상화에서는 이 부분에 대해 간과해 왔다 .

과거에는 다중 클러스터 및 스토리지 시스템을 생성?관리하기 위해 다수의 매니지먼트 툴을 사용해야만 했다. 하지만 레드햇 엔터프라이즈 리눅스5에 새로 추가된 웹 기반의 어플리케이션 콩가는 각각의 스토리지 시스템 및 클러스터 노드에 설치하고 개별 관리해야 하는 불편함을 덜어준다.

스토리지와 클러스터를 지원하기 위해 개발된 일종의 GUI 어플리케이션으로, 레드햇 클러스터(red-hat-cluster), 시스템 컨피그 클러스터(system-config-cluster), 디플로이 툴(deploy-tool), 시스템 컨피그 LVM(system-config-LVM) 들과 같은 툴들의 기능을 지니고 있다.

스토리지 클러스터 개발 담당 이사 케빈 앤더슨은 “콩가는 초기의 X/Gtk 관리 어플리케이션의 문제점을 해결해준다. 사용자들은 우리가 제공하는 인터페이스를 사용하는 중 종종 서버에 X나 Gtk 라이브러리 등을 설치하라는 메시지를 받게 된다. 콩가는 서버에서 동작하는 에이전트를 제공, 웹 인터페이스를 통해 관리함으로써 이러한 문제를 해결해준다”고 말했다.

콩가의 구동 원리와 기본 기능을 살피보자.

Please, point your web browser to https://myhostname:8084 to access luci
--------------------------------------------------------------------------------------


로그인 후 관리자 웹 인터페이스의 홈베이스 탭에서 클러스터, 스토리지 시스템, 유저 정보를 등록할 수 있으며 다른 탭 들은 클러스터 및 스토리지 시스템 상의 관리 작업을 지원해준다.

엔터프라이즈 리눅스 5 패키지에 luci 설치 시 데이터베이스는 초기화 되며 관리 계정이 설정된다. 이 작업은 luci_admin 커맨드 라인의 유틸리티를 통해 이루어지며 일련의 작업을 끝낸 후 luci 서비스가 시작된다.

--------------------------------------------------------------------------------------
service luci start
Starting luci : [ OK ]

먼저 기존의 클러스터를 실행한다. 이때 luci에서 기존의 클러스터, 혹은 접근 불가능한 노드가 있는 클러스터 관리에 실패하였을 시 기존의 클러스터에 있는 모든 노드를 설치해야 한다.

인터페이스에 있는 ‘홈베이스’ 탭에서 ‘기존 클러스터 등록’ (Add an Existing Cluster)옵션을 선택하면 다음과 같은 화면이 나타난다. 클러스터의 노드명을 입력하면 luci는 해당 노드에 접속하여 클러스터 정보를 검색한다.

콩가를 이용해 새로운 클러스터 생성 시, 노드는 콩가로 관리되어 온 기존의 클러스터의 노드와 같은 조건을 충족시켜야 한다. 예를 들어 모든 노드는 ricci 에이전트 소프트웨어를 설치해야 하고, 접근 가능해야 하며 루트 패스워드를 통해 인증 받아야 한다. 하지만 접근 불가능한 클러스터에 몇 가지 노드를 설정하고 싶다면 일단 제외하고 클러스터를 생성한 후 접근 가능할 때 클러스터에 추가 할 수 있다.
클러스터 생성의 첫 단계는 클러스터 네임 설정 및 클러스터를 구성할 노드를 선택하는 것이다. 클러스터 탭에서 “새로운 클러스터 생성”을 선택해 필요 정보를 입력한다.





모든 정보를 입력한 뒤 ‘확인' 을 누르면 클러스터 생성 작업이 시작된다.

클러스터 생성 및 환경 설정은 cluster-specific 페이지에서 이루어 진다. 전체 클러스터 속성을 관리하는 인터페이스의 기능을 하는 이 페이지에서 클러스터 네임 아래의 네 가지 탭-General, Fence, Multicast, Quorum Partition-을 이용해 환경 설정을 할 수 있다.



클러스터 관리 외에도 같은 웹 인터페이스를 이용해 스토리지 시스템도 관리 할 수 있다. 사용자 계정을 설정하여 일정 사용자만 특정 스토리지 시스템에 접근할 수 있도록 제한하는 한편, luci 관리자로서 스토리지 시스템 네임과 패스워드만 입력하면 새로운 스토리지 시스템을 추가할 수 있다. 다음의 화면과 같이 스토리지 시스템의 접근을 제한 할 수 있다.

들어 “jsmith”가 luci에 접속했을 때 이 사람은 스토리지 시스템 “tng3-3”에만 접근 할 수 있는 식이다. 관리자로 접속 하였을 시에는 모든 스토리지 노드를 볼 수 있어 luci에서 관리되는 스토리지 시스템을 통해 디스크 파티션, 로지컬 볼륨 그룹, RAID 파일 시스템 등을 관리 할 수 있다. 또한 웹 인터페이스를 통해 시스템 로그를 검색 할 수 있다.

클러스터가 luci 서버에 추가되면 해당 클러스터의 모든 노드 또한 스토리지 시스템에 추가된다. 만약 스토리지 시스템에서 일부 클러스터 노드를 관리하고 싶지 않을 땐 luci에서 개별 스토리지 시스템을 삭제하여도 클러스터 관리 기능은 유지된다. 또한 콩가에서 사용된 스토리지 시스템 계정과 패스워드는 기존 시스템 이나 클러스터 계정의 계정과 패스워드에 추가된다. 콩가에서의 계정 및 패스워드 설정은 기존 시스템 계정에 영향을 미치지 않는다.

RHEL 5 어드밴스드 플랫폼이 가상 기계 환경에서 제공하는 페일 오버 기능은 다음과 같이 설명할 수 있다. 그림과 같이 세 개의 머신에 각 두 개씩의 엔터프라이즈 리눅스 게스트가 있다고 가정하였을 때, 기존에는 서버다운 시 관리자가 조치를 취해 주어야 했지만 어드밴스드 플랫폼은 다운된 서버를 자동 추적하여 A 와 B 게스트가 두 개의 서버에서 자동으로 실행되도록 구성되어 있다.



Cluster Logical Volume Manager(CVLM) 는 전체 머신의 볼륨 관리를 제공해 공유 파일 시스템 내 스토리지의 연산, 스트라이핑, 미러링, 확장이 가능하도록 한다.







이제 생성된 게스트들을 공유 공간으로 이&#xb3d9


콩가는 웹 기반 관리 인터페이스를 가지므로 클러스터 생성이 간편하다. 같은 서브넷에 있는 머신 상에서 Conga에 로그인 하여 “새 클러스터 생성” 페이지를 찾아 “공유 스토리지 사용”을 선택하면 패키지를 설치해 클러스터를 세운다. 이때 전체 네트워크에 루트 패스워드을 입력하게 된다.
승인 하게 되면 머신은 재 시작함과 동시에 클러스터가 생성 된다. 이제 게스트 구성과 부트 이미지 파일을 담고 있는 공유 파일시스템을 생성해 보자.



  • About Red Hat
  • Red Hat is the world’s leading provider of open source software solutions, using a community-powered approach to reliable and high-performing cloud, Linux, middleware, storage and virtualization technologies. Red Hat also offers award-winning support, training, and consulting services. As the connective hub in a global network of enterprises, partners, and open source communities, Red Hat helps create relevant, innovative technologies that liberate resources for growth and prepare customers for the future of IT. Learn more at http://www.redhat.com.



  • Forward-Looking Statements
  • Certain statements contained in this press release may constitute "forward-looking statements" within the meaning of the Private Securities Litigation Reform Act of 1995. Forward-looking statements provide current expectations of future events based on certain assumptions and include any statement that does not directly relate to any historical or current fact. Actual results may differ materially from those indicated by such forward-looking statements as a result of various important factors, including: risks related to delays or reductions in information technology spending; the effects of industry consolidation; the ability of the Company to compete effectively; the integration of acquisitions and the ability to market successfully acquired technologies and products; uncertainty and adverse results in litigation and related settlements; the inability to adequately protect Company intellectual property and the potential for infringement or breach of license claims of or relating to third party intellectual property; the ability to deliver and stimulate demand for new products and technological innovations on a timely basis; risks related to data and information security vulnerabilities; ineffective management of, and control over, the Company’s growth and international operations; fluctuations in exchange rates; and changes in and a dependence on key personnel, as well as other factors contained in our most recent Quarterly Report on Form 10-Q (copies of which may be accessed through the Securities and Exchange Commission’s website at http://www.sec.gov), including those found therein under the captions "Risk Factors" and "Management’s Discussion and Analysis of Financial Condition and Results of Operations". In addition to these factors, actual future performance, outcomes, and results may differ materially because of more general factors including (without limitation) general industry and market conditions and growth rates, economic and political conditions, governmental and public policy changes and the impact of natural disasters such as earthquakes and floods. The forward-looking statements included in this press release represent the Company’s views as of the date of this press release and these views could change. However, while the Company may elect to update these forward-looking statements at some point in the future, the Company specifically disclaims any obligation to do so. These forward-looking statements should not be relied upon as representing the Company’s views as of any date subsequent to the date of this press release.