Incompatible Crs_stat between two nodes.
I am trying to install a 2 node RAC cluster. After finally getting the clusterware and database software, my installation is stuck on the dbca. I met an error of placement for the listener on the second node. This has been partially corrected when I renamed the listener the name own, but right now I am confused that a crs_stat t on nodes don't show consistent results.RAC1:
[oracle@rac1 ~] $ crs_stat t
Name Type State target host
------------------------------------------------------------
ORA... C1.inst application rac1 online online
ORA... C2.inst application OFFLINE OFFLINE
ORA. ORARAC.db application rac1 online online
ORA... C1. LSNR rac1 online online application
ORA. RAC1. GSD rac1 online online application
ORA. RAC1.ons application rac1 online online
ORA. RAC1. VIP application rac1 online online
ORA... C2. LSNR application OFFLINE OFFLINE
ORA. Rac2.GSD application OFFLINE OFFLINE
ORA. Rac2.ons application OFFLINE OFFLINE
ORA. Rac2.VIP application rac1 online online
RAC2:
[oracle@rac2 ~] $ crs_stat t
Name Type State target host
------------------------------------------------------------
ORA... C1.inst application rac1 online online
ORA... C2.inst offline online application
ORA. ORARAC.db application rac1 online online
ORA... C1. LSNR rac1 online online application
ORA. RAC1. GSD rac1 online online application
ORA. RAC1.ons application rac1 online online
ORA. RAC1. VIP application offline online
ORA... C2. LSNR rac2 ONLINE application
ORA. Rac2.GSD rac2 ONLINE application
ORA. Rac2.ons rac2 ONLINE application
ORA. Rac2.VIP rac2 ONLINE application
I want to install 10 gr 2 (10.2.0.1.0) on RHEL4 - 2.6.9 - 78.ELsmp.
Hello
You try to install RAC on Vmware?
Stop both nodes and restart one by one.
Furthermore, you need not to rename the listeners. Just use "netca" do remove a listener and add it back again
Salman
Tags: Database
Similar Questions
-
Connectivity between two nodes of Virtual Box
For a few days, I try to establish the network connectivity between two nodes OEL (Oracle Enterprise Linux) in Oracle Virtualbox. I tried everything I have found Google, but still nothing works, everytime I try to ping from one node to another node Hostname/IP is showing unknown host. All the advice everyone here will be great for me.
Published by: 918868 on October 30, 2012 02:30When you create a virtual machine, by default VirtualBox allows virtual network card and selects the "Network Address Translation" (NAT) mode for it. In this way the guest can connect to the outside world using the networking of the host and the outside world can connect to services on the feedback that you choose to make visible outside of the virtual machine.
This default configuration is good probably 95% of users of VirtualBox. VirtualBox is, however, extremely flexible in how it can virtualize networks. It supports multiple virtual NICs per virtual machine, the first four that can be configured in detail in the Manager window. Additional network cards can be configured on the command-line with VBoxManage.
Source: http://www.virtualbox.org/manual/ch03.html#settings-network
For more details, please see:
Virtual networks
http://www.VirtualBox.org/manual/CH06.htmlConcerning
Girish Sharma -
XPath to capture nodes between two nodes
Hi all
I met a problem a seemingly simple challenge of mine.
I have the following xml code.
Basically, I would like to capture the text between the begin-end blocks
<? XML version = "1.0" encoding = "UTF-8"? >
< document >
< body >
< paragraph >
< run >
< fld type = 'start' / >
< / run >
< run >
< text > SAMPLE < / text >
< / run >
< run >
< text > < / text >
< / run >
< run >
< text > FIELD < / text >
< / run >
< run >
< fld type = 'end' / >
< / run >
< run >
< text > TEXT UNWANTED SOME < / text >
< / run >
< / paragraph >
< paragraph >
< run >
< fld type = 'start' / >
< / run >
< run >
< text > SAMPLE < / text >
< / run >
< run >
< text > < / text >
< / run >
< run >
< text > Field2 < / text >
< / run >
< run >
< fld type = 'end' / >
< / run >
< run >
< text > TEXT UNWANTED SOME < / text >
< / run >
< run >
< fld type = 'start' / >
< / run >
< run >
< text > SAMPLE < / text >
< / run >
< run >
< text > < / text >
< / run >
< run >
< text > FIELD3 < / text >
< / run >
< run >
< fld type = 'end' / >
< / run >
< / paragraph >
< / body >
< / document >
So far, what I came up with is:
WITH temp AS ( SELECT XMLTYPE ('<?xml version="1.0" encoding="UTF-8"?> <document> <body> <paragraph> <run> <fld type="begin" /> </run> <run> <text>SAMPLE</text> </run> <run> <text> </text> </run> <run> <text>FIELD</text> </run> <run> <fld type="end" /> </run> <run> <text>SOME UNWANTED TEXT</text> </run> </paragraph> <paragraph> <run> <fld type="begin" /> </run> <run> <text>SAMPLE</text> </run> <run> <text> </text> </run> <run> <text>FIELD2</text> </run> <run> <fld type="end" /> </run> <run> <text>SOME UNWANTED TEXT</text> </run> <run> <fld type="begin" /> </run> <run> <text>SAMPLE</text> </run> <run> <text> </text> </run> <run> <text>FIELD3</text> </run> <run> <fld type="end" /> </run> </paragraph> </body> </document>') AS xml_template FROM dual ) SELECT x.* FROM temp ,XMLTABLE('//*/paragraph/run[fld/@type="begin"]/following-sibling::run[following-sibling::run[fld/@type="end"]]/text' PASSING temp.xml_template COLUMNS res varchar2(100) PATH '.' )x
Result:
RES
SAMPLE
FIELD
SAMPLE
FIELD2
SOME UNWANTED TEXT
SAMPLE
FIELD3
Unfortunately what I wrote XPath is not good enough, because with regard to the text between the two blocs of start-end it still captures the unwanted text.
My XPath knowledgege dept unfortunately not so I would appriciate annything you can help me with even an idea could get through on the edge.
Thank you
Steve
Steve,
XQuery can help in this case:
SELECT x.* FROM temp , XMLTABLE('for $begin in /document/body/paragraph/run[fld/@type="begin"] let $end := $begin/following-sibling::run[fld/@type="end"][1] return $begin/following-sibling::run[. << $end]' PASSING temp.xml_template COLUMNS res varchar2(100) PATH 'text' ) x ;
Explanation:
This FLWOR expression traverses all nodes 'start' in the document, finds the corresponding node of the 'end' and returns the sequence of "run" nodes follows 'begin' and above 'end '.
If you want to concatenate all the fragments of text in a block, you can also do it directly, like this:
for $begin in /document/body/paragraph/run[fld/@type="begin"] let $end := $begin/following-sibling::run[fld/@type="end"][1] return string-join($begin/following-sibling::run[. << $end]/text, "")
She's going back 3 ranks:
RES
-------------
EXAMPLE OF A FIELD
SAMPLE FIELD2
SAMPLE FIELD3
-
Find paths between two nodes using SQL sort by cost
Hi gurus,
I want to find all paths from the source node to the target node that will be sorted by the cost. I don't know if it was possible with the SQL statement. How to start with this query? The script to create the tables and data are given below:
------------------------------------------------------------------------------------------------------------------
create table of nodes (nodeId int Primary Key, nodeName varchar (50));
create paths of table (pathId int Primary Key, int fromNodeId, int toNodeId, int cost);
insert into a values (1, 'ISL') nodes;
insert into a values (2, "LHR") nodes;
insert into a values (3, 'HYD') nodes;
insert into a values (4, 'FLS') nodes;
insert into a values (5, 'MUL') nodes;
insert into a values (6, "KHI") nodes;
insert into a values (7, 'QT') nodes;
insert into values of paths (1,1,3,20);
insert into values of paths (2,1,5,10);
insert into values of paths (3,1,7,80);
insert into values of paths (4,2,4,10);
insert into values of paths (5,3,4,40);
insert into values of paths (6,3,5,20);
insert into values of paths (7,3,6,10);
insert into values of paths (8,6,7,30);
insert into values of paths (9,6,5,30);
insert into values of paths (10,6,3,10);
insert into values of paths (11,7,2,20);
insert into values of paths (12,5,4,40);
insert into values of paths (13,5,7,40);
----------------------------------------------------------------------------------------------------------------------------------
Assume that the source = ISL and QT= target, there are different paths to QT ISL:
Path relative cost DSB #.
==== ================================= =================
1 ISL-> Multimedia-> QT 50
2 ISL->->-> QT 60 KHI HYD
3 ISL-> QT 80
4 ISL-> HYD-> Multimedia-> QT 80
5 ISL-> HYD at KHI-> Multimedia-> QT 100
This gives us all possible paths, sorted by price.
No indication or help will be appreciated.
Thanks in advance and best regards
Bilal
Published by: naive2Oracle on February 11, 2011 09:59select ltrim(sys_connect_by_path(nodeName,'->'),'->') path, extractvalue(dbms_xmlgen.getXMLtype('select '|| sys_connect_by_path(cost,'+') ||' cost from dual'),'/ROWSET/ROW/COST') - cost cost from paths p, nodes n where p.fromNodeId = n.nodeId and nodeName = 'QT' start with nodeName = 'ISL' connect by nocycle fromNodeId = prior toNodeId and prior nodeName != 'QT' order by cost / PATH COST -------------------------------------------------- ------------------- ISL->MUL->QT 50 ISL->HYD->KHI->QT 60 ISL->HYD->MUL->QT 80 ISL->QT 80 ISL->HYD->KHI->HYD->MUL->QT 100 ISL->HYD->KHI->MUL->QT 100 6 rows selected. SQL>
SY.
-
TreeView: Line white between the two nodes are not appear
Hi all
I added a treeview control in my dialog plugin for InDesign CS3 and CS4.
In CS4, it works fine but in CS3, I get a strange question.
Question: A blank line between two nodes may not appear. See the image below
I am referring to the white line which we can see in the InDesign paragraph style palette / all indesign sample as the Board treeview as shown below
I tried this problem but has not found a solution
Please help me solve this problem.
Kind regards
Alam
I had a similar problem, but in the end, I couldn't figure how to remove the white lines.
I have given up trying to remove the white and just changed the color of the treeview and everything that was drawn on the top in white.
It was the only way I managed to hide lines.
-
Build a private network between two physical hosts in ESXi 4.0 for VM guests
Hi all
I am a newbie in the use of VMWare ESXi for my company testings and I have a question on networks
in ESXi. In fact, I always do my tests in my VMware Workstation, and it's pretty easy to build a virtual
private network between two guests of computer virtual and it needed to do more real testings on ESXi environment.
But now I have two Dell servers mounted and with two ESXi 4.1 installed on these servers.
Each server has two network cards connected to the same network switch.
In this essay, I have to install a RAC Oracle 11 g as guests of virtual computer on two separate server Dell for
two RAC nodes.
The installation Guide for the PAP, I need to build a network between two nodes.
My superficial knowledge network, the private network address is not the same as
the public network address, in this case, the IP address provided by the network switch is
10.1.10.X and it should be public network address.
In this case, how can I do the private network of ESXi settings?
I do the settings of the network switch? I'm not the guy of networking and really
want your expertise in this area.
If you have an idea or experience to share, please kindly help.
Thank you very much
Ray
SonyRaymond wrote:
Then private network can be established between NIC (N1) and NIC (N2) with address 192.168.1.X
range?
Yes, that's correct. It would have made you have a private network layer 3 between the two guests in the 192.168.1.x address range.
In general, you also want to isolate a layer 2 (ethernet) with the VLANS on the physical switch, but if this is not possible at this time then it could be implemented now and you could later add VLAN in the switch.
It is also the reason why I think you should create a new portgroup on the same vSwitch as other existing exchanges. If you later configure VLAN to the physical switch, it will be very easy to activate this on the "private" portgroup
-
Calculate the fastest path between 2 nodes with the data model for the Oracle network
Hi all,
I have Oracle 10 g 2.
My problem is the following:
I created a network named ITALIA_NET in the data model for the Oracle network.
The table of links of this network is named: ITALIA_NET_LINK$.
The table of the nodes of this network is named: ITALIA_NET_NODE$.
The table ITALIA_NET_LINK$ contains a field named COST that contains links (in meters) lengths.
I've already calculated the SHORTEST PATH between two nodes of the network, by using the method of shortestPath() (using the Java API) as shown on "Pro Oracle Spatial for Oracle Database 11 g" manual. Infact, this method makes reference to the COST field for $ ITALIA_NET_LINK to make this calculation.
Now, I want to calculate the FASTER PATH between two nodes of the network. I have the links (in hours) travel time to make this calculation.
My idea is to create a new field in ITALIA_NET_LINK$ named Cost2 containing the travel time from the links and then do the math by using the shorthestPath() method, referring to the Cost2 field to $ ITALIA_NET_LINK COST field instead.
By default, I know that the shorthestPath() method returns the COST field for $ ITALIA_NET_LINK. Is possible to change this setting and do that this method refers to the Cost2 field?
In the alternative, is another way for the calculation of the fastest way?
I want to leave the creation of another network as last solution, because I will have other costs of field (Cost3, cos4t,...)
Thank you much in advance.Your approach is good. You will have two networks and you can read them in memory and analyze of shortest path. The shortestPath method is static for the class of NetworkManager. You can use the same method for both networks, once they are read into memory.
...
read the network with time as cost of link
NetTime network = NetworkManager.readNetwork (dbConnection, 'ITALIA_NET_TIME');
read the network length as cost of link
Network netLength = NetworkManager.readNetwork (dbConnection, 'ITALIA_NET_LENGTH');calculate the quickest way
PathTime path = NetworkManager.shortestPath (netTime, startNodeID, endNodeID);
calculate the shortest path
PathLength path = NetworkManager.shortestPath (netLength, startNodeID, endNodeID);
...In the future, if you upgrade to 11g, network data model provides a load on demand (LOD) API that loads only the scores of necessary network in memory during the analysis. This command removes the restriction of the memory of the 10g (in memory API you use) API. API of LOD can handle very large networks and offers more features analysis and modeling capabilities.
The following link contains the tutorial of NDM LOD API ready for download. Just for your information.
https://spatial.SampleCode.Oracle.com/servlets/ProjectProcess?PageID=0Zl7oVKind regards
Jack -
GPIB communication between two computers
I try to communicate between two computers via GPIB. A computer to send an order, the other will receive, save and then respond accordingly. This response will then be received by the first computer and displays (this is the emulation of a device, the real need is to communicate with a satellite TT & C)
I realized all of this. However, to be in listening mode I wired a property node with a timeout-infinity (1) before reading. Now I can't leave the VI as he is still stuck in playback until the receipt of an order.
How can I get out of the VI when he's stuck in playback function.
PS: Using GPIB for communication is a requiremnet of ht eproect and cannot be replaced.
Hello
You can have the timeout of read and then clear the error and keep looping until you get a message. And then you can use arithmetic consisting of stop the loop if you click on the stop button, or get one error other than a timeout, or if playback returns data.
If it works for you? I joined your 'writing and then read.vi' with the added code. Double check my logic, I'm sure it's just but not run it. Also, if you return a large amount of data make sure that the time-out period is sufficient.
-
I haven't used regular expressions before, and I can't find a regular expression to extract a subset of the string between two markers.
The chain;
Stuff of header I want
Stuff of header I want
Stuff of header I wantStuff of header I want
Stuff of header I want
Stuff of header I want6 ERRORS
Info I want to line 1
Info I want line 2
Info I want line 3
Info I want to line 4
Info I want to line 5
Info I want line 6
END_ERRORSFrom the string above (it is read from a text file), I try to extract the subset of string between ERRORS 6 and END_ERRORS. The number of errors (6 in this case) can be any number from 1 to 32, and the number of lines I want to extract will correspond with this number. I can provide this number of a caller VI if necessary.
My current solution, which works, but is not very elegant;
(1) using Match Regular Expression for the return of the string after you have synchronized the 6 ERRORS
(2) uses the Regular Expression matches to return all characters before game END_ERRORS of the string returned by (1)
Is there a way this can be accomplished using 1 Regular Expression Match? If so someone could suggest how, as well as an explanation of the work of the given regular expression.
Thank you very much
Alan
I used a character class to catch any word or whitespace characters. This put inside parentheses a substring matching the criteria that you can get by developing the node for regular expression matching. The \d matches the numbers and the two * s repetition of the previous term. So, \d* will find the '6', as well as "123456".
-
How can I share contacts and calendars between two Apple ID? Also my wife and share our music iTunes between our IDs?
See the following topics:
-
In the latest version of cards, there is not apparent until you find directions between two places when or is your current position. In earlier versions, we enter in two places of departure and destination. In the new version, you enter your destination into a search window, but there is no place to enter a starting location. The application assumes that your current place of residence is always your place of departure. It is a remarkable oversight by designers. Am I missing something?
If you go to maps, you can search for a location. Once you find the place, press the route button. It is from your current location, but if you type on my position, next: you can change the location that you want the management of.
-
Can I synchronize the activity of health between two watches from Apple?
I have two Apple - one for work, one for out watches. If I change watches in the middle of the day, the follow-up of the first watch of activity is not synchronized with the second watch. Is it possible to enable this so that the follow-up activity is specific for the whole day?
Thank you!
N ° it is not possible to synchronize the activity of health between two watches from Apple.
-
Syn function between two hard disks
Is there any function of Syn in the Mac OS already has syn function between two hard disks?
Just checking, do you mean sync?
-
Content of mail to sync between two computers
Is it possible to synchronize the content of mail between two computers [iPhone, if possible]? Computers currently send and receive the same two e-mail accounts [not an account of @iCloud.com]. But if I receive an email, reply or remove it on a single computer, it is always also a new email unread on the other. It's a possibility, perhaps with a disc of individual cloud?
Late 2008 MacBook Pro. El Capitan 10.11.3
Mac Mini; El Capitan 10.11.6
iPhone 6; IOS 9.3.5
Thanks in advance for any help.
Only IMAP e-mail accounts sync on devices. That's how to operate these services - nothing else is required to achieve this.
If your email is responsible for no synchronization across all computers and devices, you must have type accounts pop connect you to these accounts via a web browser and look at your options and account services. POP is such an old system these days there is almost nobody left that enemies do not switch to IMAP.
If all this is confusing, call your email providers and ask them to make the change on their end, then ask the information you will need to enter on your computers and your iDevices.
-
Google maps 'directions' between two points stopped working in firefox
When using google maps to find the route between two points "Get Directions", he will just stand here loading... never finish and showing the routes between locations.
It used to work fine a month ago. I didn't expect the update to Firefox.I opened the Camino to test on this browser google maps and since I did open Camino in a month or so he asked upgraded but also verified 'Flash' and asked at this level because it was outdated. I have tried re google maps "get directions" between two points on Firefox after the Flash update and it worked!
It is a pity that so much of the web is based on Flash. Yes its cool but its also a huge pain. I wanted to just quickly answer my own post in case others are having similar problems and simply update Flash.
See you soon
Maybe you are looking for
-
When I restart my iMac I get a message that says, "there are users connected to this computer. If you restart, they will lose their session.Click on restart to exit user sessions and restart Safari guest mode. "Someone is using my computer?
-
Error-604 occurred at the building DLL
Hi all I'm not able to build DLLs: I get the following error. I use LV2009. I tried to uninstall/reinstall LV, without success. Attached is a very simple example, which causes the error. Any suggestion is appreciated. Kind regards.
-
Update for Windows xp (kb898461)
I tried to install the update for windows xp (kb898461) but whenever I have download the process will stop and cancel the instalation.I tried different options but no one not working, can anyone help me please? What should I do?
-
XP - memory low resources?
I am running Windows XP Media Center, with a Windows Media Center extender. As part of the installation, the Microsoft software is installed an Extender resource monitor - if the monitor is in the red, you might have some performance issues with you
-
I am trying to delete or disable the Windows screen magnifier "magnifying glass" from my PC.
TrustedInstaller keeps blocking my attempts to remove the magnifying glass. I tried to access trusted install without success. How can I accomplish this? When I run games iWin game Manager works fine. However, when I opened a magnifying glass game is