Solaris OS용 Sun Cluster 시스템 관리 안내서

Procedure클러스터 하드웨어 구성에서 노드를 제거하는 방법

클러스터에서 노드를 제거하려면 다음 절차를 수행하십시오.

이 절차에서는 장문형 Sun Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령은 명령 이름이 장문형과 단문형인 것을 제외하면 동일합니다. 명령 및 단문형 명령의 목록을 보려면 부록 A, Sun Cluster 객체 지향 명령를 참조하십시오.

  1. 클러스터 노드 제거에 나열된 모든 사전 작업을 정확하게 완료해야 합니다.


    주 –

    이 절차를 계속 진행하기 전에 모든 자원 그룹, 디스크 장치 그룹 및 쿼럼 장치 구성에서 노드를 제거하고 유지 보수 상태로 만들었는지 확인하십시오.


  2. 제거할 노드에서 수퍼유저 또는 solaris.cluster.modify RBAC 인증을 제공하는 역할로 전환합니다.

  3. 제거할 노드를 비클러스터 노드로 부트합니다.

    • SPARC 기반 시스템에서는 다음 명령을 수행하십시오.


      ok boot -x
      
    • x86 기반 시스템에서는 다음 명령을 수행하십시오.


      phys-schost# shutdown -g -y -i0
      
      Press any key to continue
    1. GRUB 메뉴에서 화살표 키를 사용하여 적합한 Solaris 항목을 선택하고 e를 입력하여 해당 명령을 편집합니다.

      GRUB 메뉴가 다음과 같이 나타납니다.


      GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
      +-------------------------------------------------------------------------+
      | Solaris 10 /sol_10_x86                                                  |
      | Solaris failsafe                                                        |
      |                                                                         |
      +-------------------------------------------------------------------------+
      Use the ^ and v keys to select which entry is highlighted.
      Press enter to boot the selected OS, 'e' to edit the
      commands before booting, or 'c' for a command-line.

      GRUB 기반 부트에 대한 자세한 내용은 System Administration Guide: Basic Administration의 11 장, GRUB Based Booting (Tasks)을 참조하십시오.

    2. 부트 매개 변수 화면에서 화살표 키를 사용하여 커널 항목을 선택하고 e를 입력하여 선택한 항목을 편집하십시오.

      다음과 같이 GRUB 부트 매개 변수 화면이 나타납니다.


      GNU GRUB version 0.95 (615K lower / 2095552K upper memory)
      +----------------------------------------------------------------------+
      | root (hd0,0,a)                                                       |
      | kernel /platform/i86pc/multiboot                                     |
      | module /platform/i86pc/boot_archive                                  |
      +----------------------------------------------------------------------+
      Use the ^ and v keys to select which entry is highlighted.
      Press 'b' to boot, 'e' to edit the selected command in the
      boot sequence, 'c' for a command-line, 'o' to open a new line
      after ('O' for before) the selected line, 'd' to remove the
      selected line, or escape to go back to the main menu.
    3. -x를 명령에 추가하여 시스템 부트를 비클러스터 모드로 지정합니다.


      [ Minimal BASH-like line editing is supported. For the first word, TAB
      lists possible command completions. Anywhere else TAB lists the possible
      completions of a device/filename. ESC at any time exits. ]
      
      grub edit> kernel /platform/i86pc/multiboot -x
    4. Enter 키를 눌러 변경 사항을 수락하고 부트 매개 변수 화면으로 복귀합니다.

      화면에 편집된 명령이 표시됩니다.


      GNU GRUB version 0.95 (615K lower / 2095552K upper memory)
      +----------------------------------------------------------------------+
      | root (hd0,0,a)                                                       |
      | kernel /platform/i86pc/multiboot -x                                  |
      | module /platform/i86pc/boot_archive                                  |
      +----------------------------------------------------------------------+
      Use the ^ and v keys to select which entry is highlighted.
      Press 'b' to boot, 'e' to edit the selected command in the
      boot sequence, 'c' for a command-line, 'o' to open a new line
      after ('O' for before) the selected line, 'd' to remove the
      selected line, or escape to go back to the main menu.-
    5. b를 입력하여 노드를 비클러스터 모드로 부트합니다.


      주 –

      커널 부트 매개 변수 명령에 대한 변경 사항은 시스템을 재부트하면 사라집니다. 다음에 노드를 재부트하면 클러스터 모드로 부트됩니다. 비클러스터 모드로 부트하려면, 이 단계를 다시 실행하여 -x 옵션을 커널 부트 매개 변수 명령에 추가합니다.


  4. 클러스터에서 노드를 제거합니다.


    # clnode remove nodename
    
  5. 다른 클러스터 노드에서 노드 제거를 확인합니다.


    # clnode status nodename
    
  6. 제거된 노드에서 Sun Cluster 소프트웨어를 제거하려는 경우 클러스터 노드에 설치된 Sun Cluster 소프트웨어를 제거하는 방법으로 이동하십시오. 제거된 노드에서 Sun Cluster 소프트웨어를 제거하지 않으려는 경우 Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS에 설명된 대로 하드웨어 연결을 제거하여 클러스터에서 노드를 실제로 제거할 수 있습니다.


예 8–12 클러스터 소프트웨어 구성에서 노드 제거

이 예는 클러스터에서 노드(phys-schost-2)를 제거하는 방법입니다. clnode remove 명령은 클러스터(phys-schost-1)에서 제거할 노드에서 실행됩니다.


[Remove the node from the cluster:]
phys-schost-1# clnode remove phys-schost-2
[Verify node removal:]
phys-schost-1# clnode status phys-schost-2
-- Cluster Nodes --
                    Node name           Status
                    ---------           ------
  Cluster node:     phys-schost-1       Online

참조

제거된 노드에서 Sun Cluster 소프트웨어를 설치 제거하려면 클러스터 노드에 설치된 Sun Cluster 소프트웨어를 제거하는 방법을 참조하십시오.

하드웨어 절차에 대한 자세한 내용은 Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS를 참조하십시오.

클러스터 노드 제거 작업의 전체 목록에 대해서는 표 8–3을 참조하십시오.

기존 클러스터에 노드를 추가하려면 권한이 부여된 노드 목록에 노드를 추가하는 방법을 참조하십시오.