DB instance versus Cluster DB
I am setting up an architect for a large company within OEM, would like to hear some feed back from others:
when creating the group: you can create the group based in DB instance even for RAC so it's can be more granule then DB cluster, is there any benefit to set up another group for DB cluster?
thanks,
I don't think so, whats exactly the need
Similar Messages
-
Problem in starting server instances in Cluster using nodeagent
Hi,
I have a cluster which is having 2 servers and in that one server is under nodeagent1(on the same host) and another is on nodeagent2 which is on an another host.
When I start the Cluster instances the server in the nodeagent1 is getting started. But the server on the nodeagent2(which is on the other host) is not getting started.
Always it says
"Operation 'start' failed in 'server' Config Mbean. Target exception message: NAGT0023:The node agent could not start instance testserver. It is starting and must be stopped."
If you wait for considerable amount of time and try to start it gives the same error. It looks like some process or something is running and depending on that it says the particular message.
In the domain server.log also it has the same information. There is nothing comes in the server specific log.
This seems to be an issue.
Is anybody observed this issue. Is there any workaround for this?
I am using Sun java Enterprise System 8.1 2005q4 version.
SebasIt seems you created your second NodeAgent when the first Nodeagent is not running.
Remember, the AS8 uses several ports other ports like jms,iiop. for the first one it takes the default port numbers and if those are free when you create second, it uses them again.
So check the port numbers that are in use for agent1 and agent2 from the domain.xml and change them, if they are same. -
Script is not being executed in another instance of cluster
Hi expert!
We have two instances running in a cluster environment.
We created a script in instance-1. The script is executed in instance-1 withoug any issue. But it is not executing in instance-2.
The instance-2 can see the script, though.
We even restarted the web server. The problem still exists.
What can be possible reason to cause it?
Could you give me any hints?
Thank you very much.Hi Jordan,
Are all the scripts not working in the 2nd instance or is the issue related to a specific script? It could be a caching related issue. I would try clearing the script key cache. If that doesnu2019t help, I would check the log file on the instance itu2019s not working. Logs should give you information on what might be going on.
Also, I assume you meant, you restarted the app server not the web server.
Regards,
Vikram -
How to add new Java Instance to cluster in EHP1?
I've installed the EHP1 (Beta 3.0) on a Windows 2003 box, and have figured out how to use the
configtool to add server processes to the initially created Java Instance.
What tool or process do I use to go the next step and add additional Java Instances to the cluster?
Sorry if I've missed where the steps are already described, I've tried to find them.
WaltHi Dido. Thanks for your pointer.
When I started the installer, it gave me only the choice of the Developer Edition. Perhaps for this
EHP1 Evaluation Version the Productive Edition is not yet available??
The top line in the installer was "SAP Enhancement Package 1 for SAP NetWeaver CE 7.1 SDN
Evaluation"
The only next choice was "SAP NetWeaver CE Developer Edition"
The two choices under this were "Custom Server Installation" and "Uninstall - SAP Systems or
Single Instances".
Will any of these choices allow me to add an additional Java Instance to the cluster?
Thanks for your help ...
Walt -
Installing dialog instance on cluster.
Hi ,
I have installed ASCS, SCS,CI and DI , on Unix Cluster Evironment ,
Now i am trying to install Dialog instance on Node B, but it is looking for Default profile which is available on /sapmnt/sid/profiles,
How do i get it on node B, Can anyone guide me how to do it using NFS, or is there any other way.
Regards,
SM..Hi
you need to export your /sapmnt/<SID> structure using NFS on the host where it resides .
If you want to use the inactive Node as an Application Server , you need to mount /sapmnt/<SID> from the NFS-Server , where it was exported , to your Node B Application Server .
There is nothing different to an regular application server so far .
Since there are different management interfaces on different operating systems , I cannot give more detailed informations , but I suppose , you will get this managed .
If you have any technical difficulties , let us know and provide more details to your cluster environment (At least , which operating system you use and which error you get).
Best regards
dirk -
Raw devices versus Cluster File Systems in RAC 10gR2
Hi,
Does anyone using cluster file systems in a RAC 10gR2 installation, specifically IBMs GPFS?
Ive visited a company that is running RAC 10gR2 in AIX over raw devices. Why someone would choose to use raw devices , with all the problems to administer , when all the modern file systems are so powerful? Is there any issues when using cluster file systems + RAC? Is there considerable performance benefits when using raw devices with RAC ?
I´ve always used Oracle stand alone instances over file systems (since version 7) , and performance was always very good. I´ve tested raw devices almost 10 years ago , and even in that time (the hardware today is much better - SAN , 15K rpm disks , huge caches - and the file systems software today is much better) the cost to administer it does not compensate the benefits (only 5% more faster than file systems in Oracle 7).
So , besides any limitations imposed by RAC , why use raw devices nowadays ?
Regards,
Antonio BelloniHi,
spontaneously, my question would be: How did you eliminate the influence of the Linux File System Cache on ext3? OCFS2 is accessed with the o_direct flag - there will be no caching. The same holds true for RAW devices. This could have an influence on your test and I did not see a configuration step to avoid it.
What I saw, though, is "counter test": "I have tried comparing simple file copies from an OS level and the speed differences are not apparent - so the issue only manifests itself when the data is read via an oracle db." and I have no good answer to that one.
Maybe this paper has: http://www.oracle.com/technology/tech/linux/pdf/Linux-FS-Performance-Comparison.pdf - it's a bit older, but explains some of the interdependencies.
Last question: While you spent a lot of effort on proving that this one query is slower on OCFS2 or RAW than on ext3 for the initial read (that's why you flushed the buffer cache before each run), how realistic is this scenario when this system goes into production? I mean, how many times will this query be read completely from disk as opposed to use some block from the buffer? If you consider that, what impact does the "IO read time from disk" have on the overall performance of the system? If you do not isolate the test to just a read, how do writes compare?
Just some questions. Thanks. -
Reload applications multiple instances in cluster
Apologies if this in another post but could not find
anything.
I am looking for strategies to reload app vars across
instances in a cluster.
Any suggestions?
thanks,
MikeGrizzly9279 wrote:
> Say you have a web server, let's call it "WEB1". WEB1
could be hosting IIS,
> Apache, etc. It doesn't really matter.
Let's say IIS with a wwwroot at c:\inetpub\wwwroot. So the
index.cfm of
the application is located at c:\inetpub\wwwroot\index.cfm
> Now let's say you have two CF application servers, let's
call them "APP1", and
> "APP2". Each application server hosts 2 CF instances. So
APP1 has two CF
> instances on port 8301 and 8302. APP2 has two CF
instances on port 8303 and
> 8304.
Ans each of those instances has its own webroot at the root
dir of the
CF WAR file, which is (in UNC notation):
\\APP1\c$\JRun4\servers\instance1\cfusion.ear\cfusion.war\
\\APP1\c$\JRun4\servers\instance2\cfusion.ear\cfusion.war\
\\APP2\c$\JRun4\servers\instance1\cfusion.ear\cfusion.war\
\\APP2\c$\JRun4\servers\instance2\cfusion.ear\cfusion.war\
> "Normal" requests to the site are sent to WEB1, which in
turn forwards CFM
> requests to the CF cluster, which could fall on any one
of 4 possible CF
> instances (8301, 8302, 8303, and 8304).
Correct.
> Under this schema, you can make DIRECT requests to the
application on the
> internal network as follows:
> -
http://app1:8301/
> -
http://app1:8302/
> -
http://app2:8303/
> -
http://app2:8304/
You can make requests to those locations indeed. And they
will arrive at
the internal JRun server. And the internal JRun server will
resolve them
relative to its own webroot, not relative to the IIS webroot.
To get this to work, you have several options:
- make the JRun webroot equal to the IIS webroot (change its
location in
the xml config file);
- place a bootstrap file in each JRun webroot that call the
application
through cfmodule / cfinvoke / cfinclude;
- switch on sticky sessions in your cluster and include a
jsessionid in
your http request that is specific to the instance you want
to hit
(first 4 characters of the jsessionid equal to the serv
er.if).
> Does that make sense? Is there something particularly
exotic or unique about
> your current infrastructure that prevents you from
individually referencing
> each cluster instance internally?
Nothing exothic. In fact, I would say that the majority of
the clusters
have a JRun webroot that is not the same as the IIS / Apache
webroot.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
Deregister instance from cluster
Hi,
How can i deregister an instance from the cluster ?
thx.Hi,
The commands bellow can helps u.
$ srvctl remove instance -d your_datababase -i your_instance1
Remove instance 1 from OCR (Oracle Cluster Registry)
$ srvctl remove instance -d your_datababase -i your_instance1
Remove instance 2 from OCR (Oracle Cluster Registry)
$ srvctl remove database -d your_database
Remove the database from OCR (Oracle Cluster Registry)
$ srvctl remove service -d your_database -s your_service -i your_instance1,your_instance2
Remove the services from OCR (Oracle Cluster Registry)
$ srvctl remove nodeapps -n your_host1
Remove all node apps from node 1 do OCR (Oracle Cluster Registry)
$ srvctl remove nodeapps -n your_host2
Remove all node apps from node 2 do OCR (Oracle Cluster Registry)
Regards,
Rodrigo Mufalani
http://mufalani.blogspot.com -
WL Instance versus Physical Server
I was under the impression that each instance of a WebLogic server in a cluster ran on its own physical
server. But now I've been told that you can have a cluster of WebLogic servers running on a
single physical machine!
Is this advisable? Is it a common configuration?
To me, this seems to defeat the purpose of clustering.
Dave
Yes, cluster load-balancing and failover will work for virtual 2 or n tiered architecture. Physical
tiering is irrelevant here for these software-based clustering behaviors. What physical tiering is
relevent for, though, is hardware robustness.
Gene Chuang
Join Kiko.com!
"Ganaraja V Bhat" <[email protected]> wrote in message news:[email protected]...
> We have 2 instances runing on the same box , but while going through the doc Planning for
Clustering , i
> see that lot of emphasis is given on the Physical aspect , rather than the logical .But in our
case
> everything is on one box , now will the ckustering work at all the levels (servlet/JSP,EJB)
>
> Thanks
> Neeraj
>
> Gene Chuang wrote:
>
> > Is your web and app the same server instance, or two instances running on the same box? If the
> > former, then load-balance will definitely not occur. If the latter, then I believe it will.
> >
> > --
> > Gene Chuang
> > Join Kiko.com!
> > "Ganaraja V Bhat" <[email protected]> wrote in message news:[email protected]...
> > > Hello,
> > > To make things more clear i am giving the details of the arch being used,
> > > we have 3 GS140 machines(8 CPU) .In each machine we r installing
> > > Webserver/LDAP/Weblogic , so that they behave in the cluster mode.
> > > Will this arch facilitate the fail-over and load balancing at webserver/application layer
> > >
> > > ang wrote:
> > >
> > > > We could implementing all instances in a single physical server. That requires more high
power
> > server in order to achive the similar performance as the mulit-physical server configuration.
It
> > would be ok for load balance. But not for fail-over. There is no redunanncy for physcial
server in
> > this configuration. A single system crash will lose all services to clients.
> > > >
> > > > Ganaraja V Bhat <[email protected]> wrote:
> > > > >David ,
> > > > > i am also searching for the right answer as in my project we r using cluster wherein all
the
> > machines
> > > > >have webserver/appserve/ldap i am not convinced with this as i got hold of a whitepaper
which
> > clearly says
> > > > >that we need to have diferent physical layer.........but .....needs more clarifications .
> > > > >
> > > > >Looking for the comments from u all
> > > > >
> > > > >Neeraj
> > > > >
> > > > >David Mrozek wrote:
> > > > >
> > > > >> I was under the impression that each instance of a WebLogic server in a cluster ran on
its
> > own physical
> > > > >> server. But now I've been told that you can have a cluster of WebLogic servers running
on a
> > > > >> single physical machine!
> > > > >> Is this advisable? Is it a common configuration?
> > > > >> To me, this seems to defeat the purpose of clustering.
> > > > >> Dave
> > > > >
> > >
>
-
Limiting MDB to one instance per cluster
I'm working on a Weblogic setup that has one cluster consisting of three servers. We have one queue in particular whose MDB does a lot of database access. We're running into locking problems with the database because Weblogic is running an instance of the MDB on each of the three servers at the same time and they are stepping on each other's toes.
I would like to limit the queue so it only runs on one server in the cluster. The pool size for this MDB is set to "1". I thought this would limit the total number of MDBs to one, but apparently it limits it to one per server.
Any idea what sort of configuration I need to make sure only one instance of the MDB exists in the cluster? Do I need to turn this into a distributed queue and do something with load balancing?
Thanks,
MattThanks for the reply.
I looked around and I couldn't find a way to target the MDB to a specific server. I can target the JMS server, but not a single MDB. The way I have it setup currently, the JMS server is targeted to one server in the cluster (non-migratable).
How do I target a MDB to a specific server?
Matt -
J2EE remove instance from cluste
Hello to all,
in configtool three instances are shown below node "cluster-data", but only two instances are installed. one of them is an old instance. Where could I delete them?
Is there a blog for clustering J2EE instances?
Regards, Christiani dont think the instace is old
you need to restart the j2ee engine to activate this server node
if you dont want the server node you can remove the server from configtool it self
on top you have option server->remove server
first select the server node which you want to remove and select the option remove server
Samrat -
How to create per instance jvm.config files for multi-instance ColdFusion Cluster ?
So when we have created our coldfusion 9 instance on solaris all the files and settings of the master instance are copied except the jvm.config file. This means that any changes made here are used for all instances of ColdFusion on that Node. Now I want to play with memory settings for fine tuning of Application performance and I want to do it on one single instance. I want to know the process of creating individual jvm.config files for each instance.
Thanks
PradeepThanks Anit, I did whatever is posted in the KB Article. Now I get this below error #
jrunx.xml.XMLMetaData$CouldNotCreateDocumentException: Could not create document from location 'file:/data/www/appserver/jrun/lib/servers.
xml'
at jrunx.xml.XMLMetaData.createDocument(XMLMetaData.java:1028)
at jrunx.xml.XMLMetaData.importXML(XMLMetaData.java:200)
at jrunx.xml.XMLMetaData.<init>(XMLMetaData.java:122)
at jrunx.server.metadata.ServersMetaData.<init>(ServersMetaData.java:32)
at jrunx.server.ServerManagement.refreshServersMetaData(ServerManagement.java:82)
at jrunx.server.ServerManagement.getServerRootDirectory(ServerManagement.java:154)
at jrunx.server.ServerManagement.getServerProperties(ServerManagement.java:191)
at jrunx.server.ServerManagement.getSystemProperties(ServerManagement.java:204)
at jrunx.kernel.JRun.setSystemProperties(JRun.java:688)
at jrunx.kernel.JRun.start(JRun.java:337)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at jrunx.kernel.JRun.invoke(JRun.java:180)
at jrunx.kernel.JRun.main(JRun.java:168) -
Could you describe the difference between an Instance and a Schema? Also, if you require to bring into a single instance two different applications (with same database structure), what will be the advantages/disadvantages that you foresee? The applications may share more than one table/views, thanks
An instance is a collection of inter-related memory structures necessary to have your database behave like a database. In our case we have three whose SIDs (aka 'names') are DEV, TEST & PROD.
A schema is a user account which owns database objects, and a couple can be installed into Oracle by default when an instance is created, namely HR & SCOTT. An instance can have one or more SCHEMAS contained within it (think..table resides in a schema, and the schema resides in the database instance).
We chose to collect all of our applications into a single instance (though we have the three iterations of it DEV, TEST & PROD), separating each application into it's own schema. This would also be fine in your case, as objects can share the same name as long as they're in different schemas.
One instance will greatly simplify your backup strategy, and will also (IMO) allow you to better use hardware resources on your server (assuming you would've put separate instances on the same box).
-Chuck -
JNDI Lookup for multiple server instances with multiple cluster nodes
Hi Experts,
I need help with retreiving log files for multiple server instances with multiple cluster nodes. The system is Netweaver 7.01.
There are 3 server instances all instances with 3 cluster nodes.
There are EJB session beans deployed on them to retreive the log information for each server node.
In the session bean there is a method:
public List getServers() {
List servers = new ArrayList();
ClassLoader saveLoader = Thread.currentThread().getContextClassLoader();
try {
Properties prop = new Properties();
prop.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
prop.put(Context.SECURITY_AUTHENTICATION, "none");
Thread.currentThread().setContextClassLoader((com.sap.engine.services.adminadapter.interfaces.RemoteAdminInterface.class).getClassLoader());
InitialContext mInitialContext = new InitialContext(prop);
RemoteAdminInterface rai = (RemoteAdminInterface) mInitialContext.lookup("adminadapter");
ClusterAdministrator cadm = rai.getClusterAdministrator();
ConvenienceEngineAdministrator cea = rai.getConvenienceEngineAdministrator();
int nodeId[] = cea.getClusterNodeIds();
int dispatcherId = 0;
String dispatcherIP = null;
String p4Port = null;
for (int i = 0; i < nodeId.length; i++) {
if (cea.getClusterNodeType(nodeId[i]) != 1)
continue;
Properties dispatcherProp = cadm.getNodeInfo(nodeId[i]);
dispatcherIP = dispatcherProp.getProperty("Host", "localhost");
p4Port = cea.getServiceProperty(nodeId[i], "p4", "port");
String[] loc = new String[3];
loc[0] = dispatcherIP;
loc[1] = p4Port;
loc[2] = null;
servers.add(loc);
mInitialContext.close();
} catch (NamingException e) {
} catch (RemoteException e) {
} finally {
Thread.currentThread().setContextClassLoader(saveLoader);
return servers;
and the retreived server information used here in another class:
public void run() {
ReadLogsSession readLogsSession;
int total = servers.size();
for (Iterator iter = servers.iterator(); iter.hasNext();) {
if (keepAlive) {
try {
Thread.sleep(500);
} catch (InterruptedException e) {
status = status + e.getMessage();
System.err.println("LogReader Thread Exception" + e.toString());
e.printStackTrace();
String[] serverLocs = (String[]) iter.next();
searchFilter.setDetails("[" + serverLocs[1] + "]");
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
prop.put(Context.PROVIDER_URL, serverLocs[0] + ":" + serverLocs[1]);
System.err.println("LogReader run [" + serverLocs[0] + ":" + serverLocs[1] + "]");
status = " Reading :[" + serverLocs[0] + ":" + serverLocs[1] + "] servers :[" + currentIndex + "/" + total + " ] ";
prop.put("force_remote", "true");
prop.put(Context.SECURITY_AUTHENTICATION, "none");
try {
Context ctx = new InitialContext(prop);
Object ob = ctx.lookup("com.xom.sia.ReadLogsSession");
ReadLogsSessionHome readLogsSessionHome = (ReadLogsSessionHome) PortableRemoteObject.narrow(ob, ReadLogsSessionHome.class);
status = status + "Found ReadLogsSessionHome ["+readLogsSessionHome+"]";
readLogsSession = readLogsSessionHome.create();
if(readLogsSession!=null){
status = status + " Created ["+readLogsSession+"]";
List l = readLogsSession.getAuditLogs(searchFilter);
serverLocs[2] = String.valueOf(l.size());
status = status + serverLocs[2];
allRecords.addAll(l);
}else{
status = status + " unable to create readLogsSession ";
ctx.close();
} catch (NamingException e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
} catch (CreateException e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
} catch (IOException e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
} catch (Exception e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
currentIndex++;
jobComplete = true;
The application is working for multiple server instances with a single cluster node but not working for multiple cusltered environment.
Anybody knows what should be changed to handle more cluster nodes?
Thanks,
GergelyThanks for the response.
I was afraid that it would be something like that although
was hoping for
something closer to the application pools we use with IIS to
isolate sites
and limit the impact one badly behaving one can have on
another.
mmr
"Ian Skinner" <[email protected]> wrote in message
news:fe5u5v$pue$[email protected]..
> Run CF with one instance. Look at your processes and see
how much memory
> the "JRun" process is using, multiply this by number of
other CF
> instances.
>
> You are most likely going to end up on implementing a
"handful" of
> instances versus "dozens" of instance on all but the
beefiest of servers.
>
> This can be affected by how much memory each instance
uses. An
> application that puts major amounts of data into
persistent scopes such as
> application and|or session will have a larger foot print
then a leaner
> application that does not put much data into memory
and|or leave it there
> for a very long time.
>
> I know the first time we made use of CF in it's
multi-home flavor, we went
> a bit overboard and created way too many. After nearly
bringing a
> moderate server to its knees, we consolidated until we
had three or four
> or so IIRC. A couple dedicated to to each of our largest
and most
> critical applications and a couple general instances
that ran many smaller
> applications each.
>
>
>
>
> -
Error in installation of Central Instance in Windows Cluster with Oracle
Hi!
If I try to continue with the installation of Central Instance of Cluster I get the following error:
The java load in database <sid>/<server> has already been configured.
Solution: remove the schema and load it with a new load before you run this installation
Can some one tell me how to proceed?
Thank you very much!
Regards
ThomThom,
Did you figure this one out?
Thanks
S.
Maybe you are looking for
-
Transfer info from one mac to another
I'm having problems with transfering data between my macbook (old) and my macbook pro (new) they are both in perfect running order. I have been trying to use target disk mode but I have been totally unsuccessful. I can't find my photo or my itunes li
-
Cannot download or view the attachments from PCUI BSP appliations in portal
Hello, We are not able to view or download the attachments uploaded into any of the PCUI BSP applications called in portal. Initially we were not able to upload to but activating the services for the PCUI applications made it work, I am not sure if t
-
Downgraded to iTunes 6, now I can't play any purchased songs
A few weeks ago I upgraded to the infamous iTunes 7 and it crashed my computer so I paid $100 to have it repaired and today I downloaded iTunes 6 (from the CD that came with my iPod). First, iTunes 6 wouldn't open because of the "iTunes Library.itl"
-
Do this device have Wifi connectivity ? Insignia - Blu-ray Disc Player: NS-WBRDVD
http://www.bestbuy.com/site/Insignia&%23174%3B+-+Blu-ray+Disc+Player+with+Wi-Fi+and+1080p+Output/938... "Built-in Wi-Fi support For future streaming and product updates." What does this mean "future streaming" -- does this mean it's does currently w
-
How to use javascript and scriptlet simultaneously
Hi all!! I have a jsp page on which there are two selection lists. One is for publisher names list and second is for journal names list corresponding to publisher selected in first selection list. When publisher name is selected in first selection li