Docstoc

Operational modes

Document Sample
Operational modes Powered By Docstoc
					     1) Go to sm50. If the no of dialog work processes or background work processes changes
        then a operation mode switch took place.

         2) Go to transaction sm63. Here you can see the time when the operation mode is set.
         You can guess when the operation mode switch occurs.

         3) Go to transaction RZ04, here you can see the list of operation modes and their
         time. You can guess that from here

         4) Go to transaction rz03, here you can see the current operation mode in which the
         server is running.

         5) Call transaction Code sm62. Then view system events. If there is an event called
         SAP_OPMODE_SWITCH then operation mode switch occurred at that time. If you click
         on activity log you can see the time and date when the event was triggered. It is time
         and date of operation mode switch



Defining Operation Modes
Use
You can define a new operation mode or change an existing operation mode.

Procedure
..




       1. Choose CCMS Configuration Operation Modes/Instances, or call transaction
       RZ04.
     The system displays a list of productive instances.

              If you have not yet defined any operation modes, the test operation mode DUMMY
              will be displayed. This operation mode is automatically configured so that system
              functions such as the Cont rol Panel and the scheduling of background jobs c an be
              used.
              If there is already a DUMMY operation mode, this is updated every time that the
              server is started, and is therefore adjusted to different system relationships.
              The operation mode DUMMY cannot be used for operation mode switching.
       2.   Creat e an operation mode (which can be automatically switched).
     To do this, choose Operation Mode  Create.
       3. E nter the data in the following fields:
       Operation Mode          Enter a name for the operation mode, such as DAY_OPERATION,
                               and a short description. You can enter any name for the operation
                               mode, but it is advisable to choose a name that is meaningful and
                               that makes the task of the operation mode clear.
       Short De scription      Enter a short description of the operation mode, such as “Day
                               operation with 6 dialog proc esses”.
       Monitoring              Enter the name of the monitoring properties variant in monitoring
       Properties Variant      architecture assigned the operation mode. When the operation
                               mode is started, the settings that the monitoring properties variant
                               contains are automatically activated in the alert monitor.
        4.   Savethe data by choosing Operation Mode  Save.
        5.   Repeat this procedure for all required operation modes.
   When you have defined and saved your operation modes, you can define the instances and
   servers.




Defining Normal Operation
Use
For normal operation, you must maintain the operation mode timetable.


Procedure

   1.    Choose CCMS  Configuration  Operation mode timetable. Alternatively, call
         Trans action SM63.
   2.    Choose Normal operation (24 hr), and Display.

         The system displays the timetable for the 24 hour cycle.

   3.    To assign other times to the operation mode, choose Normal operation (24 hr) and
         Change.
   4.    Double-click on the start time and end time that you require.
   5.    Choose Assign to assign these times to the operation mode.
   6.    Enter the name of the operation mode to be active for the time period that you defined.

         You can only select productive operation modes.

   7.    Save the changes.
   8.    Finally, save the table.


Defining Exception Operation
Procedure

   1.    Choose CCMS  Configuration  Operation mode timetable.

         Alternatively, call Transaction SM63.

   2.    Choose Exception operation, and Display.

         The system displays the timetable for the 24 hour cycle.

   3.    Go back and then choose Exception operation, and Change.
   4.    You can now change the dat e on which the operation mode is to be activated. Choose
         Day+1, Day-1, Specify a day accordingly.
   5.    Choose Assign to set the time at which the operation mode is to be activated.
        You do not need to define a full 24 hour cycle for exception operation. You must only
        define the period in which you want the operation mode to be active.

   6.   Save the changes


Switching Operation Modes
Use
When operation modes are switched, the work processes are redistributed automatically
without stopping and restarting the instances.
Only the work process types are changed. For example, a work process used as a dialog
process can be switched for use as a background process.
The new process type is not activated until the process is free. This means that a process
might not be switched immediately. Instead, a process is set to be switched when next
possible. For example, if all background processes to be switched to dialo g processes still
have jobs, the processes are switched one by one when the jobs are completed.
Processing is not interrupted. Normal system operation continues uninterrupted during
the operation mode switch.
Operation mode switches are recorded in the system log. The old process type and the
new process type are recorded for each work process that is switched.
Additional Information about Switching Operation Modes
System Startup
When a server is started, it first runs without an operation mode. The number of work
processes and their distribution is defined in the instance profile used to start the server.
The status of the operation mode is checked at regular time intervals and the operation
mode defined as active in the operation mode calendar is automatically activated. If no
operation mode is entered for the current time in the operation mode calendar, the system
does not activate any operation mode.

Timed Operation Mode Switch
The exact times for operation mode switches are defined in the operation mode calendar.
A timed operation mode switch is started by the job scheduler (SAPMSSY2). The
operation mode switch can therefore only be performed automatically if at least one job
scheduler is running in the system. This means that at least one background work process
and parameter rdisp/btctime > 0 must be available.
The switch is always done for all servers defined in the operation mode.
If more than one job scheduler is running, only one job scheduler can activate an
operation mode switch.
Switching the Operation Mode Manually
Use
You can switch an operation manually at any time.

However, you must always ensure that a manual operation mode switch does not
interrupt system operation, for example because there are too few dialog processes
available.


         Before you switch the operation mode manually in the system, you can perform a
         simulation of the switch

Procedure
   1.     1. Choose CCMS  Cont rol/ Monitoring  Control Panel, or call transaction RZ03.
        The system displays information about operation modes and server status.
        2. Choose Operation Mode. The system displays a list of defined operation modes.
        3. Choose the operation mode that you want to switch to. You return to the list of
        operation modes and servers.
         4. To switch the operation mode for all servers, choose Control  S witch operation
        mode  All servers. The servers remain in the manually activated operation mode until
        the next switch time.