NetWorker: Red Hat Pacemaker 클러스터 NetWorker Server를 업그레이드하는 방법 및 모범 사례

Riepilogo: 이 KB에서는 Red Hat Pacemaker(pcs) 고가용성 클러스터에 설치할 때 NetWorker Server 소프트웨어를 업그레이드하는 방법에 대한 개요를 제공합니다.

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Istruzioni

중요: 단계를 완료하기 전에 이 절차를 주의 깊게 검토하십시오. NetWorker 업그레이드를 수행하는 데 도움이 필요한 경우 Dell 영업 계정 담당자에게 문의하여 Dell Professional Services 팀에 문의하십시오. 표준 NetWorker 지원 팀은 소프트웨어 업그레이드를 수행하지 않습니다.

사전 구성 요소:

  1. NMC(NetWorker Management Console) 또는 NWUI(NetWorker Web User Interface)에서 서버 보호 백업 작업을 완료합니다. 이렇게 하면 NetWorker Server 리소스 데이터베이스(nsrdb), 미디어 데이터베이스(mm) 및 클라이언트 파일 인덱스(index)을 백업해 두었으며 재해 복구가 필요한 경우에 사용할 수 있습니다. 재해 복구 이벤트는 예상되지 않습니다. 그러나 항상 준비하는 것이 좋습니다.
  2. 부트스트랩 백업 세부 정보를 수집하고 다른 위치에 기록해 둡니다.
mminfo -B

 

  1. 클러스터에서 사용하는 공유 스토리지 위치 및 논리 호스트 이름을 확인합니다.

NetWorker 19.11 이상

    1. 다음 명령을 실행합니다. lcmap
    2. "hostname" 및 공유된 "owned" 경로는 논리적 클러스터 이름과 공유 스토리지 마운트 지점을 식별합니다. 

예:

NWrhelNode1:~# lcmap
type: NSR_CLU_TYPE;
clu_type: NSR_LC_TYPE;
interface version: 1.0;

type: NSR_CLU_VIRTHOST;
hostname: NWrhelClusA.emclab.local;
local: TRUE;
owned paths: /nsr_share;

clu_nodes: NWrhelNodeA.emclab.local NWrhelNodeB.emclab.local;

NetWorker 19.10 이하 버전의 경우:

    1. 다음으로 lcmap 논리적 클러스터 리소스의 IP 주소를 가져오는 명령:
NWrhelNode1:~# lcmap
type: NSR_CLU_TYPE;
clu_type: NSR_LC_TYPE;
interface version: 1.0;

type: NSR_CLU_VIRTHOST;
hostname: 192.168.25.26;
local: TRUE;
owned paths: /nsr_share;

clu_nodes: NWrhelNodeA.emclab.local NWrhelNodeB.emclab.local;

B: 다음으로 nslookup 클러스터의 IP 리소스와 연결된 논리 클러스터 이름을 확인하는 명령:

root@NWrhelNode1:~# nslookup 192.168.25.26
20.25.168.192.in-addr.arpa      name = NWrhelClusA.emclab.local.
  1. 다음 위치에서 NetWorker Linux 설치 패키지를 다운로드합니다. 

https://www.dell.com/support/home/product-support/product/networker/drivers

  1. 설치 패키지를 클러스터의 각 노드에 복사합니다. 자세한 내용은 다음을 참조하십시오. 

NetWorker(Linux): Linux NetWorker Server로/에서 파일을 복사하는 방법

  1. 선택한 위치에 설치 패키지의 압축을 풉니다. 
tar xvf nwVERSION_linux_x86_64.tar.gz

업그레이드 절차:

노드 중 하나에서 다음을 수행합니다.

  1. NetWorker Server 서비스를 중지합니다.
pcs resource disable nws
  1. NetWorker 리소스(nws)를 클릭하여 "중지됨(사용 안 함)"으로 표시합니다.
watch -n 5 pcs resource


클러스터 의 각 노드 에서 다음을 수행합니다.

  1. 클라이언트 서비스를 중지합니다.
nsr_shutdown
  1. 설치된 NetWorker 패키지의 목록을 가져옵니다.
rpm -qa | grep lgto
  1. 디렉토리를 추출된 설치 패키지로 변경합니다(사전 요구 사항 5단계 참조).
cd linux_x86_64
  1. 기존 NetWorker 패키지를 새 설치 패키지로 업그레이드합니다.
rpm -Uvh PACKAGE_1 PACKAGE_2 PACKAGE_3 ...
참고: NMC 및 NWUI 패키지는 클러스터에서 지원되지 않습니다. 이러한 패키지는 독립 실행형 서버에 설치해야 합니다. 독립 실행형 NMC/NWUI 서버는 클러스터 NetWorker Server를 관리하도록 구성할 수 있습니다. 를 업그레이드하는 경우 추가 정보 필드를 참조하십시오. lgtoserv 노드 중 하나에서 실패합니다.
  1. 인증 서비스 구성 스크립트를 실행합니다.
/opt/nsr/authc-server/scripts/authc_configure.sh

OCF(Server Open Cluster Framework) 파일의 변경 사항을 사용하도록 클러스터를 재구성합니다. lcmap 설정을 지정합니다.

  1. 각 노드에서 다음을 실행합니다.
pcs cluster stop --force
  1. 각 노드에서 다음 명령을 실행하여 클러스터 구성 파일을 제거합니다(이 설정은 나중에 다시 추가됨)
/usr/sbin/networker.cluster -r
  1. 클러스터 구성을 다시 추가합니다.
/usr/sbin/networker.cluster
참고: 서버와 클라이언트를 구성할지 묻는 메시지가 표시되면 "예"를 입력합니다. 클러스터링된 공유 위치를 지정하라는 메시지가 표시됩니다 /nsr 리소스. 사전 요구 사항 단계에서 "소유 경로"를 참조하십시오. nsr 클러스터에서 사용하는 논리적 이름을 입력하라는 메시지가 표시됩니다. NetWorker Server의 이름입니다.

예:

[root@NWrhelNodeA: ~]# /usr/sbin/networker.cluster
Pacemaker (a CRM solution)  is detected.
Would you like to configure NetWorker for it [Yes]?
-----------------------------------------------------------------
Pacemaker is a high availability product for LINUX.
It allows administrators to connect separate systems together to
create failover clusters that ensure application availability and
data integrity under several failure conditions. Administrators
can use OS's Cluster Manager with database applications, file
sharing services, web servers, and more.
-----------------------------------------------------------------
Do you wish to continue? [Yes]?
Shutting down NetWorker services...

Enter directory where local NetWorker database is installed [/nsr]?

Do you wish to configure for both NetWorker server and client?
Yes or No [Yes]?

Creating /usr/lib/ocf/resource.d/EMC_NetWorker directory ...

The mountpoint of the shared NetWorker directory (the nsr
directory) must be the same for all the nodes where NetWorker
server can failover to.

In what path will the shared nsr directory be created/located? /nsr_share

Enter the Logical Hostname to be used for NetWorker? NWrhelClusA.emclab.local

Creating /usr/lib/ocf/resource.d/EMC_NetWorker/Server file ...
-rwxr-xr-x. 1 root root 5689 Oct  1 15:41 /usr/lib/ocf/resource.d/EMC_NetWorker/Server
Finished creating /usr/lib/ocf/resource.d/EMC_NetWorker/Server file ...

Creating /usr/sbin/lcmap file ...
-rwxrwxr-x. 1 root root 9259 Oct  1 15:41 /usr/sbin/lcmap
Finished creating /usr/sbin/lcmap file.


NetWorker has been successfully cluster-configured.
  1. 클러스터 서비스를 시작합니다.
pcs cluster start --all
  1. 각 노드에서 클라이언트 서비스가 시작되었는지 확인합니다.
ps -ef | grep nsrexecd

클라이언트가 시작되지 않은 경우 다음을 실행하여 클라이언트를 시작합니다.

/usr/sbin/nsrexecd

 

노드 중 하나에서 다음을 수행합니다.

  1. NetWorker 리소스를 다시 활성화하면 NetWorker Server 서비스가 시작됩니다.
pcs resource enable nws
  1. NetWorker 리소스가 "started"로 표시될 때까지 기다립니다.
watch -n 5 pcs resource

클러스터 NetWorker Server가 업그레이드되었습니다.

서버 시작 중 발생하는 문제는 다음을 참조하십시오.
NetWorker: Red Hat Cluster Service 문제 해결 가이드

Informazioni aggiuntive

서버 패키지를 설치하지 못한 경우:

   5:lgtoserv-19.11.0.1-1             error: failed to open dir nsr of /nsr/lic/: File exists
################################# [ 42%]
error: unpacking of archive failed on file /nsr/lic/EMCLicenseFilev7.xsd;66fc3bd7: cpio: open failed - No such file or directory
error: lgtoserv-19.11.0.1-1.x86_64: install failed
   6:lgtoman-19.11.0.1-1              ################################# [ 50%]
error: lgtoserv-19.10.0.5-1.x86_64: erase skipped

와 함께 nws pcs 리소스가 비활성화된 경우 NetWorker Server 디렉토리가 마운트되지 않습니다. 업그레이드에서 /nsr/lic 파일 경로입니다.

노드 중 하나에서 다음을 수행합니다.
 

  1. 공유 마운트 /nsr 클러스터 공유 디스크로의 파티션:
mount /dev/sdb1 /nsr_share
  1. 마운트 지점에 /nsr 서버 내용:
[root@NWrhelNodeA ~]# ls -l /nsr_share
total 0
drwxr-xr-x. 17 root root 194 Sep 30 15:24 nsr
[root@NWrhelNodeA ~]# ls -l /nsr_share/nsr/
total 12
drwxrwxrwt.  2 root      root         6 Sep 30 15:22 applogs
drwxr-xr-x. 11 nsrtomcat nsrtomcat  117 Oct  1 13:55 authc
drwxr-x--t.  3 root      root        24 Sep 30 15:22 cache
drwx------. 27 root      root      4096 Oct  1 13:55 cores
drwxr-xr-x.  2 root      root         6 Sep 30 15:22 debug
drwxr-xr-x.  8 root      root       170 Sep 30 15:45 index
drwxr-x--x.  2 root      root        32 Sep 30 15:23 lic
drwx------.  3 root      root        34 Sep 30 15:23 lockbox
drwxr-x--x.  8 root      root      4096 Oct  1 12:03 logs
drwxr-xr-x.  3 root      root        83 Oct  1 10:00 mm
drwxr-x--x.  2 root      root        28 Sep 30 15:23 rabbitmq
drwxr-xr-x.  6 root      root        78 Oct  1 10:00 res
drwxr-x--x.  2 root      root        18 Oct  1 13:56 run
drw-------.  3 root      root        23 Sep 30 15:24 sec
drwxr-xr-x.  7 root      root      4096 Oct  1 13:56 tmp
  1. NetWorker Server 패키지를 업데이트합니다.
rpm -Uvh lgtoserv_package
  1. 공유 마운트 해제 /nsr 파티션:
umount /nsr_share
  1. 업그레이드 절차의 7단계로 돌아갑니다.

Prodotti interessati

NetWorker

Prodotti

NetWorker Family, NetWorker Series
Proprietà dell'articolo
Numero articolo: 000224096
Tipo di articolo: How To
Ultima modifica: 27 mar 2026
Versione:  7
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.