SlideShare a Scribd company logo
SAP	
  LVM	
  Custom	
  Opera3ons	
  
•  This  is  the  second  in  a  series  of  presenta0ons  dedicated  to  SAP  
Landscape  Virtualiza0on  Management  (LVM)
•  This  document  provides  a  quick  overview  of  how  you  can  
customize  LVM  with  custom  opera0ons  and  hooks  and  is  aimed  
at  system  administrators  responsible  for  configuring  and  
opera0ng  SAP  LVM
•  This  document  describes  how  this  can  be  achieved  in  a  UNIX  
environment  but  can  be  easily  adapted  for  the  Windows  
plaKorm
•  In  this  presenta0on,  we  will  show  you  how  to  create  custom  
opera0ons  and  hooks  for  managing  a  Red  Hat®  cluster  
containing  the  SAP  Central  Services  (SCS)
Introduc3on	
  
Overview	
  
•  SAP  LVM  manages  SAP  instances  and  databases  as  standard  
using  the  SAP  Host  Agent
•  Out-­‐of-­‐the  box  opera0ons  include  “stop”,  “start”,  “mass  stop”,  
“mass  start”
•  SAP  LVM  can  be  extended  to  include  custom  opera0ons  that  
can  be  associated  with  instances  and  hosts
•  Custom  opera0ons  are  defined  in  LVM  via  a  Provider  
Implementa0on  and  Custom  Opera0on  and  Hooks  defini0on
•  Custom  opera0ons  are  registered  with  the  SAP  Host  Agent  
using  a  configura0on  file
Provider	
  Implementa3on	
  
•  The  Provider  Implementa0on  defines  the  link  between  LVM  and  
the  host  agent  and  describes  how  the  custom  opera0ons  are  
implemented
•  In  this  example,  the  provider  implementa0on  
“LVM_CustomOpera0on_ClusterAdm”  will  be  defined
•  The  Provider  Implementa0on  must  include  the  custom  
parameter  OPERATION  which  LVM  will  supply  to  the  host  agent  
when  triggered
•  The  host  agent  configura0on  file  defini0on  for  the  provider  
implementa0on  will  call  the  Korn  script  with  the  $[PARAM-­‐
OPERATION]  parameter
Provider	
  Implementa3on	
  
Custom	
  Opera3on	
  Defini3ons	
  
•  The  custom  opera0on  “Freeze”  is  used  to  freeze  the  Red  Hat  cluster  
so  other  opera0ons  can  take  place  without  a  cluster  failover  
Custom	
  Opera3on	
  Defini3ons	
  
•  The  important  fields  to  note  here  are  the  “Name”  and  “Bu^on  
Group”  –  Freeze  and  Cluster  Opera0on  respec0vely
•  The  custom  parameter  “Opera0on”  has  been  set  to  FREEZE  
which  will  be  passed  to  the  host  agent  and  Korn  script  via  the  
configura0on  file
•  The  “Name”  and  “Bu^on  Group”  appear  on  the  host  opera0on  
screen  in  LVM
•  Clicking  the  Cluster  Opera0on  bu^on  triggers  the  custom  
opera0on  and  the  associated  Korn  script
•  Similar  custom  opera0ons  are  created  for  “Unfreeze”  and  
“Relocate”
Custom	
  Hook	
  Defini3ons	
  
•  The  custom  hook  is  needed  to  intercept  SAP  system  stop  and  start  requests  
to  prepare  the  cluster  (freeze/unfreeze)  so  that  cluster  monitoring  does  not  
incorrectly  start  or  stop  the  instance  whilst  valid  stop/start  opera0ons  are  
being  performed
Host	
  Agent	
  Registered	
  Script	
  
•  For  each  Provider  Implementa0on  a  standard  host  agent  configura0on  file  
with  extension  “.conf”  must  be  created  in  the  “opera0ons.d”  sub-­‐directory  
of  /usr/sap/hostctrl/exe
•  For  the  cluster  management  custom  opera0ons  the  sample  configura0on  
file  “ClusterAdm.conf”  would  look  as  below
•  The  “Name”  must  match  the  name  of  the  Registered  Script  on  the  Provider  
Implementa0on  in  LVM
•  The  $[PARAM-­‐OPERATION]  can  be  seen  being  passed  as  the  first  parameter  
to  the  Korn  script,  indica0ng  the  custom  opera0on  being  requested  by  LVM

File	
   Content	
  
ClusterAdm.conf Name: LVM_CustomOperation_ClusterAdm
Command: /sap/Scripts/ClusterAdm.ksh $[PARAM-OPERATION] $[SAPSYSTEMNAME]
Workdir: $[DIR_HOME:#sapparam]
Username: root
ResultConverter: flat
Example	
  Script	
  –	
  ClusterAdm.ksh	
  
Sample	
  Coding	
  (perform	
  any	
  site	
  specific	
  checks	
  beforehand)	
  
#
# Variables from LVM via Hostagent Configuration File
#
OPERATION=$1
SAPSYSTEMNAME=$2
SERVICE=<your cluster service>
#
# Determine requested operation
#
case $OPERATION in
STOP) echo "[RESULT]: ${OPERATION} requested for a clustered service”
if [[ ${STATUS} != "FROZEN" ]]; then
echo "[RESULT]: Service group is not currently frozen; FREEZE operation will be enforced”
fi
OPERAND="-Z";;
START) echo "[RESULT]: ${OPERATION} requested for a clustered service”
if [[ ${STATUS} != "FROZEN" ]]; then
echo "[RESULT]: Service group is not frozen; nothing to do”
exit 0
fi
OPERAND="-U";;
Example	
  Script	
  –	
  ClusterAdm.ksh	
  
Sample	
  Coding	
  (con;nued)	
  
FREEZE) echo "[RESULT]: Cluster operation ${OPERATION} requested”
if [[ ${STATUS} == "FROZEN" ]]; then
echo "[RESULT]: Service group is already frozen; nothing to do”
exit 0
fi
OPERAND="-Z";;
UNFREEZE) echo "[RESULT]: Cluster operation ${OPERATION} requested”
if [[ ${STATUS} != "FROZEN" ]]; then
echo "[RESULT]: Service group ${SERVICE} is not frozen; nothing to do”
exit 0
fi
OPERAND="-U";;
RELOCATE) echo "[RESULT]: Cluster operation ${OPERATION} requested”
if [[ ${STATUS} == "FROZEN" ]]; then
echo "[ERROR]: Service group ${SERVICE} is frozen; ${OPERATION} operation not possible”
exit 8
fi
OPERAND="-r";;
*) echo "[ERROR]: Invalid cluster operation - ${OPERATION}”
exit 8;;
esac
Example	
  Script	
  –	
  ClusterAdm.ksh	
  
Sample	
  Coding	
  (con;nued)	
  
#
# Perform operation
#
echo "[RESULT]: Command issued to OS: ${clus_path}/clusvcadm ${OPERAND} ${SERVICE}”
/usr/sbin/clusvcadm ${OPERAND} ${SERVICE}
exit 0
Reference	
  Material	
  
•  The  following  pages  on  SAP  Help  are  useful:
–  Configuring  Custom  Opera0ons
–  Configuring  Custom  Hooks
•  The  following  SAP  notes  provide  some  informa0on:
–  1465491  -­‐  Provider  Implementa0on  Defini0on
•  Further  details  are  available  on  request  
–  mailto:info@aliterconsul0ng.co.uk
Thank-­‐you	
  

More Related Content

What's hot

Run tests at scale with on-demand Selenium Grid using AWS Fargate
Run tests at scale with on-demand Selenium Grid using AWS FargateRun tests at scale with on-demand Selenium Grid using AWS Fargate
Run tests at scale with on-demand Selenium Grid using AWS Fargate
Megha Mehta
 
Database and Public Endpoints redundancy on Azure
Database and Public Endpoints redundancy on AzureDatabase and Public Endpoints redundancy on Azure
Database and Public Endpoints redundancy on Azure
Radu Vunvulea
 
SAP LaMa Cloud Manager Azure
SAP LaMa Cloud Manager AzureSAP LaMa Cloud Manager Azure
SAP LaMa Cloud Manager Azure
Gary Jackson MBCS
 
Apache Performance Tuning: Scaling Out
Apache Performance Tuning: Scaling OutApache Performance Tuning: Scaling Out
Apache Performance Tuning: Scaling Out
Sander Temme
 
Upgrading or migrating to a higher AEM version - Planning and process
Upgrading or migrating to a higher AEM version - Planning and processUpgrading or migrating to a higher AEM version - Planning and process
Upgrading or migrating to a higher AEM version - Planning and process
Ashokkumar T A
 
OEM_Case_Study_ABC
OEM_Case_Study_ABCOEM_Case_Study_ABC
OEM_Case_Study_ABC
Randhir Singh
 
Comparison of ACFS and DBFS
Comparison of ACFS and DBFSComparison of ACFS and DBFS
Comparison of ACFS and DBFS
DanielHillinger
 
Managing and Configuring Databases
Managing and Configuring DatabasesManaging and Configuring Databases
Managing and Configuring Databases
Ram Kedem
 
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld
 
Aem offline content
Aem offline contentAem offline content
Aem offline content
Ashokkumar T A
 
VMworld 2013: Big Data: Virtualized SAP HANA Performance, Scalability and Bes...
VMworld 2013: Big Data: Virtualized SAP HANA Performance, Scalability and Bes...VMworld 2013: Big Data: Virtualized SAP HANA Performance, Scalability and Bes...
VMworld 2013: Big Data: Virtualized SAP HANA Performance, Scalability and Bes...
VMworld
 
Lucee writing your own debugging template
Lucee   writing your own debugging templateLucee   writing your own debugging template
Lucee writing your own debugging template
Gert Franz
 
Caching strategies with lucee
Caching strategies with luceeCaching strategies with lucee
Caching strategies with lucee
Gert Franz
 
Lucee writing your own debugging template
Lucee   writing your own debugging templateLucee   writing your own debugging template
Lucee writing your own debugging template
Gert Franz
 
Running Oracle EBS in the cloud (OAUG Collaborate 18 edition)
Running Oracle EBS in the cloud (OAUG Collaborate 18 edition)Running Oracle EBS in the cloud (OAUG Collaborate 18 edition)
Running Oracle EBS in the cloud (OAUG Collaborate 18 edition)
Andrejs Prokopjevs
 
20110701 zsc2011-advanced proxying-formatted
20110701 zsc2011-advanced proxying-formatted20110701 zsc2011-advanced proxying-formatted
20110701 zsc2011-advanced proxying-formatted
Zarafa
 
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical NagiosNagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
Nagios
 

What's hot (17)

Run tests at scale with on-demand Selenium Grid using AWS Fargate
Run tests at scale with on-demand Selenium Grid using AWS FargateRun tests at scale with on-demand Selenium Grid using AWS Fargate
Run tests at scale with on-demand Selenium Grid using AWS Fargate
 
Database and Public Endpoints redundancy on Azure
Database and Public Endpoints redundancy on AzureDatabase and Public Endpoints redundancy on Azure
Database and Public Endpoints redundancy on Azure
 
SAP LaMa Cloud Manager Azure
SAP LaMa Cloud Manager AzureSAP LaMa Cloud Manager Azure
SAP LaMa Cloud Manager Azure
 
Apache Performance Tuning: Scaling Out
Apache Performance Tuning: Scaling OutApache Performance Tuning: Scaling Out
Apache Performance Tuning: Scaling Out
 
Upgrading or migrating to a higher AEM version - Planning and process
Upgrading or migrating to a higher AEM version - Planning and processUpgrading or migrating to a higher AEM version - Planning and process
Upgrading or migrating to a higher AEM version - Planning and process
 
OEM_Case_Study_ABC
OEM_Case_Study_ABCOEM_Case_Study_ABC
OEM_Case_Study_ABC
 
Comparison of ACFS and DBFS
Comparison of ACFS and DBFSComparison of ACFS and DBFS
Comparison of ACFS and DBFS
 
Managing and Configuring Databases
Managing and Configuring DatabasesManaging and Configuring Databases
Managing and Configuring Databases
 
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
 
Aem offline content
Aem offline contentAem offline content
Aem offline content
 
VMworld 2013: Big Data: Virtualized SAP HANA Performance, Scalability and Bes...
VMworld 2013: Big Data: Virtualized SAP HANA Performance, Scalability and Bes...VMworld 2013: Big Data: Virtualized SAP HANA Performance, Scalability and Bes...
VMworld 2013: Big Data: Virtualized SAP HANA Performance, Scalability and Bes...
 
Lucee writing your own debugging template
Lucee   writing your own debugging templateLucee   writing your own debugging template
Lucee writing your own debugging template
 
Caching strategies with lucee
Caching strategies with luceeCaching strategies with lucee
Caching strategies with lucee
 
Lucee writing your own debugging template
Lucee   writing your own debugging templateLucee   writing your own debugging template
Lucee writing your own debugging template
 
Running Oracle EBS in the cloud (OAUG Collaborate 18 edition)
Running Oracle EBS in the cloud (OAUG Collaborate 18 edition)Running Oracle EBS in the cloud (OAUG Collaborate 18 edition)
Running Oracle EBS in the cloud (OAUG Collaborate 18 edition)
 
20110701 zsc2011-advanced proxying-formatted
20110701 zsc2011-advanced proxying-formatted20110701 zsc2011-advanced proxying-formatted
20110701 zsc2011-advanced proxying-formatted
 
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical NagiosNagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
 

Similar to SAP LVM Customer Operations

SAP LVM Customer Instances
SAP LVM Customer InstancesSAP LVM Customer Instances
SAP LVM Customer Instances
Gary Jackson MBCS
 
Building cloud stack at scale
Building cloud stack at scaleBuilding cloud stack at scale
Building cloud stack at scale
ShapeBlue
 
Ansible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less CoffeeAnsible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less Coffee
Sarah Z
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster NodesWSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2
 
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
Kasun Gajasinghe
 
Deploy Rails Application by Capistrano
Deploy Rails Application by CapistranoDeploy Rails Application by Capistrano
Deploy Rails Application by Capistrano
Tasawr Interactive
 
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltConf14 - Ben Cane - Using SaltStack in High Availability EnvironmentsSaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltStack
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
Sharon James
 
DB proxy server test: run tests on tens of virtual machines with Jenkins, Vag...
DB proxy server test: run tests on tens of virtual machines with Jenkins, Vag...DB proxy server test: run tests on tens of virtual machines with Jenkins, Vag...
DB proxy server test: run tests on tens of virtual machines with Jenkins, Vag...
Timofey Turenko
 
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty ProfileAAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
WASdev Community
 
Watch Me Install Alfresco
Watch Me Install AlfrescoWatch Me Install Alfresco
Watch Me Install Alfresco
Alfresco Software
 
Apache Whirr
Apache WhirrApache Whirr
Apache Whirr
huguk
 
SAP LVM Integration with SAP BPA
SAP LVM Integration with SAP BPASAP LVM Integration with SAP BPA
SAP LVM Integration with SAP BPA
Gary Jackson MBCS
 
3. v sphere big data extensions
3. v sphere big data extensions3. v sphere big data extensions
3. v sphere big data extensions
Chiou-Nan Chen
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
Solaris Zones (native & lxbranded) ~ A techXpress Guide
Solaris Zones (native & lxbranded) ~ A techXpress GuideSolaris Zones (native & lxbranded) ~ A techXpress Guide
Solaris Zones (native & lxbranded) ~ A techXpress Guide
Abhishek Kumar
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
Sharon James
 
Monkey man
Monkey manMonkey man
Monkey man
ShapeBlue
 
Your Inner Sysadmin - LonestarPHP 2015
Your Inner Sysadmin - LonestarPHP 2015Your Inner Sysadmin - LonestarPHP 2015
Your Inner Sysadmin - LonestarPHP 2015
Chris Tankersley
 

Similar to SAP LVM Customer Operations (20)

SAP LVM Customer Instances
SAP LVM Customer InstancesSAP LVM Customer Instances
SAP LVM Customer Instances
 
Building cloud stack at scale
Building cloud stack at scaleBuilding cloud stack at scale
Building cloud stack at scale
 
Ansible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less CoffeeAnsible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less Coffee
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
 
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster NodesWSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
 
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
 
Deploy Rails Application by Capistrano
Deploy Rails Application by CapistranoDeploy Rails Application by Capistrano
Deploy Rails Application by Capistrano
 
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltConf14 - Ben Cane - Using SaltStack in High Availability EnvironmentsSaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
 
DB proxy server test: run tests on tens of virtual machines with Jenkins, Vag...
DB proxy server test: run tests on tens of virtual machines with Jenkins, Vag...DB proxy server test: run tests on tens of virtual machines with Jenkins, Vag...
DB proxy server test: run tests on tens of virtual machines with Jenkins, Vag...
 
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty ProfileAAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
 
Watch Me Install Alfresco
Watch Me Install AlfrescoWatch Me Install Alfresco
Watch Me Install Alfresco
 
Apache Whirr
Apache WhirrApache Whirr
Apache Whirr
 
SAP LVM Integration with SAP BPA
SAP LVM Integration with SAP BPASAP LVM Integration with SAP BPA
SAP LVM Integration with SAP BPA
 
3. v sphere big data extensions
3. v sphere big data extensions3. v sphere big data extensions
3. v sphere big data extensions
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
 
Solaris Zones (native & lxbranded) ~ A techXpress Guide
Solaris Zones (native & lxbranded) ~ A techXpress GuideSolaris Zones (native & lxbranded) ~ A techXpress Guide
Solaris Zones (native & lxbranded) ~ A techXpress Guide
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
 
Monkey man
Monkey manMonkey man
Monkey man
 
Your Inner Sysadmin - LonestarPHP 2015
Your Inner Sysadmin - LonestarPHP 2015Your Inner Sysadmin - LonestarPHP 2015
Your Inner Sysadmin - LonestarPHP 2015
 

More from Gary Jackson MBCS

SAP ASCS on Kubernetes - A Proposal
SAP ASCS on Kubernetes - A ProposalSAP ASCS on Kubernetes - A Proposal
SAP ASCS on Kubernetes - A Proposal
Gary Jackson MBCS
 
SAP on Azure Web Dispatcher High Availability
SAP on Azure Web Dispatcher High AvailabilitySAP on Azure Web Dispatcher High Availability
SAP on Azure Web Dispatcher High Availability
Gary Jackson MBCS
 
Office 365 SaaS Mail Integration with SAP on Azure
Office 365 SaaS Mail Integration with SAP on AzureOffice 365 SaaS Mail Integration with SAP on Azure
Office 365 SaaS Mail Integration with SAP on Azure
Gary Jackson MBCS
 
OpenText Archive Server on Azure
OpenText Archive Server on AzureOpenText Archive Server on Azure
OpenText Archive Server on Azure
Gary Jackson MBCS
 
SAP OS/DB Migration using Azure Storage Account
SAP OS/DB Migration using Azure Storage AccountSAP OS/DB Migration using Azure Storage Account
SAP OS/DB Migration using Azure Storage Account
Gary Jackson MBCS
 
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
Gary Jackson MBCS
 
High Availability of SAP ASCS in Microsoft Azure
High Availability of SAP ASCS in Microsoft AzureHigh Availability of SAP ASCS in Microsoft Azure
High Availability of SAP ASCS in Microsoft Azure
Gary Jackson MBCS
 
Azure Custom Backup Solution for SAP NetWeaver
Azure Custom Backup Solution for SAP NetWeaverAzure Custom Backup Solution for SAP NetWeaver
Azure Custom Backup Solution for SAP NetWeaver
Gary Jackson MBCS
 
SAP Adaptive Computing Design
SAP Adaptive Computing DesignSAP Adaptive Computing Design
SAP Adaptive Computing Design
Gary Jackson MBCS
 
SAP Host Agent x509 authentication
SAP Host Agent x509 authenticationSAP Host Agent x509 authentication
SAP Host Agent x509 authentication
Gary Jackson MBCS
 
SAP LVM Post Copy Automation Integration
SAP LVM Post Copy Automation IntegrationSAP LVM Post Copy Automation Integration
SAP LVM Post Copy Automation Integration
Gary Jackson MBCS
 
SAP Router Installation with SNC
SAP Router Installation with SNCSAP Router Installation with SNC
SAP Router Installation with SNC
Gary Jackson MBCS
 
SAP ASE Migration Lessons Learned
SAP ASE Migration Lessons LearnedSAP ASE Migration Lessons Learned
SAP ASE Migration Lessons Learned
Gary Jackson MBCS
 
SAP Rolling Kernel Switch RKS
SAP Rolling Kernel Switch RKSSAP Rolling Kernel Switch RKS
SAP Rolling Kernel Switch RKS
Gary Jackson MBCS
 
SAP Post Copy Automation
SAP Post Copy AutomationSAP Post Copy Automation
SAP Post Copy Automation
Gary Jackson MBCS
 
SAP Web Dispatcher - Best Bits
SAP Web Dispatcher - Best BitsSAP Web Dispatcher - Best Bits
SAP Web Dispatcher - Best Bits
Gary Jackson MBCS
 

More from Gary Jackson MBCS (16)

SAP ASCS on Kubernetes - A Proposal
SAP ASCS on Kubernetes - A ProposalSAP ASCS on Kubernetes - A Proposal
SAP ASCS on Kubernetes - A Proposal
 
SAP on Azure Web Dispatcher High Availability
SAP on Azure Web Dispatcher High AvailabilitySAP on Azure Web Dispatcher High Availability
SAP on Azure Web Dispatcher High Availability
 
Office 365 SaaS Mail Integration with SAP on Azure
Office 365 SaaS Mail Integration with SAP on AzureOffice 365 SaaS Mail Integration with SAP on Azure
Office 365 SaaS Mail Integration with SAP on Azure
 
OpenText Archive Server on Azure
OpenText Archive Server on AzureOpenText Archive Server on Azure
OpenText Archive Server on Azure
 
SAP OS/DB Migration using Azure Storage Account
SAP OS/DB Migration using Azure Storage AccountSAP OS/DB Migration using Azure Storage Account
SAP OS/DB Migration using Azure Storage Account
 
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
 
High Availability of SAP ASCS in Microsoft Azure
High Availability of SAP ASCS in Microsoft AzureHigh Availability of SAP ASCS in Microsoft Azure
High Availability of SAP ASCS in Microsoft Azure
 
Azure Custom Backup Solution for SAP NetWeaver
Azure Custom Backup Solution for SAP NetWeaverAzure Custom Backup Solution for SAP NetWeaver
Azure Custom Backup Solution for SAP NetWeaver
 
SAP Adaptive Computing Design
SAP Adaptive Computing DesignSAP Adaptive Computing Design
SAP Adaptive Computing Design
 
SAP Host Agent x509 authentication
SAP Host Agent x509 authenticationSAP Host Agent x509 authentication
SAP Host Agent x509 authentication
 
SAP LVM Post Copy Automation Integration
SAP LVM Post Copy Automation IntegrationSAP LVM Post Copy Automation Integration
SAP LVM Post Copy Automation Integration
 
SAP Router Installation with SNC
SAP Router Installation with SNCSAP Router Installation with SNC
SAP Router Installation with SNC
 
SAP ASE Migration Lessons Learned
SAP ASE Migration Lessons LearnedSAP ASE Migration Lessons Learned
SAP ASE Migration Lessons Learned
 
SAP Rolling Kernel Switch RKS
SAP Rolling Kernel Switch RKSSAP Rolling Kernel Switch RKS
SAP Rolling Kernel Switch RKS
 
SAP Post Copy Automation
SAP Post Copy AutomationSAP Post Copy Automation
SAP Post Copy Automation
 
SAP Web Dispatcher - Best Bits
SAP Web Dispatcher - Best BitsSAP Web Dispatcher - Best Bits
SAP Web Dispatcher - Best Bits
 

Recently uploaded

Opencast Summit 2024 — Opencast @ University of Münster
Opencast Summit 2024 — Opencast @ University of MünsterOpencast Summit 2024 — Opencast @ University of Münster
Opencast Summit 2024 — Opencast @ University of Münster
Matthias Neugebauer
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
SynapseIndia
 
Types of Weaving loom machine & it's technology
Types of Weaving loom machine & it's technologyTypes of Weaving loom machine & it's technology
Types of Weaving loom machine & it's technology
ldtexsolbl
 
Use Cases & Benefits of RPA in Manufacturing in 2024.pptx
Use Cases & Benefits of RPA in Manufacturing in 2024.pptxUse Cases & Benefits of RPA in Manufacturing in 2024.pptx
Use Cases & Benefits of RPA in Manufacturing in 2024.pptx
SynapseIndia
 
Introduction-to-the-IAM-Platform-Implementation-Plan.pptx
Introduction-to-the-IAM-Platform-Implementation-Plan.pptxIntroduction-to-the-IAM-Platform-Implementation-Plan.pptx
Introduction-to-the-IAM-Platform-Implementation-Plan.pptx
313mohammedarshad
 
CiscoIconsLibrary cours de réseau VLAN.ppt
CiscoIconsLibrary cours de réseau VLAN.pptCiscoIconsLibrary cours de réseau VLAN.ppt
CiscoIconsLibrary cours de réseau VLAN.ppt
moinahousna
 
Girls call Kolkata 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
Girls call Kolkata 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery Girls call Kolkata 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
Girls call Kolkata 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
sunilverma7884
 
Data Integration Basics: Merging & Joining Data
Data Integration Basics: Merging & Joining DataData Integration Basics: Merging & Joining Data
Data Integration Basics: Merging & Joining Data
Safe Software
 
Three New Criminal Laws in India 1 July 2024
Three New Criminal Laws in India 1 July 2024Three New Criminal Laws in India 1 July 2024
Three New Criminal Laws in India 1 July 2024
aakash malhotra
 
July Patch Tuesday
July Patch TuesdayJuly Patch Tuesday
July Patch Tuesday
Ivanti
 
EuroPython 2024 - Streamlining Testing in a Large Python Codebase
EuroPython 2024 - Streamlining Testing in a Large Python CodebaseEuroPython 2024 - Streamlining Testing in a Large Python Codebase
EuroPython 2024 - Streamlining Testing in a Large Python Codebase
Jimmy Lai
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
Neo4j
 
The Role of IoT in Australian Mobile App Development - PDF Guide
The Role of IoT in Australian Mobile App Development - PDF GuideThe Role of IoT in Australian Mobile App Development - PDF Guide
The Role of IoT in Australian Mobile App Development - PDF Guide
Shiv Technolabs
 
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdfAcumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
BrainSell Technologies
 
IPLOOK Remote-Sensing Satellite Solution
IPLOOK Remote-Sensing Satellite SolutionIPLOOK Remote-Sensing Satellite Solution
IPLOOK Remote-Sensing Satellite Solution
IPLOOK Networks
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
HackersList
 
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
Priyanka Aash
 
Evolution of iPaaS - simplify IT workloads to provide a unified view of data...
Evolution of iPaaS - simplify IT workloads to provide a unified view of  data...Evolution of iPaaS - simplify IT workloads to provide a unified view of  data...
Evolution of iPaaS - simplify IT workloads to provide a unified view of data...
Torry Harris
 
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
shanihomely
 
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
maigasapphire
 

Recently uploaded (20)

Opencast Summit 2024 — Opencast @ University of Münster
Opencast Summit 2024 — Opencast @ University of MünsterOpencast Summit 2024 — Opencast @ University of Münster
Opencast Summit 2024 — Opencast @ University of Münster
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
 
Types of Weaving loom machine & it's technology
Types of Weaving loom machine & it's technologyTypes of Weaving loom machine & it's technology
Types of Weaving loom machine & it's technology
 
Use Cases & Benefits of RPA in Manufacturing in 2024.pptx
Use Cases & Benefits of RPA in Manufacturing in 2024.pptxUse Cases & Benefits of RPA in Manufacturing in 2024.pptx
Use Cases & Benefits of RPA in Manufacturing in 2024.pptx
 
Introduction-to-the-IAM-Platform-Implementation-Plan.pptx
Introduction-to-the-IAM-Platform-Implementation-Plan.pptxIntroduction-to-the-IAM-Platform-Implementation-Plan.pptx
Introduction-to-the-IAM-Platform-Implementation-Plan.pptx
 
CiscoIconsLibrary cours de réseau VLAN.ppt
CiscoIconsLibrary cours de réseau VLAN.pptCiscoIconsLibrary cours de réseau VLAN.ppt
CiscoIconsLibrary cours de réseau VLAN.ppt
 
Girls call Kolkata 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
Girls call Kolkata 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery Girls call Kolkata 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
Girls call Kolkata 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
 
Data Integration Basics: Merging & Joining Data
Data Integration Basics: Merging & Joining DataData Integration Basics: Merging & Joining Data
Data Integration Basics: Merging & Joining Data
 
Three New Criminal Laws in India 1 July 2024
Three New Criminal Laws in India 1 July 2024Three New Criminal Laws in India 1 July 2024
Three New Criminal Laws in India 1 July 2024
 
July Patch Tuesday
July Patch TuesdayJuly Patch Tuesday
July Patch Tuesday
 
EuroPython 2024 - Streamlining Testing in a Large Python Codebase
EuroPython 2024 - Streamlining Testing in a Large Python CodebaseEuroPython 2024 - Streamlining Testing in a Large Python Codebase
EuroPython 2024 - Streamlining Testing in a Large Python Codebase
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
 
The Role of IoT in Australian Mobile App Development - PDF Guide
The Role of IoT in Australian Mobile App Development - PDF GuideThe Role of IoT in Australian Mobile App Development - PDF Guide
The Role of IoT in Australian Mobile App Development - PDF Guide
 
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdfAcumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
 
IPLOOK Remote-Sensing Satellite Solution
IPLOOK Remote-Sensing Satellite SolutionIPLOOK Remote-Sensing Satellite Solution
IPLOOK Remote-Sensing Satellite Solution
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
 
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
 
Evolution of iPaaS - simplify IT workloads to provide a unified view of data...
Evolution of iPaaS - simplify IT workloads to provide a unified view of  data...Evolution of iPaaS - simplify IT workloads to provide a unified view of  data...
Evolution of iPaaS - simplify IT workloads to provide a unified view of data...
 
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
 
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
 

SAP LVM Customer Operations

  • 1. SAP  LVM  Custom  Opera3ons  
  • 2. •  This  is  the  second  in  a  series  of  presenta0ons  dedicated  to  SAP   Landscape  Virtualiza0on  Management  (LVM) •  This  document  provides  a  quick  overview  of  how  you  can   customize  LVM  with  custom  opera0ons  and  hooks  and  is  aimed   at  system  administrators  responsible  for  configuring  and   opera0ng  SAP  LVM •  This  document  describes  how  this  can  be  achieved  in  a  UNIX   environment  but  can  be  easily  adapted  for  the  Windows   plaKorm •  In  this  presenta0on,  we  will  show  you  how  to  create  custom   opera0ons  and  hooks  for  managing  a  Red  Hat®  cluster   containing  the  SAP  Central  Services  (SCS) Introduc3on  
  • 3. Overview   •  SAP  LVM  manages  SAP  instances  and  databases  as  standard   using  the  SAP  Host  Agent •  Out-­‐of-­‐the  box  opera0ons  include  “stop”,  “start”,  “mass  stop”,   “mass  start” •  SAP  LVM  can  be  extended  to  include  custom  opera0ons  that   can  be  associated  with  instances  and  hosts •  Custom  opera0ons  are  defined  in  LVM  via  a  Provider   Implementa0on  and  Custom  Opera0on  and  Hooks  defini0on •  Custom  opera0ons  are  registered  with  the  SAP  Host  Agent   using  a  configura0on  file
  • 4. Provider  Implementa3on   •  The  Provider  Implementa0on  defines  the  link  between  LVM  and   the  host  agent  and  describes  how  the  custom  opera0ons  are   implemented •  In  this  example,  the  provider  implementa0on   “LVM_CustomOpera0on_ClusterAdm”  will  be  defined •  The  Provider  Implementa0on  must  include  the  custom   parameter  OPERATION  which  LVM  will  supply  to  the  host  agent   when  triggered •  The  host  agent  configura0on  file  defini0on  for  the  provider   implementa0on  will  call  the  Korn  script  with  the  $[PARAM-­‐ OPERATION]  parameter
  • 6. Custom  Opera3on  Defini3ons   •  The  custom  opera0on  “Freeze”  is  used  to  freeze  the  Red  Hat  cluster   so  other  opera0ons  can  take  place  without  a  cluster  failover  
  • 7. Custom  Opera3on  Defini3ons   •  The  important  fields  to  note  here  are  the  “Name”  and  “Bu^on   Group”  –  Freeze  and  Cluster  Opera0on  respec0vely •  The  custom  parameter  “Opera0on”  has  been  set  to  FREEZE   which  will  be  passed  to  the  host  agent  and  Korn  script  via  the   configura0on  file •  The  “Name”  and  “Bu^on  Group”  appear  on  the  host  opera0on   screen  in  LVM •  Clicking  the  Cluster  Opera0on  bu^on  triggers  the  custom   opera0on  and  the  associated  Korn  script •  Similar  custom  opera0ons  are  created  for  “Unfreeze”  and   “Relocate”
  • 8. Custom  Hook  Defini3ons   •  The  custom  hook  is  needed  to  intercept  SAP  system  stop  and  start  requests   to  prepare  the  cluster  (freeze/unfreeze)  so  that  cluster  monitoring  does  not   incorrectly  start  or  stop  the  instance  whilst  valid  stop/start  opera0ons  are   being  performed
  • 9. Host  Agent  Registered  Script   •  For  each  Provider  Implementa0on  a  standard  host  agent  configura0on  file   with  extension  “.conf”  must  be  created  in  the  “opera0ons.d”  sub-­‐directory   of  /usr/sap/hostctrl/exe •  For  the  cluster  management  custom  opera0ons  the  sample  configura0on   file  “ClusterAdm.conf”  would  look  as  below •  The  “Name”  must  match  the  name  of  the  Registered  Script  on  the  Provider   Implementa0on  in  LVM •  The  $[PARAM-­‐OPERATION]  can  be  seen  being  passed  as  the  first  parameter   to  the  Korn  script,  indica0ng  the  custom  opera0on  being  requested  by  LVM File   Content   ClusterAdm.conf Name: LVM_CustomOperation_ClusterAdm Command: /sap/Scripts/ClusterAdm.ksh $[PARAM-OPERATION] $[SAPSYSTEMNAME] Workdir: $[DIR_HOME:#sapparam] Username: root ResultConverter: flat
  • 10. Example  Script  –  ClusterAdm.ksh   Sample  Coding  (perform  any  site  specific  checks  beforehand)   # # Variables from LVM via Hostagent Configuration File # OPERATION=$1 SAPSYSTEMNAME=$2 SERVICE=<your cluster service> # # Determine requested operation # case $OPERATION in STOP) echo "[RESULT]: ${OPERATION} requested for a clustered service” if [[ ${STATUS} != "FROZEN" ]]; then echo "[RESULT]: Service group is not currently frozen; FREEZE operation will be enforced” fi OPERAND="-Z";; START) echo "[RESULT]: ${OPERATION} requested for a clustered service” if [[ ${STATUS} != "FROZEN" ]]; then echo "[RESULT]: Service group is not frozen; nothing to do” exit 0 fi OPERAND="-U";;
  • 11. Example  Script  –  ClusterAdm.ksh   Sample  Coding  (con;nued)   FREEZE) echo "[RESULT]: Cluster operation ${OPERATION} requested” if [[ ${STATUS} == "FROZEN" ]]; then echo "[RESULT]: Service group is already frozen; nothing to do” exit 0 fi OPERAND="-Z";; UNFREEZE) echo "[RESULT]: Cluster operation ${OPERATION} requested” if [[ ${STATUS} != "FROZEN" ]]; then echo "[RESULT]: Service group ${SERVICE} is not frozen; nothing to do” exit 0 fi OPERAND="-U";; RELOCATE) echo "[RESULT]: Cluster operation ${OPERATION} requested” if [[ ${STATUS} == "FROZEN" ]]; then echo "[ERROR]: Service group ${SERVICE} is frozen; ${OPERATION} operation not possible” exit 8 fi OPERAND="-r";; *) echo "[ERROR]: Invalid cluster operation - ${OPERATION}” exit 8;; esac
  • 12. Example  Script  –  ClusterAdm.ksh   Sample  Coding  (con;nued)   # # Perform operation # echo "[RESULT]: Command issued to OS: ${clus_path}/clusvcadm ${OPERAND} ${SERVICE}” /usr/sbin/clusvcadm ${OPERAND} ${SERVICE} exit 0
  • 13. Reference  Material   •  The  following  pages  on  SAP  Help  are  useful: –  Configuring  Custom  Opera0ons –  Configuring  Custom  Hooks •  The  following  SAP  notes  provide  some  informa0on: –  1465491  -­‐  Provider  Implementa0on  Defini0on •  Further  details  are  available  on  request   –  mailto:info@aliterconsul0ng.co.uk