NetBackup IT Analytics 安装和升级指南 (Linux)
任务 3:安装 Oracle 数据库应用程序二进制文件 (Linux)
本节介绍如何安装 Shared Service 版和非 Shared Service 版的 Oracle 数据库应用程序二进制文件。Oracle 数据库应用程序二进制文件通常与门户二进制文件一起安装在同一服务器上。
注意:
NetBackup IT Analytics 服务器不能安装任何其他 Oracle 数据库实例。
请注意确认购买协议中提供的说明,如需其他帮助,请咨询 Veritas 支持。
安装非 Shared Service 版的 Oracle 数据库二进制文件:
- 验证是否具有最新版本的 Oracle 19c 安装程序二进制文件。
- 以 root 用户身份登录到将要安装 NetBackup IT Analytics 数据库的服务器。通常,这也是门户服务器。
- 将 ISO 映像置于
/mnt
目录中。 - 装入下载的 ISO 映像。
mkdir /mnt/diskd
mount -o loop <itanalytics_dbinstaller_XXXXX_XXX_linux.iso> /mnt/diskd
在此替换下载的 ISO 文件的相关名称。
- 输入以下命令以启动安装程序:
cd / /mnt/diskd/install_oracle.sh
该命令将 Oracle 二进制文件复制到 /opt/aptare/oracle。
- 按 Enter 阅读完整的 EULA 授权许可协议,然后待接受过程将开始。
完成此过程需要 3-5 分钟,因为它将文件安装到 /opt/aptare/oracle19c 中。
A complete log of this session is in this file /opt/aptare/logs/install/install_oracle_xxxxxxxxxxxxxxxxxxxxx.log ************************************************************************** * NetBackup IT Analytics ORACLE Installer Version 19.3.0.0.0 (xxxxxxxxxxxxx) ************************************************************************** To use this software you must agree to the following terms and conditions. Press ENTER to continue: Enter "accept" to accept these Terms and Conditions: accept Creating group aptare ...groupadd: group 'aptare' already exists Done. Creating group dba ...groupadd: group 'dba' already exists Done. Adding user aptare to group dba ...Done. Adding user aptare to group dba ...Done.
The Database upgrade process will install the Oracle security patches if they are available in this system. aptare user must have write access to the directory where these patches are downloaded. Enter the absolute directory path where these patches are downloaded:/tmp/ora_patches Creating ORACLE_HOME directory in /opt/aptare/oracle ... Done. Creating ORACLE_HOME/logs directory ... Setting up IT Analytics database directories /data01 /data02 /data03 /data04 /data05 /data06 ...Done.
Installing Oracle binaries in /opt/aptare/oracle ... Extracting files ... This process may take 3-5 minutes to complete ... Done. . . creating: 31281355/etc/config/ inflating: 31281355/etc/config/actions.xml inflating: 31281355/etc/config/inventory.xml inflating: 31281355/README.html inflating: PatchSearch.xml Oracle Interim Patch Installer version 12.2.0.1.21 Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /opt/aptare/oracle Central Inventory : /opt/oraInventory from : /opt/aptare/oracle/oraInst.loc OPatch version : 12.2.0.1.21 OUI version : 12.2.0.7.0 Log file location : /opt/aptare/oracle/cfgtoollogs /opatch/opatchxxxxxxxxxxxxxxx.log Verifying environment and performing prerequisite checks... OPatch continues with these patches: 31281355 Do you want to proceed? [y|n] Y (auto-answered by -silent) User Responded with: Y All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/opt/aptare/oracle') Is the local system ready for patching? [y|n] Y (auto-answered by -silent) User Responded with: Y Backing up files... Applying interim patch '31281355' to OH '/opt/aptare/oracle' Done. A complete log of this session can be found at /opt/aptare/logs/install/install_oracle_xxxxxxxxxxxxxxxxx.log
安装的前提条件:
从 Oracle 下载中心下载
LINUX.X64_193000_db_home.zip
。Standard 或 Enterprise 版 Oracle 许可证。
对于 Enterprise 版许可证,必须将环境变量 ORACLE_LICENSE_OPTION 设置为 EE
要安装 Shared Service Oracle,必须拥有 Standard 或 Enterprise 版 Oracle 许可证。对于 Enterprise 版许可证,必须将环境变量 ORACLE_LICENSE_OPTION 设置为 EE。
安装 Shared Service 版的 Oracle 数据库二进制文件:
- 验证是否具有最新版本的 Oracle 19c 安装程序二进制文件。
- 从 Oracle 下载中心下载
LINUX.X64_193000_db_home.zip
。 - 以 root 身份登录到将要安装 NetBackup IT Analytics 数据库的服务器。理想情况下,这必须是门户服务器。
- 将 ISO 映像置于
/mnt
目录中。 - 装入下载的 ISO 映像。
# mkdir /mnt/diskd # mount -o loop <itanalytics_dbinstaller_shared-service_linux.iso> /mnt/dksd
- 如果有 Enterprise 版许可证,则将环境变量 ORACLE_LICENSE_OPTION 设置为 EE。
# export ORACLE_LICENSE_OPTION=EE
- 按如下方式启动安装程序:
# cd / # /mnt/diskd/install_oracle.sh
此时将显示最终用户授权许可协议 (EULA)。
- 输入下载的 Oracle Universal Installer 的绝对目录路径。
安装程序将 Oracle Universal Installer 提取到
/opt/aptare/oracle
。完成该过程大约需要 3 到 5 分钟。安装完成并显示以下状态消息。Checking the pre-requisite conditions for installer.. A complete log of this session is in this file /opt/aptare/logs/install/install_oracle_xxxxxxxxxxxxxxxx.log ************************************************************* * NetBackup IT Analytics ORACLE Installer Version 19.3.0.0.0 (xxxxxx) ************************************************************* To use this software you must agree to the following terms and conditions. Press ENTER to continue: Enter "accept" to accept these Terms and Conditions: accept Creating group aptare ...groupadd: group 'aptare' already exists Done. Creating group dba ...groupadd: group 'dba' already exists Done. User aptare is already a member of group: dba User aptare is already a member of group: dba Creating ORACLE_HOME directory in /opt/aptare/oracle ... Done. Creating ORACLE_HOME/logs directory ... Setting up IT Analytics database directories /data01 /data02 /data03 /data04 /data05 /data06 ...Done. This Oracle database installer requires Oracle Database 19c zip "LINUX.X64_193000_db_home.zip" to be available on this system. Enter the absolute directory path containing the Oracle Universal Installer zip file:/root Extracting files...this process may take 1-2 minutes to execute... Executing Oracle Universal Installer script... Done. Done. A complete log of this session can be found at /opt/aptare/logs/install/install_oracle_xxxxxxxxxxxxxxxx.log
注意:
共享服务 Oracle 安装程序不会安装任何 Oracle 修补程序。所需的 Oracle 修补程序发布时,必须单独应用这些修补程序。