Add a system to SAP LVM 3.0
- Kshitij Shrivastava
- Feb 19, 2021
- 2 min read
Before we add a system into LVM, we need to update SAP Host Agent (HA). Perform below prerequisite steps and then proceed with adding the system into LVM
Check HostAgent installation
1). check the host agent server on all servers of system.
As root
/usr/sap/hostctrl/exe/saphostctrl -function ExecuteOperation -name versioninfo
It should reflect (version 721 patch 27 for HA)
patch number 27
2) Make sure that the soft link new under /usr/sap/hostctrl exists:
lrwxrwxrwx 1 root root 17 Jul 30 08:06 new -> /softrepo/LVM/new
3). Make sure that the soft link operations.d under /usr/sap/hostctrl/exe exists:
lrwxrwxrwx 1 root root 17 Jul 31 09:44 operations.d -> /LVM/operations.d
4). Make sure that file /usr/sap/hostctrl/exe/host_profile contains these lines:
hostexec/autoupgrade_delay = 1440
service/admin_users = daaadm
service/EnableRemoteDeployment = true
service/protectedwebmethods = NONE
5). Validate password of user sapadm
Update SAP profile parameters and restart sapstartsrv for SAP
Add parameter to DEFAULT.PFL – for ABAP do it thru RZ10 and for JAVA do it at OS level thru “vi”
Add to DEFAULT.PFL profile (from RZ10), if done at OS level, then make sure that you do rz10 -> utilities -> import profiles -> Of Active Profiles.
service/protectedwebmethods = NONE
As <sid>adm
cdpro
vi DEFAULT.PFL
service/protectedwebmethods = NONE
Login to LVM system
Login with your personal user id and AD password (ABC domain)
Go to Configuration -> Systems

Hit “Discover”

Now click on discover
Source -> Detect Using Host and Instance Agent
Find -> Instances and hosts
Check “Detect Standalone databases”

Give virtual hostname of any instance involved in the system to be detected.



It can be ignored, hit “Close”, then “Next”
Configure services
Click next and then update pool applicable for new system.
Based on the SID you are trying to add, select particular pool name.

After selecting Pool, Click on AutoAssign

Click next
You will see the hostname entry. Click on Auto Assign and assign pool for the host as well.

Next
Verify the summary and then save

Select the Database entry and hit “Edit”

Add property DB_OWNER with value corresponding to Oracle OS user and “Save”

Hit “Save”
That value will be passed to the DB stop pre- hook as a parameter
Validate SID additon
Go to Operations tab, and select particular pool name, under which you added new SID

Ensure status of all the services is green..
Recent Posts
See All#!/bin/bash ############################################################################### #Script Name : kill sidadm sap process...
################################################################################ # UNIX Shell Script for Checking # 1. Whether SAP Has...
Comentários