Solaris OS용 Sun Cluster 소프트웨어 설치 안내서

ProcedureJumpStart 설치 서버에서 Sun Cluster 정보를 제거하는 방법

이 절차를 수행하여 클러스터를 설치하고 구성한 JumpStart 설치 서버에서 Sun Cluster 정보를 제거합니다. 한 개 이상의 개별 노드 또는 한 개 이상의 전체 클러스터에 대한 정보를 제거할 수 있습니다. JumpStart 기능에 대한 자세한 내용은 Solaris 10 8/07 Installation Guide: Custom JumpStart and Advanced Installations를 참조하십시오.

  1. JumpStart 설치 서버에서 수퍼유저로 전환합니다.

  2. Sun Cluster 소프트웨어를 설치하는 데 사용한 JumpStart 디렉토리로 변경합니다.


    installserver# cd jumpstart-dir
    
  3. scinstall 명령으로 생성되고 제거하려는 노드 이름이 있는 모든 항목을 rules 파일에서 제거합니다.

    Sun Cluster 항목은 autostinstall.class 또는 autoscinstall.finish 또는 두 파일을 모두 참조합니다. 항목은 다음과 같이 표시됩니다. 여기서 release는 Sun Cluster 소프트웨어의 버전입니다.


    hostname phys-schost-1  -  autoscinstall.d/release/autoscinstall.class  \ 
    autoscinstall.d/release/autoscinstall.finish
  4. rules.ok 파일을 다시 생성합니다.

    rules.ok 파일을 다시 생성하도록 jumpstart-dir/ 디렉토리에 있는 check 명령을 실행합니다.


    installserver# ./check
    
  5. 제거할 각 노드에 대한 심볼릭 링크를 적절한 clusters/clustername/ 디렉토리에서 제거합니다.

    • 클러스터에서 한 개 이상의 심볼릭 링크를 제거하려면 제거할 각 노드의 이름을 가진 링크를 제거합니다.


      installserver# rm -f autoscinstall.d/clusters/clustername/nodename
      
    • 전체 클러스터에 대한 심볼릭 링크를 제거하려면, 제거할 클러스터의 이름을 가진 디렉토리를 반복적으로 제거합니다.


      installserver# rm -rf autoscinstall.d/clusters/clustername
      
    • 모든 클러스터에 대한 심볼릭 링크를 제거하려면 clusters/ 디렉토리를 반복적으로 제거합니다.


      installserver# rm -rf autoscinstall.d/clusters
      
  6. 제거할 각 노드의 이름을 가진 노드 구성 디렉토리를 autoscinstall.d/ 디렉토리에서 제거합니다.

    전체 클러스터에 대한 정보를 제거하려는 경우에는 클러스터에서 각 노드에 대한 디렉토리를 제거합니다.

    • 클러스터에서 한 개 이상의 노드 정보를 제거하려면 각 노드에 대한 디렉토리를 반복적으로 제거합니다.


      installserver# rm -rf autoscinstall.d/nodes/nodename
      
    • 모든 클러스터에 대한 모든 항목을 제거하려면 autoscinstall.d 디렉토리를 반복적으로 제거합니다.


      installserver# rm -rf autoscinstall.d
      
  7. .autoscinstall.log.3 파일을 제거합니다.


    installserver# rm .autoscinstall.log.3
    
  8. (옵션) 클러스터를 설치하기 위해 플래시 아카이브를 사용한 경우에 해당 파일이 더 이상 필요하지 않다면 플래시 아카이브를 제거합니다.


    installserver# rm filename.flar
    
다음 순서

클러스터에서 이미 제거된 한 개 이상의 노드에 대한 정보를 제거한 클러스터를 사용자 정의 JumpStart를 사용하여 재설치하려는 경우, 클러스터 노드 목록을 업데이트하도록 대화식 scinstall 명령을 다시 실행합니다. Solaris 및 Sun Cluster 소프트웨어를 설치하는 방법(JumpStart)을 참조하십시오.