Sun Cluster 3.0 시스템 관리 안내서

5.1 클러스터 상호연결 관리

이 절에서는 cluster transport adapter 및 cluster transport cable와 같은 클러스터 상호연결 재구성에 대한 프로시저를 제공합니다. 이 프로시저는 Sun Cluster 소프트웨어 설치를 필요로 합니다.

대부분의 시간에, scsetup 유틸리티를 사용하여 클러스터 상호연결에 대한 클러스터 전송을 관리할 수 있습니다. 자세한 내용은 scsetup(1M) 매뉴얼 페이지를 참조하십시오.

클러스터 소프트웨어 설치 프로시저에 대해서는 Sun Cluster 3.0 Installation Guide을 참조하십시오. 클러스터 하드웨어 구성요소 서비스에 대한 프로시저에 대해서는 Sun Cluster 3.0 Hardware Guide을 참조하십시오.

표 5-1 작업 맵: 클러스터 상호연결 관리

작업 

지시사항에 대해서는, 다음으로 이동하십시오.  

클러스터 전송을 관리하십시오 

- scsetup을 사용하십시오

"1.5.2 scsetup 유틸리티에 액세스하는 방법"

클러스터 상호연결의 상태를 확인하십시오 

- scstat을 사용하십시오.

"5.1.1 클러스터 상호연결의 상태를 확인하는 방법"

클러스터 전송 케이블 또는 전송 어댑터를 추가하십시오 

- scsetup을 사용하십시오

"5.1.2 Cluster Transport Cable 및 전송 어댑터 추가 방법"

클러스터 전송 케이블 또는 전송 어댑터를 제거하십시오 

- scsetup을 사용하십시오

"5.1.3 Cluster Transport Cable 및 전송 어댑터 제거 방법"

클러스터 전송 케이블을 사용 가능하게 하십시오 

- scsetup을 사용하십시오

"5.1.4 Cluster Transport Cable 사용 가능하게 하는 방법"

클러스터 전송 케이블을 사용 불가능하게 하십시오 

- scsetup을 사용하십시오

"5.1.5 Cluster Transport Cable 사용 불가능하게 하는 방법"

5.1.1 클러스터 상호연결의 상태를 확인하는 방법

이 프로시저를 수행하기 위해 수퍼유저로 로그인될 필요가 없습니다.

  1. 클러스터 상호연결의 상태를 확인하십시오.


    # scstat -W
    
  2. 공통 상태 메시지에 대해서는 다음을 참조하십시오.

    상태 메시지 

    설명 및 가능한 조치 

    경로 온라인

    경로가 현재 올바르게 기능하고 있습니다. 조치가 필요하지 않습니다. 

    경로 대기 중

    경로가 현재 초기화되고 있습니다. 조치가 필요하지 않습니다. 

    경로 장애

    경로가 기능하고 있지 않습니다. 올바른 조치를 취하십시오. 

5.1.1.1 예제-클러스터 상호연결의 상태 확인

다음 예에서는 기능하고 있는 클러스터 상호연결의 상태를 보여줍니다.


# scstat -W
-- Cluster Transport Paths --
                    Endpoint             Endpoint             Status
                    --------             --------             ------
  Transport path:   phys-schost-1:qfe1   phys-schost-2:qfe1   Path online
  Transport path:   phys-schost-1:qfe0   phys-schost-2:qfe0   Path online
  Transport path:   phys-schost-1:qfe1   phys-schost-3:qfe1   Path online
  Transport path:   phys-schost-1:qfe0   phys-schost-3:qfe0   Path online
  Transport path:   phys-schost-2:qfe1   phys-schost-3:qfe1   Path online
  Transport path:   phys-schost-2:qfe0   phys-schost-3:qfe0   Path online

5.1.2 Cluster Transport Cable 및 전송 어댑터 추가 방법

  1. 실제 cluster transport cable이 설치되어 있는지 확인하십시오.

    cluster transport cable 설치에 대한 프로시저는 Sun Cluster 3.0 Hardware Guide을 참조하십시오.

  2. 클러스터의 노드에 대해 수퍼유저가 되십시오.

  3. scsetup 유틸리티를 실행하십시오.


    # scsetup
    

    기본 메뉴가 나타납니다.

  4. 2(클러스터 상호연결)를 입력하여 클러스터 상호연결 메뉴에 액세스하십시오.

  5. 1(전송 케이블 추가)을 입력하여 케이블을 추가하십시오.

    지시사항을 따른 후 요청된 정보를 입력하십시오. 노드가 두 개인 클러스터의 직접 연결에는 중계선이 필요 없습니다. 그러나 식별하려는 케이블의 엔드포인트 중 하나에 대한 노드와 어댑터 이름 둘 다를 입력해야 합니다.


    >>> Add a Cluster Transport Cable <<<
        ...
        Is it okay to continue (yes/no) [yes]? <Return>
        ...
        To which node do you want to add the cable?  nodename
        Name of the adapter to use on "node"?  adaptername
        Name of the junction at the other end of the cable?  junctionname
        Okay to use the default for this cable connection [yes]? <Return>
        Is it okay to proceed with the update (yes/no) [yes]? <Return>
    
  6. 2(노드에 전송 어댑터 추가)를 입력하여 어댑터를 추가하십시오.

    지시사항을 따른 후 요청된 정보를 입력하십시오. 노드가 두 개인 클러스터의 직접 연결에는 중계선이 필요 없습니다. 그러나 식별하려는 케이블의 엔드포인트 중 하나에 대한 노드와 어댑터 이름 둘 다를 입력해야 합니다.


    >>> Add a Cluster Transport Adapter <<<
        ...
        Is it okay to continue (yes/no) [yes]? <Return>
        ...
        To which node do you want to add the cable?  nodename
        Name of the adapter to use on "node"?  adaptername
        Name of the junction at the other end of the cable?  junctionname
        Okay to use the default for this cable connection [yes]? <Return>
        Is it okay to proceed with the update (yes/no) [yes]? <Return>
    
  7. cluster transport cable 또는 전송 어댑터가 추가되었는지 확인하십시오.


    # scconf -p | grep cable
    # scconf -p | grep adapter
    

5.1.2.1 예제-클러스터 전송 케이블 및 전송 어댑터 추가

다음 예제에서는 scsetup 명령을 사용하여 노드에 전송 케이블 또는 전송 어댑터를 추가하는 방법을 보여줍니다.


[Ensure the physical cable is installed.]
[Become superuser on a node in the cluster.]
[Execute the scsetup utility:]
# scsetup
[Enter option 2:]
*** Main Menu ***
    Please select from one of the following options:
    ...
      2) Cluster interconnect
    ...    Option: 2
[Enter option 1 to add a cable:]
*** Cluster Interconnect Menu ***
    Please select from one of the following options:
    ...
    1) Add a transport cable
    ...
    Option: 1
[Enter the requested information:]
>>> Add a Cluster Transport Cable <<<
    ...
    Is it okay to continue (yes/no) [yes]? <Return>	.
    ...
    To which node is the cable attached? phys-schhost-2
    Name of the adapter on "phys-schost-2"? qfe-0
    Is it okay to proceed with the update (yes/no) [yes]? <Return>	.
scconf -a -m endpoint=phys-schost-2:hme1,endpoint=hub0
    Command completed successfully.    Hit ENTER to continue: <Return>
[Enter option 2 to add an adapter:]
*** Cluster Interconnect Menu ***
    Please select from one of the following options:
    ...
    2) Add a transport adapter to a node
    ...
    Option: 2
[Enter the requested information:]
>>> Add a Cluster Transport Adapter <<<
    ...
    Is it okay to continue (yes/no) [yes]? <Return>	.
    ...
    To which node is the cable attached? phys-schhost-2
    Name of the adapter on "phys-schost-2"? qfe-0
    Is it okay to proceed with the update (yes/no) [yes]? <Return>	.
scconf -a -m endpoint=phys-schost-2:hme1,endpoint=hub0
    Command completed successfully.    Hit ENTER to continue: <Return>
[Verify that the cable and adapter are added:]
# scconf -p | grep cable
  Transport cable:   phys-schost-2:qfe0@1 ethernet-1@2    Enabled
  Transport cable:   phys-schost-3:qfe0@1 ethernet-1@3    Enabled
  Transport cable:   phys-schost-1:qfe0@0 ethernet-1@1    Enabled
# scconf -p | grep adapter
  Node transport adapters:                         qfe2 hme1 qfe0
  Node transport adapter:                          qfe0
  Node transport adapters:                         qfe0 qfe2 hme1
  Node transport adapter:                          qfe0
  Node transport adapters:                         qfe0 qfe2 hme1
  Node transport adapter:                          qfe0

5.1.3 Cluster Transport Cable 및 전송 어댑터 제거 방법

다음 프로시저를 사용하여 노드에서 클러스터 전송 케이블 및 클러스터 전송 어댑터를 제거하십시오. 케이블이 사용 불가능할 때, 케이블 중 두 개의 엔드포인트는 구성된 상태로 남아 있습니다. 어댑터가 전송 케이블에서 엔드포인트로서 계속 사용되고 있는 경우 제거될 수 없습니다.


주의 - 주의 -

클러스터 노드는 클러스터의 멤버가 되기 위해 클러스터 상호연결에 첨부되는 적어도 하나의 기능을 하는 케이블을 필요로 합니다. 항상 케이블을 사용 불가능하게 하기 전에 노드의 클러스터 상호연결에 대한 상태를 확인하십시오. 연결이 중복이라는 것 즉, 다른 연결은 사용 가능함을 확인한 후에는 케이블 연결만 사용 불가능하게 하십시오. 노드의 남아 있는 마지막 작업 케이블을 사용 불가능하게 하면 클러스터 멤버쉽 중에서 노드를 취합니다.


  1. 클러스터의 노드에 대해 수퍼유저가 되십시오.

  2. 남아 있는 클러스터 전송 경로의 상태를 확인하십시오.


    # scstat -W
    

    주의 - 주의 -

    두 개의 노드 클러스터 중 하나의 노드를 제거하려 시도하는 동안 "경로에 장애가 있습니다"와 같은 오류를 수신하면, 이 프로시저를 계속하기 전에 문제를 조사하십시오. 그런 문제는 노드 경로가 사용 불가능함을 지시할 수 있습니다. 남아 있는 우량 경로를 제거하면 클러스터 멤버쉽 중에서 노드를 취하고 클러스터를 재구성할 수 있습니다.


  3. scsetup 유틸리티를 실행하십시오.


    # scsetup
    

    기본 메뉴가 나타납니다.

  4. 2(클러스터 상호연결)를 입력하여 클러스터 상호연결 메뉴에 액세스하십시오.

  5. 4(전송 케이블 제거)를 입력하여 케이블을 제거하십시오.

    지시사항을 따른 후 요청된 정보를 입력하십시오. 식별하려는 케이블의 엔드포인트 중 하나에 대한 노드와 어댑터 이름 둘 다를 입력해야 합니다.


    *** Cluster Interconnect Menu ***
        Please select from one of the following options:
        ...
        4) Remove a transport cable
        ...
        Option: 4
        ...
    >>> Remove a Cluster Transport Cable <<<
        ...
        Is it okay to continue (yes/no) [yes]? <Return>
        ...
        To which node is the cable attached? nodename
        Name of the adapter on "node"? adaptername
        Is it okay to proceed with the update (yes/no) [yes]? <Return>
        ...
        Command completed successfully.    Hit ENTER to continue: <Return>
    

    주 -

    실제 케이블을 제거할 경우, 포트와 대상 디바이스간 케이블의 연결을 끊으십시오.


  6. 어댑터를 제거하려면, 5(노드에서 전송 어댑터 제거)를 입력하십시오.

    지시사항을 따른 후 요청된 정보를 입력하십시오. 식별하려는 케이블의 엔드포인트 중 하나에 대한 노드와 어댑터 이름 둘 다를 입력해야 합니다.


    *** Cluster Interconnect Menu **    Please select from one of the following options:
        ...
        5) Remove a transport adapter
        ...
        Option: 5
        ...
    >>> Remove a Cluster Transport Adapter <<<
        ...
        Is it okay to continue (yes/no) [yes]? <Return>
        ...
        To which node is the cable attached? nodename
        Name of the adapter on "node"? adaptername
        Is it okay to proceed with the update (yes/no) [yes]? <Return>
        ...
        Command completed successfully.    Hit ENTER to continue: <Return>
    

    주 -

    노드에서 실제 어댑터를 제거할 경우, 하드웨어 서비스 프로시저에 대해서는 Sun Cluster 3.0 Hardware Guide을 참조하십시오.


  7. 케이블 또는 어댑터가 제거되었는지 확인하십시오.


    # scconf -p | grep cable
    # scconf -p | grep adapter
    

    주어진 노드에서 제거된 전송 케이블 또는 어댑터는 이 명령으로 출력에 나타나서는 안됩니다.

5.1.3.1 예제-전송 케이블 또는 전송 어댑터 제거

다음 예제에서는 scsetup 명령을 사용하여 전송 케이블 또는 전송 어댑터를 제거하는 방법을 보여줍니다.


[Become superuser on a node in the cluster.]
[Execute the scsetup utility:]
# scsetup
[Enter option 2:]
*** Main Menu ***
    Please select from one of the following options:
    ...
      2) Cluster interconnect
    ...    Option: 2
[Enter option 4 to remove a cable:]
*** Cluster Interconnect Menu ***
    Please select from one of the following options:
    ...
      4) Remove a transport cable
    ...
    Option: 4
[Enter the requested information:]
>>> Remove a Cluster Transport Cable <<<
    ...
    Is it okay to continue (yes/no) [yes]? <Return>	.
    ...
    To which node is the cable attached? phys-schhost-2
    Name of the adapter on "phys-schost-2"? qfe-0
    Is it okay to proceed with the update (yes/no) [yes]? <Return>	.
scconf -a -m endpoint=phys-schost-2:hme1,endpoint=hub0
    Command completed successfully.    Hit ENTER to continue: <Return>
[Enter option 5 to remove an adapter:]
*** Cluster Interconnect Menu ***
    Please select from one of the following options:
    ...
      5) Remove a transport adapter from a node
    ...
    Option: 5
[Enter the requested information:]
>>> Remove a Cluster Transport Adapter <<<
    ...
    Is it okay to continue (yes/no) [yes]? <Return>	.
    ...
    To which node is the cable attached? phys-schhost-2
    Name of the adapter on "phys-schost-2"? qfe-0
    Is it okay to proceed with the update (yes/no) [yes]? <Return>	.
 
scconf -r -m endpoint=phys-schost-2:hme1
 
    Command completed successfully.    Hit ENTER to continue: <Return>
[Verify that the cable or adapter is removed:]
# scconf -p | grep cable
  Transport cable:   phys-schost-2:qfe0@1 ethernet-1@2    Enabled
  Transport cable:   phys-schost-3:qfe0@1 ethernet-1@3    Enabled
  Transport cable:   phys-schost-1:qfe0@0 ethernet-1@1    Enabled
# scconf -p | grep adapter
  Node transport adapters:   qfe2 hme1 qfe0
  Node transport adapter:   qfe0
  Node transport adapters:   qfe0 qfe2 hme1
  Node transport adapter:   qfe0
  Node transport adapters:   qfe0 qfe2 hme1
  Node transport adapter:   qfe0

5.1.4 Cluster Transport Cable 사용 가능하게 하는 방법

이 옵션은 이미 기존 클러스터 전송 케이블을 사용할 수 있도록 합니다.

  1. 클러스터의 노드에 대해 수퍼유저가 되십시오.

  2. scsetup 유틸리티를 입력하십시오.


    # scsetup
    

    기본 메뉴가 나타납니다.

  3. 2(클러스터 상호연결)를 입력하여 클러스터 상호연결 메뉴에 액세스하십시오.

  4. 7(전송 케이블 사용 가능)을 입력하여 전송 케이블을 사용 가능하게 하십시오.

    프롬프트되면 지시사항을 따르십시오. 식별하려는 케이블의 엔드포인트 중 하나에 대한 노드와 어댑터 이름 둘 다를 입력해야 합니다.

  5. 케이블이 사용 가능한지 확인하십시오.


    # scconf -p | grep cable
    

5.1.4.1 예제-클러스터 전송 케이블 사용 가능

이 예에서는 노드 phys-schost-2에 위치된 어댑터 qfe-1에서 클러스터 전송 케이블을 사용하게 하는 방법을 보여줍니다.


[Become superuser on any node.]
[Enter the scsetup utility:]
# scsetup
[Enter option 7:]
*** Cluster Interconnect Menu ***
    Please select from one of the following options:
    ...
      7) Enable a transport cable
    ...
    Option: 7
[Enter the requested information:]
>>> Enable a Cluster Transport Cable <<<
    ...
    Is it okay to continue (yes/no) [yes]? <Return>
    ...
    To which node is the cable attached? phys-schhost-2
    Name of the adapter on "phys-schost-2"? qfe-1
    Is it okay to proceed with the update (yes/no) [yes]? <Return>
 
scconf -c -m endpoint=phys-schost-2:qfe1,state=enabled
 
    Command completed successfully.
    Hit ENTER to continue: <Return>
[Verify that the cable is enabled:]
# scconf -p | grep cable
  Transport cable:   phys-schost-2:qfe1@0 ethernet-1@2    Enabled
  Transport cable:   phys-schost-3:qfe0@1 ethernet-1@3    Enabled
  Transport cable:   phys-schost-1:qfe0@0 ethernet-1@1    Enabled

5.1.5 Cluster Transport Cable 사용 불가능하게 하는 방법

클러스터 상호연결 경로를 일시적으로 시스템 종료하려면 클러스터 전송 케이블을 사용 불가능하게 해야 할 수 있습니다. 이것은 클러스터 상호연결 문제를 해결할 때나 클러스터 상호연결 하드웨어를 대체할 때 유용합니다.

케이블이 사용 불가능할 때, 케이블 중 두 개의 엔드포인트는 구성된 상태로 남아 있습니다. 어댑터가 전송 케이블에서 엔드포인트로서 계속 사용되고 있는 경우 제거될 수 없습니다.


주의 - 주의 -

클러스터 노드는 클러스터의 멤버가 되기 위해 클러스터 상호연결에 첨부되는 적어도 하나의 기능을 하는 케이블을 필요로 합니다. 항상 케이블을 사용 불가능하게 하기 전에 노드의 클러스터 상호연결에 대한 상태를 확인하십시오. 연결이 중복이라는 것 즉, 다른 연결은 사용 가능함을 확인한 후에는 케이블 연결만 사용 불가능하게 하십시오. 노드의 남아 있는 마지막 작업 케이블을 사용 불가능하게 하면 클러스터 멤버쉽 중에서 노드를 취합니다.


  1. 클러스터의 노드에 대해 수퍼유저가 되십시오.

  2. 케이블을 사용 불가능하게 하기 전에 클러스터 상호연결에 대한 상태를 확인하십시오.


    # scstat -W
    

    주의 - 주의 -

    두 개의 노드 클러스터 중 하나의 노드를 제거하려 시도하는 동안 "경로에 장애가 있습니다"와 같은 오류를 수신하면, 이 프로시저를 계속하기 전에 문제를 조사하십시오. 그런 문제는 노드 경로가 사용 불가능함을 지시할 수 있습니다. 남아 있는 우량 경로를 제거하면 클러스터 멤버쉽 중에서 노드를 취하고 클러스터를 재구성할 수 있습니다.


  3. scsetup 유틸리티를 입력하십시오.


    # scsetup
    

    기본 메뉴가 나타납니다.

  4. 2(클러스터 상호연결)를 입력하여 클러스터 상호연결 메뉴에 액세스하십시오.

  5. 8(전송 케이블 사용 불가능)을 입력하여 케이블을 사용 불가능하게 하십시오.

    지시사항을 따른 후 요청된 정보를 입력하십시오. 이 클러스터 상호연결의 모든 구성요소가 사용 불가능하게 됩니다. 식별하려는 케이블의 엔드포인트 중 하나에 대한 노드와 어댑터 이름 둘 다를 입력해야 합니다.

  6. 케이블이 사용 불가능한지 확인하십시오.


    # scconf -p | grep cable
    

5.1.5.1 예제-클러스터 전송 케이블 사용 불가능

이 예에서는 노드 phys-schost-2에 위치된 어댑터 qfe-1에서 클러스터 전송 케이블을 사용 불가능하게 하는 방법을 보여줍니다.


[Become superuser on any node.]
[Enter the scsetup utility:]
# scsetup
[Enter option 8:]
*** Cluster Interconnect Menu ***
    Please select from one of the following options:
    ...
      8) Disable a transport cable
    ...
    Option: 8
[Enter the requested information:]
>>> Disable a Cluster Transport Cable <<<
    ...
    Is it okay to continue (yes/no) [yes]? <Return>
    ...
    To which node is the cable attached? phys-schhost-2
    Name of the adapter on "phys-schost-2"? qfe-1
    Is it okay to proceed with the update (yes/no) [yes]? <Return>

scconf -c -m endpoint=phys-schost-2:qfe1,state=disabled

    Command completed successfully.
    Hit ENTER to continue: <Return>
[Verify that the cable is disabled:]
# scconf -p | grep cable
  Transport cable:   phys-schost-2:qfe1@0 ethernet-1@2    Disabled
  Transport cable:   phys-schost-3:qfe0@1 ethernet-1@3    Enabled
  Transport cable:   phys-schost-1:qfe0@0 ethernet-1@1    Enabled