NetWorker:如何在獨立 Linux 作業系統上安裝 NetWorker
Summary: 本文提供如何在 Linux 平台上安裝 NetWorker 的相關資訊;包括分步說明和演示視頻。本文中的資訊僅適用於獨立 Linux 主機,並不涵蓋將 NetWorker 安裝為叢集服務。
Instructions
影片:在 Linux 作業系統上安裝 NetWorker 伺服器。
在 YouTube 上觀看
預備動作
或者,可以使用 SolVe 程序產生器協助安裝/升級程序。
可在 Dell 支援網站上取得 NetWorker 軟體。前往 NetWorker 產品頁面: https://www.dell.com/support/home/product-support/product/networker/overview
「概觀」標籤包含有關支援 NetWorker 版本服務壽命的重要資訊。
下載 NetWorker
「驅動程式與下載」標籤包含每個支援作業系統的 NetWorker 軟體套裝。本知識文章將示範如何安裝 x64 適用的 Linux
將下載的 NetWorker 套件複製到 Linux 主機:NetWorker (Linux):如何將檔案複製到 Linux NetWorker 伺服器或從 Linux NetWorker 伺服器複製檔案
tar xvf PACKAGE
壓縮的包將解壓縮到一個新的資料夾linux_體系結構。
[root@lnx-srvr01 ~]# ls -l | grep linux
drwxr-xr-x 2 root games 4096 Oct 7 08:27 linux_x86_64
-rw-r--r-- 1 root root 2099640932 Oct 30 10:09 nw1911_linux_x86_64.tar.gz
[root@lnx-srvr01 ~]# cd linux_x86_64/ [root@lnx-srvr01 linux_x86_64]#
NetWorker 套件:
| 套裝名稱 | 說明 |
lgtoclnt |
NetWorker 用戶端軟體。從 NetWorker 伺服器執行 Linux 主機用戶端備份時的必要資訊。用戶端式備份是 Linux 主機已建立為 NetWorker 伺服器上用戶端項目的任何備份類型。 在主機上安裝 NetWorker 伺服器、儲存節點及/或 NetWorker Management Console (NMC) 軟體時,必須使用用戶端套裝。 |
lgtoxtdclnt |
擴充的 NetWorker 用戶端軟體。提供 NetWorker Snapshot Management (NSM)、叢集整合、自訂指令檔整合,以及 NetWorker 模組支援的支援。NetWorker 安裝指南中會詳述其他功能。NetWorker 伺服器需要此套裝。 |
lgtobbb |
用於在 Linux 主機上執行區塊型備份 (BBB)。需要 Linux 標準基本 ( |
lgtoadpt |
當 Microsoft (NMM) 用戶端的 NetWorker 模組位於 NetWorker 資料區中時,需要 lgtoadpt 套裝。 |
lgtoauthc |
NetWorker 驗證服務 (AUTHC)。NetWorker 伺服器服務需要此服務,才能透過 NetWorker 介面和 API 提供驗證功能。需要 NetWorker 執行時間環境:NetWorker 執行時間環境 (NRE):簡介與安裝 |
lgtonode |
NetWorker 儲存節點軟體。NetWorker 伺服器需要。或者,它可以與 NetWorker 用戶端軟體一起安裝,以作為「獨立」的 NetWorker 儲存節點使用。儲存節點會在現有的 NetWorker 伺服器中註冊,並用於掛接 NetWorker 裝置。 |
lgtoserv |
NetWorker 伺服器軟體。用於設定 NetWorker 保護資料區。 需要 lgtoclnt、lgtoxtdclnt、lgtoadpt、lgtoauthc、lgtonode。 需要 NetWorker 執行時間環境:NetWorker 執行時間環境 (NRE):簡介與安裝 |
lgtonwuiserv |
NetWorker Web 使用者介面 (NWUI) 伺服器。基於 Web 的管理實用程式。 在 NetWorker 伺服器主機上安裝 NWUI 時會使用此套件:NetWorker Management Web UI (NWUI):如何安裝 需要 NetWorker 執行時間環境:NetWorker 執行時間環境 (NRE):簡介與安裝 |
lgtonwui |
NetWorker Web 使用者介面 (NWUI)。基於 Web 的管理實用程式。 此套件用於在非 NetWorker 伺服器的 Linux 主機上設定 NWUI 伺服器:NetWorker Management Web UI (NWUI):如何安裝 需要 NetWorker 執行時間環境:NetWorker 執行時間環境 (NRE):簡介與安裝 |
lgtonmc |
NetWorker Management Console (NMC)。Java 型管理使用者介面。可安裝在 NetWorker 伺服器或獨立主機上。 需要 NetWorker 執行時間環境:NetWorker 執行時間環境 (NRE):簡介與安裝 |
lgtoman |
NetWorker 手冊頁。 |
lgtofr |
提供法語語言支援。 |
lgtoja |
提供日語支援。 |
lgtoko |
提供韓語支援。 |
lgtozh |
提供中文支援。 |
安裝:
以下程序顯示將 x64 Linux 安裝為 NetWorker 伺服器的安裝程序。下列命令範例是從包含解壓縮 NetWorker 套裝的資料夾執行。
CentOS、Oracle Enterprise Linux、SuSE 和 Red Hat:
yum localinstall --nogpgcheck -y lgtoclnt*.rpm lgtoxtdclnt*.rpm lgtonode*.rpm lgtoserv*.rpm lgtoauthc*.rpm [optional_package1] [optional_package2]...
rpm -ivh lgtoclnt*.rpm lgtoxtdclnt*.rpm lgtonode*.rpm lgtoserv*.rpm lgtoauthc*.rpm [optional_package1] [optional_package2]...範例:
[root@lnx-srvr01 linux_x86_64]# yum localinstall --nogpgcheck -y lgtoclnt*.rpm lgtoxtdclnt*.rpm lgtonode*.rpm lgtoserv*.rpm lgtoauthc*.rpm
Updating Subscription Management repositories.
Last metadata expiration check: 0:28:11 ago on Wed 30 Oct 2024 10:40:28 AM EDT.
Dependencies resolved.
=================================================================================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================================================================================
Installing:
lgtoauthc x86_64 19.11.0.2-1 @commandline 288 M
lgtoclnt x86_64 19.11.0.2-1 @commandline 64 M
lgtonode x86_64 19.11.0.2-1 @commandline 37 M
lgtoserv x86_64 19.11.0.2-1 @commandline 237 M
lgtoxtdclnt x86_64 19.11.0.2-1 @commandline 69 M
Transaction Summary
=================================================================================================================================================================================================================
Install 5 Packages
Total size: 695 M
Installed size: 1.4 G
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: lgtoclnt-19.11.0.2-1.x86_64 1/5
Warning: The unit file, source configuration file or drop-ins of networker.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Installing : lgtoclnt-19.11.0.2-1.x86_64 1/5
Running scriptlet: lgtoclnt-19.11.0.2-1.x86_64 1/5
Running scriptlet: lgtoxtdclnt-19.11.0.2-1.x86_64 2/5
Installing : lgtoxtdclnt-19.11.0.2-1.x86_64 2/5
Running scriptlet: lgtoxtdclnt-19.11.0.2-1.x86_64 2/5
Running scriptlet: lgtonode-19.11.0.2-1.x86_64 3/5
Installing : lgtonode-19.11.0.2-1.x86_64 3/5
Installing : lgtoauthc-19.11.0.2-1.x86_64 4/5
Running scriptlet: lgtoauthc-19.11.0.2-1.x86_64 4/5
Running scriptlet: lgtoserv-19.11.0.2-1.x86_64 5/5
Installing : lgtoserv-19.11.0.2-1.x86_64 5/5
Running scriptlet: lgtoserv-19.11.0.2-1.x86_64 5/5
*** NOTE ***
All installations of NetWorker 19.11.0 require the installation of the Dell EMC License Server software when a served license is used.
An unserved license does not require the Dell EMC License Server software.
Licensing changes in this version of NetWorker affect the upgrade process for all licensing models.
The Dell EMC License Server installation packages are available at the same download location as the installation packages for this version of NetWorker.
Refer to the "NetWorker 19.11.0 Licensing Guide" for information on supported environments, prerequisites, instructions, and operations of the Dell EMC License Server.
Running scriptlet: lgtoauthc-19.11.0.2-1.x86_64 5/5
Creating the installation log in /opt/nsr/authc-server/logs/install.log.
Performing initialization. Please wait...
NOTE: AUTHC existing configuration retained with following values.
In case if any of configuration values needs changes, please
re-run /opt/nsr/authc-server/scripts/authc_configure.sh
=============================
Configuration Status (AUTHC)
=============================
Parameter Retained Value/Reason
Tomcat Port Yes 9090
Java Path Yes /opt/nre/java/latest
CA CERT Path Yes /opt/nre/java/latest/lib/security/cacerts
KeyStore Yes /nsr/authc/conf/authc.keystore
Admin Password Yes /nsr/authc/data/authcdb.mv.db
Running scriptlet: lgtoserv-19.11.0.2-1.x86_64 5/5
Verifying : lgtoclnt-19.11.0.2-1.x86_64 1/5
Verifying : lgtoxtdclnt-19.11.0.2-1.x86_64 2/5
Verifying : lgtonode-19.11.0.2-1.x86_64 3/5
Verifying : lgtoserv-19.11.0.2-1.x86_64 4/5
Verifying : lgtoauthc-19.11.0.2-1.x86_64 5/5
Installed products updated.
Installed:
lgtoauthc-19.11.0.2-1.x86_64 lgtoclnt-19.11.0.2-1.x86_64 lgtonode-19.11.0.2-1.x86_64 lgtoserv-19.11.0.2-1.x86_64 lgtoxtdclnt-19.11.0.2-1.x86_64
Complete!
[root@lnx-srvr01 linux_x86_64]#
其他命令:
- 列出已安裝的 NetWorker 套裝:
rpm -qa --last | grep lgto
- 解除安裝 NetWorker 套件:
rpm -e package1 package2 ...
Debian 和 Ubuntu:
dpkg -i lgtoclnt*.deb lgtoxtdclnt*.deb lgtonode*.deb lgtoserv*.deb lgtoauthc*.deb [optional_package1] [optional_package2]...
root@lnx-srvr03:~/linux_x86_64# dpkg -i lgtoclnt*.deb lgtoxtdclnt*.deb lgtonode*.deb lgtoserv*.deb lgtoauthc*.deb
Selecting previously unselected package lgtoclnt.
(Reading database ... 236523 files and directories currently installed.)
Preparing to unpack lgtoclnt_19.11.0.2_amd64.deb ...
Unpacking lgtoclnt (19.11.0.2) ...
Selecting previously unselected package lgtoxtdclnt.
Preparing to unpack lgtoxtdclnt_19.11.0.2_amd64.deb ...
Unpacking lgtoxtdclnt (19.11.0.2) ...
Selecting previously unselected package lgtonode.
Preparing to unpack lgtonode_19.11.0.2_amd64.deb ...
Unpacking lgtonode (19.11.0.2) ...
Selecting previously unselected package lgtoserv.
Preparing to unpack lgtoserv_19.11.0.2_amd64.deb ...
Unpacking lgtoserv (19.11.0.2) ...
Selecting previously unselected package lgtoauthc.
Preparing to unpack lgtoauthc_19.11.0.2_amd64.deb ...
Unpacking lgtoauthc (19.11.0.2) ...
Setting up lgtoclnt (19.11.0.2) ...
Setting up lgtoxtdclnt (19.11.0.2) ...
Setting up lgtonode (19.11.0.2) ...
Setting up lgtoauthc (19.11.0.2) ...
NOTE: To complete configuration execute the following script as root:
/opt/nsr/authc-server/scripts/authc_configure.sh
Setting up lgtoserv (19.11.0.2) ...
*** NOTE ***
All installations of NetWorker XDEB_VERSIONX require the installation of the Dell EMC License Server software when a served license is used.
An unserved license does not require the Dell EMC License Server software.
Licensing changes in this version of NetWorker affect the upgrade process for all licensing models.
The Dell EMC License Server installation packages are available at the same download location as the installation packages for this version of NetWorker.
Refer to the "NetWorker XDEB_VERSIONX Licensing Guide" for information on supported environments, prerequisites, instructions, and operations of the Dell EMC License Server.
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
其他命令:
- 列出已安裝的 NetWorker 套裝:
dpkg -l | grep lgto
- 解除安裝 NetWorker:
dpkg -r package1 pakage2 ..
安裝後指令檔:
NetWorker 驗證 (AUTHC) 組態指令檔: /opt/nsr/authc-server/scripts/authc_configure.sh
- 設定 AUTHC 資料庫和系統檔案:/nsr/authc 和 /opt/nsr/authc-server
- 設定 AUTHC 金鑰存放區和密碼。
- 定義 AUTHC 服務使用的連接埠 (預設為 9090)。
- 設定預設 NetWorker 系統管理員使用者帳戶和密碼。
NetWorker Web 使用者介面 (NWUI) 組態指令檔: /opt/nwui/scripts/nwui_configure.sh
- 設定 NWUI 資料庫和系統檔案:/nsr/nwui 和 /opt/nwui
- 設定 NWUI 金鑰存放區和密碼。
- 定義 NWUI 服務使用的連接埠 (預設為 9095 和 5435)
- 設定 NWUI 使用的驗證伺服器。
- 設定由 NWUI 管理的 NetWorker 伺服器。
NetWorker Management Console (NMC) 組態指令檔: /opt/lgtonmc/bin/nmc_config
- 設定 NMC 資料庫和系統檔案:/opt/nsr/nmc 和 /opt/lgtonmc
- 設定 NMC 使用的憑證。
- 定義 NMC 伺服器使用的連接埠 (預設為 9000、9001 和 5432)
- 設定用於 NMC 驗證的 AUTHC 伺服器
範例:
[root@lnx-srvr01 linux_x86_64]# /opt/nsr/authc-server/scripts/authc_configure.sh Specify the directory where the Java Standard Edition Runtime Environment (JRE) software is installed [/opt/nre/java/latest]: The installation process will install an Apache Tomcat instance. For optimum security, EMC NetWorker Authentication Service will use a non-root user (nsrtomcat) to start the Apache Tomcat instance. If your system has special user security requirements, ensure that proper operational permissions are granted to this non-root user (nsrtomcat). Please refer to NetWorker Installation Guide. The Apache Tomcat will use "lnx-srvr01.networker.lan" as the host name. The Apache Tomcat will use "9090" as the port number. The NetWorker Authentication Service requires a keystore file to configure encryption and to provide SSL support. EMC recommends that you specify a keystore password that has a minimum of six characters. The installation process will create a new keystore file. Specify the keystore password: Confirm the password: The NetWorker Authentication Service defines automatically an administrator user account named administrator in the NetWorker Authentication Service local database. This account is specific to the administration of the NetWorker Authentication Service, and is not related to other administrator accounts on this system. ******************************************************************************************** Password criteria: Minimum required characters - 9 and Maximum allowed characters - 126 Minimum [alphabetic - 2, Uppercase - 1, Lowercase - 1, Numeric - 1, Special character - 1] ******************************************************************************************** Specify an initial password for administrator: Confirm the password: Creating the installation log in /opt/nsr/authc-server/logs/install.log. Performing initialization. Please wait... The installation completed successfully. [root@lnx-srvr01 linux_x86_64]#
服務管理:
NetWorker 服務可以使用 systemd 停止和開始。例如:
systemctl [ stop | start | restart ] networker
service networker [ stop | start | restart ]
您也可以使用下列命令來停止 NetWorker:
nsr_shutdown
nsr_shutdown 指令檔和「networker」服務僅適用於 NetWorker 用戶端、儲存節點和伺服器服務。NetWorker Web 使用者介面 (NWUI) 使用自己的服務 (nwui),其控制獨立於 NetWorker 服務。NetWorker Management Console 伺服器使用自己的服務 (gst),其控制方式獨立於 NetWorker 服務。
Additional Information
NetWorker:識別 NetWorker 軟體版本
的方法NetWorker:記錄檔和位置
NetWorker 程式和連接埠
NetWorker Management Web UI (NWUI):如何安裝
NetWorker 執行時間環境 (NRE):簡介與安裝