From time to time it is necessary to update the kernel. But what about finding a maintenance schedule to stop and start the system with the new kernel? Tricky… That’s why I became addicted to RKS. This article tells about my experience using it.

Getting started!

The first time I read about RKS I thought it was a complicated thing. I couldn’t be right. Then I found the correct steps: the SAP Help page brings all the information to setup the use of the Rolling Kernel Switch.


It is very important to consider the recommendations for using RKS, even more in a system with a lot of application servers, logon groups, batch processing and spool settings.

My experience

After following the recommendations, the adoption of RKS was smooth.

Now it is only a matter of download a new kernel patch level, put in the central executable directory, and use SAPMMC interface:

Prerequisites:


RKS 001.jpg

Good to go:

RKS 002.jpg

Executing:


RKS 003.jpg

Timeout settings:

RKS 004.jpg

Checking:

RKS 005.jpg

Success:

RKS 006.jpg

Additional reading:

953653 – Rolling Kernel Switch

1104735 – Upgrade to the new Instance-Specific Directory on UNIX

2077934 – Rolling kernel switch in HA environments

IMPORTANT: CST Wiki!!!

To report this post you need to login first.

8 Comments

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

  1. Matt Fraser

    Hi Cristiano,

    Unfortunately for me, my environment isn’t large enough to justify having lots of application servers and a dedicated ASCS instance, so RKS has not yet been a real option for me. However, I remain curious, how does the ASCS instance get updated without impacting the rest of the system? I admit I don’t quite understand how the system functions without the Enqueue process available, and that now resides in the ASCS instance.

    Cheers,

    Matt

    (0) 
  2. Anand Tripathi

    Hello Cristiano,

    I did all the manual checks before starting the RKS and I think we have all the things in place but when going for the automated pre-requisite check it is ending up with a very generic error stating “FAIL: Unsupported instance type with ABAP and Enqueue found”.

    Does this check create any log/trace file to have some additional information about the failure, I ran out of all the options which can give me some hint on what is missing.

    Thanks.

    Kind Regards

    Anand

    (0) 
    1. Cristiano Hansen Post author

      Hi Anand,

      Do you have the enqueue instance separated from the ABAP instance? One of the prerequisites for RKS is a separated ASCS instance.

      Kind regards,

      Cris

      (0) 
      1. Anand Tripathi

        Hello Cris,

        Yes, I have a separate ASCS instance in the system which is up and running.

        I used this below mentioned checklist to perform my manual check:

        http://help.sap.com/saphelp_tm91/helpdata/en/b6/57a948e80849b2a66896a252a82f88/frameset.htm

        Based on that I am sure we have everything  in place but then also automatic check is failing. I was wondering if there is a log/trace which is written during this check process which I can use to identify the issue I have in system. I am aware that RKS creates a log when it performs the restart but not able to get anything at the time of check.

        Kind Regards

        Anand

        (0) 
        1. Isaias Freitas

          Hello Anand,

          Do you see any error if you access the transaction SM12, menu Extras -> Diagnosis?

          Is the parameter “rdisp/wp_no_enq” set at any profile?

          Kind regards,

          Isaías

          (0) 
          1. Anand Tripathi

            Hello Isaias,

            System is working fine and there seems to be no issue on that side.

            SM12 diagnosis is  also fine, although parameter mentioned by you exist but value is set to 0 as enqueue service are running on ASCS. I tried commenting out/removing  that line as well but with no change in error.

            Is there any place where it writes any log/trace for this check activity?

            Thanks.

            Kind Regards

            Anand

            (0) 
            1. Isaias Freitas

              Hello Anand,

              Having the parameter “rdisp/wp_no_enq” set to zero or not set at all has the same effect, and since the ASCS exists in your system this is the correct setting (“rdisp/wp_no_enq” not set).

              I do not recall any trace file that would be written during RKS.

              Maybe opening an SCN discussion providing a screenshot from the error you see is the best way forward 🙂 .

              Kind regards,

              Isaías

              (0) 

Leave a Reply