2. • This is the first in a series of presenta/ons dedicated to SAP
Landscape Virtualiza/on Management (LVM)
• This document provides a quick overview of how you can
customize LVM to operate custom instances
• This document describes how this can be achieved in a UNIX
environment but can be easily adapted for the Windows
plaKorm
• The document is aimed at system administrators responsible
for configuring and opera/ng SAP LVM
Introduc5on
3. Overview
• SAP LVM can manage SAP instances and databases using the
SAP Host Agent
• SAP LVM can be extended to manage custom instances such as
SAP Replica/on Server (SRS) via the SAP Host Agent
• Custom instances are managed using SAP Host Agent registered
scripts
4. Generic
Opera5ons
• For each custom instance type that you want to manage within
SAP LVM you create a set of generic opera/ons as follows:
Ø Detect
Ø Monitor
Ø Start/Stop
Ø Validate
Ø ATach/Detach
Ø Getproper/es
5. Generic
Opera5on
Scripts
• The generic opera/ons are defined in configura/on files stored in the
exe/pera/ons.d subdirectory of the host agent file system on the
managed host
• Each generic opera/on configura/on file must use the following
naming conven/on
o Detect – acc_<custominstance-‐type>_list
o Monitor – acc_<custominstance-‐type>_monitor
o Start/Stop – acc_<custominstance-‐type>_start/stop
o Validate – acc_<custominstance-‐type>_validate
o ATach/Detach – acc_<custominstance-‐type>_aTach/detach
o Getproper/es – acc_<custominstance-‐type>_getproper/es
• To operate a custom instance the minimum requirement is to
configure the detect, monitor and start/stop opera/ons
6. Example
for
SRS
-‐
Overview
• Each configura/on file should reference an opera/ng system script that
performs the corresponding opera/on
• Posi/ve responses are reported to SAP LVM by echoing a string star/ng with
[RESULT]
• Nega/ve responses are reported to SAP LVM by echoing a string star/ng
with [ERROR]
• Responses returned by the opera/ng system scripts are visible in the SAP
LVM log
• For this example we will configure the following files:
1 Detect – acc_SRS_list.conf
2 Monitor – acc_SRS_monitor.conf
3 Start – acc_SRS_start.conf
4 Stop – acc_SRS_stp.conf