GRID environment.

Hi,
Using ALV LIST Function Modules, I can write directly at th TOP_OF_PAGE event, using a "write" statement, in addition to o instead of using the funtion: 'REUSE_ALV_COMMENTARY_WRITE'. placed to "write" statement inside the TOP_OF_PAGE subroutine. I used the "write" statement because it allows me to prin longer lines at TOP_OF_PAGE than I can have wit 'REUSE_ALV_COMMENTARY_WRITE'
This approach does not seem to work using GRID function modul 'REUSE_ALV_GRID_DISPLAY' with 'REUSE_ALV_COMMENTARY_WRITE'
Does anyone know how I can can print long lines (130 characters in the header area of an ALV report created with GRI functions.
Here is the function:
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = G_REPID
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
i_structure_name =
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS = GT_SP_GROUP[]
IT_SORT = GT_SORT[]
it_filter =
IS_SEL_HIDE =
I_DEFAULT = G_DEFAULT
I_SAVE = G_SAVE
IS_VARIANT = G_VARIANT
IT_EVENTS = GT_EVENTS[]
IT_EVENT_EXIT =
IS_PRINT = GS_PRINT
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
TABLES
T_OUTTAB = I_EXTRACT.
Here is the function:
form top_of_page.
write:/ 'Top of page ', 70 'Page'.
call function 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = gt_list_top_of_page.
ENDFORM. "top_of_page
This prints the line with the write statement, followed b whatever is in the table gt_list_top_of_page.
I want to be able to do the same thing under a GRID environment.
Thanks,

hi
check the following program
Sample programs on ALV Grid
report zbnstest.
TABLES AND DATA DECLARATION.
*TABLES: mara,makt.",marc.
data syrepid like sy-repid.
data sydatum(10). " LIKE sy-datum.
data sypagno(3) type n.
WHEN USING MORE THAN ONE TABLE IN ALV WE NEEED TO DECLARE THE TYPE
GROUP (TYPE-POOLS--------->SLIS)
type-pools : slis.
INTERNAL TABLE DECLARATION.
INTERNAL TABLE TO HOLD THE VALUES FROM THE MARA TABLE
data: begin of t_mara occurs 0,
matnr like mara-matnr,
meins like mara-meins,
mtart like mara-mtart,
matkl like mara-matkl,
end of t_mara.
INTERNAL TABLE TO HOLD THE CONTENTS FROM THE EKKO TABLE
data : begin of t_marc occurs 0,
matnr like mara-matnr,
werks like marc-werks,
minbe like marc-minbe.
data: end of t_marc.
INTERNAL TABLE TO HOLD THE VALUES FROM MAKT TABLE.
data : begin of t_makt occurs 0,
matnr like mara-matnr,
maktx like makt-maktx,
spras like makt-spras,
end of t_makt.
INTERNAL TABLE WHICH ACTUALLY MERGES ALL THE OTHER INTERNAL TABLES.
data: begin of itab1 occurs 0,
matnr like mara-matnr,
meins like mara-meins,
maktx like makt-maktx,
spras like makt-spras,
werks like marc-werks,
minbe like marc-minbe,
end of itab1.
THE FOLLOWING DECLARATION IS USED FOR DEFINING THE FIELDCAT
AND THE LAYOUT FOR THE ALV.
HERE AS slis_t_fieldcat_alv IS A INTERNAL TABLE WITHOUT A HEADER LINE
WE EXPLICITELY DEFINE AN INTERNAL TABLE OF THE SAME STRUCTURE AS THAT
OF slis_t_fieldcat_alv BUT WITH A HEADER LINE IN THE DEFINITION.
THIS IS DONE TO MAKE THE CODE SIMPLER.
OTHERWISE WE MAY HAVE TO DEFINE THE STRUCTURE AS IN THE NORMAL SAP
PROGRAMS.
IN THE FIELDCATALOG TABLE WE ACTUALLY PASS THE FIELDS FROM ONE OR
MORE TABLES AND CREATE A STRUCTURE
IN THE LAYOUT STRUCTURE WE BASICALLY DEFINE THE FORMATTING OPTIONS
LIKE DISPLAY IN THE ZEBRA PATTERN ,THE HOTSPOT OPTIONS ETC.
data: fieldcatalog type slis_t_fieldcat_alv with header line,
fieldlayout type slis_layout_alv.
DECLARING THE EVENTTABLE INTERNL TABLE FOR USING EVENTS LIKE
TOP-OF-PAGE ETC.
data : eventstab type slis_t_event with header line.
DECLARING AN INTERNAL TABLE TO HOLD THE DATA FOR THE TOP-OF-PAGE
data : heading type slis_t_listheader with header line.
data : heading1 type slis_t_listheader with header line.
data : heading2 type slis_t_listheader with header line.
data : heading3 type slis_t_listheader with header line.
data : heading4 type slis_t_listheader with header line.
data : heading5 type slis_t_listheader with header line.
data : heading6 type slis_t_listheader with header line.
data : heading7 type slis_t_listheader with header line.
data : heading8 type slis_t_listheader with header line.
STRUCTURE TO PASS THE COLOR ATTRIBUTES FOR DISPLAY.
data : colorstruct type slis_coltypes.
INITIALIZATION. *
initialization.
syrepid = sy-repid.
sypagno = sy-pagno.
clear fieldcatalog.
START-OF-SELECTION. *
start-of-selection.
SUBROUTINE TO POPULATE THE COLORSTRUCT
perform fill_colorstruct using colorstruct.
SUBROUTINE TO POPULATE THE FIELDS OF THE FIELD CATALOGUE
perform populate_fieldcatalog.
SUBROUTINE TO SELECT DATA FROM VARIOUS TABLES AND POPULATE IT IN THE
INTERNAL TABLE.
perform selectdata_and_sort.
SUBROUTINE TO POPULATE THE LAYOUT STRUCTURE.
perform populate_layout using fieldlayout.
SUBROUTINE TO CALL THE FUNCTION MERGE TO ENSURE PROPER DISPLAY.
perform merge_fieldcatalog.
SUBROUTINE TO POPULATE THE EVENTSTAB.
perform fill_eventstab tables eventstab.
SUBROUTINE TO POPULATE THE HEADING TABLES.
perform fill_headingtable tables heading using 'HEADING'.
perform fill_headingtable tables heading1 using 'HEADING1'.
perform fill_headingtable tables heading2 using 'HEADING2'.
perform fill_headingtable tables heading3 using 'HEADING3'.
perform fill_headingtable tables heading4 using 'HEADING4'.
perform fill_headingtable tables heading5 using 'HEADING5'.
perform fill_headingtable tables heading6 using 'HEADING6'.
perform fill_headingtable tables heading7 using 'HEADING7'.
perform fill_headingtable tables heading8 using 'HEADING8'.
SUBROUTINE TO DISPLAY THE LIST.
perform display_alv_list.
FORMS
IN THIS SUBROUTINE WE POPULATE THE FIELDCATALOG TABLE WITH THE NAMES
OF THE TABLE,FIELDNAME,WHETHER IT IS KEY FIELD OR NOT,HEADING AND
COLUMN JUSTIFICATION.
form populate_fieldcatalog.
perform fill_fields_of_fieldcatalog tables fieldcatalog
using 'ITAB1' 'MATNR' 'X' .
perform fill_fields_of_fieldcatalog tables fieldcatalog
using 'ITAB1' 'MEINS' ' '.
perform fill_fields_of_fieldcatalog tables fieldcatalog
using 'ITAB1' 'MAKTX' ' ' .
perform fill_fields_of_fieldcatalog tables fieldcatalog
using 'ITAB1' 'MTART' ' ' .
perform fill_fields_of_fieldcatalog tables fieldcatalog
using 'ITAB1' 'MATKL' ' ' .
perform fill_fields_of_fieldcatalog tables fieldcatalog
using 'ITAB1' 'SPRAS' ' ' .
perform fill_fields_of_fieldcatalog tables fieldcatalog
using 'ITAB1' 'WERKS' ' ' .
perform fill_fields_of_fieldcatalog tables fieldcatalog
using 'ITAB1' 'MINBE' ' ' .
endform. " POPULATE_FIELDCATALOG
FORM FILL_FIELDS_OF_FIELDCATALOG *
--> FIELDCATALOG *
--> P_TABNAME *
--> P_FIELDNAME *
--> P_KEY *
--> P_KEY *
form fill_fields_of_fieldcatalog tables fieldcatalog
structure fieldcatalog
using p_tabname
p_fieldname
p_key.
p_no_out.
fieldcatalog-tabname = p_tabname.
fieldcatalog-fieldname = p_fieldname.
fieldcatalog-key = p_key.
fieldcatalog-emphasize = '1234'.
*fieldcatalog-no_out = p_no_out.
append fieldcatalog.
endform. " FILL_FIELDSOFFIELDCATALOG
FORM POPULATE_LAYOUT *
--> FIELDLAYOUT *
form populate_layout using fieldlayout type slis_layout_alv.
fieldlayout-f2code = '&ETA' .
fieldlayout-zebra = 'X'.
FOR THE WINDOW TITLE.
fieldlayout-window_titlebar = 'ALV with Events'.
fieldlayout-colwidth_optimize = 'X'.
fieldlayout-no_vline = ' '.
*fieldlayout-no_input = 'X'.
fieldlayout-confirmation_prompt = ''.
fieldlayout-key_hotspot = 'X'.
This removes the column headings if the flag is set to 'X'
fieldlayout-no_colhead = ' '.
*fieldlayout-hotspot_fieldname = 'MAKTX'.
fieldlayout-detail_popup = 'X'.
fieldlayout-coltab_fieldname = 'X'.
endform. " POPULATE_LAYOUT
FORM SELECTDATA_AND_SORT *
form selectdata_and_sort.
select matnr meins mtart matkl from mara
into corresponding fields of t_mara
up to 500 rows .
select matnr maktx spras from makt
into corresponding fields of t_makt
where matnr = t_mara-matnr and
spras = sy-langu.
select matnr werks minbe from marc
into corresponding fields of t_marc
where matnr = t_mara-matnr.
append t_marc.
endselect.
append t_makt.
endselect.
append t_mara.
endselect.
perform populate_itab1.
sort itab1 by matnr.
endform. " SELECTDATA_AND_SORT
FORM MERGE_FIELDCATALOG *
form merge_fieldcatalog.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = syrepid
i_internal_tabname = 'ITAB1'
i_structure_name = 'COLORSTRUCT'
I_CLIENT_NEVER_DISPLAY = 'X'
i_inclname = syrepid
changing
ct_fieldcat = fieldcatalog[]
exceptions
inconsistent_interface = 1
program_error = 2
others = 3.
endform. " MERGE_FIELDCATALOG
IN THIS FUNCTION THE MINIMUM PARAMETERS THAT WE NEED TO PASS IS AS
FOLLOWS:-
i_callback_program --> CALLING PROGRAM NAME
i_structure_name --> STRUCTURE NAME.
is_layout --> LAYOUT NAME.
it_fieldcat ---> BODY OF THE FIELD CATALOGUE INTERNAL TABLE
form display_alv_list.
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
I_INTERFACE_CHECK = ' '
i_callback_program = syrepid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
i_structure_name = 'ITAB1'
is_layout = fieldlayout
it_fieldcat = fieldcatalog[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
THE FOLLOWING PARAMETER IS SET AS 'A' INORDER TO DISPLAY THE STANDARD
TOOL BAR
i_save = 'A'
IS_VARIANT = ' '
it_events = eventstab[]
IT_EVENT_EXIT =
IS_PRINT =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = itab1
exceptions
program_error = 1
others = 2.
endform. " DISPLAY_ALV_LIST
*& Form POPULATE_ITAB1
text
--> p1 text
<-- p2 text
form populate_itab1.
loop at t_mara.
loop at t_makt where matnr = t_mara-matnr.
loop at t_marc where matnr = t_mara-matnr.
move-corresponding t_mara to itab1.
move-corresponding t_makt to itab1.
move-corresponding t_marc to itab1.
append itab1.
endloop.
endloop.
endloop.
endform. " POPULATE_ITAB1
*& Form FILL_EVENTSTAB
text
-->P_EVENTSTAB text *
form fill_eventstab tables p_eventstab structure eventstab.
WHEN THE FOLLOWING FUNCTION IS CALLED THE SYSTEM POPULATES THE
INTERNAL TABLE EVENTSTAB WITH A LIST OF EVENTS NAME.
AS SHOWN BELOW WHEN USING I_LIST_TYPE = 0 THE FUNCTION RETURNS 14
EVENTS NAME.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_eventstab[]
exceptions
list_type_wrong = 1
others = 2.
BY CALLING THE ABOVE FUNCTION WE FIRST POPULATE THE EVENTSTAB WITH
THE PREDEFINED EVENTS AND THEN WE MOVE THE FORM NAME AS SHOWN BELOW.
WE ASSIGN A FORM NAME TO THE EVENT AS REQUIRED BY THE USER.
FORM NAME CAN BE ANYTHING.THE PERFORM STATEMENT FOR THIS FORM
IS DYNAMICALY CALLED.
read table p_eventstab with key name = slis_ev_top_of_page.
if sy-subrc = 0 .
move 'TOP_OF_PAGE' to p_eventstab-form.
append p_eventstab.
endif.
read table p_eventstab with key name = slis_ev_top_of_coverpage.
if sy-subrc = 0 .
move 'TOP_OF_COVERPAGE' to p_eventstab-form.
append p_eventstab.
endif.
read table p_eventstab with key name = slis_ev_end_of_coverpage .
if sy-subrc = 0 .
move 'END_OF_COVERPAGE' to p_eventstab-form.
append p_eventstab.
endif.
read table p_eventstab with key name = slis_ev_foreign_top_of_page.
if sy-subrc = 0 .
move 'FOREIGN_TOP_OF_PAGE' to p_eventstab-form.
append p_eventstab.
endif.
read table p_eventstab with key name = slis_ev_foreign_end_of_page.
if sy-subrc = 0 .
move 'FOREIGN_END_OF_PAGE' to p_eventstab-form.
append p_eventstab.
endif.
read table p_eventstab with key name = slis_ev_list_modify.
if sy-subrc = 0 .
move 'LIST_MODIFY' to p_eventstab-form.
append p_eventstab.
endif.
read table p_eventstab with key name = slis_ev_top_of_list.
if sy-subrc = 0 .
move 'TOP_OF_LIST' to p_eventstab-form.
append p_eventstab.
endif.
read table p_eventstab with key name = slis_ev_end_of_page.
if sy-subrc = 0 .
move 'END_OF_PAGE' to p_eventstab-form.
append p_eventstab.
endif.
read table p_eventstab with key name = slis_ev_end_of_list .
if sy-subrc = 0 .
move 'END_OF_LIST' to p_eventstab-form.
append p_eventstab.
endif.
endform. " FILL_EVENTSTAB
*& Form FILL_HEADINGTABLE
text
-->P_HEADING text *
form fill_headingtable tables p_heading structure heading
using tablename.
case tablename.
when 'HEADING'.
p_heading-typ = 'H'.
concatenate
' REPORT NAME:-' syrepid
' ABB Industry Pte Ltd' into p_heading-info.
append p_heading.
write sy-datum using edit mask '__/__/____' to sydatum.
concatenate
' DATE:-' sydatum ' USER: ' sy-uname 'PAGE NO:' sypagno
into p_heading-info.
append p_heading.
when 'HEADING1'.
p_heading-typ = 'H'.
p_heading-info = 'TOP-OF-COVER-PAGE'.
append p_heading.
when 'HEADING2'.
p_heading-typ = 'H'.
p_heading-info = 'END-OF-COVER-PAGE'.
append p_heading.
when 'HEADING3'.
p_heading-typ = 'H'.
p_heading-info = 'FOREIGN-TOP-OF-PAGE'.
append p_heading.
when 'HEADING4'.
p_heading-typ = 'H'.
p_heading-info = 'FOREIGN-END-OF-PAGE'.
append p_heading.
WHEN 'HEADING5'.
P_HEADING-TYP = 'H'.
P_HEADING-INFO = 'LIST-MODIFY'.
APPEND P_HEADING.
when 'HEADING6'.
p_heading-typ = 'H'.
p_heading-info = 'END-OF-PAGE'.
append p_heading.
when 'HEADING7'.
p_heading-typ = 'H'.
p_heading-info = 'END-OF-LIST'.
append p_heading.
when 'HEADING8'.
p_heading-typ = 'H'.
p_heading-info = 'TOP-OF-LIST'.
append p_heading.
endcase.
endform. " FILL_HEADINGTABLE
FORM TOP_OF_PAGE *
form top_of_page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = heading[]
exceptions
others = 1.
endform.
*& Form FILL_COLORSTRUCT
text
-->P_COLORSTRUCT text *
form fill_colorstruct using p_colorstruct type slis_coltypes .
p_colorstruct-heacolfir-col = 6.
p_colorstruct-heacolfir-int = 1.
p_colorstruct-heacolfir-inv = 1.
endform. " FILL_COLORSTRUCT
FORM TOP_OF_COVERPAGE *
form top_of_coverpage.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = heading1[]
exceptions
others = 1.
endform.
FORM END_OF_COVERPAGE *
form end_of_coverpage.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = heading2[]
exceptions
others = 1.
endform.
FORM FOREIGN_TOP_OF_PAGE *
form foreign_top_of_page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = heading3[]
exceptions
others = 1.
endform.
FORM FOREIGN_END_OF_PAGE *
form foreign_end_of_page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = heading4[]
exceptions
others = 1.
endform.
FORM LIST_MODIFY *
*FORM LIST_MODIFY.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = HEADING5[]
EXCEPTIONS
OTHERS = 1.
*ENDFORM.
FORM END_OF_PAGE *
form end_of_page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = heading6[]
exceptions
others = 1.
endform.
FORM END_OF_LIST *
form end_of_list.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = heading7[]
exceptions
others = 1.
endform.
FORM TOP_OF_LIST *
form top_of_list.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = heading8[]
exceptions
others = 1.
endform.
*--- End of Program
Do you have a ABAP Question?
hope it will help you
regards
sreelatha gullapalli

Similar Messages

  • Deploying 11i in a grid environment

    Hi,
    I'm curious about the challenges a DBA faces when deploying 11i in a grid environment.
    Once I get a proper mental handle on what the challenges are, I'd obviously like to find some solutions.
    So, assume I have 10 hosts running Linux and that I have the latest version of 11i and 10g.
    Lets assume I decide on this physical deployment:
    DB Tier:
    3 linux nodes running 10g RAC
    Apps Tier:
    7 linux nodes running 11i
    Question 0:
    How sensitive is 11i (11.5.9) to the version of the underlying database?
    Will it run fine on 8i, 9i, 10g?
    Question 1:
    During 11i installation, when I run rapidwiz,
    is it possible to point rapidwiz at a database service rather than a specific Oracle instance?
    q2: (a generalization of q1)
    Is rapidwiz RAC aware?
    q3:
    Ignoring the answers to q1,2, is it possible to configure 11i so that it is unaffected by a crash of any instance in the 10g RAC?
    q4:
    What is the best way to install the 11i software on the 7 Linux nodes?
    Should I run rapidwiz 7 times such that I have 7 copies of the 11i software on the local disk drives of the 7 Linux nodes? If I do this, will the 11i software on node2 be identical to the 11i software on say node7?
    If there is a difference, what is it and how complicated is it?
    q5: (a variation of q4)
    Suppose I don't want to run rapidwiz 7 times;
    could I run rapidwiz once on a central file server and then serve (using NFS maybe) the 11i software to the 7 Linux nodes? If I do this, do I need to worry that the deployed software will function only on its orginal node? If it does function only on the original node, would it be possible to use soft links, environment variables, and properly edited configuration files to properly serve the 11i software to the 7 Linux nodes so that it functions on the 7 Linux nodes?
    q6:
    Assume I can figure out how to properly serve 11i software to the 7 nodes using NFS; what is the best way to protect the application from crash of the file server?
    q7:
    Lets assume that I have figured out an elegant way to deploy the 11i software and I have it properly configured to function with 10g RAC, what is the best way to deploy services across the 7 nodes?
    Should I maybe put the Forms server on nodes1,2,3 and the SelfService server on nodes4,5,6 and the CM on node 7?
    Or, should I put all the services on all 7 nodes so that each node is identical?
    q8:
    Assume I have a good solution to q7, how do I protect the application from a crash of one of the 7 nodes? For example, if a user is interacting with some business object (entering an order for example), and this user's session is connected to node5 and node5 then crashes, is it possible for 11i to be configured so that this user session would be seamlessly failed over to another node?
    Sorry about posting so many questions; I've not found any obvious answers in the documentation.
    -moi

    answers for
    q0:
    11.5.9 comes with DB Oracle server of 9i I guess..
    q1:
    no I guess.. Rapidwiz is shipped with one Oracle database dump.. 2 I should say, prod and vis.. U have to use any of these databases.. so, goes for Oracle home that comes with rapidwiz.. actually, rapidwiz dumps Oracle software into Ur server and then copies datafiles and the creates controlfile as per Ur db name specifications..
    q2:
    As I told U erlier, rapidwiz dumps the Oracle home and datafiles into Ur server.. no concept of installing Oracle server or creating database.. so, U will have to make changes after installation to convert Ur single database into multiple node database..
    q3:
    U can use clustered computers sothat failover can happen at anypoint of time irrespective of software version.. this is at hardware level.. Veritas cluster is one example..
    U can migrate Ur database to Oracle 10g and then recreate controlfile to work as RAC...
    q4:
    I dont think 7 node configuration is possible.. maximum could be 5 node configuration.. db, forms, reports, web and admin server.. and U will have to choose one of these servers for each node and depending on the node configuration, files will be different on each node.. for eg., database node will have just database, forms node will have appl top for all the products with $PROD_TOP/forms directory structure..
    q5:
    nope, it's mot possible.. copying from one to another node.. each node has configuration file and depending on the kind of server the node is configured for, the entries in configuration file vary..
    q6:
    Clustered computer is the only way to protect middle tire servers from crash.. that is at hardware level..
    q8:
    again, hardware level lustering can protect U..
    one important thing to be noted here... apps installation if fulla bugs.. a simple single node installaion itself gives scores of problems.. the kinda set up U R dreaming will need lot of effort.. I expect 100s of bugs here :d

  • 11.2.0.3 grid installation fails while selecting OCFS2 for ocr files

    We are installing 11GR2 (11.2.0.3) cluster on a 64 bit system. we have OCFS2 filesystem for shared devices. version 1.6.3.
    While selecting ocr file locations , we get the following error
    [INS-41321] Invalid oracle cluster register [OCR] Location
    Cause- The installer detects that the storage type of location is not supported for Oracle Cluster registery
    Action - Provide a supported storage location for the Oracle Cluster Registry
    Additional information
    /crp2db01/OCR/ocr_1 is not shared
    However , this mountpoint is shared across both the nodes.
    Note: 11201 grid installation was successful and it accepted the above locations for OCR. however ,we need 11.2.0.3 cluster for 11.2.0.3 database

    As for your current problem, just because Oracle "allows" OCFS2 in a GRID environment, I would never suggest nor implement that. It adds a layer of complexity that is totally unnecessary when a GRID/ASM implementation performs circles around OCFS2. ASM is much easier to manage, maintain, expand and shrink than OCFS2. Especially at version 11.2.0.3. When working at a large telco a few years ago, we had a 300TB+ ASM environment. OCFS2 could not even begin to be that big. ASM will provide you a MUCH more stable environment than OCFS2. And with ASM there is a lot of "magic" that happens with OCR/Voting that makes your life MUCH easier. If you "require" shared application files, then use ASM/ACFS. It is a much better "volume manager" than OCFS2.
    Since you must present devices to the system for OCFS2, you should not have any problems doing the same for ASM. (and don't use ASMLib as it is going away and is not necessary - just make sure you use a partition that skips the first 1M (usually cylinder 1) and you should be good to go!)
    I also would not use a "shared ORACLE_HOME" on either ACFS or OCFS2. The biggest reason is that you lose the ability to do a "rolling" upgrade and when you have a VLC, that becomes much more important that saving a few GB worth of storage.
    I would also pay attention to this:
    http://docs.oracle.com/cd/E11882_01/install.112/e22489/storage.htm#CDEDAHGB
    3.1.4.2 General Storage Considerations for Oracle RAC
    Use the following guidelines when choosing the storage options to use for each file type:
    You can choose any combination of the supported storage options for each file type provided that you satisfy all requirements listed for the chosen storage options.
    If you plan to install an Oracle RAC home on a shared OCFS2 location, then you must upgrade OCFS2 to at least version 1.4.1, which supports shared writable mmaps.
    Oracle recommends that you choose Oracle ASM as the storage option for database and recovery files.
    For Standard Edition Oracle RAC installations, Oracle ASM is the only supported storage option for database or recovery files.

  • How to query data from grid cache group after created global AWT group

    It is me again.
    as I mentioned in my previous posts, I am in progress of setup IMDB grid environment, and now I am at stage of creating cache group. and I created global AWT cache group on one node(cachealone2), but I can not query this global cache group from another node(cachealone1)
    thanks Chirs and J, I have done successfully setup IMDB grid env, and have two node in this grid as below
    Command> call ttGridNodeStatus;
    < MYGRID, 1, 1, T, igs_imdb02, MYGRID_cachealone1_1, 10.214.10.176, 5001, <NULL>, <NULL>, <NULL>, <NULL>, <NULL> >
    < MYGRID, 2, 1, T, igsimdb01, MYGRID_cachealone2_2, 10.214.10.119, 5002, <NULL>, <NULL>, <NULL>, <NULL>, <NULL> >
    2 rows found.
    and I create group ATW cache group on cachealone2
    Command> cachegroups;
    Cache Group CACHEUSER.SUBSCRIBER_ACCOUNTS:
    Cache Group Type: Asynchronous Writethrough global (Dynamic)
    Autorefresh: No
    Aging: LRU on
    Root Table: ORATT.SUBSCRIBER
    Table Type: Propagate
    1 cache group found.
    Command> SELECT * FROM oratt.subscriber;
    0 rows found.
    however I can not query this from another node cachealone1
    Command> SELECT * FROM oratt.subscriber WHERE subscriberid = 1004;
    2206: Table ORATT.SUBSCRIBER not found
    The command failed.
    Command> SELECT * FROM oratt.subscriber WHERE subscriberid = 1004;
    2206: Table ORATT.SUBSCRIBER not found
    The command failed.
    Command> SELECT * FROM oratt.subscriber;
    2206: Table ORATT.SUBSCRIBER not found
    this is example from Oracle docs, I an not sure where I missed for this. thanks for your help.

    Sounds like you have not created the Global AWT cache groupo in the second datastore? There is a multi-step process needed to roll out a cache grid and various things must be done on each node in the correct order. have you done that?
    Try checking out the QuickStart example here:
    http://download.oracle.com/otn_hosted_doc/timesten/1121/quickstart/index.html
    Chris

  • Please help on grid computing

    hi aslamo alaikum
    every body
    i am a sudent of computer science and receive a project to implement
    grid computing environment on two servers
    please can you tell me what steps i take to implement this
    what software i need and how can i configure a grid computing environment
    this should be very help full for me
    thanks in advance
    allah hafiz

    hi Chris Antognini
    aslam o alaikum
    thanks for your intrest to guide me
    sir baesically my problum is that i am a student of computer science
    and now i receive a project to implement or configure grid computing environment or whatever you say it beasically i have no prior knowledge of grid computing or which oracle products are used to form it i already work in 9i database and developer 6i
    now i want to configure grid environment on two p4 computers and then run an application in 6i developer as frontend
    beasically the two computers are my oracle server on only one database run and i want to joint these two computers with netwoek by network cards
    i think you understant my problum
    i want to know that what steps i need to create or implement the grid tirm
    remember only one database run on two computers and they serve all incomming treffic jointly
    thanks and regards
    allah hafiz

  • Grid Control Monitoring Solutions

    What are the Good solutions of Grid control/Plug Inns for monitoring solutions of DB?

    Grid control is the best way to monitor your
    grid computing infrastructure.
    You can monitor OS level statistics, application level , and database in a RAC or grid environment or standalone. You can do end to end moitoring and easily view how much time is spent in the database, applicaiton server amd set events and threshholds for applicaiton server database and even network latencies.
    Grid control is the way forward for cluster computing environments as well

  • Is it possible to set GRID Computing

    This Question is not relevant to this forum but i want to get some information on GRID
    We have more that 20 standalone server in our office.
    Is it possible to deploy GRID computing on this environment
    Please share your thoughts
    ANy ideas....
    Message was edited by:
    Maran Viswarayar

    Grid computing is a style of dynamic or semi-dynamic CPU and application resource management.
    Applications generally have to be written to conform to the Grid environment to be able to utilize it properly.
    Oracle provides Grid-capable resources: the Grid-capable database is called 'Real Application Cluster' and the Grid-capable middle tier is called the 'Oracle Application Server' operating in a cluster mode.
    Oracle also has somthing called the Oracle 'Grid Control'
    The Grid Control is somewhat inappropriately named as it is neither a Grid, nor is it a Control - instead it is a monitoring tool that is designed to monitor Oracle's primary technologies (databases, app servers) as well as the servers and related disks. (In the case of the database, it can also do the admin, but for app servers, etc, it simply calls the appriopriate admin tool.)
    SO ... you could deploy Grid Computing on your 20 standdalone servers, but it does require some thought. You could get some more information about ORacle's solution at http://www.oracle.com/technology/tech/grid/index.html
    ... and you could easily deploy Oracle's Grid Control to monitor, and help manage, you existing 20 servers. For that go to http://otn.oracle.com and look for "Enterprise Manager"

  • Grid Enable Existing IT Infrastructure

    Hi,
    I am a research student of grid technology,
    I have read several statements made by many grid vendors, some of them said that one don't need to grid enable the existing application, some say that you must need to...although if new application are being developed then a better idea is to use web services standards that will ease the integration of that application in the grid environment.
    Can anyone please point me in the right direction in case of oracle grid technology that if a company adopts grid in their existing infra then do they need to grid enable them in some sense or is oracle's grid tech is much brilliant then it takes everything from existing infra, giving a true cost savings.
    thanks
    javeria

    After you install grid env / control / OMS you install agent on the target boxes. It reads all the oracle products and server info and discovers on its own. Once it discovers you have the control to add/delete/modify the targets.
    Regards,
    http://askyogesh.com

  • Entity beans(EJB 3.0) replication in IAS 10.1.3

    Hi,
    I have a application with webservices, having a few stateless session beans and a few entity beans. The application has to be deployed in a grid environment, on 2 machines.
    My problem is that a change in an entity needs to be replicated on both machines. Right now, with the application deployed on 2 machines, in a load balanced non-cluster environment, I have stale data. I have reviewed the option of cache coordination, but the toplink essentials don't have this feature.
    As a temp solution, one of the machines was stopped. Another option is to disable the entity beans cache completely, but that's not what I'm looking for.
    I have done some digging in the documentation, and it's clear that stateful beans can be replicated in a clustered environment. In this configuration, are the entity beans replicated too?

    Thanks for your reply. I'm actually interested in the entities, not the web session. I need to make sure that the entities cache stays synchronized between the nodes.
    Example:
    I have entity "customer" for example.. I do an update from one of the nodes, changing the customer name, and do commit. This happens in node 1. I want to make sure that the node 2 knows this happened.

  • ORA-15032 and ORA-15177 alter diskgroup rename directory

    Hi,
    Oracle 11.2.0.1, Oracle Linux 5.5
    I would like to do some RMAN testing and for this reason rename an existing directory in an ASM diskgroup, temporarily.
    The database 'orcl' instance is shutdown. I have tried the following using the ASM/Grid environment:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    SQL> alter diskgroup DATA rename directory '+DATA/ORCL' TO '+DATA/OLDORCL';
    alter diskgroup DATA rename directory '+DATA/ORCL' TO '+DATA/OLDORCL'
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15177: cannot operate on system aliases
    ASMCMD> ls -l
    Type  Redund  Striped  Time             Sys  Name
                                            Y    ASM/
                                            Y    ORCL/
                                            Y    RCAT/
    ASMCMD> ls -l ORCL
    Type           Redund  Striped  Time             Sys  Name
                                                     Y    CONTROLFILE/
                                                     Y    DATAFILE/
                                                     Y    ONLINELOG/
                                                     Y    PARAMETERFILE/
                                                     Y    TEMPFILE/
                                                     N    spfileorcl.ora => +DATA/ORCL/PARAMETERFILE/spfile.270.737565081I also removed the alias inside the ORCL directory, but it does not help. How can I rename the directory?
    Thanks.

    Hi,
    Unfortunately we can not do this. It's a shame.
    ASM disk groups contain a system-generated hierarchical directory structure for storing ASM files. System created directories (those containing system-generated names) cannot be renamed.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16102/asmfiles.htm#CIHGHHCC
    See this note below.. Maybe this can help you.
    *How to rename/move a datafile in the same ASM diskgroup [ID 564993.1]*
    Applies to:
    Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.6
    Regards,
    Levi Pereira
    http://levipereira.wordpress.com

  • Patching doubts

    I am performing patching. The patching is going fine and there is nothing wrong in that. Actually we are patching the rac environment so all the environment has got min four nodes. Actually in the instructions we are asked to patch in each and every node. Consider the same db is running in all four nodes. My doubt here is as we patch only the oracle home gets patched right? so even if there are four nodes there will be only one shared oracle home so in this case why we need to patch each and every node? Please forgive if my question is stupid or if my understanding on the RAC is poor.

    CKPT wrote:
    Hi,
    Even in RAC, database only will be in shared storage..
    But ORACLE_HOME wil be installed in each server and its stand alone. It is not shared to all the nodes. So we need to apply on each node.
    Hope you understood.Ya i can imagine that. But even in 10g we dont have the option of sharing the oracle software. I read something like this in a document.
    Oracle 10g supports the sharing of the Oracle software by design – and in fact the named listener approach is the one taken for the situation in the example above.For 9i, the solution was to duplicate the Oracle software locally on each node – with the administrative overhead for tasks like patching increasing along with the number of nodes in the cluster. In order to lessen the burden with managing node-local Oracle software installations, the Oracle Installer transparently applies patches to all nodes in the cluster when the patching is applied to single node.
    Although 10g is designed to support cluster-wide sharing of Oracle software, should you do it? Keep in mind that if you do so, the availability of the Oracle software becomes a potential single point of failure for the whole cluster compared to the local per-server installation approach.
    We also have a grid environment where it is 16 node so according to you all these should be patched individually right?

  • Oracle cluster setup

    Hi There,
    We're trying to build a clustered oracle environment using oracle 11g (11.2.0.1) under Windows 2008 server.
    The basic setup is to have 2 servers (active/passive), one shared SAN disk, install the software on both servers, put the database datafiles on the shared disk/SAN and when needed we can switch the shared disk between the 2 servers as failover/failback.
    IS the above industry standard cluster setup? or is there a better way of doing it? does oracle/windows provide a way to failover/failback between servers?
    Are there any documents that we can read that explains a good cluster setup please (without using RAC)? Or is there a document that have a better setup?
    Can someone shed some light on this please and/or point us to the right direction.
    Thanks

    Does oracle clusterware comes shipped with the specific release (10g, 11g..etc) database installation pack or is it a separate download?
    We saw this under the oracle download section:
    Oracle Database 11g Release 2 Grid Infrastructure (11.2.0.1.0) for Microsoft Windows (x64)
           Download      win64_11gR2_grid.zip (715,166,425 bytes) (cksum - 3127109177)
    Contains the Grid Infrastructure Software including Oracle Clusterware, Automated Storage Management (ASM), and ASM Cluster File System. Download and install prior to installing Oracle Real Application Clusters, Oracle Real Application Clusters One Node, or other Oracle software in a Grid Environment So, I was wondering if we should download this and install it on the server?
    Thanks
    Edited by: rsar001 on Jul 19, 2010 8:20 AM

  • Can not access cache in entry processor

    Why the cache where the entry object exists can not be accessed in entry processor?
    The calculation in entry processor will not always be one grid object operation.
    One object would be related to other objects.
    If we could not do such thing in entry processor, we have to process calculation outside of the entry processor. However, caculation out of grid would not be a very efficient way for generating result.
    Does anyone have good idea on this?

    Hi, Robert,
    I understood your meaning.
    Invocable is an alternative solution for processing data. Use it outside of entry-processor, no dead lock would happen.
    I paste piece of my code here. Following codes can not work properly. Just like you said, can not wait for result inside of entry-processor. My original purpose is that get "Nation" property from another data object. Now, I only can do it outside of entry-processor.
    public class UpdateFxProcessor extends AbstractProcessor {
         public Object process(Entry entry) {
              HtWsMeasuresUsdFx hfx = (HtWsMeasuresUsdFx)entry.getValue();
         InvocationService service = (InvocationService)
    CacheFactory.getConfigurableCacheFactory()
    .ensureService("InvocationService");
         Map map = service.query(new NationInvocable(hfx.getWsNationCode()), null);
         String nation= (String)map.get(service.getCluster().getLocalMember());
              hfx.setNation(nation);     
    // ... other logics for calculating hfx....
              return null;
    My data grid environment will store more than 10 million HtWsMeasuresUsdFx objects. I hope that calculation on these objects could be executed in parallel. Maybe I misunderstood the function of entry-processor. If we use Invocable outside of entry-processor, it is hard to control its calculation in parallel, isn't it?
    Best regards,
    Copper

  • Stopping Listener

    Hi,
    Oracle 11.2.1
    I am trying to stop the listener service for the RAC database. When i try to stop it. I am getting below error.
    srvctl stop listener -l DEV (DEV is the instance on NODE 1)
    PRCR-1001 : Resource ora.DEV.lsnr does not exist

    881487 wrote:
    Hi,
    Oracle 11.2.1
    I am trying to stop the listener service for the RAC database. When i try to stop it. I am getting below error.
    srvctl stop listener -l DEV (DEV is the instance on NODE 1)
    PRCR-1001 : Resource ora.DEV.lsnr does not existFrom 11.2, the listener is created by default from the Grid Home and is called the "grid listener" . The error that you are getting means that the resource Listener from the database home doesn't exist and I think, you haven't created a listener from the database home. So you should connect as the owner of the grid environment and use the same command to stop the listener. To confirm that the listener is running from which home, issue this command and post here the result,
    ps -ef| grep tnsAman....

  • Switchover in a data guard environment using Grid Control 10.2.0.3

    I've tested switchover in a data guard environment using Data Guard Broker in Grid Control.
    However, at times, i receive the message "RemoteOperationException: failed to establish input streaming thread". It looks like it has problems connecting to the remote node using the host credentials supplied. I know the credentials are ok because this worked before. If i test preferred credentials, it's ok too..
    The workaround has been to restart the database and this seems to work.
    Has anyone experienced this?

    Thanks for All for replying.
    *1. How can I upgrade my Grid control 10.2.0.3 to 10.2.0.4?*
    I have upgraded the Grid Control Agent and OMS from 10.2.0.3 to 10.2.0.4
    When we upgrade the OMS which also upgrade the Repository database.
    Apply the patchset p3731593_10204_Linux-x86-64.zip (Which comes with Grid_Control_10.2.0.4.0_Linux-x86-64.zip)
    su - oracle
    cd 3731593/Disk1
    ./runInstaller (Run two times for Agent and oms upgrade)
    Agent upgrade_
    During upgrade
    Specify Home Details: Select the Agent Home to upgrade Grid Control Agent.
    Ex: /u01/app/oracle/OracleHomes/agent10g
    OMS upgrade+
    Specify Home Details: Select the oms home to upgrade oms
    Ex: /u01/app/oracle/OracleHomes/oms10g
    *2. How can I monitor/Connect my Existing database 10.2.0.4 from Grid Control 10.2.0.3?*
    Install Grid Agent on the existing database server 10.2.0.4
    Download Linux_x86_64_Grid_Control_agent_download_10_2_0_4_0.zip from OTN http://www.oracle.com/technology/software/products/oem/htdocs/agentsoft.html
    su - oracle
    cd /u01/software/GridAgent/linux_x64/agent
    ./runInstaller
    Refer:
    [To Install an Additional Management Agent Using OUI|http://download.oracle.com/docs/cd/B16240_01/doc/install.102/e10953/installing_em.htm#sthref318]
    Oracle® Enterprise Manager Grid Control Installation and Basic Configuration
    10g Release 4 (10.2.0.4)
    Part Number E10953-05
    3 Installing Enterprise Manager
    Thanks
    Mukarram Khan
    Edited by: Mukarram Khan on Feb 6, 2009 11:04 PM

Maybe you are looking for

  • Crystal Report 2008 File Open limit

    In Crystal Reports 2008 when selecting File > Open > Enterprise  The number of files listed in each directory looks to be limited to around 25 files. If I have a directory with more then that number of files, I have to move the file to another folder

  • BSP-App not working after upgrade to Netweaver 7 / Javascript error

    Hey Gurus, after our upgrade the BSP Application which runs before the upgrade now displays just a plain-Design - not the Design2003 and i got Javascript errors. This results in no function whatsoever. Maybe someone have tipps what to look for (custo

  • Exporting Tables from BSP to Class Methods

    Afternoon Everybody, in true SAP OSS Message style I post this question on it's own thread to enable maximum value from the reward points. Question: I have a BSP, in an event in my BSP I call a method in my class. I have mastered Exporting parameters

  • Need Help with Video Transitions

    Hi, I'm using a mac book pro with leopard. recently i installed my old version of imovie HD6 on my computer. Now i can't use most of the transitions available on the software.i can see the effect but i can't add it to my clips. I have the same softwa

  • Import images from memory card?

    My Canon digital camera uses a removable memory card which I then put into an Inca Card Reader. When using Photoshop Elements 11 and try to open the Card Reader to import images, the Card Reader isn't even listed among the various drives attached to,