How to map the node id to the node name in database view just like "V$GES_RESOURCE"
i have a rac with 3 nodes,and the node id is from 1 to 3,i can check it with command olsnodes.
$ olsnodes -p -n -i
tdsdb1 1 tdsdb1-priv tdsdb1-vip
tdsdb2 2 tdsdb2-priv tdsdb2-vip
tdsdb3 3 tdsdb3-priv tdsdb3-vip
and i also can check it in gv$instance
SQL> select inst_id,instance_number,instance_name from gv$instance;
INST_ID INSTANCE_NUMBER INSTANCE_NAME
1 1 jftds1
3 3 jftds3
2 2 jftds2
but when i select the master node of some resource ,it shows some value of node id =0
SQL> select resource_name,master_node from v$ges_resource;
RESOURCE_NAME MASTER_NODE
[0xdcc9fa12][0x246658a5],[QQ] 2
[0x932][0x70c230e],[IV] 0
[0xd9fb][0x13181703],[IV] 0
[0xddae][0x0],[TM] 0
[0xb970fb05][0x729b596a],[LB] 2
[0xb580][0x70c2e1c],[IV] 0
[0x31ad56fb][0x7e4c3daa],[QQ] 2
[0x3][0x797609],[HW] 0
[0x2bf04627][0xf28b1575],[QI] 0
[0x19c89f33][0xd06ef447],[QQ] 0
[0x529ae82][0x86e25d46],[QQ] 0
it seems that the master node id is from 0 to 2
i want to get the node name from the node id from v$ges_resource,so i check the table cluster_nodes ,cluster_instances,but there are nothing.
SQL> select * from CLUSTER_NODES;
no rows selected
SQL> select * from CLUSTER_INSTANCES ;
no rows selected
how can i get the node name from the node id in the tables just like " v$ges_resource"? thank you .
my cluster ware version is 10.2.0.5
database version is 10.2.0.5
and the source of rac is all online
$ crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.5.0]
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
NLSRTL Version 10.2.0.5.0 - Production
$ crs_stat -t
Name Type Target State Host
ora.jftds.db application ONLINE ONLINE tdsdb2
ora....tds1.cs application ONLINE ONLINE tdsdb1
ora....s1.inst application ONLINE ONLINE tdsdb1
ora....ds1.srv application ONLINE ONLINE tdsdb1
ora....tds2.cs application ONLINE ONLINE tdsdb2
ora....s2.inst application ONLINE ONLINE tdsdb2
ora....ds2.srv application ONLINE ONLINE tdsdb1
ora....tds3.cs application ONLINE ONLINE tdsdb3
ora....s3.inst application ONLINE ONLINE tdsdb3
ora....ds3.srv application ONLINE ONLINE tdsdb3
ora....SM1.asm application ONLINE ONLINE tdsdb1
ora....B1.lsnr application ONLINE ONLINE tdsdb1
ora.tdsdb1.gsd application ONLINE ONLINE tdsdb1
ora.tdsdb1.ons application ONLINE ONLINE tdsdb1
ora.tdsdb1.vip application ONLINE ONLINE tdsdb1
ora....SM2.asm application ONLINE ONLINE tdsdb2
ora....B2.lsnr application ONLINE ONLINE tdsdb2
ora.tdsdb2.gsd application ONLINE ONLINE tdsdb2
ora.tdsdb2.ons application ONLINE ONLINE tdsdb2
ora.tdsdb2.vip application ONLINE ONLINE tdsdb2
ora....SM3.asm application ONLINE ONLINE tdsdb3
ora....B3.lsnr application ONLINE ONLINE tdsdb3
ora.tdsdb3.gsd application ONLINE ONLINE tdsdb3
ora.tdsdb3.ons application ONLINE ONLINE tdsdb3
ora.tdsdb3.vip application ONLINE ONLINE tdsdb3
Similar Messages
-
How to map the node which i have created dynamically into the view
Hi All,
Many thanks to all ur answers in advance.
I have created a node dynamically.I want to display the fields which i have fetched in that node.
i dont know how to map the node which i have created dynamically into the layout of the view.
Other than Using ALV is there any other way to do.
for example usin table controlHi,
use the reference variable of view to access the corresponding UI element and then use the method of that UI element to do data binding with context node.
for ex:
Context node = flights
element = inputfield, ID = inp_name
data view type ref to if_wd_view.
data lr_inp type ref to cl_wd_input_field.
lr_inp ?= view->get_child_element( ' INP_NAME' ).
use following methods of input field to define the data binding.
SET__DDIC_BINDING( )
BOUND__PROPERTY( ).
BOUND__PRIMARY_PROPERTY( ). " for input field it is value property.
Get the reference of view from wddomodifyview method as importing parameter(view). Store this parameter as controller attribute.
Thanks,
Rahul -
How to Map the Unit field in case of DSO and INFOCUBE
Dear Experts,
I have a issue ,Please help me to solve this
I have DSO as provider ,
And, i have to map transformations btw the Datasource and DSO.
In generic Data source, i have unit fields like BASME,MEINS (Quantity units) & STWAE (currency field)
and normal Quantity fields like KWMNG,OAUME(quantity related),OAUWE (value related).
In DSO data fields as Key figure info objects like 0Quantity (which have 0Unit as unit of measure) and some other key figures which have there respective unit of measure in info object definition.
So you Please tell me how to map the Quantity ,Amounts, unit fields to key figures that we have.
(How it will be for both DSO and Info cube is there any difference?)
Edited by: AnjunathNaidu on Jan 18, 2012 1:20 PMNavasamol ,
If it is works ,will u please tell me what is the difference ,if the transformations btw data source and DSO and
what is the difference btw data source and info cube and btw DSO to Infocube or cube to cube .
And i have seen the Quantity fields and there respective unit fields are mapped directly to key figure info object
in case of Info cube . Its working fine .
If only 1:1 mapping allowed in DSO data fields key figures and there respective unit of measure characteristic.
why this difference btw DSO and Info cube can any one explain me in detail.
Expecting your valuable suggestions.
Thanks & Regards,
Anjunath Naidu
Edited by: AnjunathNaidu on Jan 18, 2012 4:05 PM -
How can I map the composite_dn name with a composite in run time
Hi All,
I want to craete a report on number of total business and system faults with the help of Information Publisher in OEM 12c Cloud Control. I am fetching data from the table composite_instance_fault present in SOAINFRA schema. Below os my SQL statement:-
select error_category,count(error_category) from prefix_SOAINFRA.composite_instance_fault where composite_dn=??EMIP_BIND_TARGET_GUID?? group by error_category
Now I want to know that how can I map the composite_dn name with a composite in run time. When we fetch data from the repository we used to map target in rumtime by using ??EMIP_BIND_TARGET_GUID?? but here as I am not fetching data from repository, how can I map target in run time.
On executing the above SQL statement its returing an empty table without any data.
Please guide!!
Thanks in Advance!!Hi,
try something like this.
Mike
Attachments:
Unbenannt 5_LV80.vi 12 KB -
How to Map the parameters in GP interface?
Hello All ,
I have 2 callable objects in two different actions for same Block. How to map the first callable object output to input of second callable object ??
Please give the clear details.
Thanks
RishaHello,
Goto the Block -> Parameters tab....select the 2 parameters ...click on Group button .....give a name to it and click 'Create Group' button.....
Regards,
Shikhil -
How to map the user to Responsible Person for Proj/ Capital Investment Prog
Hi All,
Could you please help me in mapping the user to Responsible Person for Proj/ Capital Investment Prog.
Here is the scenario. I am trying to restrict the user to access only WBS under a cost center but not to have complete access to the Cost Center. I in my way to do, I found out that we can create a user name using OPS6 tcode and use the reference number of the user we created in CJ20N, so as only the person who was added in the Responsible Person for Proj/ Capital Investment Prog list will be able to access particular WBS.
Now my question is, How to map the user which I created using OPS6 tcode to user in user master record. I am not able to map the user, as its taking any random name to add in the list. Could some one please help me in mapping the user created in the list with the user master record.
Hope I managed to put the question clearly. If you have any queries, please feel free to ask. Appreciate your time and thanks in advance.
Farooq.Hi Stephan,
Thanks for your time and finding SAP note for me. I got the problem fixed. The solution for the above problem is, When we create a responsible person for the project through OPS6 tcode, we have a column called "Offer User", next to the person responsible. We must add the user name next to it. And we can add only the user name which is present in the user master record.
It solved my problem, but when I pressed F1 for help in this column, there is nothing mentioned about its mapping or anything.
Thanks again for the help, Cheers,
Regards,
Farooq. -
How to map the Third Party materila for Job Wok process in our Plant
Dear All,
please guide me how to map the Third Party Subcontracting in Our Plant Means Customer materials to be Processed in our Plant and then we have to sent to customer after processing.
please Brief me with the Proces sflow
Reagrds
kishore Edagali1) create a 2 material as non valuated (one incoming material "A1"& after processed material"B1")
2) create a BOM. for A1
& assign the B1 and maintain respective conversion
3) create a routing for A1 and assign the relevant work center
4) create a manual PO to receive the material from customer and store it in storage location
5) create a production order and release the order in co01
6)issue the material :B1 to the order 9 in MB1a, 261 movement)
7) and confirm the order (so that cost incurred for order is captured)
8) create a sale order and maintain service price in PR00 and send the material A1 to customer. -
How to map the bulk users with the required roles in portal at one time
Hi,
Would anyone tell me how to map the bulk users with the required roles in portal at one time?Thanks for all the reply.
<b>I need to assign 1 or 2 group to n((eg) 1000)number of users</b>
I tried the first option like
[group]
gid=
gdesc=
user=
Thr problem with this is I could n't put more no of users in the notepad.
I would be able to put only 150 users in the single line of notepad. If it goes to next line it is not working.
I tried creating seperate notepad but in Import it says "exists"
I'm not sure about LDAP. Would anyone explain me the best approach to do this. -
How i map the caf data with data of UWL in web dynpro
Hi Experts,
i created a bpm project with nwce 7.1.1 and it have a independent caf to keep it's data and status.
now i have to create a view(use web dynpro) such like UWL,
my question is
how i map the caf data with UWL, and let the view can open the task(popup a window, just like UWL do) for user to finish their job?
thanks.Hi Vic
Your requirement is exect functionality of UWL based on WEBDYNPRO, CAF and BPM for automation? ,and question is How to use CAF with WD or CAF with UWL API's ?. please clarify it.
Please fo through from given doc misght give u some idea
1. [How to develop Web Dynpro UI for your CAF project |http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0722080650DB02400261803144436507End?blog=/pub/wlg/5414]
Best Regards
Satish Kumar -
How to include the file name as an XML field
Hi,
I'm using a file adapter for process a flat file and convert it into an XML. Does anybody knows how to include the file name into an XML field.
Ex.
I process the file named <b>XXIMN21022007.txt</b> and I need an XML like:
<MT_FILE>
<field1></field1>
<field2></field2>
<field3></field3>
<filename><b>XXIMN21022007.txt</b></filename>
</MT_FILE>
Regards
GonzaloJust go for dynamic configuration.
Check the sender file adapter to write the filename in the header (as explained in Michal's blog) and then read that header in some mapping.
U can use that even in simple message mappings.
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
Your code for the filename tag would be something like:
<i>DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
http://sap.com/xi/XI/System/File,
FileName);
return conf.get(key);</i>
Regards,
Henrique. -
How to change the displayed name of a DefaultMutableTreeNode
Hi there...
I created a class A extending DefaultMutableTreeNode and A's constructor is as follows:
public A(UserObject object) {
setUserObject(object);
so my problem is if I wanna add such an instance of A, in a tree (as a node) the displayed name is very strange, something like:
A@72834 or stuff...
How can I change the name afterwards??
are there any commands to do so?
I have created object of class which contain some data. when I setUserObject to node then tree display's like A@72834 or stuff.
Here I required object data whenever I get node. how can I solve this problrm.Override the toString method in the class of the user object.
-
How to Capture the File Names of any extension using ssis
Hello,
Can you please let me know on how to Capture the File Names of any extension(EG : xls,text,.csv etc) at a time and stores in excel file using SSIS?
Any help would be appreciated.
Thanks,
Vinay sIf you need to act differently on each file type separately or if not all types of files are wanted, i.e. the Filespecifier cannot be *.* in the Foreach loop:
In the ssis package
make 3 variables:
to store the file extension, e.g. User::CurrentExtension of type string
to store the filename found in the directory: @CurrentFilename
to store the name of the directory where the files reside e.g. User::CurrentDirectory
make a foreach loop of type Foreach Item enumerator:
in the items list you add each file extension that you need
txt
csv
xls
xlsx
As Variable mappings map the CurrentExtension to Index 0
Inside this foreach loop add another foreach loop of type Foreach File enumerator, in the collection Expressions
add Expression Directory , set to @[User::CurrentDirecotry]
add Expression FileSpec, set to "*." + @[User::CurrentFileExtension]
In the Variable mappings, map Variable user::CurrentFilename to Index 0
Inside this loop use Execute SQL Task to insert the filename in a Excel connection.
Jan D'Hondt - SQL server BI development -
How to select the data from a Maintainance View into an internal table
Hi All,
Can anybody tell me how to select the data from a Maintainance View into an internal table.
Thanks,
srinivas.HI,
You can not retrieve data from A mentenance view.
For detail check this link,
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
Regards,
Anirban -
How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.
If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
This page is a good starting point for learning about Flex and PHP communication:
http://www.adobe.com/devnet/flex/flex_php.html
Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/ -
How to use the column names generated from Dynamic SQL
Hi,
I have a problem with Dynamic SQL.
I have written an SQL which will dynamically generate the Select statement with from and where clause in it.
But that select statement when executed will get me hundreds of rows and i want to insert each row separately into one more table.
For that i have used a ref cursor to open and insert the table.
In the select list the column names will also be as follows: COLUMN1, COLUMN2, COLUMN3,....COLUMNn
Please find below the sample code:
TYPE ref_csr IS REF CURSOR;
insert_csr ref_csr;
v_select VARCHAR2 (4000) := NULL;
v_table VARCHAR2 (4000) := NULL;
v_where VARCHAR2 (4000) := NULL;
v_ins_tab VARCHAR2 (4000) := NULL;
v_insert VARCHAR2 (4000) := NULL;
v_ins_query VARCHAR2 (4000) := NULL;
OPEN insert_csr FOR CASE
WHEN v_where IS NOT NULL
THEN 'SELECT '
|| v_select
|| ' FROM '
|| v_table
|| v_where
|| ';'
ELSE 'SELECT ' || v_select || ' FROM ' || v_table || ';'
END;
LOOP
v_ins_query :=
'INSERT INTO '
|| v_ins_tab
|| '('
|| v_insert
|| ') VALUES ('
|| How to fetch the column names here
|| ');';
EXECUTE IMMEDIATE v_ins_query;
END LOOP;
Please help me out with the above problem.
Edited by: kumar0828 on Feb 7, 2013 10:40 PM
Edited by: kumar0828 on Feb 7, 2013 10:42 PM>
I Built the statement as required but i need the column list because the first column value of each row should be inserted into one more table.
So i was asking how to fetch the column list in a ref cursor so that value can be inserted in one more table.
>
Then add a RETURNING INTO clause to the query to have Oracle return the first column values into a collection.
See the PL/SQL Language doc
http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/returninginto_clause.htm#sthref2307
Maybe you are looking for
-
Error in deploying the cubes in Essbase Studio
I am getting below error when I try to depoly ASO cubes in Essbase Studio. ***Failed to deploy Essbase cube*** ***Caused By: Error when retrieving data from SQL source*** ***Caused By: Error when retrieving data from SQL source*** ***Caused By: [Hype
-
Need to make a copy/clone of a table which has sdo_geometry data type
Folks, We are running Oracle 11gr1 on Suse Linux platform. We have a requirement, where we need to make a copy of a table, in the same database but in a difference schema, the source table has about 130 millions rows and also has the sdo_getometry da
-
Hello all. I am trying to make a little component that allows a user to take a picture using their webcamera and then save it to a server. I have the application so far allowing the user to take a picture and its creating a bitmap. I then have anot
-
Deploy Exception - ServiceGroup for name SampleTimerServiceGroup is not fou
Hello, When trying to deploy the BPM project I've the following error, Description: 1. Exception has occurred on update operation for application xxx.com.pe/bpm_poclienac_v5. Failed on add new service references. Reason:Matching ServiceGroup for name
-
I am trying to run memory profiling for a flex application. But when I run the profiler, it does not open up the window for me to select options to do profiling on. I followed a link on http://stackoverflow.com/questions/2354891/flex-profiler-doesnt-