SlideShare a Scribd company logo
1 of 9
Download to read offline
SAP	
  LVM	
  Custom	
  Instances	
  
•  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	
  
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
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
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
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
Example	
  for	
  SRS	
  -­‐	
  Configura5on	
  
File	
   Content	
  
acc_SRS_list.conf Name:	
  acc_SRS_list	
  
Command:	
  /sap/Scripts/Custom_Instance_SRS_Detect.ksh	
  
Workdir:	
  $[DIR_HOME:#sapparam]	
  
Username:	
  sapadm	
  
ResultConverter:	
  hook
acc_SRS_monitor.conf Name:	
  acc_SRS_monitor	
  
Command:	
  /sap/Scripts/Custom_Instance_SRS_Monitor.ksh	
  
Workdir:	
  $[DIR_HOME:#sapparam]	
  
Username:	
  sapadm	
  
ResultConverter:	
  flat
acc_SRS_start.conf Name:	
  acc_SRS_start	
  
Command:	
  /sap/Scripts/Custom_Instance_SRS_Operate.ksh	
  START	
  
Workdir:	
  $[DIR_HOME:#sapparam]	
  
Username:	
  sapadm	
  
ResultConverter:	
  hook
acc_SRS_stop.conf Name:	
  acc_SRS_stop	
  
Command:	
  /sap/Scripts/Custom_Instance_SRS_Operate.ksh	
  STOP	
  
Workdir:	
  $[DIR_HOME:#sapparam]	
  
Username:	
  sapadm	
  
ResultConverter:	
  hook
Example	
  for	
  SRS	
  -­‐	
  Scrip5ng	
  
File	
   Sample	
  Coding	
  (perform	
  any	
  site	
  specific	
  checks	
  beforehand)	
  
Custom_Instance_SRS_Detect.ksh	
   echo "[RESULT]: SAP Replication Server host detected”
echo "service_name="${SID}"_REP;service_caption=SAP Replication
Server;system_sid="${SID}
Custom_Instance_SRS_Monitor.ksh	
   /usr/sap/hostctrl/exe/saphostctrl -function GetDatabaseStatus -dbname ${SID}_REP
-dbtype syb >> /tmp/log
STATUS_DB=`grep "Database Status" /tmp/log | awk '{print $3}'`
STATUS_RS=`grep "Replication" /tmp/log | awk '{print $10}'`
STATUS_DR=`grep "Agent" /tmp/log | awk '{print $10}'`
echo "service_name="${SID}"_REP;service_status="${STATUS_DB}
echo "process_name=DRA;process_description=DR Agent;process_status="${STATUS_DR}
echo "process_name=SRS;process_description=Replication Server;process_status="$
{STATUS_RS}
Custom_Instance_SRS_Operate.ksh OPERATION=$1
case $OPERATION in
START) echo "[RESULT]: Start operation request detected"
host_oper="StartDatabase";;
STOP) echo "[RESULT]: Stop operation request detected"
host_oper="StopDatabase";;
esac
/usr/sap/hostctrl/exe/saphostctrl -function ${host_oper} -dbname ${SID}_REP -
dbtype syb
Thank-­‐you	
  

More Related Content

What's hot

Principal Propagation with SAP Cloud Platform
Principal Propagation with SAP Cloud PlatformPrincipal Propagation with SAP Cloud Platform
Principal Propagation with SAP Cloud PlatformGary Jackson MBCS
 
Solution manager 7.2 details
Solution manager 7.2   detailsSolution manager 7.2   details
Solution manager 7.2 detailsRaj p
 
Sap memory managerment
Sap memory managermentSap memory managerment
Sap memory managermentRaj p
 
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 AzureRadu Vunvulea
 
SAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New FeaturesSAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New FeaturesLinh Nguyen
 
What's in the Box?: An Intro to HFM System Utilities
What's in the Box?: An Intro to HFM System Utilities What's in the Box?: An Intro to HFM System Utilities
What's in the Box?: An Intro to HFM System Utilities Alithya
 
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 FargateMegha Mehta
 
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 processAshokkumar T A
 
Aligning to AEMs Release Cycle
Aligning to AEMs Release CycleAligning to AEMs Release Cycle
Aligning to AEMs Release CycleAshokkumar T A
 
Benchmarking OTM and Java - Is Your Platform Limiting Performance
Benchmarking OTM and Java - Is Your Platform Limiting PerformanceBenchmarking OTM and Java - Is Your Platform Limiting Performance
Benchmarking OTM and Java - Is Your Platform Limiting PerformanceMavenWire
 
Lucee writing your own debugging template
Lucee   writing your own debugging templateLucee   writing your own debugging template
Lucee writing your own debugging templateGert Franz
 
Lucee writing your own debugging template
Lucee   writing your own debugging templateLucee   writing your own debugging template
Lucee writing your own debugging templateGert Franz
 
Caching strategies with lucee
Caching strategies with luceeCaching strategies with lucee
Caching strategies with luceeGert Franz
 
Config Management Camp 2015 - How to Deploy CFEngine in the Open Internet
Config Management Camp 2015 - How to Deploy CFEngine in the Open InternetConfig Management Camp 2015 - How to Deploy CFEngine in the Open Internet
Config Management Camp 2015 - How to Deploy CFEngine in the Open InternetCFEngine
 
Application performance analytics with Applications Manager
Application performance analytics with Applications ManagerApplication performance analytics with Applications Manager
Application performance analytics with Applications ManagerManageEngine, Zoho Corporation
 

What's hot (15)

Principal Propagation with SAP Cloud Platform
Principal Propagation with SAP Cloud PlatformPrincipal Propagation with SAP Cloud Platform
Principal Propagation with SAP Cloud Platform
 
Solution manager 7.2 details
Solution manager 7.2   detailsSolution manager 7.2   details
Solution manager 7.2 details
 
Sap memory managerment
Sap memory managermentSap memory managerment
Sap memory managerment
 
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 HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New FeaturesSAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New Features
 
What's in the Box?: An Intro to HFM System Utilities
What's in the Box?: An Intro to HFM System Utilities What's in the Box?: An Intro to HFM System Utilities
What's in the Box?: An Intro to HFM System Utilities
 
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
 
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
 
Aligning to AEMs Release Cycle
Aligning to AEMs Release CycleAligning to AEMs Release Cycle
Aligning to AEMs Release Cycle
 
Benchmarking OTM and Java - Is Your Platform Limiting Performance
Benchmarking OTM and Java - Is Your Platform Limiting PerformanceBenchmarking OTM and Java - Is Your Platform Limiting Performance
Benchmarking OTM and Java - Is Your Platform Limiting Performance
 
Lucee writing your own debugging template
Lucee   writing your own debugging templateLucee   writing your own debugging template
Lucee writing your own debugging template
 
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
 
Config Management Camp 2015 - How to Deploy CFEngine in the Open Internet
Config Management Camp 2015 - How to Deploy CFEngine in the Open InternetConfig Management Camp 2015 - How to Deploy CFEngine in the Open Internet
Config Management Camp 2015 - How to Deploy CFEngine in the Open Internet
 
Application performance analytics with Applications Manager
Application performance analytics with Applications ManagerApplication performance analytics with Applications Manager
Application performance analytics with Applications Manager
 

Similar to SAP LVM Custom Instances

DB2 Systems Programming Tools of the Trade NA07B03
DB2 Systems Programming Tools of the Trade NA07B03DB2 Systems Programming Tools of the Trade NA07B03
DB2 Systems Programming Tools of the Trade NA07B03Linda Hagedorn
 
EPM Infrastructure: An Investigation
EPM Infrastructure: An InvestigationEPM Infrastructure: An Investigation
EPM Infrastructure: An InvestigationAlithya
 
OpenPOWER Application Optimization
OpenPOWER Application Optimization OpenPOWER Application Optimization
OpenPOWER Application Optimization Ganesan Narayanasamy
 
Your Inner Sysadmin - LonestarPHP 2015
Your Inner Sysadmin - LonestarPHP 2015Your Inner Sysadmin - LonestarPHP 2015
Your Inner Sysadmin - LonestarPHP 2015Chris Tankersley
 
Care and Maintenance of Your EPM Environment
Care and Maintenance of Your EPM EnvironmentCare and Maintenance of Your EPM Environment
Care and Maintenance of Your EPM EnvironmentEmtec Inc.
 
Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Amin Astaneh
 
Maintaining and Caring for your EPM Environment
Maintaining and Caring for your EPM EnvironmentMaintaining and Caring for your EPM Environment
Maintaining and Caring for your EPM EnvironmentEmtec Inc.
 
OOW15 - Getting Optimal Performance from Oracle E-Business Suite
OOW15 - Getting Optimal Performance from Oracle E-Business SuiteOOW15 - Getting Optimal Performance from Oracle E-Business Suite
OOW15 - Getting Optimal Performance from Oracle E-Business Suitevasuballa
 
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]vasuballa
 
Rails Application Optimization Techniques & Tools
Rails Application Optimization Techniques & ToolsRails Application Optimization Techniques & Tools
Rails Application Optimization Techniques & Toolsguest05c09d
 
php & performance
 php & performance php & performance
php & performancesimon8410
 
Exalytics, DR, EPM Multi-Instance Over Bare Metal, and Tying it All Together
Exalytics, DR, EPM Multi-Instance Over Bare Metal, and Tying it All TogetherExalytics, DR, EPM Multi-Instance Over Bare Metal, and Tying it All Together
Exalytics, DR, EPM Multi-Instance Over Bare Metal, and Tying it All TogetherAlithya
 
Sql Automation 20090610
Sql Automation 20090610Sql Automation 20090610
Sql Automation 20090610livingco
 
Handson Oracle Management Cloud with Application Performance Monitoring and L...
Handson Oracle Management Cloud with Application Performance Monitoring and L...Handson Oracle Management Cloud with Application Performance Monitoring and L...
Handson Oracle Management Cloud with Application Performance Monitoring and L...Lucas Jellema
 
Intro to PowerShell Workflow
Intro to PowerShell WorkflowIntro to PowerShell Workflow
Intro to PowerShell WorkflowJeffery Hicks
 
Salt conf 2014 - Using SaltStack in high availability environments
Salt conf 2014 - Using SaltStack in high availability environmentsSalt conf 2014 - Using SaltStack in high availability environments
Salt conf 2014 - Using SaltStack in high availability environmentsBenjamin Cane
 
SSAdaP 1989 DECUS Europe Symposium Jan Holy
SSAdaP 1989 DECUS Europe Symposium Jan HolySSAdaP 1989 DECUS Europe Symposium Jan Holy
SSAdaP 1989 DECUS Europe Symposium Jan HolyJan Holy
 

Similar to SAP LVM Custom Instances (20)

SAP LVM Customer Operations
SAP LVM Customer OperationsSAP LVM Customer Operations
SAP LVM Customer Operations
 
DB2 Systems Programming Tools of the Trade NA07B03
DB2 Systems Programming Tools of the Trade NA07B03DB2 Systems Programming Tools of the Trade NA07B03
DB2 Systems Programming Tools of the Trade NA07B03
 
EPM Infrastructure: An Investigation
EPM Infrastructure: An InvestigationEPM Infrastructure: An Investigation
EPM Infrastructure: An Investigation
 
OpenPOWER Application Optimization
OpenPOWER Application Optimization OpenPOWER Application Optimization
OpenPOWER Application Optimization
 
R12.2 dba
R12.2 dbaR12.2 dba
R12.2 dba
 
Your Inner Sysadmin - LonestarPHP 2015
Your Inner Sysadmin - LonestarPHP 2015Your Inner Sysadmin - LonestarPHP 2015
Your Inner Sysadmin - LonestarPHP 2015
 
Care and Maintenance of Your EPM Environment
Care and Maintenance of Your EPM EnvironmentCare and Maintenance of Your EPM Environment
Care and Maintenance of Your EPM Environment
 
SCOM Tips and Tricks
SCOM Tips and TricksSCOM Tips and Tricks
SCOM Tips and Tricks
 
Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)
 
Maintaining and Caring for your EPM Environment
Maintaining and Caring for your EPM EnvironmentMaintaining and Caring for your EPM Environment
Maintaining and Caring for your EPM Environment
 
OOW15 - Getting Optimal Performance from Oracle E-Business Suite
OOW15 - Getting Optimal Performance from Oracle E-Business SuiteOOW15 - Getting Optimal Performance from Oracle E-Business Suite
OOW15 - Getting Optimal Performance from Oracle E-Business Suite
 
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
 
Rails Application Optimization Techniques & Tools
Rails Application Optimization Techniques & ToolsRails Application Optimization Techniques & Tools
Rails Application Optimization Techniques & Tools
 
php & performance
 php & performance php & performance
php & performance
 
Exalytics, DR, EPM Multi-Instance Over Bare Metal, and Tying it All Together
Exalytics, DR, EPM Multi-Instance Over Bare Metal, and Tying it All TogetherExalytics, DR, EPM Multi-Instance Over Bare Metal, and Tying it All Together
Exalytics, DR, EPM Multi-Instance Over Bare Metal, and Tying it All Together
 
Sql Automation 20090610
Sql Automation 20090610Sql Automation 20090610
Sql Automation 20090610
 
Handson Oracle Management Cloud with Application Performance Monitoring and L...
Handson Oracle Management Cloud with Application Performance Monitoring and L...Handson Oracle Management Cloud with Application Performance Monitoring and L...
Handson Oracle Management Cloud with Application Performance Monitoring and L...
 
Intro to PowerShell Workflow
Intro to PowerShell WorkflowIntro to PowerShell Workflow
Intro to PowerShell Workflow
 
Salt conf 2014 - Using SaltStack in high availability environments
Salt conf 2014 - Using SaltStack in high availability environmentsSalt conf 2014 - Using SaltStack in high availability environments
Salt conf 2014 - Using SaltStack in high availability environments
 
SSAdaP 1989 DECUS Europe Symposium Jan Holy
SSAdaP 1989 DECUS Europe Symposium Jan HolySSAdaP 1989 DECUS Europe Symposium Jan Holy
SSAdaP 1989 DECUS Europe Symposium Jan Holy
 

Recently uploaded

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

SAP LVM Custom Instances

  • 1. SAP  LVM  Custom  Instances  
  • 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
  • 7. Example  for  SRS  -­‐  Configura5on   File   Content   acc_SRS_list.conf Name:  acc_SRS_list   Command:  /sap/Scripts/Custom_Instance_SRS_Detect.ksh   Workdir:  $[DIR_HOME:#sapparam]   Username:  sapadm   ResultConverter:  hook acc_SRS_monitor.conf Name:  acc_SRS_monitor   Command:  /sap/Scripts/Custom_Instance_SRS_Monitor.ksh   Workdir:  $[DIR_HOME:#sapparam]   Username:  sapadm   ResultConverter:  flat acc_SRS_start.conf Name:  acc_SRS_start   Command:  /sap/Scripts/Custom_Instance_SRS_Operate.ksh  START   Workdir:  $[DIR_HOME:#sapparam]   Username:  sapadm   ResultConverter:  hook acc_SRS_stop.conf Name:  acc_SRS_stop   Command:  /sap/Scripts/Custom_Instance_SRS_Operate.ksh  STOP   Workdir:  $[DIR_HOME:#sapparam]   Username:  sapadm   ResultConverter:  hook
  • 8. Example  for  SRS  -­‐  Scrip5ng   File   Sample  Coding  (perform  any  site  specific  checks  beforehand)   Custom_Instance_SRS_Detect.ksh   echo "[RESULT]: SAP Replication Server host detected” echo "service_name="${SID}"_REP;service_caption=SAP Replication Server;system_sid="${SID} Custom_Instance_SRS_Monitor.ksh   /usr/sap/hostctrl/exe/saphostctrl -function GetDatabaseStatus -dbname ${SID}_REP -dbtype syb >> /tmp/log STATUS_DB=`grep "Database Status" /tmp/log | awk '{print $3}'` STATUS_RS=`grep "Replication" /tmp/log | awk '{print $10}'` STATUS_DR=`grep "Agent" /tmp/log | awk '{print $10}'` echo "service_name="${SID}"_REP;service_status="${STATUS_DB} echo "process_name=DRA;process_description=DR Agent;process_status="${STATUS_DR} echo "process_name=SRS;process_description=Replication Server;process_status="$ {STATUS_RS} Custom_Instance_SRS_Operate.ksh OPERATION=$1 case $OPERATION in START) echo "[RESULT]: Start operation request detected" host_oper="StartDatabase";; STOP) echo "[RESULT]: Stop operation request detected" host_oper="StopDatabase";; esac /usr/sap/hostctrl/exe/saphostctrl -function ${host_oper} -dbname ${SID}_REP - dbtype syb