HANA 升级/生命周期管理器未安装/无法安装

HANA 升级/生命周期管理器未安装/无法安装

目前我尝试在 SPS 9 上安装 HANA SPS 11(升级)

HANA 是由一位已离开公司的同事安装的。

首先,我尝试通过 Eclipse 进行升级 -> 右键单击​​系统(以系统数据库上的用户系统身份登录的多租户)-> 生命周期管理 -> 系统生命周期管理 -> 检查 SAP HANA 组件更新

然后我收到消息“无法检测到系统 HDB 上安装的组件。”(不确定 HDB 是否是指 HANA DB 或租户 HDB)

因此,我尝试从命令行(通过 SSH)进行更新。生命周期管理器似乎有问题。所以我检查了一下,令我惊讶的是,没有安装 HANA 生命周期管理器。

尝试安装生命周期管理器,但是它抱怨没有安装主机代理。所以我安装了最新的 Host Agent(7.21)

**现在生命周期管理器的安装中止,并显示一条消息“补丁级别太低!”:

    # hana_lifecycle_manager/hdbinst 

SAP HANA Lifecycle Manager installation kit detected.


SAP HANA Database Installation Manager - SAP HANA HLM Installation 1.50.00.000000
*********************************************************************************


Options: 
  SAP HANA system ID | Description
  --------------------------------------------------------------
  HDB                | SAP HANA Database HDB 1.00.097.1436865239
Enter SAP HANA system ID [HDB]: 
Root user password. Mandatory for Distributed system with not configured Trusted SSH Connectivity, or else not applicable. [""]: 
Root user SSH passphrase. Optional for Distributed system with configured Trusted SSH Connectivity, or else not applicable. [""]: 
Checking installation...
Preparing package "SAP HANA lifecycle manager"...
  Installation failed
    Error checking installation
      hanadb01: Executing pre-installation checks failed. Installation will not proceed.
    Details: /hana/shared/HDB/trans/hlm_install_1453734283/hanadb01/checks/MinPatchNumberCheck.sh failed to execute Details:

*************************** Component ********************
/usr/sap/hostctrl/exe/saphostexec: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/sapstartsrv: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/saphostctrl: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/sapcontrol: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/lssap: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/sapdsigner: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/hostexecstart: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/sapuxuserchk: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/librfccm.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/saposcol: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 18 2016, 22:17:29)
/usr/sap/hostctrl/exe/sapacosprep: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/libsapacosprep.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/ldapreg: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 18 2016, 22:17:29)
/usr/sap/hostctrl/exe/ldappasswd: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 18 2016, 22:17:29)
/usr/sap/hostctrl/exe/sldreg: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/sldreglib.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/sapcpp47.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 18 2016, 22:17:29)
/usr/sap/hostctrl/exe/xml71d.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 18 2016, 22:17:29)
/usr/sap/hostctrl/exe/sapdbctrl: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/libsapdbadactrl.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/libsapdbdb6ctrl.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/libsapdboractrl.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/libsapdbsybctrl.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/libsapdbsiqctrl.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/libsapdbhdbctrl.so: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/sapcimb: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/sapcimc: 721, patch 621, changelist 1641576, linuxx86_64, opt (Jan 19 2016, 02:07:13)
/usr/sap/hostctrl/exe/SAPCAR: 721, patch 618, changelist 1633827, linuxx86_64, opt (Dec 10 2015, 22:11:09)
**********************************************************
--------------------
SAPHOSTAGENT information
--------------------

kernel release                721

kernel make variant           721_REL

compiled on                   Linux GNU SLES-9 x86_64 cc4.1.2  for linuxx86_64

compiled for                  64 BIT

compilation mode              Non-Unicode

compile time                  Jan 19 2016 02:04:53

patch number                  9

latest change number          1641576


---------------------
supported environment
---------------------

operating system
Linux 2.6
Linux 3
Linux

MinPatchNumberCheck.sh: The current SAP host agent patch number is 9. It has to be at least 153. Download the latest version of SAP Host Agent from SAP Service Marketplace and start hdbinst using the option --host_agent_package. It will be updated automatically.


Log file written to '/var/tmp/hdb_HLM_2016-01-25_16.04.06/hdbinst_HLM.log'.

如何修复 Livecycle Manager 的安装?

答案1

由于我认为该问题是一个 Bug,因此我使用以下解决方法修复了它:

改名/usr/sap/hostctrl/exe/saphostexec -> /usr/sap/hostctrl/exe/saphostexecOrg

创建了一个脚本并调用它/usr/sap/hostctrl/exe/saphostexec

脚本内容:

if [ "$1" = "-version" ]
        then echo "*************************** Component ********************
**********************************************************
--------------------
SAPHOSTAGENT information
--------------------

kernel release                721

kernel make variant           721_REL

compiled on                   Linux GNU SLES-9 x86_64 cc4.1.2  for linuxx86_64

compiled for                  64 BIT

compilation mode              Non-Unicode

compile time                  Jan 19 2016 02:04:53

patch number                  621

latest change number          1641576


---------------------
supported environment
---------------------

operating system
Linux 2.6
Linux 3
Linux
"
elif [ "$1" = "-restart" ]
        then /usr/sap/hostctrl/exe/saphostexecOrg -stop
/usr/sap/hostctrl/exe/saphostexecOrg pf=/usr/sap/hostctrl/exe/host_profile
else
usr/sap/hostctrl/exe/saphostexecOrg $1 $2 $3 $4 $5 $6
fi

(捕获 saphostexec 的输出并将补丁号 9 替换为 621)

相关内容