Grid user
Hello,
does someone know how to debug the state of the grid user in 11.2.0.1 two node RAC ?
I have this from the top command :
load average: 3.98, 4.20, 4.29
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5732 grid 21 0 1740m 1.1g 20m S 206.8 9.3 85356:55 java
6711 oracle 15 0 5844m 283m 274m S 0.7 2.4 23:53.81 oracle
5166 grid 18 0 595m 31m 14m S 0.3 0.3 59:28.71 oraagent.bin
6586 oracle 15 0 5841m 63m 52m S 0.3 0.5 40:29.31 oracle
...so grid is takind a lot of CPU , but I don't know the reason...
On first node grid is taking aprox 99% of CPU , but load average is below 1
load average: 0.81, 0.54, 0.42
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5797 grid 17 0 1584m 825m 20m S 99.5 5.9 3955:01 java
8032 oracle 15 0 5843m 383m 378m R 5.7 2.8 4378:37 oracleHow can I check what grid user is actually doing on the second node ?
Vili Dialis wrote:
I got this :
grid 5732 1 99 Sep09 ? 59-03:44:15 /u01/app/11.2.0/grid/jdk/jre//bin/java -Doracle.supercluster.cluster.server=eonsd -Djava.net.preferIPv4Stack=true -Djava.util.logging.config.file=/u01/app/11.2.0/grid/srvm/admin/logging.properties -classpath /u01/app/11.2.0/grid/jdk/jre//lib/rt.jar:/u01/app/11.2.0/grid/jlib/srvm.jar:/u01/app/11.2.0/grid/jlib/srvmhas.jar:/u01/app/11.2.0/grid/jlib/supercluster.jar:/u01/app/11.2.0/grid/jlib/supercluster-common.jar:/u01/app/11.2.0/grid/ons/lib/ons.jar oracle.supercluster.impl.cluster.EONSServerImpl..
I don't know , I never encountered this situation, looks familiar to someone ?Maybe DB Console (Enterprise Manager)?
Do you have db console running on this node?
Similar Messages
-
I have a problem with ALV Grid User Command?
Hi Experts,
I have a problem with ALV GRID User Command.
I am calling TCODE IW33 (Order Display) from the ALV output at first time by selecting an order. But, User command is calling IW33 Initial screen with blank value of order. Even I checked in debugging the value what I selected is passing properly, but once that screen (IW33 Initial) displays, value doesn't appear. Then, Manually, I created another session and gone to TCODE IW33 and displayed an order. After that I came out from that order. Then again run my ALV program and selected another order, now order is displaying, but not what I selected current order instead of displaying previous order what I just displayed manually. If I selected any other order, system will display the same order what I dislayed manually.
Here is my code.
FORM user_command_alv USING u_ucomm TYPE sy-ucomm
us_self_field TYPE slis_selfield.
CASE u_ucomm.
WHEN '&IC1'.
READ TABLE it_final INDEX us_self_field-tabindex INTO wa_final.
WHEN 'ORDER'.
IF NOT wa_final-order IS INITIAL.
SET PARAMETER ID 'COK' FIELD wa_final-order.
CALL TRANSACTION 'IW33' AND SKIP FIRST SCREEN.
ENDIF.
endform.
PARAMETER ID 'COK' also the standard one.
Could you please help me out, Where I did wrong?
If I select any order, that order only should display.
Thanks in advance.
Regards,
Sarayu.
Code Formatted by: Alvaro Tejada Galindo on Jan 8, 2009 2:33 PMhi,
Please check it once the Paramater ID is 'ANR' for IW33 order number.
Hope this may help.
Regards,
Sravanthi -
Hello,
After RAC installation, We are facing some cluster issues. After investigation, Oracle support suggested to add the grid user to the dba group. We missed to add the grid user to the dba user in most of the nodes. This is Linux Redhat 5.
How can I add grid user to dba group and keep the grid user belonging to the other linux groups? what 's the correct command?
Thanks,
DiegoHi,
As root:
#### check before
id grid
#### Change It
usermod -a -G dba grid
#### Check after
id gridLevi Pereira -
Grid user in dba group ?
Hey,
according to the best practise paper, the grid user should not be part of the dba user group.
While running cluvy, this fixupscript will put the user grid into this group.
Is it neccessary to put the grid user into the dba group or can I ignore this message ?
CHristianChristian wrote:
Hey,
according to the best practise paper, the grid user should not be part of the dba user group.
While running cluvy, this fixupscript will put the user grid into this group.
Is it neccessary to put the grid user into the dba group or can I ignore this message ?
CHristianHi, GRID user can be part of DBA group there is no problem, this is designed if grid user is supposed to have access to db's which would be running on RAC system.
See
http://docs.oracle.com/cd/E11882_01/install.112/e22489/prelinux.htm#BABBIDCF -
POINT OF VIEWS Related to GRID ,USER,BOOK
HI,
i am new for Reporting side,could you please give some clarity on below point of views.
User POV,
GRID POV
BOOK POV
And how we define all point of views.
Appreciating your Help
Thanks
RaviHi Ravi
User POV allows user to select any member from a dimension at run time (provided they have security access to see it).
Grid POV allows you to restrict the user POV for a particular grid within the report (remember you can have multiple grids in a report) to a single member without having to define it in the rows / columns of the grid itself, e.g. you may always want a grid to look at 'Total Customers' rather than make the user select it on their own POV
Book POV allows you to set the POV for a dimension where it has not previously been defined in the individual reports that make up the book, e.g. if you are producing monthly report packs all of your reports might have 'Period' on the POV, normally when users run the reports they can select the period but for the book you can define this to apply to all reports where 'Period' is on the POV.
Batch POV, that you do not mention, is also available and is similar to Book POV but where you might run multiple books as part of a batch if there are any POV selections not set at either report or book level then you can set them at batch level. Again a similar example might be 'Period' where you run a batch of reports for the 'current_month' using a substitution variable.
Hope this helps
Stuart -
ALV Grid user command handling
I am handling user command event of class cl_gui_alv_grid.
In this , on click of a button , a pop up for selection criterion comes after which
I have to append some data on alv.
But I want to append this data only on frontend not on global internal table of alv
as I want data change event to be called after this and doing some validations on this data.
How can I upload data only on frontend and how to trigger data_changed method in user command event.
I tried using check_changed_data of class cl_gui_alv_grid but some dump is coming for an attribute save_allowed of the class.Hi Suneel,
For you requirement, I dont see why you cant include the functionality for the pop up within the USER_COMMAND event itself.
Algorithm for the USER_COMMAND event:
Step 1: Check E_UCOMM is 'ADD' or 'DELT'.
Step 2: If yes, call FM for POPUP_TO_CONFIRM; else continue to other E_UCOMM
Step 3: If ans is 'No', exit Method - else continue with Add/ Delete as required
Cheers,
Aditya -
PRVF-4007 : User equivalence check failed for user "grid"
Oracle Version 11.2.0.3.0 patched to 11.2.0.3.1
I had installed GIU and RAC db on 2 node cluster
but since yesterdy has this issue when running the commands
[grid@vmorarac2 ~]$ cluvfy comp ocr -n all -verbose
Verifying OCR integrity
ERROR:
PRVF-4008 : User equivalence unavailable on all the specified nodes
Verification cannot proceed
vmorarac1 and vmorarac2 r the two nodes
as a grid user, from vmorarac1 i ran ssh vmorarac2 and it failed with above error and vice versa
so i did the following
from vmorarac1
ssh vmorarac2
yes and enter key
exec /usr/bin/ssh-agent $SHELL
/usr/bin/ssh-add
i did the same on other node
but the problem still exists.
Edited by: 912919 on 23-May-2012 06:58Hi,
The subject of thread "*PRVF-4007 : User equivalence check failed for user "grid*"
Now..
{code}
PRVF-4657 : Name resolution setup check for "vmorarac-scan.pbi.global.pvt" (IP address: 152.144.199.201) failed
PRVF-4664 : Found inconsistent name resolution entries for SCAN name "vmorarac-scan.pbi.global.pvt"
PRVF-4664 : Found inconsistent name resolution entries for SCAN name "vmorarac-scan.pbi.global.pvt"
{code}
If you can see are different issue.
If you are using DSN to resolve hostname "vmorarac-scan.pbi.global.pvt" check with "nslookup" if the name is resolved correctly.
If you are using Hosts File to resolve hostname "vmorarac-scan.pbi.global.pvt" you must configure only one ip (152.144.199.201) to resolve "vmorarac-scan.pbi.global.pvt" this entrie must be on host file of all nodes of cluster.
Levi Pereira -
11gR2 Grid Infrastructure and 11gR2 RAC install as separate users (RH 5)
We are about to set up a few new RH 5 clusters and are trying to make a decision if we should install 11gR2 Grid Infrastructure and 11gR2 RAC as the same user (oracle) or as separate users (grid and oracle) as per Oracle documentation.
I would like to know what other people are doing and their experiences with this.
Here are some concerns that we have:
1) Does Oracle support has an 11gR2 cluster environment where grid infrastructure and oracle database are installed as separate users ? I have been to a few Oracle 11gR2 demos and they always have a simple install where everything is installed as a single user.
2) Potential permission issues that we might hit iif we use separate users, for example
- grid control agent - which user do we install it as and will it be able to access both grid and oracle files ?
- database listener will run as grid user. Is this going to cause any permission issues ?
Thanks in advance for your answersIt is all dependent on your business whether your business needs to separate between privileged user for storage administrator (ASM) or database level. It is recommended to have user separation but not mandatory.
see http://download.oracle.com/docs/cd/E11882_01/install.112/e17212/toc.htm for the details
permission issues might happen if the configuration is not correct. for example you might see ORA-12537 when configuring the system
Hope this helps -
Oracle user writing to ASM disks owned by grid
Version:11gR2
OS: Solaris, AIX, LINUX
When Grid infrastructure is owned by grid user, the permissions should be like
# chown grid:asmadmin /dev/rdsk/cxtydzs4
# chmod 660 /dev/rdsk/cxtydzs4But, how does oracle user which belongs to dba group manage to write to these disks ?Hi,
If the device names are the same on all nodes, then enter commands similar to the following on all nodes to change the owner, group, and permissions on the character raw device files for the disk devices where grid is the Oracle Grid
Infrastructure installation owner, and asmadmin is the OSASM group
example
# chown grid:asmadmin /dev/rhdiskn
# chmod 660 /dev/rhdiskn
see this link
http://download.oracle.com/docs/cd/E11882_01/install.112/e17210.pdf -
Oracle user can't execute grid owned asmcmd
11.2.0.2 in RHEL 5.4
In my shop, OS user grid manages Grid Infrastructure.
I don't have the password for grid user.
As oracle user , I was trying to invoke asmcmd. But it errored out with the below error. Is this normal ?
It seems that Oracle installs its own perl binary in GI Home.
I can run crsctl which run from GI home though.
## Currently connected as oracle user
$ id
uid=555(oracle) gid=56(oinstall) groups=55(dba),56(oinstall),57(oper),58(asmadmin),59(asmdba)
# oracle user has execute privileges on crsctl binary (because oracle belongs to oinstall group )
$ ls -alrt `which crsctl`
-rwxr-xr-x 1 grid oinstall 8260 Jun 1 2011 /u01/app/grid/product/11gR2/bin/crsctl
# Attempts to invoke asmcmd command from oracle user fails because it doesn't have execute privilege on perl and asmcmd binaries in GRID_HOME/bin
$ echo $ORACLE_SID
+ASM1
$ asmcmd
/u01/app/grid/product/11gR2/bin/asmcmd: line 123: /u01/app/grid/product/11gR2/perl/bin/perl: Permission denied
/u01/app/grid/product/11gR2/bin/asmcmd: line 146: /u01/app/grid/product/11gR2/perl/bin/perl: Permission denied
/u01/app/grid/product/11gR2/bin/asmcmd: line 146: exec: /u01/app/grid/product/11gR2/perl/bin/perl: cannot execute: Permission denied
$ ls -alrt /u01/app/grid/product/11gR2/perl/bin/perl
-rwx------ 1 grid oinstall 1424555 Sep 3 2009 /u01/app/grid/product/11gR2/perl/bin/perl
$
$ which perl
/usr/bin/perl
$ ls -alrt /usr/bin/perl
-rwxr-xr-x 2 root root 19208 Jul 2 2009 /usr/bin/perl
# oracle user doesn't have execute privileges on asmcmd
$ ls -alrt `which asmcmd`
-rwxr-x--- 1 grid oinstall 5469 Apr 21 2010 /u01/app/grid/product/11gR2/bin/asmcmdIn my previous shops, oracle user managed both RDBMS and GI homes.
So, I would like to know ; In a typical RAC setup where grid user manages GI , what are the grid owned binaries that oracle user cannot execute ?As oracle user , I was trying to invoke asmcmd. But it errored out with the below error. Is this normal ?yes as asmcmd suppose to be run from grid user after setting the oracle env variable.
-rwx------ 1 grid oinstall 1424555 Sep 3 2009 /u01/app/grid/product/11gR2/perl/bin/perl-rwx------
user under oinstall group doesn't have permission to execute file under above location.
only grid can execute it.
so login with grid and run asmcmd cmd. -
Move grid standalone installation under oracle user
Dear Experts,
I have a requirement from the customer to move a recent 11gR2 grid standalone infrastructure from grid os user to Oracle os user.
We don't want to disturb the installed database and ASM.
I am wondering if there is any easy / quick way to do it? For example make the grid user equivalent to the oracle user ? Kindly provide the steps.
My OS is Redhat Linux 5.
Best Regards,
D
PS: I know Oracle recommends role separation grid vs Oracle os user. But that's a customer requirementThank you. I understand of that I have to deinstall and make new fresh install of grid standalone under oracle user. Is it correct?
-
Two questions on ASM for Grid Installation
Grid Infrastructure version : 11.2.0.3
Platform : Oracle Enterprise Linux 5.6
Question1.
oracle:dba will be owner of our Grid software (not grid user). What should be permission set for LUNs ( /dev/sda1, ..) before the grid installation ?
Question2.
Currently, the shared LUNs appear as
/dev/sdb ,
/dev/sdc,
/dev/sdd
does a single partition need to be created before presenting LUN to ASM ?
For example, I should choose p (primary partition ) below. Right ?
# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x8b157fd2.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): c
DOS Compatibility flag is not set
Command (m for help): u
Changing display/entry units to sectors
Command (m for help): n
Command action
e extended
p primary partition (1-4)Check the step 5 here.You use oracleasm utility which changes permission.
Installing Grid Infrastructure for a Standalone Server
Ta
Jag -
Update one row at a time, Data Grid
Is it possible to update one row of a mx:DataGrid at a time. I want to be able to have a user push a button and info populates one row of the data grid, user changes some properties and pushes the button again and another row of values populate the DataGrid. Everything I see does a mass population from an XML or what have you.
ThanksI did this this to work, so for those of you who may find this info helpfull here is how I solved the issue.
I instantiated an ArrayCollection object like so:
private var _rowValues:ArrayCollection = new ArrayCollection();
I simply referenced the .addItem() property of my ArrayCollection.
I then added values to the ArrayCollection as follows
_rowValues.addItem({Ingredient:ingredient, Amount:amount, Category:category}); //dataField:value
and referenced the dataField proerpty of the DataGrid... so in my case my 3 dataField properties (in my mxml compontent) were as fillows:
dataField="Ingredient"
dataField="Amount"
dataField="Category"
all done, and it works. -
Export TO XXL from ALV Grid - Column order mismatch
Hi All,
The user is trying to download data from Option -> Export -> Spreadsheet which will create XXL.
But while downloading there is mismatch in the order of columns displayed on the alv grid & columns downloaded.
All character fields are displayed on left, then date fields then quantity fields are downloaded to XXL. but in ALV Grid user has chosen a layout in which date fields come first.
Please help me to find solutionGrid display using 'REUSE_ALV_GRID_DISPLAY'. From the alv grid output, user is trying to download data using export -> Excel . so for download there is no custom code.
We have copied standard report and added few more fields to the custom report. strangely Standard report also has this issue.
I searched for SAP notes also..no clue -
REUSE checkbox values not saved after user-command
Hi,
I have an ALV grid using REUSE_ALV_GRID_DISPLAY within i have checkbox editable field. Initially all lines in the grid are checked. (user can deselect some of the lines)
After display of ALV grid user deselect some of the lines in the grid and he press ENTER Here i am updating only checked data the alv grid data to a custom table.But my problem is user deselect some of lines in the gird and press ENTER, but the output table from the grid still showing all lines are checked. ie grid results not showing in the output table.
Here is code
data: pt_grpfcat type slis_t_fieldcat_alv,
ps_grpfcat like line of pt_grpfcat,
pt_grpself type slis_selfield,
pt_grplayout2 type slis_layout_alv,
pv_grptitle(20) type c,
p_grpexcltab2 type slis_t_extab with header line,
p_header type slis_formname.
ps_grpfcat-fieldname = 'BOX'.
ps_grpfcat-checkbox = c_x.
ps_grpfcat-edit = c_x.
ps_grpfcat-seltext_m = text-272.
ps_grpfcat-outputlen = 3.
append ps_grpfcat to pt_grpfcat[].
clear ps_grpfcat.
ps_grpfcat-fieldname = 'WERKS'.
ps_grpfcat-outputlen = 4.
ps_grpfcat-seltext_m = 'Plants'.
append ps_grpfcat to pt_grpfcat[].
clear ps_grpfcat.
ps_grpfcat-fieldname = 'NAME1'.
ps_grpfcat-outputlen = 40.
ps_grpfcat-seltext_m = 'Description'.
append ps_grpfcat to pt_grpfcat[].
clear ps_grpfcat.
select * from t001w into table i_t001w_1.
if p_plgrp ne c_gl.
select * from yfe024 into table i_yfe024
where plgrp eq p_plgrp.
else.
select * from yfe024 into table i_yfe024
where plgrp ne space.
endif.
refresh : i_grpoutput. clear : i_grpoutput.
pt_grplayout2-zebra = c_x.
refresh i_events. clear i_events.
if not i_yfe024[] is initial.
loop at i_yfe024 into wa_yfe024.
read table i_t001w_1 into wa_t001w_1
with key werks = wa_yfe024-werks.
if sy-subrc eq 0.
move : c_x to i_grpoutput-box,
wa_t001w_1-werks to i_grpoutput-werks,
wa_t001w_1-name1 to i_grpoutput-name1.
append i_grpoutput.
endif.
endloop.
endif.
pv_grptitle = text-t01.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
it_fieldcat = pt_grpfcat[]
it_excluding = p_grpexcltab2[]
is_layout = pt_grplayout2
i_callback_program = sy-repid
i_callback_html_top_of_page = p_header
i_callback_pf_status_set = v_status_set1
i_callback_user_command = v_user_command1
i_screen_start_column = 5
i_screen_start_line = 5
i_screen_end_column = 70
i_screen_end_line = 15
it_events = i_events[]
tables
t_outtab = i_grpoutput.
endform. " F_f4_help_fieldname
* Form f_user_command1 *
* This form will handle the user command from fm REUSE *
form f_user_command1 using p_ucomm type sy-ucomm
rs_selfield type slis_selfield.
case p_ucomm.
when 'YCNC'.
leave to screen 0.
when 'YNTR'.
perform f_upload_readions.
leave to screen 0.
endcase.
endform. " F_user_command1
* Form f_pf_status_set1 *
* For setting PF status to REUSE *
form f_pf_status_set1 using rt_extab type slis_t_extab..
set pf-status '9001'.
set titlebar '9001' with v_plgrp.
endform. " F_pf_status_set1
* Form f_upload_readions *
* For upload plants under regions to load into YSCCPLNT *
form f_upload_readions.
if not i_grpoutput[] is initial.
loop at i_grpoutput where box eq c_x.
read table i_ysccplnttemp with key werks = i_grpoutput-werks
updkz = space.
if sy-subrc ne 0.
move i_grpoutput-werks to i_ysccplnttemp-werks.
move v_affind to i_ysccplnttemp-affind.
append i_ysccplnttemp. clear i_ysccplnttemp.
endif.
endloop.
endif.
endform. " F_upload_readions
Any suggestions?
Thanks
aRsform f_user_command1 using p_ucomm type sy-ucomm
rs_selfield type slis_selfield.
<b>Data ref1 type ref to cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = ref1.
call method ref1->check_changed_data</b>
case p_ucomm.
when 'YCNC'.
leave to screen 0.
when 'YNTR'.
perform f_upload_readions.
leave to screen 0.
endcase.
endform.
Maybe you are looking for
-
Open new Finder windows in full screen mode by default
I'd like for new finder windows to open full-screen by default. I have found that, if I have no finder windows open, opening a new finder window always defaults to a non-full-screen window. Is there a way to fix this?
-
Printing from InDesign asking for computer login password
Hi. Just got new MacPro, CS4 Design Premium. Every time printing from InDesign asking for computer login password. Never happened with CS3. Is there any way to avoid job holding in printer's dialog box, waiting for authentification? No problems prin
-
I get deep crashes (must shut down) when I try to encode SD DV-PAL to MPEG2 with DSP 4 or Compressor (latest versions). Usually after a short time, but sometime it encoded 47% of the one hour material. When I installed a new system and Compressor on
-
I keep getting the msg unable to connect you to Netflix. Try again later (ATV-ui31) when I try to connect to Netflix. Could you tell me what to do, to be aple to connect on Netflix using my Appletv? I have an Appletv 3rd generation
-
I'm having major issues with Elements Organizer. I moved my pictures to another hard drive in my system, and now Organizer can't find them. I've gone as far as uninstalling & reinstalling Organizer, as well as manually deleting the catalog. I can