Architectural Overview of SAP Host Agent
相關資訊
SAP Host Agent 執行目錄在
UNIX Platform : /usr/sap/hostctrl/exe
Windows Platform : %ProgramFiles%\SAP\hostctrl\exe
The control program : saphostexec
The operating system collector : saposcol
The SAP NetWeaver management agent : saphostcontrol
(sapstartsrv in host mode)
On UNIX hosts the automatic start is
ensured by the startup script sapinit that
starts
the required executables.
Prerequisites
=> Windows: You must be logged on as a
member of the local Administrators group.
=> UNIX: You must be logged on as a user
with root authorizations.
下面以Linux x86做示範 ,
先確認 SAP HOST AGENT 的版本
以root 登入 O.S 執行
#/usr/sap/hostctrl/exe/saphostexec -version
以下範例是 patch number 是 73
下載新版 SAP HOSTAGENT 壓縮檔
Support Packages and patches => Browse
our Download Catalog => SAP Technology Components=>
SAP HOST AGENT=> SAP HOST AGENT 7.20 EXT=>
Linux on x86_64 64bit => SAPHOSTAGENT147_147-20006831.SAR
下載後檔案名稱需更改為 SAPHOSTAGENT.SAR
Procedure:
1. 增加一個新目錄,放新版SAPHOSTAGENT.SAR , 目錄名稱 : /usr/sap/hostctrl/new
2. 修改參數 /usr/sap/hostctrl/exe/host_profile
增加DIR_NEW=/usr/sap/hostctrl/exe_new
3. Extract SAPHOSTAGENT.SAR to /usr/sap/hostctrl/new
#SAPCAR -xvf SAPHOSTAGENT.SAR
4. Restart
SAP Host Agent 使參數生效
5. 等5分鐘後 , 再檢查一下 SAP HOST AGENT 版本
#/usr/sap/hostctrl/exe/saphostexec -version
Patch
number 變成 147 , 果然變最新的囉
備註: 預設每5分鐘會到$DIR_NEW下檢查一次是否有新版的 saphostexec 版本