Unable to monitor two databases with same name on two different hosts
I have got two databases with same name on two different hosts. I added one database to the list of monitored databases. Now If I try to add the other one , I get the message that the database is already being managed.
Can't we monitor two databases with same name on two different hosts?
you can... while saving the target,give a different name.. for eg target-2
Similar Messages
-
Unable to protect 2 computers with same name, but different Domains
DPM 2012 R2 and UR2
All DC:s and servers are 2012 R2 + Latest patches.
ad.A.com has full 2 Way trust with ad.B.com. (Different forrest)
DPM Server is DPM.ad.A.com
Computer EXCH.ad.A.com is protected without problem
Computer SQL.ad.B.com is protected without problem
When I try to attach agent from EXCH.ad.B.com I'll get problems.
Error 346: DPM is unable to retrieve the configuration information from EXCH.ad.B.com
I'll guess this has to do with same name of computer, although in different domains. Is this as Designed, or is it a defect?
/Peterplease try a different User to attach/install the DPM Agent.
if this is not the solution, you maybe have a Problem with wmi, try and test with wbemtest
Seidl Michael | http://www.techguy.at |
twitter.com/techguyat | facebook.com/techguyat -
Hi,
I am trying to migrate two Sybase databases "DB1" and "db1".
In sybase "DB1" and "db1" are two different database.
OMWB doesn't complain anything but i am not able to see objects of "db1" database.
I noticed one thing that OMWB metadata has two entries for objects in database "DB1"
e.g.:
atwal2ora_dsn> select * from REPUSER.SYBASE12_SYSUSERS order by name;
------------------------------------------------------------------------------------------------------------------------+
| DB_ID | SUID | UID | GID | NAME | ENVIRON |
------------------------------------------------------------------------------------------------------------------------+
| 5 | -2 | 16395 | 16395 | TEST_GROUP1 | |
| 5 | -2 | 16395 | 16395 | TEST_GROUP1 | |
| 5 | 4 | 3 | 16395 | TEST_USER1 | NULL |
| 5 | 4 | 3 | 16395 | TEST_USER1 | NULL |
Thanks for your time
MohinderMohinder,
Yes, its possible, but you seem to be using non case sensitive db settings. DB1 and db1 may be different but when we get to capturing the metadata about the db, this is getting confused.
I'd recommend keeping 2 repositories, one for each database.
Barry -
Unable to Access Web Site (with same name) outside of Local Network
Hi everyone,
I have my web site (and some other services) hosted outside of my network by my hosting provider, but handle all other items using OS X Server on my network (i.e. Wiki and so forth).
The problem is now that I am unable to access my website at www.mydomain.com from within the network. I have external DNS set up for www.mydomain.com to point to my website, while mydomain.com points to my OS X Server (static IP address). Internally in OS X Server's DNS settings this used to work when I had www.mydomain.com resolving to the IP address of my web host, in addition to the default domain settings that OS X had set up. For some reason this is no longer working, and I am unable to figure out why.
Using latest version of OS X Server 3.0.2.
Any help is greatly appreciated. Thanks!
Update: this ended up being a redirect issue on the web host. I added another subdomain that was hosted externally, and it worked fine. For some reason my web host is redirecting www.mydomain.com to domain.com.I am in Texas and cannot get to that site either. Do you know for sure the site is up and working? It could just be down (for days, a site I support was down for almost 4 full days a few weeks ago due to a virus problem).
This may (again, may) be your problem: I see you have a173.48.x.x (you really should x-out the last two octets of your IP address for privacy reasons), I am on a 173.74.x.x address; I know some people have had problems with getting to some sites now that they have a 173.x.x.x address. I think Verizon obtained addresses in that range and some of the addresses apparently previously belonged to spammers or some malicious folks.Some sites (web sites, intermeidate routers, etc.) blocked those addresses, and may not have updated their filters to remove the block on those addresses because they don't know that Verizon now owns them. If this is the problem, eventually those filters will get updated and you will be able to access the site, but this could be a fairly long time.
If you know how to contact that site I suggest you email them about the problem. You can also try turning off your router overnight and when you turn it back on the next day you may find that you have a different address (one that doesn't start with 173) that will allow you to get to the site.
I don't think there is much Verizon can do to help, it is not their site that is blocking your address (at least I don't think it is).
Hope this helps.
Justin
Verizon FiOS TV, Internet, and phone
IMG 1.6.2, Build 08.58
Keller, TX 76248 -
[SOLVED] Tell processes with same name executed from different paths a
I have this scenario
i do this:
cd my-node-project-production && node api.js
and
cd my-node-project-development && node api.js
then
ps auxf | grep node wrote:rulex 3023 0.0 3.0 718656 62292 pts/5 Sl+ Nov25 0:05 | \_ node api.js
rulex 9475 0.0 3.6 730432 75596 pts/6 Sl+ Nov24 0:25 | \_ node api.js
Can you somehow now get which pid belongs to production/development?
Last edited by rulex (2013-11-26 16:21:20)Durden wrote:
ps auxg
typically gives me the full path, does it not for you?
ps auxg | grep node wrote:siaw 3023 0.0 3.0 718656 62292 pts/5 Sl+ Nov25 0:05 node api.js
siaw 9207 0.2 3.4 993072 69800 pts/7 Sl+ 16:48 0:11 node api.js
nope
ps -C "node api.js" -o cmd= wrote:node api.js
node api.js
not yet
readlink /proc/$PID/cwd this gives the paths i wanted
Thanks guys, I could now do a better search for what I was after. This one seems to be the shortest/easiest of what I found
pwdx $(pgrep node) wrote:3023: /home/rulex/node
9207: /home/rulex/node-dev -
Creating file on network with same name
Hello All,
I have created the A0001BOE20060001.txt file on my machine & i want to create same file with same name on the different machine,
i m able to copy all data in that file & recreate it on the server but i have problem with how to GET same file Name
As i m creating a new file & writing data on the 1.txt which i m creating on the server
How should i recognize the file name & create the same file on the server????Is this on Windows?
I believe that java.io.File works with UNC paths. For example, if you have a network resource on the share myshare on machine my-pc, you could do something like:
File f = new File( "\\\\my-pc\\myshare\\myfolder\\myfile.txt" );
Note that you have to escape backslashes. You'll also want to be sure that you have permission to access the share - it won't prompt you for a password, so you must have already authenticated using Explorer or net use.
Thanks,
Brian -
How to create logical directories with same name on two databases
Hi,
OS: Windows
Oracle Version : 10g
I have to databases in one oracle home. I have created some logical directories in one database. When I am trying to create logical directories with same name in another database, it is overwriting the first database directory paths with the second one
Can't we create directories with same name but different path in two databases on one machine?
Pls suggest me on this
Regards,
VijayI am trying to create logical directory using CREATE
DIRECTORY statement. I am very much aware that the
create directory statement doesn't create directory
on OS. But we can attach the physical directory on OS
to logical directory in oracle
My requirement is to create logical directories in
oracle mapping the OS directories. Both the
databases, wil have same logical directory names but
different OS directory mappingsIf I understand you correctly, you can do this:
On DB 1
CREATE OR REPLACE DIRECTORY same_dir_name as 'C:\myoracle\mydir1';
On DB 2
CREATE OR REPLACE DIRECTORY same_dir_name as 'D:\myoracle\mydir2';
What stops you from doing that ?
Note: If what you have is one database but different connections, then you are connecting to one database. The above second statement will drop and replace with the first one -
Two soa domain with same name "TestSOADomain" sharing same SOA schema ?
I tried creating two soa domain with same name "TestSOADomain" (different path) sharing same SOA schema .However one domain came UP to Running mode and other domain going to AdminMode and "soa-infra" application of that domain is not active.
I do want to understand can this be possible with SOA ,ie. two soa domain sharing same SOA schema ?
If possible what are all the problems might come
1. While executing soa composites with asyncronous behaviour ?
2. How the polling services will work ?
3. will the XREF_DATA table ROW_NUMBER column inserted uniquely while inserting data from two different domain into same SOA schema ?
4. Other issues ?
ThanksEach domain is expected to refer to its own unique database schema. Same SOA schema should not be shared by multiple SOA clusters/domains. It is technically possible though, I suppose, and still can run fine any one SOA environment at any given time with the other SOA environments/domains (sharing the same SOA schema) shutdown. It is not the general/recommended practice to share SOA schema across domains and there could be potential implications and unexpected behavior, particularly when the SOA environments pointing to the same schema are all running at a time.
-
Two methods with same name but different return type?
Can I have two methods with same name but different return type in Java? I used to do this in C++ (method overloading or function overloading)
Here is my code:
import java.io.*;
public class Test{
public static void main(String ar[]){
try{
//I give an invalid file name to throw IO error.
File file = new File("c:/invalid file name becasue of spaces");
FileWriter writer = new FileWriter(file ,true);
writer.write("Test");
writer.close();
} catch (IOException IOe){
System.out.println("Failure");
//call first method - displays stack trace on screen
showerr(NPe);
//call second method - returns stack trace as string
String msg = showerr(NPe);
System.out.println(msg);
} // end of main
public static void showerr(Exception e){
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
try{
pw.close();
sw.close();
catch (IOException IOe){
IOe.printStackTrace();
String stackTrace = sw.toString();
System.out.println("Null Ptr\n" + stackTrace );
}//end of first showerr
public static String showerr(Exception e){
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
try{
pw.close();
sw.close();
catch (IOException IOe){
IOe.printStackTrace();
return sw.toString();
}//end of second showerr
} // end of class
[\code]Overloading is when you have multiple methods that have the same name and the same return type but take different parameters. See example
public class Overloader {
public String buildError(Exception e){
java.util.Date now = new java.util.Date() ;
java.text.DateFormat format = java.text.DateFormat.getInstance() ;
StringBuffer buffer = new StringBuffer() ;
buffer.append(format.format(now))
.append( " : " )
.append( e.getClass().getName() )
.append( " : " )
.append( e.getMessage() ) ;
return buffer.toString() ;
public String buildError(String msg){
java.util.Date now = new java.util.Date() ;
java.text.DateFormat format = java.text.DateFormat.getInstance() ;
StringBuffer buffer = new StringBuffer() ;
buffer.append(format.format(now))
.append( " : " )
.append( msg ) ;
return buffer.toString() ;
public String buildErrors(int errCount){
java.util.Date now = new java.util.Date() ;
java.text.DateFormat format = java.text.DateFormat.getInstance() ;
StringBuffer buffer = new StringBuffer() ;
buffer.append(format.format(now))
.append( " : " )
.append( "There have been " )
.append( errCount )
.append( " errors encountered.") ;
return buffer.toString() ;
}Make sense ???
Regards, -
How to separate two contact with same name
Hi, anyone knows how to separate two contacts with same name in Contacts? Actually they are two persons from two gmail contacts with same name but different contact numbers, different emails....etc, but Contacts assume they are same person and merge them as one!
FG,
In Lion, you have the File > Duplicate option. You will then have two copies of your document open, and the one on top will have the temporary filename "OriginalFileName copy", and your next responsibility is to File > Save (or Command-S) and rename the duplicate. At this point, you edit the copy's name, to perhaps ...copy 1, or whatever you wish. The document you had open when you initiated the File > Duplicate will still be there on your screen, waiting for you to Close it or continue editing.
Jerry -
How to create two employees with same name as supplier record?
Dear all,
We need to create a supplier record for an employee so that we can issue invoice for pretty cash payment. If there are 2 employees with same name, how can we create supplier records for these 2 employees? The system does not allow duplicate supplier name.
Please advise.
Regards,
HYHello,
In R12 it is possible to create 2 employee with same name but different employee number.
And also possible to create these 2 employees as suppliers in Payables.
HTH,
Vik -
Bootdisk two images with same name n time
hello,
I have copied new image on 6509 , s2t54-adventerprisek9-mz.SPA.151-1.SY1.bin but when i do show bootdisk: it shows 2 images with same name .
6509#show bootdisk:
-#- --length-- -----date/time------ path
1 33554432 Apr 19 2013 03:22:44 +00:00 sea_console.dat
2 99168744 Apr 19 2013 03:28:42 +00:00 s2t54-adventerprisek9-mz.SPA.151-1.SY.bin
3 0 Apr 19 2013 15:44:26 +00:00 call-home
4 7209 Jun 11 2013 15:02:10 +00:00 startup-config.converted_vs-20130611-150121
5 7126 Jun 11 2013 15:37:38 +00:00 startup-config.converted_vs-20130611-153738
6 33554432 Apr 19 2013 03:46:50 +00:00 sea_log.dat
7 28856320 Apr 19 2013 04:04:56 +00:00 c6500-fpd-pkg.151-1.SY.pkg
8 99763688 Nov 19 2013 10:22:30 +00:00 s2t54-adventerprisek9-mz.SPA.151-1.SY1.bin
9 99763688 Nov 19 2013 10:22:30 +00:00 s2t54-adventerprisek9-mz.SPA.151-1.SY1.bin
729382912 bytes available (295174144 bytes used)Its kind of cosmetic issue. Verify the same using the command dir bootdisk:
Thanks & Regards,
Karthick Murugan
CCIE#39285 -
Source XML Structure-Two Nodes with same names
Hi All,
I have a strange situation. I am doing a Webservice to RFC scenario. The Third party vendor provided me with the Source XML fro me to create the datatype.
<?xml version="1.0" encoding="UTF-8"?>
<Envelope version="01.00">
<Sender>
<Id></Id>
<Credential></Credential>
</Sender>
<Recipient>
<Id></Id>
</Recipient>
<TransactInfo transactType="data">
<TransactId></TransactId>
<TimeStamp></TimeStamp>
</TransactInfo>
<Packet>
<PacketInfo packetType="data">
<PacketId>1</PacketId>
<Action></Action>
<Manifest></Manifest>
</PacketInfo>
<Payload><![CDATA[<?xml version="1.0"?>
<DATA_1>
<FIELD1></FIELD1>
<FIELD2></FIELD2>
<FIELD3></FIELD3>
<FIELD4></FIELD4>
<FIELD5></FIELD5>
</DATA_1>]]></Payload>
</Packet>
<Packet>
<PacketInfo packetType="data">
<PacketId>2</PacketId>
<Action></Action>
<Manifest></Manifest>
</PacketInfo>
<Payload><![CDATA[<DATA_2 language="en">
<FIELD1></FIELD1>
<FIELD2></FIELD2>
<FIELD3></FIELD3>
<FIELD4></FIELD4>
<FIELD5></FIELD5>
</DATA_2>]]></Payload>
</Packet>
</Envelope>
As We see Above, There are 2 Nodes named "Packet" at the Same level.
So When I try to create my datatype in XI based on this XML, XI wont allow to create 2 nodes with same names at the same level.
We asked the vendor to change the name of the second Packet to Packet_1, they told they cant change it.
Is there a way in XI to handle this issue??. ie to create 2 nodes with the same name at the same level??
Thanks,
HarshHi,
Thats's funy, web service is exposed by PI... but it's the thirdparty (client of our web service server) who imposes their choice for structure !! Inversed world.
Either in Data Type, you define the "Packet" node with an occurence 0..N (or at least 0..2). That will allow you to have the 2 desired nodes by your third-party !
Or... as your third-party does not want to chance something in their side, that means they probably already have such a web service and so a WSDL file or an XSD of this structure... So ask to them to provide you this WSDL, and you, you will use it as an External Def.
regards.
mickael -
Passing multiple URL parameters with same name
Hi,
I have a question which is not entirely related to Java. But although its related HTTP calls, so I thought I might get some ideas here.
Background:
I am making HTTP URL call from SAP ABAP code. Its pretty much similar to Java (creating URL connection, setting HTTP headers, connecting, receiving response and everything)
For example,
http://service_server:8080/a7/extension.services.SearchRequirements.a7x?RequestStatus=CR&RequestStatus=RR
Now, this service_server runs a query to database where it uses both these values of "RequestStatus" to form 'OR' condition for a field.
Issue:
When I run this URL from browser, it shows XML response containing results for both values. In short, this is the ideal response.
(I am using getParameterValues(string) at service_server to read multiple values for same parameter)
But when I see response in SAP system, I see that it is returning data for only one value of 'RequestStatus'.
I checked the logs of service_server, and I see that it has received only one parameter, not two.
Question:
It seems like SAP systems web server is truncating both parameters with same name and passing just one of them to outside server(??)
Is there any configuration at Web Server side or any HTTP headers to be set so as to avoid this?
Can anybody suggest something on this?I managed to resolve this issue by using HTTP 'Post' method to send the data.
CALL METHOD CL_HTTP_CLIENT=>CREATE_BY_URL
EXPORTING
URL = L_URL
IMPORTING
CLIENT = L_HTTP_CLIENT
EXCEPTIONS
ARGUMENT_NOT_FOUND = 1
PLUGIN_NOT_ACTIVE = 2
INTERNAL_ERROR = 3
OTHERS = 4 .
"STEP-2 : AUTHENTICATE HTTP CLIENT
CALL METHOD L_HTTP_CLIENT->AUTHENTICATE
EXPORTING
USERNAME = 'name'
PASSWORD = 'password'.
"STEP-3 : SET HTTP HEADERS
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
EXPORTING NAME = 'Accept'
VALUE = 'text/xml'.
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
EXPORTING NAME = '~request_method'
VALUE = 'POST' .
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_CONTENT_TYPE
EXPORTING CONTENT_TYPE = 'application/x-www-form-urlencoded' .
"SETTING REQUEST DATA FOR 'POST' METHOD
IF L_PARAMS_STRING IS NOT INITIAL.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
TEXT = L_PARAMS_STRING
IMPORTING
BUFFER = L_PARAMS_XSTRING
EXCEPTIONS
FAILED = 1
OTHERS = 2.
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_DATA
EXPORTING DATA = L_PARAMS_XSTRING .
ENDIF.
"STEP-4 : SEND HTTP REQUEST
CALL METHOD L_HTTP_CLIENT->SEND
EXCEPTIONS
HTTP_COMMUNICATION_FAILURE = 1
HTTP_INVALID_STATE = 2.
"STEP-5 : GET HTTP RESPONSE
CALL METHOD L_HTTP_CLIENT->RECEIVE
EXCEPTIONS
HTTP_COMMUNICATION_FAILURE = 1
HTTP_INVALID_STATE = 2
HTTP_PROCESSING_FAILED = 3.
"STEP-6 : READ RESPONSE DATA
CALL METHOD L_HTTP_CLIENT->RESPONSE->GET_CDATA
RECEIVING DATA = L_RESULT .
"STEP-7 : CLOSE CONNECTION
CALL METHOD L_HTTP_CLIENT->CLOSE
EXCEPTIONS
HTTP_INVALID_STATE = 1
OTHERS = 2 .
{code} -
Unable to create the type with the name 'ODATA'
On a test server with VS 2012 and SQL 2012 installed, I have created an SSIS project in project deployment mode. In the packages of the project I use the Odata source for SSIS. The packages run fine in VS 2012. But when I deploy the package to the Integration
Services catalog on the same server as where I am running VS 2012 I get a deployment error:
‘Failed to deploy project. For more information, query the operation_messages view for the operation identifier '25084'. (Microsoft SQL Server, Error: 27203)'
When I read this message from the SSISDB database, I see the problem with ODATA.
use SSISDB
go
select * from catalog.operation_messages where operation_id = 25084
--Failed to deploy the project. Fix the problems and try again later.:Unable to create the type with the name 'ODATA'.
As I said: the packages with the Odata run without error when tested from within VS2012 on the SAME server. When I deploy the project from Visual Studio I get the error.
For completeness: I have also tried deployment from VS2012 to another server where the SSIS Odata source has bene deployed. Also to no avail.
Jan D'Hondt - SQL server BI developmentThe next possiblity for me was to convert the project to Package deployment and see what the result I get. I have converted my project with package connections from project deployment to Package deployment. Then I deployed the package on the server in MSDB
catalog from SSIS. I.e. I connect with SSMS to Integration Services as an administrator and under the MSDB folder I added a new folder for my package. I then imported the dtsx into the mdsb package store. The Import worked. Still from within SSMS and connected
to the Integration Services, i right-clicked on the package in the MSDB store and selected 'Run package'. In the Execute Package dialog window, I clicked on 'Execute' and the package actually ran. The Odata connector was opened, it read the data and imported
into my database.
This experience made me realize what the real culprit was: The OData connector is a 32-bit connector in SQL Server 2012.
To prove this: with SSMS I connected to the SQL database server and in the Integration services catalog, i right-clicked on the package that was deployed in Project deployment mode, then selected 'Execute...'. In the execute dialog windo in the 'Advanced'
tab I checked 32-bit runtime. And the package ran.
To wrap it all up:
The Project deployment will work, but not with the Odata source as project connection. The Odata connection must be defined in each package as a package connection.
Run the deployed packages in 32-bit mode on the server
Jan D'Hondt - SQL server BI development
Maybe you are looking for
-
Where is "file" button in itunes? Windows 8
I'm trying to burn a voice memo onto cd. When I'm in itunes and insert disc, a window pops up: "You've inserted blank cd, blah...blah...blah, click on "file", then click "burn to disc". Where is the file button?? (itunes Windows 8)
-
Problem Joining JDBC theme to XML NSDP file
I've created a basic map of Germany with different layers for regions etc. I've then added a dynamic JDBC theme using the following code var baseQuery= "select geometry, name from world_sample.world_city_metropolis where iso_country_code = 'DEU'"; va
-
have an ipod touch 3rd generation and my old computer died so i bought a new one, anyway i want to sync my files to my new computer but i still have the old computer as the syncing devce. What can i do? Is there anyway i can transfer all of my music
-
Trial Balance : monthwise
Hi expers, My users wants to get F.01 monthwise.In F.01,if run period 2,i will get gl balances from Apr10 to May10.User wants only trial balance for Apr10,May10 like.Is there any standard functionality report. Please advise. Regards, Samaar
-
Hi.. I've configured the workflow for FI Document Parking/Posting (for the BO FIPP). I'm using the standard WF WS10000051(having no customization) and its sub workflows. But when I perform an event simulation for FIPP CREATED in SWU0, I'm getting t