Skip to Content

Those of you who attend your doctor for regular checkups are possibly more likely to live better and longer. And what about your peace of mind, at least for a short period after the checkup, knowing that everything is in order? Those little niggles or aches and pains – it is good to know that they are not something horrible about to take you down. And if something is discovered, is it not better to know and do something about it?

Unlike going to the doctor, there is nothing to fear with the health checks in SOA Manager. They only check for things that are fixable.

Health Checks from SOAMANAGER

When your Web services landscape is up and running, it is easy to forget that there are a lot of underlying things that need to be just right.

Connecting two ABAP systems is not difficult when everything is set up correctly. But if your connection is not working, you can spend a lot of time looking in the wrong place for the problem. A successful connection depends on diverse settings in the systems and clients involved.This is where health checks come in. Some possible uses are:

  • A previously working connection has failed. Is the landscape healthy?
  • You are adding a system to the landscape. Is it set up correctly for connectivity?
  • You are configuring a new connection and something is wrong. Is it the landscape?
  • You have upgraded a system. Is there an extra setting perhaps that you do not know about?
  • Maybe you just want to check on a regular basis that everything is in order. For example, there may be very little traffic between two systems so you do not get advance warning that something is wrong before that critical call is made.

If the health checks are in order, you can focus your troubleshooting activities on other typical problems such as incompatible WSDLs, security values, and so on.

Some checks are client-specific and some are not. From a central system you can execute health checks in selected managed systems and clients.The checks are documented in the Options screen. For some errors, you have the option to get SOA Manager to do an automated repair for you.

Example

Do you know all the ICF root nodes that are relevant for Web services? Of the top of my head I don’t. So let us take an example where one of these nodes is deactivated.

I use transaction SICF to deactivate the service scs.

/wp-content/uploads/2013/08/sicf_261369.gif

Now I go to transaction SOAMANAGER and find the Tools tab where the Health Check function is found.

/wp-content/uploads/2013/08/hc_01_261370.gif

I click on Health Check and then the Options button.

/wp-content/uploads/2013/08/hc_02_261386.gif

I am only interested in the ICF nodes so I deselect the others.

/wp-content/uploads/2013/08/hc_03_261387.gif

 

I click OK and then the Run button.

/wp-content/uploads/2013/08/hc_04_261388.gif

 

For this demonstration I am only interested in the local system, so I select that and press OK.

/wp-content/uploads/2013/08/hc_05_261395.gif

I expand to see more details and find the Repair button.

/wp-content/uploads/2013/08/hc_06_261396.gif

I click the Repair button.

/wp-content/uploads/2013/08/hc_07_261397.gif

The repair has worked but the health check has not been rerun.

/wp-content/uploads/2013/08/hc_08_261408.gif

So I display the Health Check Run screen again.

/wp-content/uploads/2013/08/hc_09_261409.gif

I click the Rerun Repaired button.

/wp-content/uploads/2013/08/hc_10_261411.gif

Now everything is green.

/wp-content/uploads/2013/08/hc_11_261413.gif

And in transaction SICF I can see that the relevant node has been activated.

/wp-content/uploads/2013/08/sicf_2_261414.gif

Background Jobs

If you want to run health checks automatically and periodically, you can schedule a background job with the well-known transaction SM36. The program to use in this case is SRT_CFG_HEALTH_CHECK. The results can be displayed in SOAMANAGER as normal, but you also have the option for them to be sent in an email.

/wp-content/uploads/2013/08/srt_cfg_health_check_261419.gif

Conclusion

Health checks from SOA Manager, or as background jobs, could save you a lot of frustration when working with Web services.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Martin Steinberg

    Hi Martin,

    thank you very much for sharing that information. Although I use SOAMANAGER quite frequently I have not noticed that functionality up till now.

    Regards,

    Martin

    (0) 
    1. Martin Plummer Post author

      Hi Martin,

      there is still more to come in SOAMANAGER, so keep your eyes open.

      Anyway, I much appreciate your comment – I am not keen on writing “documentation”, so to know that you thought it useful pleases me.

      Best regards,
      Martin

      (0) 

Leave a Reply