NetWorker:如何在独立 Linux作系统上安装 NetWorker
Summary: 本文提供了有关如何在 Linux 平台上安装 NetWorker 的信息;包括逐步说明和演示视频。本文中的信息仅适用于独立 Linux 主机,不涉及将 NetWorker 安装为群集服务。
Instructions
视频:在 Linux作系统上安装 NetWorker 服务器。
观看 YouTube 视频
准备
(可选)SolVe 步骤生成器可用于协助安装/升级过程。
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_architecture。
[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 Standard Base ( |
lgtoadpt |
当 NetWorker Module for Microsoft (NMM) 客户端位于 NetWorker 数据区时,需要 lgtoadpt 软件包。 |
lgtoauthc |
NetWorker 身份验证服务 (AUTHC)。NetWorker 服务器服务需要它,以便通过 NetWorker 接口和 API 提供身份验证功能。需要 NetWorker Runtime Environment:NetWorker Runtime Environment (NRE):简介和安装 |
lgtonode |
NetWorker 存储节点软件。NetWorker 服务器需要。(可选)它可以与 NetWorker 客户端软件一起安装,以用作“独立”NetWorker 存储节点。存储节点在现有 NetWorker 服务器中注册,用于装载 NetWorker 设备。 |
lgtoserv |
NetWorker 服务器软件。用于配置 NetWorker 保护数据区。 需要 lgtoclnt、lgtoxtdclnt、lgtoadpt、lgtoauthc、lgtonode。 需要 NetWorker Runtime Environment:NetWorker Runtime Environment (NRE):简介和安装 |
lgtonwuiserv |
NetWorker Web 用户界面 (NWUI) 服务器。基于 Web 的管理实用程序。 在 NetWorker 服务器主机上安装 NWUI 时使用此软件包:NetWorker Management Web UI (NWUI):如何安装 需要 NetWorker Runtime Environment:NetWorker Runtime Environment (NRE):简介和安装 |
lgtonwui |
NetWorker Web 用户界面 (NWUI)。基于 Web 的管理实用程序。 此软件包用于在不是 NetWorker 服务器的 Linux 主机上配置 NWUI 服务器:NetWorker Management Web UI (NWUI):如何安装 需要 NetWorker Runtime Environment:NetWorker Runtime Environment (NRE):简介和安装 |
lgtonmc |
NetWorker Management Console (NMC)。基于 Java 的管理用户界面。可以安装在 NetWorker 服务器或独立主机上。 需要 NetWorker Runtime Environment:NetWorker Runtime Environment (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]#
服务管理:
可以使用 systemd 停止和启动 NetWorker 服务。例如:
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 管理 Web UI (NWUI):如何安装
NetWorker Runtime Environment (NRE):简介和安装