SAP LVM Automation

We have a monthly maintenance window where we patch and reboot all of our SAP instances running on Windows both physical and virtual.
I was checking out SAP LVM 2.0 to see how I could automate the stopping of SAP and rebooting of the servers.
I have created a server reboot script and can execute it from operations tab with no problems.
When I setup an automated task the only options I have is to stop/start/restart SAP.
How can I add my server reboot script as an automation task?
I'm hoping I can setup an automations task to run at a scheduled time where I can stop all my instances, reboot the servers and then start them back up at a scheduled time.
Thanks
Jay

Hi Christof,
In the meantime I was able to fetch the data from the Custom Hooks.LVM is designed to readt teh response of the cistom hooks. Just you have to be consiuos on the parameters you are using in this hooks to get the response. Follow the SAP note 1396981 - Custom Services Configuration for ACC 7.3/SAP LVM to understand the key words and how to use it.
For example,
the SAPHOSTAGENT configure file should contain the parameters like:
Mode: Sync
ResultConverter: hook
This will make your hook to get the details back to LVM. And in the Script make sure the output somehow mention the keywords (Like RESULT).
For example; Output= System running fine
then in echo you have to mention the result;
echo [RESULT]:%output%
Then the LVM will be able to interpret it as result and shows you in execution log of this script. And somehow you say that if teh script didn't ran correctly and the output should be error.So, somehow you have to add in the echo or output read by the LVM logs the key word. Something like:
echo [ERROR]:Error occurred while rebooting the server.
Here [ERROR] is the key word and your LVM will understand it and in the logs it writes this as log and your the task will go into error. In this way you will be sure whether script executed correctly.
Regards,
Amandeep

Similar Messages

  • Can SAP HANA be used with SAP LVM to provision customised copies of SAP systems within 24 hours?

    I have a requirement to automate the provisioning of new and 'copies of' SAP systems (development and QA environments) within 24 hours.
    New systems created - based on a template (e.g. an existing SAP Portal, ECC or BW system)
    New systems should have unique SID's
    RFC's, IDOC's, printers, profiles, e-mail, etc. all needs to be customisable in each new SAP system
    The systems need to be shut down overnight (to save on running costs)
    Is this possible with a combination of SAP HANA and SAP LVM?

    Hi
    SAP HANA in LVM will be doable in the near LVM 2.0 latest SP  which will come out probably around after october 14 but stay tune as the date might be pushed little due to development changes.
    AFAIK from your questions some of the features will support and some already in LVM today.
    New systems created - based on a template (e.g. an existing SAP Portal, ECC or BW system) - BSuite on HANA will be supported.
    New systems should have unique SID's - LVM use cases such as COPY, CLONE, RENAME will be supported.
    RFC's, IDOC's, printers, profiles, e-mail, etc. all needs to be customisable in each new SAP system. Not sure but Post Copy Automation should allow to do this..
    The systems need to be shut down overnight (to save on running costs). All VM operations such as power off, power on will be normal as long as you configure VCENTER in LVM.
    BR,
    Rushi.

  • SAP LVM SETUP ON WINDOWS SERVER 2012

      Hi Experts
            How to do the SAP LVM SETUP on windows server 2012. If Any One Knows Please Let Mme Know.
    Regards
    suresh

    Can you elaborate on the question a bit? You're asking how we setup LVM on a Windows Server, but that depends a lot on what the server is for.
    Maybe you can clarify your question and I can assist.
    Best,
    Nathan

  • Auto Mount in SAP LVM 2.0

    Hi All,
    We have installed SAP LVM 2.0 SP3 in our landscape and we are working on manage system configuration to utilize cloning futer in SAP LVM.
    During the configuration, we are not able to select auto mounter option in Instance  configuration.
    I request you to kindly suggest me on this.
    Thansk and Regards,
    Prasad

    Hello Dieter,
    Thank you, I have created a support ticket with SAP.
    Thanks and Regards,
    Prasad

  • SAP LVM 2.0 Provisioned/Cloned Virtual Hosts

    Hi All,
    Could you please let me know how to define a virtual host in SAP LVM 2.0.
    I have configured Virtualization Manager in SAP LVM 2.0 and added the virtual host to SAP LVM 2.0,  But I am not able to see configured virtual host cloning screen.
    Kindly suggest me on this.
    Thanks and Regards,
    Prasad

    Hi Michael,
    Thank you, we have configured virtualization Manager in LVM and host agent is also installed on virtual host.
    Thanks and Regards,
    Prasad

  • SAP LVM PCA Custom Scripts

    Hi, We are planning to use LVM for PCA for post refresh scripts. Is there any option within Tcode STC01 to modify the task "SAP_BASIS_COPY_INITIAL_CONFIG" to include our custom scripts like Unix scripts or else.
    Thanks,
    Soma Natarajan

    Hi Soma,
    Yes, you can!
    For details, see here:
    ABAP post-copy automation
    Regards,
    Dieter

  • SAP LVM Cloning error with Listener

    Hi All,
    Our Cloning operation has been failed with following error message.
    "Failed to start Oracle Listener: TNS-01106: Listener using the listener name LISTENER has already been started"
    When I checked listener status on target vm , listener is still pointing to source system hostname.
    I kinldy request you to suggest me on the same.
    Thanks and Regards,
    Prasad

    Hello Julia,
    to do this, you need to use the custom provisioning procedure. this will replace the cloning function of LVM. Please take a detailed look at the customization blog i created.SAP Landscape Virtualization Management (LVM) Overview of Customization Options
    basically you have to create your script, use it in a provider definition and use this provider definition as one of the custom prov. steps. then you need to enable your system fro custom prov. in the settings of the source system. Also keep in mind that you can only refresh a system after you have done an successful initial copy
    You should involve SAP consulting int his project, since it is not easy to achieve this on your own.
    Kind Regards
    Michael

  • Can we automate Cost recognision in Standard SAP in automated way

    Hi SAP Gurus,
    We have activated Deferred Revenue in our system which is working fine and we can analyze
    the deferred revenue.Now we want to analyze deferred cost for the same automatically…we have
    activated COPA as well
    Requirement – Cost should be booked as Deferred Cost in Balance sheet GL and not in PL GL
    At the time of MIGO.
    Later once project is finished we will settle Sales order through VF44 revenue will get recognized automatically
    and deferred revenue (BS) will transferred to Actual Revenue (PL) at the same time if system can post the Deferred Cost (BS)
    to Actual Cost (PL) automatically.
    Scenario – Purchase order will be created, with account assignment category K. for service material
    At MIGO system should post
    (BS)Deferred Cost – Dr
    GR/IR – Cr
    And later once sales order settled cost should automatically flow to actual PL GL or with the help of any other process or T-code
    system should automatically take care of Cost part
    (PL) Cost – Dr
    (BS)Deferred Cost – Cr
    Simultaneously COST should also flow to COPA as well…we want to automate this process can
    we do the same by using any standard SAP feature?
    Issue – No standard way found to give solution for the COST recognition.
    Thanks
    Sagar C'kar

    Guys,
    Luckily, for this, i was using a user-decision step which uses DECISION --> PROCESS method. So, I could remove the BO:TRIP that i included earlier. But, for other tasks, where if we use a method from our BO, we cannot remove this std. BO link that shows up in "Objects & Attachments"...to my understanding.
    Thanks for all your info on this question.
    venu

  • SAP Expenses Automation

    We presently have a paper based process for claiming expenses but are looking at entering claims (probably via intranet type front end), workflow for authorisation, through to automatic posting into SAP Travel Management expenses.
    Does anyone do this either via a software front-end or using SAP who would be happy to discuss this with us?
    At this stage we're only wanting details of potential software vendors (and how good they are and how well they link to SAP) or details of whats available in SAP (and whether we need to upgrade or buy an add-on).
    We are using SAP version 4.7
    Thank you

    Yes, that sounds similar to what we have in mind.  Do you have a system that does that?  What is it?  And would you be prepared to talk to us at a high level about it?
    Thanks
    Graham

  • Data uploading in SAP BW (Automated)

    Hello Experts,
    Currently i am manually loading data files from Unix server into the Infocubes in SAP BW. This process is done only in one shift & for the rest of the time the system is idle i.e no loading is done. This is very time consuming, so can anyone please let me know, is there any tool or standard program, through which we can queue up the data files & load it simultaneously 24X7.
    Thanks & Regards,
    Amit

    Hi,
    This can be achieved through process chains.Design a Process chain  in BW system with time schedule as per your reuirement in variant ( 24*7) and you need to Trigger  this PC on BW Server by Unix Server. tFor this you need to use the sapevt.exe.With it you can trigger an event in the SAP system with the execution of a simple command file (.bat for ex.)So the event will start the chain as you require.
    You can find more info for sapevt in:
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
    Regards
    CSM Reddy

  • SAP B1 - Automated Bank Reconciliations

    We are currently importing the bank information through data transfer workbench and are wondering how to replace or delete the uploaded data: ie. we loaded same bank record twice.

    Hi Raghu,
    Have you setup default bank for each BP?
    Thanks,
    Gordon

  • Need info on Automated Clearing of Customer Receivables - SAP

    Dear Experts,
    Our client wants to pursue Automated Cash application for European Company codes.
    We want to suggest which is the best Cash Application in SAP for Automated Clearing of Customer Receivables with a bank file in Europe.
    Currently, we are using Automated Cash application (Lockbox) for US company codes/banks. Also, can the same lockbox program used
    for US be used for EU as well? If yes, What all changes might be needed.
    Your inputs are highly appreciated.
    PS: Our SAP version is 4.6C.
    Thanks & Regards,
    Jagan

    Hi Jagan,
    Lockbox functionality is used in USA and Canada only, hence the same can't be used for European countries.
    As per my understanding, EBS functionality can be used for Automated Cash application for EU.
    Let me know in case of any other issue.
    Regards,
    Gaurav

  • Automated clearing

    Dear All,
    We got a requirement from our client as below and please suggest the process to be followed. Our client is  one of leading Univesity(Education sector).
    Summary :Automated Clearing
    Description :
    Issues:
    1.     SAP Standard automated clearing (currently not used by us) only works for matching values, so will not clear a part payments.  This has a negative impact on the dunning as the letters are produced showing the full amount being due.
    2.     We use Special GL Indicators to identify the down payments, each indicator is linked to a different GL code on the Balance Sheet.  To clear down the balances (even if the value agrees), the value is journalled from the GL indicator to the open items.
    The potential movement for a payment currently could be:
    a.     Down Payment received from an International student but they are not yet set up in SAP, posted to Customer account 13830, Special GL Indicator M
    b.     Student created on SAP, a journal is entered using a transaction type AB to move the Down Payments from 13830 to the correct account e.g. T08019300 (still under GL Indicator M)
    c.     Invoice is created (from the interface with SITS), posted to T08019300, open items
    d.     Down Payments moved to opened items (still within student account) using a journal entered using a transaction type AB
    e.     Items are cleared manually
    we every time a journal is used we are potentially losing the correct date for the payment.
    3.     Some GL Indicators are used for non-refundable so should not be cleared against the debt and would be located at a different place on the statement.  These are the A, I and D indicators.
    4.     The GL codes used to capture the Special GL Indicators are used to age the deposits.  They are also used for minimal reporting.
    Requirements:
    1.     Automated clearing to be available for all customer accounts, however for student accounts this needs to exclude non-refundable deposits and be restricted to only clear down within the customer branch accounts (i.e. 'T' & 'R') not the overall 'S' account.
    2.     Part/over payment clear down
    3.     Must be able to post via the receipting into SAP (currently the system will not allow receipting to open items unless an invoice exists in open.
    4.     Must be able to print a receipt
    Client Suggestions:
    Can you please let us know if the following suggestions would work along with the implications, cost and implementation time?
    1.     Re-direct the GL Indicators so they all point to the same GL as open items - will this allow easier clear down?
    2.     Change the process so everything is kept in open items and we identify the down payments using a different method e.g. add an additional field or use different posting keys to identify the different transactions.
    Queries:
    1.     We can manually clear down between open items and special GL indicators with the customer accounts, can this be done automatically?
    2.     If we change to contract accounts - how will this impact on the clear down?
    Thanks in advance
    Prasad

    Please see these docs.
    Information On Automated Clearing House (ACH) Functionality In 11.5.9 [ID 276213.1]
    Automated Clearing House - ACH Interfacing [ID 182771.1]
    Also, refer to the module guide for your release which can be found at -- http://www.oracle.com/technetwork/documentation/applications-167706.html
    Thanks,
    Hussein

  • Initial questions about LVM 2.0

    Hi,
      I´m new to SAP LVM; a colleague installed LVM 2.0 and now I´m going to take over this project. I have some questions for you :
    1) when I log to LVM console, there´s no Infrastructure icon besides the Configuration one -> it´s missing (see attached file). Is this an option I have to check or something was missing in the installation?
    2) the first test I wanna make with the tool is a system-copy. What are the pre-requisites for the target system, what do I have to install there in the first place (SAP Host Agent, SAP Kernel, Database Kernel, ???). In the documentation I don´t see a step to choose for example the filesystem to where LVM with copy the source system. Can you explain me about this process?
    Thanks in advanced
    Carlos

    Hi Adarsh,
    1) You´re correct, Standard Edition has been installed. I´ll install a trial license for Enterprise Edition
    2) I checked note 1709155 and in topic 1.1 (System Clone) there are the points below :
    For storage based cloning the source system must be installed on a shared storage system.
    When using storage-based cloning the target resource must match all prerequisites for a relocation of adaptively installed systems, e.g. users, services etc. must exist.
      What does it mean with "installed on a shared storage system" and "target resource must match all prerequisites"? I want to do a system-copy from source to target, which are on different servers. Is it possible? Can you clarify this point?
    Thanks very much
    Carlos

  • Connecting One process Server to Multiple SAP Systems

    Hi Experts,
    We have a licensed version of the SAP CPS with the Process server limit parameter set to 4, which means we are limited to 4 process server as per my understanding. But when we create a SAP system the process server and the respective Queue is automatically created. SO that means we can create a max number of 4 SAP systems with 4 process servers!!
    Or is there a way we can connect one process server with multiple SAP systems ?
    Thanks,
    Eric.

    Yes - Process server limit parameter set to 4 means your CPS environment can start jobs in 4 SAP systems only.
    Maybe "SAP Business Automation Enabler (BAE) Connectors" could be useful to you in your situation.
    - Check the CPS admin guide for more information on BAE connector.
    Regards,
    David

Maybe you are looking for