Profile Maintenance and Operation Mode

Embed Size (px)

Citation preview

  • 7/28/2019 Profile Maintenance and Operation Mode

    1/16

  • 7/28/2019 Profile Maintenance and Operation Mode

    2/16

    What is profile???

    SAP profiles are operating system files that contain instance

    configuration information. SAP systems can consist of one or more

    instances. Individual configuration parameters can be customized to

    the requirements of each instance.

    The profile file is structured as follows:Parametername1 = Value1

    Parametername2 = Value2

    Parameter names that logically belong together have a common

    root. For example, the parameters that control the dispatcher

    within an application server have the root: rdisp/. The SAP profiles are stored in a special file directory.

    UNIX systems:/usr/sap//SYS/profile

    Microsoft Windows NT

    systems:\\\sapmnt\\sys\profile\

  • 7/28/2019 Profile Maintenance and Operation Mode

    3/16

    START Profile:When you start an SAP instance on a host, the start profile defines

    which SAP services are started (message server, dialog, gateway or

    enqueue process. for example). The startsap program is responsiblefor starting these service processes, and it uses a start profile to

    begin the startup process.

    Apart from the general profile parameters, such as the name of the

    SAP System ( SAPSYSTEMNAME ), instance number ( SAPSYSTEM )and name of the SAP instance (INSTANCE_NAME ), the onlyparameter names that are permitted in a start profile are:

    Execute_XX (XX: 00-99)

    Start_program_XXX (XX: 00-99)

    Stop_Program_XX (XX: 00-99)

  • 7/28/2019 Profile Maintenance and Operation Mode

    4/16

    Default Profile:

    If you want to assign the same parameter value for all application

    servers (such as the name of the database host, or the host on which

    the message server is running), enter it in the default profile. Ingeneral, you can list any parameter you like here.

    SAP recommends that you use the following values:

    Parameter Definition Parameter Name in Profile

    Name of the database host SAPDBHOST

    Name of the update server rdisp/vbname

    Name of the enqueue server rdisp/enqname

    Name of the server for handling background processing

    eventsrdisp/btcname

    Name of the computer on which the message server is

    runningrdisp/msname

    Name of the TCP service under which the message servercan be reached

    rdisp/msserv

    Name of the computer on which the SNA Gateway is

    runningrdisp/sna_gateway

    Name of the TCP Service under which the SNA Gateway

    can be reachedrdisp/sna_gw_service

  • 7/28/2019 Profile Maintenance and Operation Mode

    5/16

    Instance Profile:

    Instance profiles provide an application server with additional

    configuration parameters that complement the settings in

    the default profile. Typically, these are parameter settings that areadapted to the instance according to the required resources and

    applications. They also define the available instance resources (main

    memory, shared memory, roll memory, and so on), and how to

    allocate memory to the SAP application buffers. You can choose any name for an instance profile. The SAP naming

    convention has the following

    structure:_ or __

    Eg: ECP_DVEBMGS12.

    ECP_DVEBMGS12_host01

  • 7/28/2019 Profile Maintenance and Operation Mode

    6/16

    Transaction code: RZ10

    Importing Profiles:

    When you first install an SAP System, upgrade to a new SAP release oradd a new application server, the system automatically generates orupdates SAP instance profile at operating system level. Unfortunately,the installation program cannot save these profiles directly to thedatabase. You must therefore import the SAP instance profiles before

    you can then edited them.

    Editing Profile:

    There are two modes for editing profiles:

    In basic mode, you can edit a set of parameters that are changedmost frequently. You do not need to know the technical parameter

    names. Interdependent parameters are grouped together. If youchange a parameter, any parameters that depend on it are adjustedautomatically. The basic maintenance option displays general data onthe profile and the parameters for the buffer sizes, number of workprocesses and the swap requirement.

    In extended mode, you can use a editing tool. You need to know thetechnical names of parameters and their dependencies. It displays all

    individual parameter values for the profile.

  • 7/28/2019 Profile Maintenance and Operation Mode

    7/16

    Creating New profiles:

    To create a new profile manually: Call the RZ10. Specify the name of the profile that you want to

    create and choose Create. The system creates the version numberautomatically. Enter a short description of the profile, the filename

    into which the profile should be activated, a reference server and

    the profile type. Then choose Copy. You can maintain parameters and

    their values by flagging either Basic or Extended maintenance and

    choosing Maintain.

    Changing Profile Parameters: Call Transaction RZ10. Specify the name of the profile whose

    parameters you want to change in the Profile field. If you want to

    change the name of the file in which the profile should be activated,

    checkAdministration data and choose Change. Once you have made

    the changes, choose Copy. If SAP System profiles are importedautomatically, the system creates administration data automatically.

    Maintain the most important profile parameters by checking Basic

    maintenance and choosing Change. Once you have made the

    changes, choose Copy. You can create, change or delete all

    parameters in a profile by choosing Extended maintenance. Once you

    have made the changes, choose Copy.

  • 7/28/2019 Profile Maintenance and Operation Mode

    8/16

    Important Profile Parameters:

    To check all the parameters name:tcode : sa38----> program name: rsparam---->Execute----> Execute.

    Parameter Description Defaultvalue

    sapsystemname System ID of 3 characters.

    sapdbhost Name of Database server.

    rdisp/mshost Message Server name.

    Rdisp/enqname Instance that provide Enqueue service.

    Rdisp/wp_no_dia Specifies no. of Dialog process. 2

    Rdisp/wp_no_spo Specifies no. of Spool process. 0Rspo/host_spool/

    print

    OS command for printing.

    Rdisp/wp_no_vb Specifies no. of Update process. 0

    Rdisp/wp_no_btc Specifies no. of Background process. 0

    Rdisp/wp_no_enq Specifies no. of Enqueue process. 0

    Abap/buffersize Size of ABAP program buffer. 300000

  • 7/28/2019 Profile Maintenance and Operation Mode

    9/16

    Rdisp/roll_maxfs Size of Roll area. Recommended/Default

    Rdisp/pg_maxfs Size of Paging area. 16000

    Ztta/roll_first Size of first allocated memory area

    from roll area.

    1

    Ztta/roll_area Size of roll area (in bytes) 2,000,000

    bytes for NT

    Abap/heap_area_tot

    al

    Maximum heap process of all Work

    Process.

    8236842496

    Login/fails_to_sessio

    n_end

    No. of permitted failed logon attempts

    before SAPGUI closed.

    3

    Login/fails_to_user_l

    ock

    No. of permitted failed logon attempts

    after which user will lock out.

    12

    Login/min_password

    /lng

    Minimum length of password required. 3

    Login/system_client Default logon client. 200

    Rslg/max_diskspace/local

    Max size of file for local system log. 1000000

  • 7/28/2019 Profile Maintenance and Operation Mode

    10/16

    You can define operation modes to suit specific system requirements, for

    example, to provide additional dialog or background processing resources

    during a particular period of time without having to restart the system. Operation modes define:

    The number of work processes used for each service in the instance

    The times that the services are available

    Operation modes support:

    24 hour uninterrupted system operation

    Automatic switching of work process types

    Switching Operation Modes

    When operation modes are switched, the work processes are redistributedautomatically 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.

    Processing is not interrupted. Normal system operation continues

    uninterrupted during the operation mode switch.

  • 7/28/2019 Profile Maintenance and Operation Mode

    11/16

    Switching Operation Modes Automatically (RZ04)

    Two ways:

    Normal Operation: The time interval defined for Op mode arerepeated in 24 hours.

    Exception operation: The time intervals defined for the operationmodes are activated once for a specified time period

    Switching Operation Modes Manually (RZ03)

    Call transaction RZ03. The system displays information about

    operation modes and server status.

    Choose Operation Mode. The system displays a list of defined

    operation modes. Choose the operation mode that you want to switch to. You return to

    the list of operation modes and servers.

  • 7/28/2019 Profile Maintenance and Operation Mode

    12/16

    Step 1: Call transaction rz04

    Step 2: Click on create

    Step 3: Fill Operation Mode as day and give short description and Save.

  • 7/28/2019 Profile Maintenance and Operation Mode

    13/16

    Step 4: Repeat Step 2 and Step 3 for Night Operation.

    Step 5: Click on instance/Operation Mode

    Step 6: Go to Settings based on current status Existing or New

    instance.

    Step7:Save

    Step 8:Double click on defined on Operation Mode and adjust

    Background Job and Save.

  • 7/28/2019 Profile Maintenance and Operation Mode

    14/16

    Step9: Go to Operation Mode Timetable and select Normal or

    Exception mode as per requirement and click on change.

  • 7/28/2019 Profile Maintenance and Operation Mode

    15/16

    Step10: Select time interval and assign the operation mode.

    Step 11:Select day and night operation Modes for particular time

    interval and Save.

  • 7/28/2019 Profile Maintenance and Operation Mode

    16/16