JCoIDoc / JCo listening to the same server configuration fails
Hello experts,
I'm trying to use SAP JCo IDoc Library 3.0.5 / SAP JCo Library 3.0.6 for processing of IDocs / BAPIs sent from SAP. When a IDoc server is created with a set of ServerDataProvider properties, the server starts and is able to process the IDocs right. However, when I use the same configuration for starting a plain JCo Server for processing of BAPIs, the Server doesnt start. The getServer() call on JCoServer is rejected with a java.lang.ClassCastException - DefaultServer incompatible with JCoIDocServer. Is there any work around for this?
Regards, Srinu
Hi Srini,
I have worked on JcoIDOC & am able to post IDOC in the SAP System. As well as from SAP system am able to tranfer the idoc to XML in a local file system.
Can you please elaborate your scenario..?
Thanks,
Arun.
Similar Messages
-
How to configure multiple listeners to listen for the same instance.
Hello everyone,
I am running oracle database 11g and I want information regarding how to configure multiple listeners to listen for the same database instance. Actually I know how to configure more than one listener but the main thing that I am confused about is when we create listener.ora file, do we have to statically register the database instance with both the listeners or the instance will register itself with both the listeners.
According to my knowledge the instance will register with the listener specified by LOCAL_LISTENER parameter and we cannot have more than one value for this parameter.
Please only give detailed answers with example as I am tired of simple answers with details that I already know.Hello,
Yes, it can make sense to have several listener for one Oracle instance. For instance you may have one listener for the applications another listener for DBA administration tasks as well as one listener dedicated to dataguard broker. It is not possible to have several listeners listening on the same IP and Port.
By default the database try to automatically register to a listener on port 1521. To instruct the instance to register to a specifc list of listeners you can add in the init.ora the local_listener parameter with an alias definition:
i.e
local_listener=MY_SET_OFF_LISTENERS
in your tnsname.ora add an entry called:
MY_SET_OFF_LISTENERS_LOCAL= (ADDRESS_LIST=
(ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1530))
(ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1531))
(ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1532))
In this sample your instance will register to three listeners listening on respectively port 1530, 1531 and 1532
If you want your clients can be balanced over the 3 listeners -
I'm building a test Lync deployment on Azure; yes, I know this is not supported, hence "test".
Lync Front-End servers expose two set of web services, one for internal users and one for external ones; they listen on different ports (443 and 4443) on the same servers; when external services are published, you need a reverse proxy or a port forwarding
in order to map port 443 of a public IP address to port 4443 of the Front-End server(s). When you have multiple Front-End servers in a pool, you also need to load-balance them.
So, a typical Lync deployment looks like this:
Internal users
|
443
|
Internal LB
192.168.0.20
443 443
| |
Lync FE 1 Lync FE 2
192.168.0.21 192.168.0.22
| |
4443 4443
External LB
Public IP Address
|
443
|
External Users
This should be easily replicated in Azure, as it supports both external load balancing and internal load balancing. They are even supported together in the same cloud service, so this configuration should be easy. However, it looks like "should"
is the keyword here.
After creating the external load balanced endpoint (which listens on external port 443 and forwards to port 4443 on the servers), I'm trying to create an internal load balancer and add internal endpoints to is; however, while the ILB can be created successfully,
adding an internal endpoint listening on port 443 and forwarding to port 443 on the servers fails miserably, with an error stating that port 443 is already in use by another endpoint:
Update-AzureVM : BadRequest : Port 443 is already in use by one of the endpoints in this deployment. Ensure that the port numbers are unique across endpoints within a deployment.
For reference, my commands are:
Add-AzureInternalLoadBalancer -InternalLoadBalancerName "LyncILB" -ServiceName "LyncFrontEnd" -SubnetName "LabSubnet" -StaticVNetIPAddress 192.168.0.20
(This completes successfully)
Get-AzureVM LYNCFE1 | Add-AzureEndpoint -Name "Https-Int" -Protocol "tcp" -LocalPort 443 -PublicPort 443 -LBSetName "HttpsIntLB" -DefaultProbe -InternalLoadBalancerName "LyncILB"
(This fails)
The existing external endpoint is configured as such:
Get-AzureVM LYNCFE1 | get-azureendpoint
LBSetName : HttpsExtLB
LocalPort : 4443
Name : HTTPS-Ext
Port : 443
Protocol : tcp
Vip :
ProbePath :
ProbePort : 4443
ProbeProtocol : tcp
ProbeIntervalInSeconds : 15
ProbeTimeoutInSeconds : 31
EnableDirectServerReturn : False
Acl : {}
InternalLoadBalancerName :
IdleTimeoutInMinutes :
LoadBalancerDistribution :
The error doesn't even make a lot of sense; the external load balancer listens on a public IP address, while the internal load balancer listens on a private IP address in the internal network; there
shouldn't be any conflict here... however it looks like there is one instead.
Why doesn't this work? Am I doing something wrong, or is Azure networking just being silly as usual again?Hello Massimo Pascucci,
The issue that you are facing when creating an endpoint with internal loadbalancer is the limitation of not allowing same ports to be listening under a single cloud service. This reason for this is that there is a limitation of only one private IP (Also
known as the Internal load balanced IP) per cloud service.
There is also a limitation on the Internal load balancer more than one port to be published per load balancer:
You can leave your feedback by following the link below:
https://social.msdn.microsoft.com/Forums/en-US/1805c5a0-3906-4cd6-8561-9802d77e0ae5/is-it-possible-to-use-both-an-ilb-and-an-elb-listening-on-the-same-port-in-the-same-azure-cloud?forum=WAVirtualMachinesVirtualNetwork
Refer to this article for more information on Internal load balancer:
http://azure.microsoft.com/blog/2014/05/20/internal-load-balancing/
Thanks,
Syed Irfan Hussain -
I am migrating data and performing an upgrade from 9.2.0.1 to 10.2.0.3 on the same VMWARE virtual hosts. Each host is a production host. The customer does not have test, QA, or development environments or hardware either virtual or otherwise to support testing or QA. I have to migrate directly to an Oracle 10.2.0.3 database and product on their production Virtual hosts currently running a single 9.2.0.1 instance and database. They are running Windows 2000 SP4 on two of the production VMWARE hosts and Windows 2003 on the other production VMWARE host.
They desire for me to upgrade their production 9i database on the same virtual host. This is my plan and wanted to know if this makes sense or is feasible in Oracle 10g:
1. Inform all users of the PROD database that it will not available until upgrade/migration is complete. (one PROD database is 30GB large, another is 100GB large. I will do the 30GB upgrade/migration first on the PROD1 VMWARE host then perform the second 100GB upgrade/migration on the PROD2 VMWARE host). Sequentially not simultaneously.
2. Perform Backups: Create a full export of the 9i production databases. Create full backups using RMAN. Create cold backups of all 9i database files from the PROD databases. If possible, take a VMWARE image of the Oracle 9i homes and oradata files and then shutdown the Oracle 9i database when ready to start the install of Oracle 10g and finally import and migration of 9i data to 10g 10.2.0.3.
3. Shutdown all 9i services on the production VMWARE host, which I will call, PROD.
4. Install Oracle 10.2.0.1 in a separate Oracle 10g home on PROD.
5. Patch Oracle 10.2.0.1 home to 10.2.0.3 using OUI interactive mode of the patch.
6. Create a 10.2.0.3 database using the Database Configuration Assistant (10.2.0.3).
7. Create necessary tables spaces and user accounts that the 9i export will be expecting on the 10.2.0.3 database. (I will take counts and metrics of 9i DBA_OBJECTS, V$VIEWS and row counts of all tables, views, etc before shutting down the 9i databases to compare once the 10g 10.2.0.3 import has completed). I will also create DML scripts of all the 9i tables spaces, user accounts, roles and profiles. I need to confirm if the 9i database(s) are running OLAP and contain materialized views as well and prepare the new 10g databases for this as well.
8. Execute imp utility 10.2.0.3 using the dmp file from the 9.2.0.1 export.
9. Execute required migration scripts to the 10.2.0.3 database using the scripts contained in rdbms/admin as documented in the 10g Upgrade manual and the 10.2.0.3 patch notes. Compile INVALID objects, etc.
Questions I have are:
1. Will I still be able to run the Oracle 9.2.0.1 database on the same host as the newly installed/migrated Oracle 10g 10.2.0.3 database? They will have different database names. I will be using the new Oracle 10g LISTENER. I will shutdown or disable the Oracle 9i LISTENER. I can set the ORACLE_SID and ORACLE_HOMES to point to either the 9i database or the 10g 10.2.0.3 database depending on which one I want to run.
2. Is this possible or will the Oracle 10g install and patch install corrupt the 9i home or the Windows 2000 (SP 4) registry to where I can no longer run the 9i (9.2.0.1) database on the sam Virtual Host as the Oracle 10g 10.2.0.3 database?
3. Will Oracle 10g Grid 10.2.0.3 agent be able to monitor both the Oracle 9.2.0.1 database and the Oracle 10.2.0.3 database listening on the Oracle 10.2.0.3 LISTENER on the same PROD host?
Sorry for the large thread but this has been the migration/upgrade from hell and the first production upgrade/migration has not been going well. The Oracle Upgrade Assitant running in 10.2.0.1 failed and corrupted both the Oracle 9i home and the Oracle 9i data. I recovered by creating a new Oracle 10g database and using export/import to get the last good export of the corrupted 9i database over to the new Oracle 10g database. Luckily I have recovered the 9i data and most of the objects in a new Oracle 10.2.0.1 database and is now running in production and I am performing the final patch and upgrade to 10.2.0.3 on this database.Are you saying the notes are incorrect?
No, I wasn't commenting on that at all. I was just saying that DBUA is the recommended way of upgrading databases... and that's in spades if you're talking about 100GB databases.
I'll lay odds that DBUA to 10.2.0.1 and then patching to 10.2.0.3 is quicker than exporting and importing 100GB of data.
(Applying a 10.2.0.3 patch is done with opatch and doesn't require a fresh installation of Oracle. A patch mostly just modifies the data dictionary: it's finished in minutes, not hours).
My real point: these sorts of questions are incredibly easy to ask, answer, discard, re-ask, modify, mull over and basically experiment with in a virtual environment.
And again: it's utterly bizarre why you wouldn't have physical access to this database (and keep in mind that I can't keep in mind little nuggets of information such as this one which you didn't see fit to share earlier!)
It's in a virtual server. Virtual servers can be zipped up and emailed! (OK, maybe not 100GB... but I've shipped a small hard disk in a zip-lok pack envelope half way round the world before now -though obviously it wasn't critical to have the contents of that envelope available for use all the time... Still, it sounds to me like here's a technology (virtualisation) that's not being properly exploited). -
Hi everybody!
I have in a little trouble ....
*** Scenario.
Oracle Enterprise Edition 11gr2 over Oracle Solaris 11
3 instances: PROD, QA, DEV
1 ASM instance
Listener ports: 1520, 1530 & 1540
Those are production system
*** The problem:
Customer can't pay Oracle EE, they want to change to Oracle Std One
Limitations:
I cant have a similar system to test.
*** My idea:
Install Oracle Std One, in the same path:
/u01/app/oracle/product/11.2.0/db <-- EE
/u01/app/oracle/product/11.2.0/db_one <-- Std Ed One
ASM:
/u01/app/11.2.0/grid <-- EE +ASM
/u01/app/11.2.0/grid_one <-- Std Ed One +ASM1
Create databases:
Asign similar disks to +ASM1
Create DGs on +ASM1
Create databases: PROD, QA, DEV for Std Ed one
- is it posible that they have same instance name?
- if not, i suppose create as: PROD1, QA1, DEV1
Configure Listener port : 1521, 1531 & 1541
Migration technique:
Create Tablespaces, schemas
Lock users in EE
down listener: 1520, 1530 & 1540
Import data of final users in a window maintanance
configure and up listener: 1521, 1531 & 1541
Customer should test access and apps in new
Please tell me if my Idea is reallistic, all comments are going to be very apreciated.sol.beach
I suppose end customer use a port per database in order to separate in a logical way the access to the databases,
i mean PROD, QA & DEV has the same users.
Hemant K Chitale
1. I've seen physical servers with 3 ASM instances: +ASM1, +ASM2, +ASM3
on Solaris & Oracle 10g, I suppose is posible on 11g
2. The sever has occupied 2 sockets (2 physical CPU), so I can use Oracle Standard Ed One.
JohnWatson2
Thanks for your comments.
WadhahDaouehi
1. - You cannot run two ASM instance simultaneously on one Server, but you can run many Oracle database simultaneously
on the same server which they use the ASM as storage type.
As a mentioned to Hemant K Chitale, I've seen a system with several instances running
About
"you can run many Oracle database simultaneously on the same server which they use the ASM as storage type."
I'm not sure if i can use the same ASM which is part of a current Enterprise Ed over the new installation with Oracle Std Ed One.
2. - Why you want the same instance name?
If it is about the service name, which has by default the same instance name, just you can create a different instance name
and create the service name with the name that you wish.
SQL> alter system set service_names='instance_name';
Is a similar name, not the same
PROD, QA & DEV
PROD1, QA1 & DEV1
I consider add "1" at the end to refer "Oracle Standar Ed One"
But I agree with you, i can customize throught service_name.
Regards,
Abraham Mtz. -
CNR: Two cnr instances in the same server (lab environment)
Hello, we are trying to install two cnr 7.2 intances on the same server in order to replicate in lab the real environnment (failover local cluster) without deploying two servers.
I've seen on the installation guide that installing both a local and regional server on a single machine is supported, but what about two local servers working as a failover pair?
up to date, we've managed to install both installs, the dhcp servers are configured for using different interfaces and web gui are listening in different ports. scp ports have been changed (1234 and 4321 ) and, on dhcp-server expert configuration: failover-remote-port and failover-port are configured to be different (677 - 678 in one , and 678 - 677 in the other)
We can manage both servers from DHCP - failover configuration, as they show up and running, and even see logs... The other configs are
When trying to syncronize we get the error
"ChangeSet list is empty."
is this configuration supported?
best regards!user10127912 wrote:
Hi,
We are planning to install second instance of Oracle 11gR2 in Linux server 2.6.39-400.21.1.el6uek.x86_64 x86_64. This is something we never haven done before. If you have such experience, please give us some insight.
The existing instance has all the standard ports:
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Enterprise Manager Console HTTP Port (pterpdb02) = 1158
Enterprise Manager Agent Port (pterpdb02) = 3938
What ports should we select for second listener and enterprise manager? Is there anything else that we need to know before we install the second instance?If you want a second database instance, no additional installation is required - as long as you want to run the second instance at the same version as the the first. Just fire up dbca and create the second database. One installation of Oracle (one ORACLE_HOME) is capable of supporting many database instances, though the same may or may not be said of the hardware it is running on.
As already said, one listener is enough. One listener, running from one oracle home, using the default name of LISTENER, running on the defualt port of 1521, is quite capable of -- indeed, WAS DESIGNED TO, supporte multiple database instances of multiple versions running from multiple ORACLE_HOMEs.
One instance of dbcontrol/dbconsole will support only one database. If you do not use Grid Control (extra installation, extra license) you will need to use the emca utility or one of the options in the dbca utility to configure a seperate instance of dbcontrol for each database. Don't worry about the ports, the creation utility will take care of it and report what it does. -
Rman duplication of database to the same server and same disk group
Hi,
We have multiple databases - rmsprd1 and oidprd1 on asm disk groups - ASMDG_DAT01 and ASMDG_FRA01 on a server.
Both these databases are single instance asm based databases.
I am trying to do a rman duplication from rmsprd1 to rmsprd2 in the same server. I intend to use the same asm disk groups - ASMDG_DAT01 and ASMDG_FRA01.
Is this possible ?
Currently I have the following structure
+ASMDG_DAT01/RMSPRD1/DATAFILE
+ASMDG_DAT01/RMSPRD1/CHANGETRACKING/
+ASMDG_DAT01/RMSPRD1/CONTROLFILE/
+ASMDG_DAT01/RMSPRD1/DATAFILE/
+ASMDG_DAT01/RMSPRD1/ONLINELOG/
+ASMDG_DAT01/RMSPRD1/PARAMETERFILE/
+ASMDG_DAT01/RMSPRD1/TEMPFILE/
+ASMDG_FRA01/RMSPRD1/AUTOBACKUP/
+ASMDG_FRA01/RMSPRD1/BACKUPSET/
+ASMDG_FRA01/RMSPRD1/CONTROLFILE/
+ASMDG_FRA01/RMSPRD1/DATAFILE/
+ASMDG_FRA01/RMSPRD1/ONLINELOG/
Will I be able to create something like
+ASMDG_DAT01/RMSPRD2/DATAFILE
+ASMDG_DAT01/RMSPRD2/CHANGETRACKING/
+ASMDG_DAT01/RMSPRD2/CONTROLFILE/
+ASMDG_DAT01/RMSPRD2/DATAFILE/
+ASMDG_DAT01/RMSPRD2/ONLINELOG/
+ASMDG_DAT01/RMSPRD2/PARAMETERFILE/
+ASMDG_DAT01/RMSPRD2/TEMPFILE/
+ASMDG_FRA01/RMSPRD2/AUTOBACKUP/
+ASMDG_FRA01/RMSPRD2/BACKUPSET/
+ASMDG_FRA01/RMSPRD2/CONTROLFILE/
+ASMDG_FRA01/RMSPRD2/DATAFILE/
+ASMDG_FRA01/RMSPRD2/ONLINELOG/
I know that I can create a different asm disk group for the rman duplication but this is proving to be a hassle.
Thanks
SandeepHi,
I have found the answer working with Oracle via a service request. Admittedly there was no direct oracle documentation for doing this and hence documenting the steps here.
No legalities, formalities involved please.
Here are the steps - rmsprd1 is the source, rmsprd2 is the target, +ASM is the asm instance supporting both rmsprd1 and rmsprd2. The intention is to put both the source and destination in the same server. The backupset backup in location /dbaadm/sandeep_rman_refresh will be used for the duplication.
1) Take rman backupset backup of the source database - rmsprd1
rman_take_backup.ksh ( Take backup of source - rmsprd1 using rman ). The contents of the rman_take_backup.sh script are given below :
rm /dbaadm/sandeep_rman_refresh/*
export NLS_DATE_FORMAT='YYYY-MM-DD:HH24:MI:SS'
rman target / <<EOF
run
allocate channel d1 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
allocate channel d2 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
allocate channel d3 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
allocate channel d4 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
allocate channel d5 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
allocate channel d6 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/dbaadm/sandeep_rman_refresh/%F';
backup as backupset database plus archivelog tag 'clonebackupset';
EOF
2) Make the directories for destination database ( rmsprd2 )
/opt/oracle/admin> mkdir -p rmsprd2/adump rmsprd2/dpdump rmsprd2/pfile rmsprd2/scripts
3) Create pfile from rmsprd1 spfile. copy/rename the pfile to make a pfile for rmsprd2.
4) Edit listener.ora in ASM ORACLE_HOME and edit tnsnames.ora in DB ORACLE_HOME
listener.ora
LISTENER_RMSPRD2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(ADDRESS = (PROTOCOL = TCP)(HOST = kirkjerpdb01.kirklands.com)(PORT = 1522))
SID_LIST_LISTENER_RMSPRD2 =
(SID_LIST =
(SID_DESC =
( ORACLE_HOME = /opt/oracle/product/11.2.0/db_1 )
( SID_NAME = rmsprd2 )
ADR_BASE_LISTENER_RMSPRD2 = /opt/oracle
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_RMSPRD2=ON # Section added by Sandeep
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER_RMSPRD2=OFF
ADMIN_RESTRICTIONS_LISTENER_RMSPRD2=ON
tnsnames.ora ( http://francispaulraj.wordpress.com/ora-12528-tnslistener-all-appropriate-instances-are-blocking-new-connections/ )
RMSPRD2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = kirkjerpdb01.kirklands.com)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rmsprd2)
(UR = A)
5) Build a passwordfile ( I just copied and renamed it )
6) Edit /etc/oratab to add database entry for rmsprd2
7) Set the environment for rmsprd2
. oraenv
rmsprd2
8) Startup nomount of rmsprd2
sqlplus / as sysdba
startup nomount pfile=/opt/oracle/admin/rmsprd2/pfile/initrmsprd2.ora
9) Create spfile from pfile='/opt/oracle/admin/rmsprd2/pfile/initrmsprd2.ora';
10) shutdown and startup rmsprd2 with spfile
SQL> shutdown abort;
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2213632 bytes
Variable Size 788531456 bytes
Database Buffers 268435456 bytes
Redo Buffers 9756672 bytes
11) We are now ready for duplication from rmsprd1 ( source ) to rmsprd2 ( destination ) both using +ASM standalone asm instance. set the environment to rmsprd1and fire away.
Please note that the duplicate script is only connecting to auxilary database ( rmsprd2 ) and using the backup location for the duplication.
I used a unix shell script -rman_duplicate_from_backup.ksh. The contents are given below :
$ORACLE_HOME/bin/rman auxiliary sys/prd123@rmsprd2 log=rman_duplicate_from_backup.log << EOF
run
allocate auxiliary channel d1 device type disk;
allocate auxiliary channel d2 device type disk;
allocate auxiliary channel d3 device type disk;
allocate auxiliary channel d4 device type disk;
allocate auxiliary channel d5 device type disk;
allocate auxiliary channel d6 device type disk;
DUPLICATE DATABASE TO rmsprd2
BACKUP LOCATION '/dbaadm/sandeep_rman_refresh';
EOF
12) Voila - the rmsprd1 to rmsprd2 is done.....
Hope this helps somebody else wanting to do the same excercize. Have Fun.....
regards
Sandeep -
Is database link only 'valid' for instances in the same server?
Background: We have 5 servers and installed Oracle 7.3 and 8.
Problem: I managed to create database link to other instance in same server; but not to other server. Error message received was :
ORA-02019: connection description for remote database not found
: TNS server name not found
BUT: I managed it with 'copy from ' command in SQL*plus.
Question: Is database link only 'valid' for instances in the same server?
Thanks! ;o)user10127912 wrote:
Hi,
We are planning to install second instance of Oracle 11gR2 in Linux server 2.6.39-400.21.1.el6uek.x86_64 x86_64. This is something we never haven done before. If you have such experience, please give us some insight.
The existing instance has all the standard ports:
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Enterprise Manager Console HTTP Port (pterpdb02) = 1158
Enterprise Manager Agent Port (pterpdb02) = 3938
What ports should we select for second listener and enterprise manager? Is there anything else that we need to know before we install the second instance?If you want a second database instance, no additional installation is required - as long as you want to run the second instance at the same version as the the first. Just fire up dbca and create the second database. One installation of Oracle (one ORACLE_HOME) is capable of supporting many database instances, though the same may or may not be said of the hardware it is running on.
As already said, one listener is enough. One listener, running from one oracle home, using the default name of LISTENER, running on the defualt port of 1521, is quite capable of -- indeed, WAS DESIGNED TO, supporte multiple database instances of multiple versions running from multiple ORACLE_HOMEs.
One instance of dbcontrol/dbconsole will support only one database. If you do not use Grid Control (extra installation, extra license) you will need to use the emca utility or one of the options in the dbca utility to configure a seperate instance of dbcontrol for each database. Don't worry about the ports, the creation utility will take care of it and report what it does. -
Two instances on the same server
I've already created one instance on 11g R2 database, but I was told to create another instance on the same server. Can I use the same listener for both instance? Will it cause any problem?
Thanks!
- Johnnytanww888 wrote:
Thanks for all your responses. I have not dealt with two instances on the same server before. I'll take your advice to start with the same listener for both instances and see if it is causing any issue. My database server is a Oracle Sparc 5120 with plenty of memory and disk space. The second instance that I'm going to create will be much smaller than the first one.
Single or multiple listeners aren't really a factor for performance. Notice that even in Dan's remarks, none of his reasons for multiple listeners had anything to do with performance.
Question, is it easy to create/configure the second listener to point to the second instance? Just in case there is an issue using the same instance.
The listener doesn't "point to" the database - not in the sense you seem to think. It simply watches the ports it is configured to use (1521 by default) for connection requests from clients. When it gets a request it evaluates whether or not it knows about the service (instance) requested, and if it does it spawns a separate server processes to communicate between the client and the db instance, then is out of the way. The listener creates the connection but does not sustain it. You can stop a listener and all existing connection will continue because the listener has no part in maintaining them.
Multiple listeners would be configured by adding LISTENER sections to the listener.ora file. You might find it instructive to realize that if there is no listener.ora, a 'lsnrctl start' will cause a default named listener to start on the default port of 1521. By default, any db instances on that server will register themselves with the default listener on the default port. After this self-registration, the listener will know about the instance if/when it receives any connection requests for it. Let's switch from the telephone analogy to that of a desk clerk at a hotel. He comes to work and is handed a piece of paper that says "We have Tom, Dick, and Harry registered as guests" This would be analogous to the listener learning of instances via the SID_LIST section of the listener.ora file. Then Fred walks up and says "I'm Fred and I'm in room 238", so the clerk makes a note of that. This would be analogous to the instance registering itself to the listener. Either way, then someone walks up and says "Where would I find Tom (or Fred)". The clerks checks his lists and directs the person to the correct room. He doesn't escort the person around to Tom and act as a go-between for their conversation. And hotel management doesn't want to have to pay a separate clerk for each guest.
You might want to read my articles about TNS in general at edstevensdba.wordpress.com. I think they will help you get a clearer understanding.
Thanks,
- Johnny -
Lync 2013 Error Edge and RP on the same server
Hello everybody
We have the following issue:
In one Lync hybrid deployment with O365, the Edge and RP roles have been deployed on the same server.
The Edge services are configured to use different ports than 443, the Edge service is working fine, however; the issue is that the RP is not working at all. The most critical feature is the access to mobility services and that all O365 users view the local
users with presence unknown.
The server is configured with two nics, one to the internal network and the other one has configured two diferente IP addresses, each is one published thorught NAT to specific Public IP addresses for Edge and RP.
So far we identified that the Ip address that belongs to Edge services, is always listening on port 443, even when the service is stopped.
Any experience or idea is welcome!
Thanks in advance.
Regards.
Regards. Cristian V.Someone got it working (not recommended): http://social.technet.microsoft.com/Forums/lync/en-US/8963a687-8125-4843-8a9a-2d1ee0c819df/iis-arr-reverse-proxy-on-edge-server-supported-i-dont-think-so?forum=lyncdeploy
Please mark posts as answers/helpful if it answers your question.
Blog
Lync Validator - Used to assist in the validation and documentation of Lync Server 2013. -
Activating MS Office 2013 ProPlus via KMS running on the same server
Given: Microsoft Windows Server 2008 R2 Enterprise 64-bit, all the latest security updates applied.
KMS service set up and running, all the recommended updates applied (to handle possible activation issues for Windows 8 etc)
Microsoft Office 2013 Standard deployed on the server mentioned above and on workstations on intranet, volume licensing in effect (proper KMS key for activation of Microsoft Ofice 2013 has been entered).
Problem: I can't activate MS Office 2013 installation running on the same server where KMS service is being run.
There are no entries in KMS event log related to this failure.
Everything was restarted, reinstalled etc several times already (including installing 32-bit and 64-bit versions of the Office).
Output of slmgr.vbs /dlv 2E28138A-847F-42BC-9752-61B03FFF33CD:
Windows Script Host
Software licensing service version: 6.1.7601.17946
Name: Office 15, KMSHostVL edition
Description: Office 15, VOLUME_KMS channel
Activation ID: 2e28138a-847f-42bc-9752-61b03fff33cd
Application ID: 0ff1ce15-a989-xxxx-xxxx-xxxxxxxxxxxx
Extended PID: 55041-00206-234-486666-03-xxxx-xxxx.xxxx-xxxxxxx
Installation ID: 01683679734050124078134659xxxxxxxxxxxxxxxxxxxxxxxxxxx
Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
Partial Product Key: xxxxx
License Status: Licensed
Remaining Windows rearm count: 4
Trusted time: 2/05/2015 10:00:12 AM
Key Management Service is enabled on this machine
Current count: 0
Listening on Port: 1688
DNS publishing enabled
KMS priority: Normal
Key Management Service cumulative requests received from clients
Total requests received: 0
Failed requests received: 0
Requests with License Status Unlicensed: 0
Requests with License Status Licensed: 0
Requests with License Status Initial grace period: 0
Requests with License Status License expired or Hardware out of tolerance: 0
Requests with License Status Non-genuine grace period: 0
Requests with License Status Notification: 0
OK
Output of cscript ospp.vbs /dstatus
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
SKU ID: b13afb38-cd79-4ae5-xxxx-xxxxxxxxxxxx
LICENSE NAME: Office 15, OfficeStandardVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
LICENSE STATUS: ---OOB_GRACE---
ERROR CODE: 0x4004f00c
ERROR DESCRIPTION: Run the following: cscript ospp.vbs /ddescr:0x4004f00c
Last 5 characters of installed product key: GVGXT
DNS auto-discovery: KMS name not available
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---Exiting-----------------------------Given: Microsoft Windows Server 2008 R2 Enterprise 64-bit, all the latest security updates applied.
KMS service set up and running, all the recommended updates applied (to handle possible activation issues for Windows 8 etc)
Microsoft Office 2013 Standard deployed on the server mentioned above and on workstations on intranet, volume licensing in effect (proper KMS key for activation of Microsoft Ofice 2013 has been entered).
Problem: I can't activate MS Office 2013 installation running on the same server where KMS service is being run.
There are no entries in KMS event log related to this failure.
Everything was restarted, reinstalled etc several times already (including installing 32-bit and 64-bit versions of the Office).
Output of slmgr.vbs /dlv 2E28138A-847F-42BC-9752-61B03FFF33CD:
Windows Script Host
Software licensing service version: 6.1.7601.17946
Name: Office 15, KMSHostVL edition
Description: Office 15, VOLUME_KMS channel
Activation ID: 2e28138a-847f-42bc-9752-61b03fff33cd
Application ID: 0ff1ce15-a989-xxxx-xxxx-xxxxxxxxxxxx
Extended PID: 55041-00206-234-486666-03-xxxx-xxxx.xxxx-xxxxxxx
Installation ID: 01683679734050124078134659xxxxxxxxxxxxxxxxxxxxxxxxxxx
Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
Partial Product Key: xxxxx
License Status: Licensed
Remaining Windows rearm count: 4
Trusted time: 2/05/2015 10:00:12 AM
Key Management Service is enabled on this machine
Current count: 0
Listening on Port: 1688
DNS publishing enabled
KMS priority: Normal
Key Management Service cumulative requests received from clients
Total requests received: 0
Failed requests received: 0
Requests with License Status Unlicensed: 0
Requests with License Status Licensed: 0
Requests with License Status Initial grace period: 0
Requests with License Status License expired or Hardware out of tolerance: 0
Requests with License Status Non-genuine grace period: 0
Requests with License Status Notification: 0
OK
Output of cscript ospp.vbs /dstatus
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
SKU ID: b13afb38-cd79-4ae5-xxxx-xxxxxxxxxxxx
LICENSE NAME: Office 15, OfficeStandardVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
LICENSE STATUS: ---OOB_GRACE---
ERROR CODE: 0x4004f00c
ERROR DESCRIPTION: Run the following: cscript ospp.vbs /ddescr:0x4004f00c
Last 5 characters of installed product key: GVGXT
DNS auto-discovery: KMS name not available
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---Exiting----------------------------- -
I have two cFP-2120 RT controller. They both have NI-Serial RT2.5.6, DataSocket for LV RT4.2, NI-VISA 3.6, FP Drivers 5.1.0, FP VI Manager 3.1.0 LV RT 7.1.1 installed. But one same vi can run on one controller but not another.
the error message got when it runs on another controller is "Error -32810 occurred at The FieldPoint server initialization failed. Possible causes: 1. Missing or corrupt configuration file; 2. Failed to create callbacks. : FP Open.vi"
I wonder by what it is caused?
ThanksHi Matthew,
As mentioned previously, this KnowledgeBase article may be of some help. Also, if your code is being run on an embedded controller and then a network controller (not embedded), you will need to run the program differently. On the embedded controller, you should deploy your VI in a Project Explorer or programmatically (as described here.) However, you do not need to deploy the program to a network controller, but simply run the VI.
I would also suggest creating a new .IAK file. Do you still see the same error? Also, double-check that the software installed on the controller matches the software installed on the host PC. If you have any file paths associated with one FieldPoint controller, ensure that you are changing them to match the second controller.
Please keep us posted on your troubleshooting steps. Have a great day!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments -
Can different cluster of SAP Business One installed on the same Server
Hi!
Can anyone tell me if B1 different cluster version installed and run on the same server. Example B1 2005A AND B1 2005B. If it can, could you please include the procedure how can it be done.
Thanks,
Jo BorlagdanNo, A and B have different patch cycles - so there would be conflicts in SBO-Common. Therefore it will not work.
You could try to workaround that with named instances of MSSQL, but installation & update would need additional care + workarounds.
The best way to combine 2 SAP Business One cluster "servers" but still on one hardware would be to use a tool like VMWare... - but such a configuration has not been released by SAP - i.e. if there's an issue that could be traced back to the VMWare system, SAP might not be (li?)able to fix it
Sorry,
Frank
Message was edited by: Frank Moebius
BTW: Please note that you need to think eventually about conflicts with MS licenses. SAP has an agreement with MS which ASFAIK covers the license for 1 VMWare Windows system on 1 Windows PC so that we can use WMWare for SAP Business One sandbox systems - after RAM upgrades () it works fine... -
Can you run multiple APEX listeners for different instances on the same server
Please confirm that we can run multiple APEX listeners for different instances on the same server? Is it an xml setup configuration or do we need to do more??
Thank You,
Tony Miller
SmartDog Services
Austin, TXYes.. Just exactly what I was looking for...
Thanks Jari!!
Thank You,
Tony Miller
SmartDog Services
Austin, TX -
Multiple Apps on the same server
Hope you can help and point me in the right direction.
I am managing a CF internet based application built using CF
6.1 and which talks to a MS Access 2K dB. The app is running on a
MS Windows 2K Adv Server, IIS [with a SSL cert.] and CF 6.1 Std
Server.
I now need to run a second separate application on the same
server.
My questions are:
1. Is this possible?
2. If yes to 1 can anyone point me in the right direction as
to configuring IIS and CF to run the second application? This
second app will also require a SSL.
TIA, KFirst off run as far and fast away from using Access for your
DB back end as possible. Access isn't meant for this kind of work.
Next, you'll need to setup a new virtual server (with its own
dedicated IP address) in IIS.
Configure your new server to its new web root and optionally
reconfigure your log files.
Create a new CSR with all the right information and send it
to your SSL creator. Pay for cert with them, and wait for it to
come back. Install new cert and optinally reconfigure the site to
force SSL where necessary.
Add any necessary data sources in the ColdFusion admin
If your root config stuff for CF was setup correctly
everything should just magically work (tm).
Maybe you are looking for
-
Hi Techies, I need to display data like the following way : Material | Quotation : | 6000000019 | 6000000020 Sh. Text | Bidder : | 1210003 | 1210004 Qty in Base Unit
-
How do I prevent a 2nd website from nuking a 1st site?
I hope you can help me since I have not succeeded in my attempts so far. On one macbook I have a fully developed iweb website that I want to keep. When I attempted to design a 2nd site, with a new name, using iweb in my macbook pro, it simply replace
-
HP L7590 Printer only scans portions of the page
I have an HP Office Jet Pro L7590 Printer. Just today, the scanning feature starting acting up. When it scans it only scans a portion of the page. It goes through all the motions as though it is scanning everything. I also need to send a FAX. Tw
-
Can not open icloud controller on PC - get message cant connect to icloud because of server error
TRying to set up icloud on Windows PC 8.1. Cant open icloud controller - get mesage cant connect to servor because of servor error? Any ideas?
-
Safari Crash / Could not open cookie file Cookies.plist for reading
Hi everyone I dont know why my Safari is Crashing, I review the console and I find this line: Help... I dont how to solve the problem... *ntlmRand failed to open /dev/random 2007-01-26 23:48:55.004 Safari[8953] Could not open cookie file "/Users/scan