Quantcast
Channel: SAP NetWeaver Administrator
Viewing all 185 articles
Browse latest View live

The ABAP Detective Queues Up

$
0
0

It's been a long time since the last ABAP Detective post. I could explain, but that's not what pays the rent in this space. The customer is looking for easy street, cloud city, know what I mean? So I take the cases that come my way, work them, then bury them like last week's trends. What makes this case so different? Nothing really, just another bit of a byte in the world of the enterprise software capers.

 

It started out with a message about lost print jobs. Normally I don't like missing person capers, because there's often a simple explanation that comes out when I am prepared to go full out with the detective black bag. "Oops" they say, must have unplugged the wrong cable. Easy for them to say, hard for me to write home about. This was different, a string of missing bytes that ended up with the suggestion that I do a full search for the bad data. Or configuration as the case may be.  When I started looking through the mug book of known printers, something looked crooked. Some of these devices weren't around any more.  They weren't sent up the river, they just expired.

 

When I looked further, I realized printers and their respective queues had been added to the SAP systems, and to the respective operating system spool devices, for years, but no one was removing any. Time to clean house.

 

First I looked at the OS print queue definitions. In there are host names. Sometimes these get replaced. Sometimes the building they were in just doesn't belong to the syndicate any more. I use a handy sweep tool called fping that tells me in a hurry who's dead, who's wounded, and who's nominally still alive. With this list, I was able to report a smoking gun: many defined print queues just aren't valid. That would be the end of the tale, and there would be nothing of interest to an SAP administrator, except for the other shoe, which is, "which of these OS print queues have defined SAP printers connected to them?" And, naturally, "which SAP printers are orphaned with no OS target to use?" Ah, the plot thickens.

 

I delved into one site as a starting point. Many queues defined, some still apparently extant. I asked my Basis person (sorry, "Foundation" seems to be the new phrase...) who spilled the beans, "TSP03". Ah right, the old TEMSE fill em up and wring em out routines.  What does it look like?

 

TSP.png

 

Though TSP03 and TSP03C are related, I began with the direct approach.  Looking for some kind of status indicator, I dug into the skeleton with no key.

 

TSP-SE11.png

 

The PASTATUS looked promising, suggesting a "Printer process status" value.  Different that the "Spool status message" etc.  With this data gem, I went through the public records on SCN and found, well, not much.  I'm not sure if the question does not come up very often, or if I'm looking at it from the wrong angle, but most of my searches were totally rebuffed, or yielded few clues.

 

On line help keys were no help, saying "No input help is available" or words to that effect.

 

pastatus-search.png

Just 4 google ponits for the key word, with only one of those spot on to the question at hand. From 2007, to boot.  That's a lot of years in this business.  Still, printer lights don't change that often, I'd wager.

 

That forum post [ Is there any Function module to find out no. of printers connected to SAP .  ] had a misleading title.  Or more accurately, had my question embedded inside another question, "Do u know any FM which shows the status of the Printer...?" and the following helpful response:

 

in table TSP03 check field PASTATUS. It contains a hex value.

Here is the explanation:

 

02 -> printer is disabled

04 -> printer not active

08 -> printer is active

10 -> printer is faulty

 

Well, harumph.  What base arithmetic is this?  It's not Octal, as there are no eight digits there.  It isn't exactly hexadecimal either, not with the 2, 4, 8, 10 sequence.  Where was the 01 flag?  So that left me puzzled.  Searching gave me few clues ("few" meaning not many, not "several"!).

 

What I could see in an active system was the decimal value "32", which would have a HEX value of "20".  That wasn't in the 2007 message thread, meaning either that message was incomplete at the time, or the values have expanded since then (personally I believe the latter).

 

How ?

 

 

Found code:

 

 

 

  IF tsp03-pastatus = c_rspopdisabled OR

[...]

 

 

RSP-search.png

 

So, nothing for "c_rspopdisabled" either.  From that code, I headed in another investigatory direction. I looked for uses of TSP03 in the SQL cache (sometimes the DBA hat just fits).

 

TSP03-SQL.png

 

Bizarrely, the first hit [RSPOWP00] came up with an error I don't often hit when clicking "ABAP Source": "Communication error when accessing remote system ...: Program name is blank" .  In other words, you can't see the code.  But eventually one of the other programs led me to the include file.  To the old C programmers, this is an H file, or maybe a #include. The header even says something along those lines (I'm assuming this doesn't break any copyrights, since it's a plain text extract for review purposes):

 


Hier sollen alle Konstanten gesammelt werden, welche Werte aus dem C-Coding wiederspiegeln.


 

Google translate guessed this as:

 

 

Here all the constants are to be collected, reflect the values of the C-Coding.

 

Another site, (se80.co.uk) had a different view, closer to the "header" style:

 

 

Constants in the Spool Which Must be Compared With the C Source

 

Perhaps a shade too literal.

 

RSPOCNST.png

 

I've taken out pieces of the code, though on the se80 site you can find the above snippet intact.  It should be on your ABAP system as well.  It's pretty, well, basic.

 

What have I found? In my search for the "printers that have died" I found a code 32, which means "async processing."  I don't think that answers the question, but at least I have the correct underlying table to base my future research.


Step By Step Distributed Installation on SAP- Part 1

$
0
0

Hi All,

 

As we all know we  can install a SAP system with below option.

1. Standard system

2. Distributed system and,

3. High Availability System

Here, I am writing about Distributed system installation.


Overview:

 

An SAP system consists of SAP instances. An SAP instance is a group of processes that are started and stopped at the same time.

In a distributed system, every instance can run on a separate host.

 

A distributed system consists of the following instances:

 

  • ABAP Central services instance (ASCS instance)
  • Central services instance (SCS instance)
  • Database instance (DB)

          The ABAP stack and the Java stack use their own database schema in the same database.

  • Primary application server instance (PAS)

Optionally you can install one or more additional application server instances.Distributed ABAP+Java System.pngAdditional Application Server Instance for a Distributed System.PNG

  • Hardware and Software Requirement

Operating System        : Windows Server 2008 R2 Standard 64 BitMinimum Hard Disk    : 150 GBMinimum RAM            : 6 GBDatabase                    : 11.2.0.3 Patch 39SAP Media                  : SAP Netweaver 7.3 EHP1

  • INSTALLATION Checklist:

1. Database Installation and Patch upgrade on Database Instance host.

2. Install the ABAP Central Services Instance (SAP Global Host) on CI host.

3. Database installation on DB host.

4. Install the Central Services Instance on CI host.

5. Install the Primary Services Instance on CI host.

6. Install Additional Application Server Instance on CI or respective server (Optional).

 

INSTALLTION Process:

 

1. Database Installation and Patch upgrade on Database Instance host.

Double click on sapserver.bat file to start the Oracle Database

1.PNG

 

Provide the installation drive and Database<SID>

2.PNG

It will start the oracle Installation wizard like below..

3.PNG

Click on Next

4.PNG

Ignore the warning and click on Yes.

5.PNG

Click on Next

Select Install database software only and click on Next.

6.PNG

Select Single Instance database Installation and click on Next.

7.PNG

Select the Language and click on Next.

8.PNG

Select Enterprise Edition and click on Next.

9.PNG

Check the Oracle Home and Path and click on Next.

10.PNG

It will check the prerequisite

11.PNG

Click on Install to start the installation.

12.PNG

Oracle installation started.

13.PNG

Oracle installation completed. Click on close.

14.PNG

 

Oracle DB Patch:

We need to download the latest OPatch and Patch Bundle from service market place(SMP).

 

Prerequisite:
1. Stop all the Oracle services.

2. OPatch should be latest

3. Before apply -Please read README file in patch directory.

4. Set the ORACLE_HOME and PATH variable

 

Setting up ORACLE_HOME and PATH environmental variable.

15.PNG

Now, Copy the Patch Bundle to OPatch directory and start the apply by running the command: OPatch apply

16.PNG

Type - y

17.PNG

OPatch successfully completed.

18.PNG

2. Install the ABAP Central Services Instance (SAP Global Host) on CI host.

Start the sapint and click on Next

1.PNG

Select Custom and click on Next

2.PNG

Provide the SAP<SID> and Path, Click on Next

3.PNG

Select the FQDN and click on Next

4.PNG

Select the Kernel file and click on Next

5.PNG

Provide the master password and click on Next

6.PNG

Select the Domain model and click on Next.

7.PNG

Click on Next

8.PNG

9.PNG

10.PNG

Provide the Instance no for ABAP Central Service Instance and click on Next

11.PNG

Default ABAP message server port.

12.PNG

13.PNG

Parameter summery

14.PNG

ABAP Central Service Instance installation completed.

16.PNG

Continue....

 

Part 2: http://scn.sap.com/community/netweaver-administrator/blog/2016/04/20/step-by-step-distributed-installation-on-sap-part-2

Part 3: http://scn.sap.com/community/netweaver-administrator/blog/2016/04/20/step-by-step-distributed-installation-on-sap-part-3


 

Thanks,

Raj Kishor

Step By Step Distributed Installation on SAP- Part 2

$
0
0

3. Database installation on DB host.

Run the sapint on Database Host and Click on Next

1.PNG

Select Custom and click on Next

2.PNG

Select the ABAP Central Service Instance profile and click on Next

3.PNG

Provide the Master Password and click on Next

4.PNG

Select the Domain model and click on Next

5.PNG

Click on Next

6.PNG

Provide the Kernel file and click on Next

7.PNG

Provide the DB<SID> and Click on next

8.PNG

Select the domain model and click on Next

9.PNG

Click on Next

10.PNG

Provide the Export path and Click on Next

11.PNG

Set the Path for Log and Click on Next

12.PNG

Set the RAM for Database and Click on Next

13.PNG

Click on Next

14.PNG

Click on Next

15.PNG

Click on Next

16.PNG

Click on Next

17.PNG

Provide the Oracle Client Path and click on next

18.PNG

Click on Next

20.PNG

Parameter Summery...Click on Next to start

21.PNG

22.PNG

23.PNG

Continue...

 

 

Part 1

http://scn.sap.com/community/netweaver-administrator/blog/2016/04/20/step-by-step-distributed-installation-on-sap

Part 3: http://scn.sap.com/community/netweaver-administrator/blog/2016/04/20/step-by-step-distributed-installation-on-sap-part-3

 

 

Thanks,

Raj Kishor

Step By Step Distributed Installation on SAP- Part 3

$
0
0

4. Install the Central Services Instance on CI host.

Run the sapinst to SCS Instance

1.PNG

Select the Custom and Click on Next

2.PNG

Select the Path and click on Next

3.PNG

Provide the Master password and Click on Next

4.PNG

Provide the Kernel Path and click on Next

5.PNG

Click on Next

6.PNG

Provide the Database Schema and Click on Next

7.PNG

Provide the Instance number and Click on Next

8.PNG

Click on Next

9.PNG

Click on Next

10.PNG

Click on Next

11.PNG

Click on Next

12.PNG

Provide the Export path and Click on Next

13.PNG

Click on Next

14.PNG

Provide the Client Path and Click on Next

15.PNG

Click on Next

17.PNG

If you want to install Diagnostic Agent select the Option or Click on Next

18.PNG

Parameter Summery

19.PNG

Installation completed.

20.PNG

21.PNG

22.PNG

23.PNG

 

 

Part 1: http://scn.sap.com/community/netweaver-administrator/blog/2016/04/20/step-by-step-distributed-installation-on-sap

Part 2: http://scn.sap.com/community/netweaver-administrator/blog/2016/04/20/step-by-step-distributed-installation-on-sap-part-2

 

Thanks,

Raj Kishor

SQL Server AlwaysON Database Refresh

$
0
0

Overview

SQL Server AlwaysOn is very good functionality introduced by Microsoft as you can achieve high availability solution with actual copy of database with real time synch mode. Now as part of maintenance we might have to do database refresh (as part of regular support or if you build new system and want to restore database from existing system). I have tried to consolidate all points & steps included in doing such kind of activity. Hope this will help fellow group members

Steps To Perform

  1. Take Full DB Backup Source & Target.
  2. Stop Target System SAP Application & Database.
  3. Backup SAP System Profile Directory.
  4. Logon to Primary Node of Database and open SQL Management Console as Administrator.
    1. Delete Database From Availability Group (Always On High Availability à Availability Groupà <DB_CLUSTER> (Primary)àAvailability Databasesà Database)
    2. Delete Listener Services
    3. Bring your Database Offline on Primary Node.
  5. Logon to Secondary (Replica) Node of Database and open SQL Management Console as Administrator
    1. Bring your Database Offline on Secondary Node.
  6. Delete Data and Log Files from both Nodes.
  7. Restore Source Database from Disk or Tape on Primary Database Node.
  8. Run SWPM and select option System Copyà High Availability System à Database Instance as per your SAP Release/Version
  9. Need to select “Homogeneous System Copy (MS SQL Server Specific: Detach/Attach or Backup/Restore) option
  10. After SAP Installer runs successfully, login to SQL Management Console and delete tables (e.g. TLOCK, DBSNP, DDLOG etc) as per SAP System Copy Guide.
  11. Initiate Backup from Primary Node and transfer this backup to Secondary Node.
  12. Login to SQL Management Console on Secondary Node and check if Availability group or Listener exists (If entry still exists then simply delete it). Database (<SID>) can also be deleted from Databases as it will be restored later.
  13. Restore Backup taken from Primary Node with option “RESTORE WITH NORECOVERY”
  14. Check & Set the security settings for Always On Group.
  15. Create Availability Group from Primary Node.
  16. Add both nodes in Availability Group as Primary & Secondary during Availability Group Creation.
  17. Check Dashboard for the Availability Group Status if there is any error or not.
  18. Open Failover Cluster Manager
  19. Create Listener
  20. Check ILB IP Address and Port 59999 is properly assigned to Listener (* This is relative to Microsoft Azure Cloud Cluster)
  21. Check database status in both Nodes (It should be synchronized).
  22. Safer side execute sp_help_revlogin scripts on Primary and Secondary nodes (Similar to when initial installation was done).
  23. Compare and fix the SAP profile (DEFAULT) parameters from copied profile directory.
  24. Start SAP and perform initial check, apply license
  25. Perform post database refresh steps (As per SAP System Copy Guide).

Issues & Resolution:

Issues & Resolution: Below are the few issues I had faced/identified with their resolution while doing SQL DB RefreshIssue: During SWPM System Copy process if you face issue related to Server Princial <Domain>\<SIDADM> already exists.Resolution: This might be related to hard endpoints already existed due to prior database configuration. This can be checked and deleted as it will get created automatically later on. Below are the commands to check and fix:

  • select suser_sid ('<Domain>\<SIDADM>')
  • select * from sys.server_principals sp where sid=<Result from first query>
  • SELECT p.name, e.* FROM sys.endpoints e inner join sys.server_principals p on e.principal_id = p.principal_id
  • DROP ENDPOINT [Hadr_endpoint] (Run this query if you see <Domain>\<SIDADM> hard point entry in previous query)



Issue: While creating Availability Group you get error that this group name already exists.Resolution: If you want to user same Availability Group Name then open a query window and give below query to delete the entry:

  • Drop availability group ‘<Group Name>’

After this you can recreate the Availability Group with same name.



Issue: While adding Secondary Node to Availability Group post-refresh if you get error that “Mirror Database “<SID>” has insufficient transaction log data to preserve the log backup chain of the principal database.Resolution: Take log backup from Primary Node and Restore it on Secondary Node using below command:

  • Restore Log “<SID>” from disk = ‘Path to log backup file’ with NORECOVERY
  • Continue with Availability Group Creation it will be successful

Related Content

Related Documents

https://msdn.microsoft.com/en-us/library/hh213326.aspx

SAP Kernel release and Netweaver 7.X

$
0
0

Hi Everyone,

 

Now a days, different types of kernel versions are available in SMP and its little bit confusing to understand the relation between these kernel and Netweaver 7.X. 

 

Netweaver 7.4 comes with many new features/capabilities.

 

http://scn.sap.com/docs/DOC-58352

 

https://help.sap.com/saphelp_nw74/helpdata/en/8a/20f67a23c547a694c595c3195c1b0f/frameset.htm

 

To utilize the full feature and functionalities of this, AS ABAP 7.4 deliver with new version of kernel regularly.

 

Also, version of the kernel also depends upon the SP level of Netweaver 7.4. Now, user can utilize the complete HANA as well as other features with minimal disruption by simply applying SAP NetWeaver support packages. All dependencies between support package and the SAP kernel release are completely taken into account by the installation and update tools so that no manual interactions are required when performing.

 

e.g.

SAP NetWeaver 7.4 SP0 was delivered with kernel 738

SAP NetWeaver 7.4 SP2 requires kernel 740 as a minimal version

SAP NetWeaver 7.4 SP5 requires kernel 741 as a minimal version

SAP NetWeaver 7.4 SP8 requires kernel 742 as a minimal version

 

Note: No new kernel versions will be required as minimal version for support packages of SAP NetWeaver 7.4 after SP8. So, if we are going to upgrade SP8 to higher SPs, we don’t need to upgrade our kernel.

 

Similarly, if we are going to upgrade our system from SP5 to SP8, we have to upgrade our kernel version.

 

From Nov,15 Netweaver 7.5 version is released. SAP has also defined the minimal version of kernel to use Netweaver 7.5 i.e. kernel 745. Also, these kernels are also the downward compatible kernel(DCK) for NW 7.4 later on. It is available as DCK for all NW 7.4 support packages from March 2016. New kernel patches for kernel 742 will be provided until end of Q1 2017.

 

1969546 - Release Roadmap for Kernel 74x and 75x


Below are the chart for the Netweaver 7.4 SP stack and their minimal kernel version.


 

SAPNetWeaver 7.4 SP Stack

Minimal kernel version

Release Date

SP02

740

May 2013

SP03

740

July 2013

SP04

740

September 2013

SP05

741

December 2013

SP06

741

March 2014

SP07

741

June 2014

SP08

742

September 2014

SP09

742

November 2014

SP10

742

March 2015

all further SPs

742

Q2 2015 and later

 

 

SOFTWARE LOGISTICS TOOLSET Those SAP NetWeaver 7.4 support packages (SPs) that require a new minimal kernel version can’t be implemented using the SAP Support Package Manager (SPAM). Instead, these SPs will be updated using the SAP Software Update Manager (SUM).The first SP for which this applies is SAP NetWeaver 7.4 SP05. You can find SUM documentation on SAP Service Marketplace under > Software Logistics Toolset > Software Logistics Toolset 1.0 > Software Update Manager (SUM).

 

Chart for kernel release and maintenance date with DCK.

 

Kernel Version

Date for DCK release

End of Maintenance

740

-

July 2014

741

July 2014

Q3 2015

742

Q2 2015

Q1 2017

745

Q1 2016

Tbd

 

Hope this will help you.

 

Thanks,

Shyam Kumar

High Availability Installation on Microsoft Azure with SQL Server 2012

$
0
0

Overview:


Microsoft Azure is one of the most trending architecture/solution for Cloud Computing. Due to ease of implementation, it is attracting a good number of Customers to migrate or implement their enterprise application. Maintenance is facilitated by many providers and unexpected downtime are very minimum.

 

High Availability Solutions: Although there blogs and documents available on SCN & MSDN for achieving/implementing High Availability Systems but I still want to provide clarity regarding, working of Fail-Over in Azure, SQL Server Always On, Disk Sharing restrictions, Resource Mappings etc


SQL Server Always On: Microsoft has introduced a novel feature “Always On” which replaces the regular clustering solution and instead after its configuration you will have one or more than one live copy of database which remains in sync with the original database node or Primary Node.

 

Hardware: To build High Availability Solution with Microsoft Azure Cloud & SQL Server Always On functionality you will require four (4) VMs.

This minimum (4 VM) requirement is due to the below restrictions:

  • Microsoft Azure doesn’t support Shared Disk Methodology for SAP Application Installation Clustering and without share disk you can’t install HA SAP Application

       There are 2 options available creating/configuring Shared Disk:

    • Use third Party Solution (SIOS Datakeeper)
    • Express Route for remote iSCSI Target shared block storage.
  • Internal mechanism used in Microsoft Azure for failover which is ILB (Internal Load Balancer), it can support only one application at a time for failover in cluster and hence we cannot install SAP Application & Database both in same Cluster Group/Nodes/VMs.
  • Along with above restrictions Azure doesn’t support Multiple Virtual IP Addresses.

 

With Microsoft Azure you can use two types of disks:

  • Standard Storage/ Disks: These are regular disks as used in normal VMs. These can be used if we are going to install additional dialog instances on Azure because that will require very small size of disk.
  • Premium Storage/Disks: These are high performance storage/disks and should be used for at least Central Application & Database. Below is table with detail of type/model of premium disks available in Microsoft Azure Cloud:

 

Type of Disk

IOPS

Size of Disk

P10

500

128 GB

P20

2200-2500

512 GB

P30

5000

1 TB

 

P10 disk provides good output/performance (better than regular SCSI) but for better or best performance we choose P20 or P30. Based on their IOPS and disk size these disks can be further sliced into smaller partitions but it is not recommended to perform too much slicing or partitions as it will impact their IOPS accordingly.

You can refer SAP Note 1928533 for further reference about the SAP Components compatibility on Azure and the type of hardware available.

 

Do's & Don't:

  1. Always check Microsoft Windows Image to be used if going for high availability solution. (DO)
  2. Configure Probe port with ILB IP Address for SAP Share prior to installing Additional Cluster Instance on Node B. (DO)
  3. Configure Probe port with ILB IP Address for Database Nodes only when starting Availability Group and Listener configuration for SQL Server Always On. (DO)
  4. Create entry for SAP ASCS (Cluster Name) and ILB IP Address in host file of all application and database hosts. (DO)
  5. Disable Windows Firewall & IE Enhanced Security Configuration. (DO)
  6. Ensure that <SIDADM> user is added to domain user group. (DO)
  7. Always use non sidadm Administrator user for installation. (DO)

Below are the steps which I followed for doing SAP Netweaver 7.4 installation as HA with MS SQL 2012 database and used third party SIOS Tool for share disk mechanism.

 

Installation:

  1. Distributed or High Availability Solution always is domain installation so either use Administartor user which is part of Domain Administrator or get <domain>\<sidadm> & <domain>\<SAPServiceSID> created in advance.
  2. Install SIOS tool on both SAP Application Nodes and configure disks for synchronizing sync.
  3. Maintain Registry Entries (Timeout).
  4. Check if you are able to failover shared disk access between application nodes for SAP ASCS.
  5. Install SAP First Cluster Node on Node A.
  6. Install SAP Additional Cluster Node on Node B.
  7. Install SQL Server 2012 with latest service packs on both Database node.
  8. Ensure Collation is set to SQL_Latin1_General_CP850_BIN2.
  9. Create Data & Log directories prior to installation of SAP Database on Database Node A.
  10. Check if //<SAPASCS>/sapmnt path is accessible from database nodes.
  11. Start SAP Database installation on Database Node A.
  12. Initiate full database backup from Database Node A and transfer it to Database Node B.
  13. Restore database backup of Node A to Node B with option “Restore with NoRecovery”.
  14. Check Security Settings for SQL Server Always On Group.
  15. Enable AlwaysOn Availablity Group for SQL Server Service Properties in SQL Server Configuration Manager. (Perform this step on both database nodes.)
  16. Change Logon for SQL Server Service in SQL Server Configuration Manager to <Domain>\<SIDADM> user. (Perform this step on both database nodes.)
  17. Create & Configure New SQL Server Availability Group through SQL Server Management Studio and add both database nodes with “Join Only” synchronization preference.
  18. Create & Configure Listener (Client Access Point) Service.
  19. Assign ILB IP Address to Listener Entry.
  20. Set Dependency for SQL DB Availability Group to Listener.
  21. Download the scripts for setting up logon credentials/groups/permissions similar on both database nodes.

http://blogs.msdn.com/b/saponsqlserver/archive/2012/03/29/sql-server-2012-alwayson-part-5-preparing-to-build-an-alwayson-availability-group.aspx

  1. Execute sp_help_revlogin2 script on database node A.
  2. Execute sap_help_revlogin script on database node A. Copy the result and create sql file and transfer the file to database node B.
  3. Execute the result sql file on database node B. (Ignore error regarding SAP_<SID>_LocalAdmin group).
  4. Compare Users/Permissions on both Database Nodes.
  5. Change “DEFAULT” profile parameters “SAPDBHOST” and “dbs/mss/server” to Listener Name.
  6. Stop & Start SAP ASCS Services.
  7. Install Primary Application Server on SAP Node A. (If you are using only 4 VMs then can install this in local drive)
  8. Install Additional Application Server Instance on SAP Node B. (If you are using only 4 VMs then can install this in local drive)
  9. Update <SIDADM> environment variables. (e.g. MSSQL_SERVER, MSSQL_CONNOPTS etc.)
  10. Stop SAP Application & Database and restart all nodes.
  11. Install SAP License for both SAP Nodes.

 

Testing Scenarios:

  1. Open Failover Cluster Manager on application nodes and move group/services from Node A to Node B and vice versa.
  2. Restart one node while logged on SAP application and vice versa.
  3. Open Failover Cluster Manager on database nodes and move group/services from Database Node A to Database Node B and vice versa
  4. Restart one DB Node while SAP application and database are running and check if everything is working fine in application and database.

 

SAP Notes Reference:

  • 1928533 - SAP Applications on Azure: Supported Products and Azure VM types.
  • 1612283 - Hardware Configuration Standards and Guidance
  • 1772688 - SQL Server AlwaysOn and SAP applications
  • 2015553 - SAP on Microsoft Azure Support prerequisites
  • 2020535 - Profile parameter conn_opts
  • 2137130 - SAP startup hangs with SQL Server
  • 2303398 - SAP on SQL Server in Microsoft Azure Virtual Machines

http://scn.sap.com/docs/DOC-56406

 

Microsoft References:

Basic start-up troubleshooting JAVA - the logical sequel!

$
0
0

After writing Basic start-up troubleshooting - the logical sequence! I promised to deliver a Java version of it. It has taken rather a long time but I finally put together my attempt to describe the basic flow of a Java System startup and the possible areas where problems can occur.

 

This is not by any means perfect but I like to believe it gives a decent overview of the process.

 

 

Database Starts

As on ABAP the first step is to check and start the database. No dedicated developer trace is created in the work directory as the database has its own logs.  If the database does not start correctly it should be visible within seconds and errors will be available within the DB logs.

Developer traces: Refer to your DB logs.

 

Startup

JSTART is called next, it takes the role of the Java instance controller which analyzes its configuration and initializes SAP signal handling and opens the control port.

There is very rarely an issue with the initial load of JSTART. If for some reason this fails you most likely have a problem with your instance profile.

Developer traces: dev_jstart


Offline Deployment

The Java instance controller reads the instance definition and creates a child process that initializes JVM and starts the OFFLINE DEPLOYMENT program which performs the deployment steps in the Java database.

In the 'business as usual' scenario this is very unlikely to end up in an error. These days most deployments are done automaticaly using SUM, the traces will be filled when the instance is stopped and started during the SUM deployment phase.

Developer traces: dev_deployment, std_deployment.out and jvm_deployment.out


Bootstrap

BOOTSTRAP synchronizes the binary data in the Java database with the local file system.

This is where you will most likely find issues during your system startup. Errors during this phase are common and usually caused by issues in one of the following areas;

 

     1. Problems at DB Level

     There is a large number of reasons for this to fail going from DB availability to problems with listeners and DB user authentication.

Bootstrap Stops Due to Database Problems - Configuration of SAP NetWeaver - SAP Library

 

     2. Problems at the File System Level

     Problems with environmental variables, file permissions, file availability, mounts, etc...

Bootstrap Stops Due to File System Problems - Configuration of SAP NetWeaver - SAP Library

 

     3. Problems at the Configuration Level

     Java VM settings configured incorrectly, usually related to memory allocation.

Bootstrap Stops Due to Configuration Problems - Configuration of SAP NetWeaver - SAP Library

 

Developer traces:dev_bootstrap, std_bootstrap.out and  jvm_bootstrap.out


Internet Communication Manager (ICM)

The Java instance controller starts the processes for infrastructure nodes - the most important in my opinion is ICM; ICM handles the HTTP request directed to the AS JAVA system.

If there is an issue with ICM you'll see an error on screen while calling the java standard URL. http://<host>.<fqdn>:<port> you will also find the details on the ICM developer trace.

 

Developer traces: dev_icm

 

Server Node

When all infrastructure processes are started, the Java instance controller starts the processes for the server nodes.

Finally, your Java system is running and if there was an issue with any request dealt with by this server node you will find information about it on the developer trace.

 

Developer traces: dev_server0, std_server0.out and jvm_server0.out


Hope this is a good basic explanation of where to start when troubleshooting a Java Startup problem!


As a reference I have taken the freedom to borrow this lovely chart from SAP Help to ilustrate my case

(Image Source: Startup, Operation and Shutdown of an AS Java Instance - Administration - SAP Library)


This graphic is explained in the accompanying text.

Love to hear your comments,


DBCO Connection Test Fail with sql error 18456

$
0
0

I want to share a problem  and a sloution of it.

Since I searched a couple of hours for the solution and could not fined the solution wasily I wanted to write this blog.

Because of old version of our system the possibility of encountering with the problem is not so high  but hope this help someone.

 

We have an ERP 6.0 system on NW 7.0 with 7.21 kernel. (Unfortunately upgrade was not possible till now).

 

One of the integrated DB's version was updated from 2008 to 2014 and our DBCO connection did not run then.

Our system kernel version was 7.21 526. First of all we upgraded the kernel to the latest version according to the PAM.

After the kernel upgrade of the development system connection run properly and our problem was solved.

The successfull connection test on development system was like below.

Blog_DBCO_2.jpg

The strange problem occured on quality and production system. When we implemented the same solution to quality and production system unfortunately the connection problem was not solved. It was giving below error.

"Couuld not open connection GENIUS,

sql error      18456 occured.

Login failed for user "GENIUS3""

Blog_DBCO_2.jpg

We tried some things to solve the problem like deleting and creating the connection from DBCO, reapplying the kernel by copying from development system, restarting OS and DB (first rule for solutions ) etc. These approaches did not solve the problem.

When I created a new connection with the same settings with a new name, connection test was successful. There was a problem with the name GENIUS of the connection strangely. TEST, GENIUSNEW etc connections with the same settings were successfully connecting to the target SQL Server 2014 version DB but except GENIUS.

 

I searched through the scn annd SMP but there were no helpful notes or discussions.

 

At last I found the note 1823566 - Potential information disclosure relating to SolutionManager. This note is also mentioned in EWA report and helped me to solve the problem.

The cause of the problem was the definiton of connection GENIUS on SECSTORE. Although it was green, we were getting error on connection test of this connection.

Blog_DBCO_3.jpg

As a solution, I deleted the  definition of GENIUS on SECSTORE transaction and run RS_DBC_CLEANUP program mentioned in the note. After this connection test for GENIUS was successful.

 

As lessons learned we can say that;

  • keeping component versions up to date is better
  • Checking EWA reporrts and applying recommendations are required
  • Never give up! There is always a solution.

 

Thanks for your interests.

.

Autostart database and SAP on Linux

$
0
0

I recently tested some solutions / workarounds how to start the database and SAP automatically during boot.

 

Way 1


Add Autostart = 1in startup profile. The parameter is CaSe sensitive, it begins with an uppercase A. Startup profile is the one which has Start_Program_<xx> or Restart_Program_<xx> entries. If you have any other database than HANA, it will start both the database and SAP.

 

Way 2

 

This is for SAP systems with HANA database. In this case HANA may have an own SID different from SID of SAP.

 

Create /etc/init.d/after.local file with content

 

#!/bin/sh

su - <HDBSID>adm -c "/path/to/HDB start"

su - <SAPSID>adm -c "/path/to/startsap"

 

The after.local script will be run after all the run levels have completed.


In my test system HA0 is the HANA SID and N75 is the SAP SID and after.local looks like following:

 

HOST:~ # cat /etc/init.d/after.local

#!/bin/sh

su - ha0adm -c "/usr/sap/HA0/HDB00/HDB start"

su - n75adm -c "/usr/sap/N75/SYS/exe/uc/linuxx86_64/startsap"

 

It must have execute permission for root:

 

HOST:~ # ls -al /etc/init.d/after.local

-rwx------ 1 root root 118 Jul 25 14:25 /etc/init.d/after.local

 

Give it a try.

High Availability Explained - v1.1

$
0
0

There are numerous blogs about SAP running High Availability but none of them seem to focus on explaining how the basics work.

 

What are the Basics?

To explain this in simple terms we should start from a standard Standalone SAP system. A standard system has 3 basic components, each of them is critical for the system to work:

 

 

1. ASCS -> stands for ABAP SAP Central Service and it's made of two parts, the Message Server and the Enqueue Server. The Message Server acts as communication channel between the application servers and handle the load distribution, the Enqueue Server controls the lock mechanism.

 

2. AS ->  Applications servers.  In the old days you had a Central instance which included the ASCS component, now the ASCS component has been removed and stands on its own, hence the first application server is called the PAS (Primary Application Server) and the ones after that are called AAS’s (Additional Application Servers) but in practice there is very little difference in between them.

 

3. Database -> The database is simply the database, your primary persistence and where you store your data.

 

Your traditional standalone system looks something like this:

 

 

So, what do you have to do to make your system highly available?... very simple, you have to give each of these components redundancy, covering all the single points of failure.

 

How do you achieve that?

Well, for the basic HA system you need at least two hosts (or nodes) to fit the required components, also ideally they will be located in separate data centers.

 

ASCS -> For the central services the recommended procedure is to use ERS (Enqueue replication server).  ASCS and ERS are installed on a shared disk in both hosts. Enqueue server will keep the lock table and ERS will keep a replicated copy of the lock table. A third party cluster software will provide an automatic failover mechanism for the ASCS instance. Now that the jibber-jabber is out of the way, what this means is that you have an ASCS and an ERS on each host so if at any moment an issue was to hit one of the nodes it would automatically failover to the other one keeping the system alive.

 

AS -> From the application server point of view the key is the numbers of them; at a basic level you need at least 2 application servers (PAS and AAS) using load balancing. If an issue hit one of the nodes all users connected to that node wold be kicked out but users will be able to logon again as the other AS will be up and running.

 

Database -> DB wise the norm is to have at least 2 databases where one is set to be the primary database, serving the system and the second one is a standby database which is supplied with a constant feed of logs from the primary database (this is called log shipping). On top of that you need a cluster software and an automated fail-over mechanism. This means that the cluster will be pointing to the primary database, if that node becomes unavailable the failover mechanism will kick in and the standby database will become the primary database effectively keeping the system running.

 

Once finished your new HA system should look something like this,

 

 

Now, What is a HA-Cluster?

At the most basic level a standard HA-Cluster in an Active-Passive configuration has 2 nodes, one is the primary node and the other one is the standby node. That simply means that the primary node is actively serving the system while the standby node is waiting to jump-in in case of a failure.

 

How does it work?

The cluster get set with a virtual IP (and hostname via DNS), these are the details to be used on the SAP profiles to call that particular component. The Cluster will assign that virtual IP to the active node and use a heartbeat monitor to confirm the availability of the components, if the primary node stops responding it will trigger the automatic failover mechanism that will call the standby node to step-up to become the primary node and will assign the virtual IP to it restoring the component availability. Once the failed node is fixed it will come online as a standby node.

 

A High Availability database will look something like this:

 

 

You can read more about this subject on High Availability - Frequently Asked Questions  by Eyal Katz

 

So? is that it?...

Yes, and no....

 

Yes, you have a HA system now!! ... if there is a problem your system will be able to withstand the loss of one of its components or even an entire host.

 

No, you need to make sure everything that talks to this system is using load balancing. I cannot stress this enough, if the rest of the landscape and third parties are pointing at a fix host you will end up out of business... so, it's very important to make sure that all the RFC's, JCO's and GUI's are set to take full benefit of load balancing.

 

Hope this was a good overview of a basic HA system.

 

PS: This is a very basic case scenario, if you use ICM or the SAP Gateway you want to make sure you use an SAP webdispatcher and a standalone SAP Gateway to load balance those requests too.

 

PPS: HA differs drastically depending what OS and Database you run your landscape on, also there are several tools available for virtualised environments.

 

Love to hear your comments,

How to open a connection and maintain the OSS support user in SAP Support Launchpad

$
0
0

If you want to allow an SAP Support Consultant to work directly in the system to diagnose problems, you have to open a remote service connection. Since we all know that now SAP support portal is migrated to SAP Launchpad based on Fiori based apps. So the process to open the connections and maintain the OSS support user in secure area are also changed.

We are always in hurry to open the connections incase of emergency situations. Since i faced the same problem. So i thought to document it and share.

 

First you login in sap support portal and follow the steps given below.

 

For maintaining the "user credentials" in secure area go to the incident and click on secure area link.

 

Secure area_oss.jpg

 

Go to the system and add the user details.

USer_credentials_oss.png

 

Now you want to open Remote Connections but you will not be able to find out the link in the incident itself(But in earlier case, connection opening link was there in incident itself).

Now in new support system (launchpad support portal case), you need to go to home page and open the connection.

 

Open the connection_oss.jpg

Follow the steps given in the link,another link,  OR search with keyword :

Using Remote Service Connections on SAP Support Portalto find the page.

How to setup Data service connection with BW

$
0
0
  1.   Create TCP RFC destination in BW

 

RFC.png

Note – Since we have gateway security enabled we need to ensure we allow host (Data service) host and program in reginfo


Step 2 – Tcode SMGW


Untitled1.png

Untitled2.png


Step 3 – Create RFC server interface

Login in Data services -> sap connection


http://<hostname>:8080/DataServices/admin.jsp


Untitled3.png


Restart RFC server interface


Untitled4.png


Test the RFC destination created in step1

How to configure in the SAP system so that it does not send the requests notification

$
0
0

You want to suppress the requests notification when sending the emails, you configured in transaction SCOT
for the SMTP Settings as follows but it does not work:

1.png

 

When you send E-mails to the recipient, in Outlook the recipient will receive the additional mail named
"Successful Mail Delivery Report" with the original mail like the following:

2.PNG

 

 

If you do not want to receive the requests notification like this, you can do the following settings in transaction
SCOT
-> Outbound Messages -> Settings -> Tab Status Requests -> enter "*" and "Only if Errors" in Address Area:

Outbound messages setting.PNG

 

After perform this setting the requests notification will not be sent then.

Error in Update Statistics - SQL error -20003 at location stats_tab_collect

$
0
0

Hello,

 

I just want to share a solution for the error SQL error -20003 at location stats_tab_collect. The issue occurs on DB13 update statistics.

It began occur after a BW system refresh done through Oracle database backup from PRD.

 

Symptom

 

error_1.jpg

error_db13.jpg

 

BR0301E SQL error -20003 at location stats_tab_collect-78, SQL statement

 

BR0886E Collecting statistics failed for table SAPSR3./BIC/B0000100000

 

 

I tried to find something on SAP Support, but no lucky.

 

Then, I found the solution below in Oracle Support Doc ID 1180514.1:

 

Cause

 

Problems with validity of the dictionary objects upon which DBMS_STATS package depends.


Solution


Log on as ora<SID> user on the OS, and then recreate DBMS_STATS package by running the following scripts with SQLPLUS:

  @?/rdbms/admin/dbmsstat.sql

  @?/rdbms/admin/prvtstas.plb

  @?/rdbms/admin/prvtstat.plb



Regards,

Richard W. L. Brehmer
rbrehmer.com


AS Java License Key Installation using Telnet

$
0
0

It is possible to install a license key for your AS Java system using telnet. This can be useful if you cannot get the system fully started before the 30 minute grace period elapses, or there is some error with access to the /nwa (e.g: in a upgrade scenario). The telnet licensing command also allows you to install a temporary key if required.

In this blog post I will explain the process and useful commands e.g: how to find hardware ID, system ID, install permanent or temporary keys etc. The Telnet licensing option was introduced under NetWeaver 7.1, and is available under the releases specified under SAP KBA: 2003564.


Getting Started

  • You will need access to the file system of the application server, as telnet only works via localhost connections (<sid>adm user login)
  • You will need a Telnet Client installed under the OS, consult your Windows or Unix OS team for this request. Do not assume it is already installed
  • You will need suitable permissions/role to access telnet. Easiest way to achieve this is to use the J2EE_ADMIN or Administrator users

 

Logon to Telnet console and add licensing menu

 

NB: Telnet service runs under port 08. E.g: to access telnet under Java engine you would use port 5XX08 (where XX is instance number)

 

  1. Open your command prompt/terminal depending on OS and connect to the SAP System via Telnet, e.g for a system with instance number 00 we would use:

    telnet localhost 50008
  2. You will now see the option to logon to the telnet server, use your admin user to logon as below:
    telnet1.png
  3. When you logon to Telnet, you will need to ensure you are on cluster 0. Type > jump 0 to do this.
  4. Next add the licensing menu using command > add licensing.

    The licensing menu is now activated, you can use the man command to view the list of available options:
    telnet2.png

    telnet3.png

Install a permanent or temporary license key


    1. Firstly, we need the hardware id and system id for the target system. Type > mshardwareid and mssystemid if the SID is not known. Resulting output will display as below:

      telnet4.pngtelnet5.png
    2. Request a license key via SMP: http://support.sap.com/licensekey and follow the process. Download the license key onto the server.
    3. Install the license key with command > install_license -file /usr/path/to/license/key.txttelnet6.png
    4. To install a temporary key, use the command > install_license -temp
    5. Validate the newly installed license key via command: > list_licenses
      telnet7.png
    6. You have now installed your AS Java license key via Telnet!

How to export users SAP license easily SLAW

$
0
0

Hi everyone,

 

A documentation to describe how to export license from ABAP system ECC:

 

Connect to your SAP system and execute USMM transaction:

 

screen1.PNG

Click on System measurement (F8):

 

screen2.PNG

Check on transaction SM37 that job is over:

 

screen3.PNG

then execute again transaction SUMM and export to LAW file:

 

screen4.PNG

Click on execute (F8) and you can record your license file.

 

Shinglon

ADS Configuration in Netweaver 7.4

$
0
0

Introduction


Adobe Document Services (ADS) are an SAP NetWeaver solution extension included in the SAP NetWeaver usage type Application Server (AS) Java. To process forms in an ABAP environment , the ABAP transaction dynpros or Web Dynpro ABAP applications call the ADS. The generation of forms is based on form templates designed with Adobe LiveCycle Designer and business data provided by the applications.

Once installed on the AS Java, the ADS need to be configured in order to be available for form processing.

 

 

1. Users creation

 

If UME on AS Java

In Identity Management http://hostname:port/useradmin

- Add action “AdobeDocumentServices (ADSCaller)” to role SAP_ADSCALLER

- Create ADSCALLERS group and assign role SAP_ADSCALLER

- Create ADSUSER, select Security Policy “Technical User” and assign group ADSCALLERS

 

Log on to the AS ABAP with an admin user, in the client that is used for the ADS configuration and go to transaction SU01:

- Create user ADSUSER and select user type “System”

- Create user ADS_AGENT, select user type “System” and assign roles SAP_BC_FP_ICF, SAP_BC_FPADS_ICF and SAP_BC_JSF_COMMUNICATION

 

Important: profile of these roles must be generated.

 

Go to transaction PFCG:

Create a role ADSCALLERS (no authorizations required) and assign user ADSUSER to it.

 

 

If UME on AS ABAP

Log on to the AS ABAP with an admin user, in the client that is used for the UME authentication and go to transaction SU01:

- Create user ADSUSER and select user type “System”

- Create user ADS_AGENT, select user type “System” and assign roles SAP_BC_FP_ICF, SAP_BC_FPADS_ICF and SAP_BC_JSF_COMMUNICATION

 

Important: profile of these roles must be generated.

 

Go to transaction PFCG:

Create a role ADSCALLERS (no authorizations required) and assign user ADSUSER to it.

 

In Identity Management http://hostname:port/useradmin

- Add action “AdobeDocumentServices (ADSCaller)” to role SAP_ADSCALLER

- Add ADSUSER to role SAP_ADSCALLER

- Make sure that the ADSUSER is “Technical User” and added to group ADSCALLERS

 

 

2. AS Java configuration

 

2.1 Web service destination

 

Start the SAP NetWeaver Administrator via the address http://hostname:port/nwa

Choose SOANext navigation stepTechnical Configuration Next navigation step Destination Template Management

01DTM.JPG

Choose New

02NEW.JPG

Choose Destination Type WSIL

Enter ConfigPort_Document as Destination Name

Enter URL http://hostname:port/inspection.wsil (hostname is the AS Java hostname in which the Adobe Document Services are installed and port is the HTTP port of the AS Java)

 

Choose Next

03.JPG

Choose AuthenticationHTTP Authentication and select UserID/Password (Basic)

Enter User ID adsuser (with the password that you created)

Then choose Finish to save

04.JPG

 

2.2 HTTP destination


Start the SAP NetWeaver Administrator via the address http://hostname:port/nwa

Choose SOA Next navigation step Technical Configuration Next navigation step Destinations

05.JPG

Choose Create...

07.JPG

Enter FP_ICF_DATA_<SID> as Destination Name (<SID> is the AS ABAP SID)

Choose Destination Type HTTP

Choose Next

06.JPG

Enter URL http://ABAPhostname:port (ABAPhostname is the AS ABAP hostname)

Enter the SID and productive client of your AS ABAP system

08.JPG

Choose AuthenticationBasic (User ID and Password)

Enter User Name ads_agent (with the password that you created)

Then choose Finish to save

09.JPG

 

2.3 Reader Rights Credential


If you want to create interactive forms, you need a Reader Rights Credential (usage rights credential). For more information please follow this link: Applying a Reader Rights Credential to PDF Forms - Configuring Adobe Document Services for Form Processing (ABAP) - SAP …

 

 

3. AS ABAP configuration

 

3.1 RFC

 

Call transaction SM59 Next navigation step Choose Create

 

Enter at least the following:

- RFC destination: ADS

- Connection type: G

- Target Host: Enter the host name of the J2EE Engine that runs the Adobe document services or of the SAP Web dispatcher if applicable

- Service No.: Enter the HTTP port number of the Target Host you have specified (The following naming convention applies: 5<J2EE_instance_number>00 (50000, for example, if your J2EE instance is 00)

- Path Prefix: /AdobeDocumentServices/Config?style=rpc

10.JPG

Choose the Logon/Security tab, select Basic Authentication

In the User and Password boxes, enter the user name ADSUSER and the password

Save your settings

11.JPG

 

3.2 Activating the ICF services


Call transaction SICF Next navigation step Activate the following services:

default_host sapbcfp

default_hostsapbcfpads



4. Configuration check and Troubleshooting

 

Call transaction SA38 and execute the program FP_TEST_00.

If the FP_TEST_00 form is displayed in the print preview, the ADS configuration is correct.

 

Call transaction SA38 and execute the program FP_PDF_TEST_00.

This enables you to check the RFC connection to ADS.

If the system displays the version number of ADS, the configuration of the RFC connection is correct.

 

Call transaction SA38 and execute the program FP_CHECK_DESTINATION_SERVICE without and with selecting the option "With Destination Service".

If the file size of the generated PDF is displayed the ADS configuration is correct.

 

If one of these reports does not work please refer to SAP Note 944221 for Adobe Document Services troubleshooting.

Access method F (SAPLPD) does not work with SAPGUI 740. What should I do?

$
0
0

Some users found that after upgrade to SAPGUI 740, access method F cannot be used anymore. Please note SAP only supports SAPLPD for frontend printing in release prior to 4.6C. You have 3 options to resolve the issue.

 

1. Use access method G for frontend printing (note 821519). This is recommended.

 

2. Implement the correction of note 2028598 or import the support package in this note. Set profile parameter "rspo/local_print/guitimeout" to 0 and restart the system. After the steps are done, you can continue to use F, but actually SAPLPD is not started. Instead, control technology used by G is started. Please note that once the correction of note 2028598 is applied or the corresponding support package is imported, SAPLPD is not called anymore and cannot be reactivated.

 

3. Do not apply note 2028598, but continue to use F with SAPLPD, although this is not supported. You need to install SAPGUI 740 patch 4 (It is not released yet) and then you can continue to use SAPLPD for frontend printing as before.

How-to guide to Training Systems

$
0
0

I have created many training systems during the last few tears and learned a lesson or two in the process, Having dedicated training environments means adding additional complexity to the landscape but is highly recommended, a good training landscape is an essential part of the SAP environment and provide a vital service.

 

What are the things to take into consideration for a good training system?

A good training system is stable, safe, up-to-date, clean and ready to go when needed. Let’s see how we can achieve that....


What do I use as source?

As a thumb rule if you are in a project you should preferably wait until the QAS system is ready for User Acceptance Testing, Why?... because at that point there should be enough master and transactional data to play with, but depending on the volume, time constrains and quality of the training this can be as early as integration testing. If your landscape is productive then again QAS is usually your best option as its usually smaller in size and still contains all the data that you might need.

 

How many clients should have?

A decent training system has two types of clients, a Training Development Client or "Golden Client" and a Course Delivery client. Clients should be closed for changes once the development is completed so the only modifications come as transport requests.

 

Golden Client

This is where the trainer will create and develop the exercises for a particular course; this client will be used to prepare the data, put together the material for the trainees and create the standard training users. No training will be delivered on the golden client.

 

Delivery Client

This is the client where the actual training will take place, the client will be used and refreshed periodically.

 

Data

You should clean-up the system and remove all unwanted users, undesired connections to other systems, background jobs, RFC's, etc, you want your training system to be isolated and/or working only with other training systems that you might need on your landscape.

 

Ideally data should be scrambled to protect confidentiality, especially when dealing with HCM training. You can use a product like TDMS to scramble the data.

 

How to keep it up-to-date?

To keep you training system up to date you should add it to the transport route, ideally you should have a delivery route parallel to production so once the transport reach the QAS system it will get added to the Training system buffer, then you should import into the training system on the same schedule as production.

 

 

 

How to refresh a used delivery client?

Simple, the Golden client can be used to refresh a delivery client either manually or automatically by using a periodic job. (This is easily achieved using SCCL)

 

What about the users?

Create a set of standard users with standard passwords in your Golden Client that way they'll reset every time the client is refreshed, I tend to create an INSTRUCTOR account and TRAINING01 to TRAINING20 user… the users should be created with enough authorization to run all the exercises required for training but nothing else. Simply you don’t want your users to be able to modify cross-client objects and wreck you Golden Client.


A few other thoughts,


Size

Training systems do not have to have the same specifications as the rest of your landscape, a small but well tuned (and this is very important) system will do, remember than most training sessions  will have less than 20 concurrent users.


Performance

You thought performance was not an issue, well... IT IS!  If you think about it most end users will be introduced to SAP using a training system, if the performance is bad they'll get frustrated very quickly, hence I highlighted the importance of a well tuned system.


Availability to End Users

Its a good practice to give the freshly trained users a window of time where they can use the delivery client for practicing what they learned. Believe me you don't want your users practicing on your live system!,  I think its a better idea to have multiple delivery clients and refresh them on a weekly basis.


Portability

Trainers tend to go to where the business is, it's like a small traveling circus. Special accommodations for remote locations need to be taken into consideration, this is probably a bit out of scope for Basis but you can help by making sure that your training team have a checklist of what to look for when working in unusual training environments.


Temporal Sandbox

Yes, you can use your training delivery clients as temporal sandboxes.


In my opinion this covers the basics you need to consider when building a training system.


Am I missing any info?, let me know, as always love to hear your comments...

Viewing all 185 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>