백업 및 DR을 위한 NFS 연결 확인

이 페이지에는 백업 및 DR을 위한 NFS 연결을 설정하는 방법에 관한 정보가 포함되어 있습니다.

Red Hat RHEL 6 또는 CentOS Linux 호스트에 NFS 클라이언트 설치

# rpm -qa | grep nfs를 실행하여 클라이언트가 설치되어 있는지 확인합니다.

다음과 같은 결과가 반환됩니다.

  nfs-utils-lib-1.1.5-9.el6.x86_64
  nfs-utils-1.2.3-54.el6.x86_64
  • 아무것도 표시되지 않으면 yum을 사용하여 NFS 클라이언트 패키지를 설치합니다. 실행: # yum install nfs-utils nfs-utils-lib
  • rpcbind /portmapper 패키지가 Linux 호스트에 설치되어 있는지 확인합니다. 실행:# rpm -qa | grep rpcbind

rpcbind-0.2.0-11.el6.x86_64과 같이 표시되어야 합니다.

  • 아무것도 표시되지 않으면 yum을 사용하여 rpcbind를 설치합니다. 실행: # yum install rpcbind

SLES Linux 호스트에 NFS 클라이언트 설치

  1. 클라이언트가 설치되어 있는지 확인하려면 # rpm -qa | grep nfs를 실행합니다.

    다음과 유사한 결과가 반환됩니다.

    nfs-client-1.2.1-2.6.6
    yast2-nfs-common-2.17.7-1.1.2
    yast2-nfs-client-2.17.12-0.1.81
    
  2. nfs-client 또는 yast2-nfs-xxxx 패키지가 표시되지 않으면 YaST 또는 zypper를 사용하여 NFS 클라이언트 패키지를 설치합니다.

    • YaST 사용:
    # yast2 --install yast2-nfs-client
    # yast2 --install yast2-nfs-common
    
    • Zypper 사용:# zypper install nfs-client
  3. rpcbind 또는 portmapper 패키지가 Linux 호스트에 설치되어 있는지 확인합니다. 실행: # rpm -qa | grep rpcbind 다음과 같이 반환됩니다. rpcbind-0.1.6+git20080930-6.15

  4. 아무것도 표시되지 않으면 YaST 또는 Zypper를 사용하여 패키지를 설치해야 합니다.

    • YaST 사용: # yast2 --install rpcbind
    • Zypper 사용: # zypper install rpcbind

Linux 호스트에서 NFS 클라이언트 정보 알아보기

백업 및 DR 승인 NFS 클라이언트 패키지 및 버전이 호스트에 설치되어야 합니다.

  1. portmapper 또는 rpcbind 서비스가 실행 중인지 확인합니다. 실행: # sudo service rpcbind status

    • Red Hat RHEL 6 또는 CentOS Linux 호스트는 다음과 같이 반환해야 합니다. rpcbind (pid 1591) is running...
    • SLES Linux 호스트는 다음과 같이 반환합니다. Checking for service rpcbind running
  2. Linux 호스트에서 rpcbind 서비스가 실행되고 있지 않으면 다음과 같이 시작합니다. # sudo service rpcbind start

  3. rpcinfo를 사용하여 등록된 RPC 프로그램 또는 서비스를 나열합니다. Portmapper가 등록되고 실행 중이어야 합니다.

    # sudo rpcinfo -p
    program vers proto port service
    100000 4 tcp 111 portmapper
    100000 3 tcp 111 portmapper
    100000 2 tcp 111 portmapper
    100000 4 udp 111 portmapper
    100000 3 udp 111 portmapper
    100000 2 udp 111 portmapper
    
  4. 다음을 사용하여 Linux 호스트가 백업/복구 어플라이언스의 rpcbind 및 NFS 프로그램에 RPC를 호출할 수 있는지 확인합니다.

    # sudo rpcinfo -T tcp <#vm internal IP> rpcbind
    program 100000 version 2 ready and waiting
    program 100000 version 3 ready and waiting
    program 100000 version 4 ready and waiting
    # sudo rpcinfo -T tcp <#vm internal IP> nfs
    program 100003 version 2 ready and waiting
    program 100003 version 3 ready and waiting
    

위 명령어에서 표시된 출력을 반환하면 Linux 호스트에서 백업/복구 어플라이언스로의 NFS 연결이 양호한 것입니다.