Differences between commands

Hi all,
I need to know the differences between commands
**insync -D "cn=Directory Manager" -w XXXX -s XX02:389**
output
ReplicaDn Consumer Supplier Delay
dc=example,dc=cl XXXXds01:389 XXXX02:389 0 * Disabled Replication Agreement: no subsequent warnings given
and
*./dsconf show-repl-agmt-status -h XXXXds01 -p 389 'dc=example,dc=cl' XXXXds02:389*
output
Enter "cn=Directory Manager" password:
Configuration Status : OK
Authentication Status : OK
Initialization Status : OK
Status : Enabled
Last Update Date : Mar 1, 2013 12:33:59 PM
Thanks
Edited by: Rodrigo0461 on Mar 1, 2013 7:40 AM

most likely your insync command line is not formed correctly. When run properly, it would show the difference in time for last update handled by the servers in the replication topology. Note you have -c and -s as variations of suppliers and consumers.
The insync command line you are indicating is showing your running the command with a node that has replication disabled in relationship to the second node given. You might see this if both the node you are running the command locally on, and the other node you are indicating in the command switches is a consumer as well (neither has an agreement to the other?) You have two possible cases for the switch, have you tested both. One could be a supplier ( -s) vs when the other node is a consumer (-c)
The man page reference guide has a breakdown of the host spec portion of the command line here:
http://docs.oracle.com/cd/E20295_01/html/821-1219/dsrepl.html#scrolltoc

Similar Messages

  • What is the difference between 'command delete' and using 'delete original and all versions'?

    My masters are not referenced and I usually have only one version.  What is the difference between using 'command delete' versus going to the top menu bar and using 'dele

    Good question  .
    When the Version is the only Version based on the Original of that Version, the two commands have the same effect.
    See this User Tip by master Aperturist Frank Caggiano.

  • Difference between command line and Runtime.exec()

    Hi all.
    I'm coding some lines to call sqlldr program.
    System info:
    OS: Win2k server
    Java platform: JSK 1.4
    DBMS: Oracle 9i
    I've tested sqlldr in command line and it is OK. But when i call Runtime.exec("sqlldr user/pass@servicename control=mycontrol.ctl")
    the ErrorStream show that: Message 2100 not found,No message file for product=RDBMS ,facility=UL...
    So i had to put a String array which contained "ORACLE_HOME" as the second parameter of exec method. But there's another error appear:
    SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12560: TNS:protocol adapter error
    I checked tnsnames.ora and it's OK. I do the command line again and it's still OK. Why did Runtime.exec("...") method get Error.
    Does Someone solve it for me.
    Thanks so much.

    I'm having the similar/same issue.
    I'm trying to run SQLLdr from JAVA.
    From a command line, it works fine.. From within JAVA, I get..
    SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12640: Authentication adapter initialization failed.
    Did you find a solution to your problem?

  • What is the difference between using the command "dsmgmt" and the "Managed By" tab when adding users to the local administrators Account on a Read-Only Domain Controller?

    When I use the
    "dsmgmt" command to add a user to the local administrators account of a RODC I can actually see the user when I use the "Show Role Administrators" parameter. However, I can't see the members of the
    group added to the "Managed By" tab of the RODC object in AD. Even though, the users added using
    "dsmgmt" and by the "Managed By" tab can all log in locally and have admin rights to the RODC. Are there any differences between these two ways of adding users to the local administrators account? 

    Hi,
    For groups, managedBy is an administrative convenience to designate “group admins”. Whatever principal listed in
    managedBy gets permission to update a group’s membership (the actual security is updated on the group’s AD object to allow this).
    In Win2008 and later managedBy also became the way you delegated local administration on an RODC, allowing branch admins to install patches, manage shares, etc. (http://technet.microsoft.com/en-us/library/cc755310(WS.10).aspx). 
    On the RODC, this is updating the RepairAdmin registry value within RODCRoles.
    So the difference between them should be only the way they do the same thing.
    For more details, please refer to the below article:
    http://blogs.technet.com/b/askds/archive/2011/06/24/friday-mail-sack-wahoo-edition.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • What's the difference between "tar" command and ufsdump?

    what's the difference between "tar" command and ufsdump?

    Conceptually they do much the same thing.
    Except ufsdump is only for ufs filesystems and since it is able to use deeper knowledge of the internals gains some performance.
    ufsdump is multithreaded for example.

  • Difference between BACKUP RMAN commands

    Hi Friends
    Are there any difference between these 02 commands?
    I mean, if I type "backup as compressed backupset database;" it will show me on v$rman_backup_job_details the input_type DB FULL.
    If I type "backup as compressed backupset incremental level 0 database;" it shows me DB INC.
    My doubt is:
    Proceeding with "backup as compressed backupset database" makes a level 0 backup to be used with "backup as compressed backupset incremental level 1 database;" ????
    Or I must proceed with the command incremental level 0 to use it with future level1 operations?
    I'm running 11.2.0.3.0 on Windows Server
    Tks

    KeenOnOracle wrote:
    Hi Friends
    Are there any difference between these 02 commands?
    I mean, if I type "backup as compressed backupset database;" it will show me on v$rman_backup_job_details the input_type DB FULL.
    If I type "backup as compressed backupset incremental level 0 database;" it shows me DB INC.
    My doubt is:
    Proceeding with "backup as compressed backupset database" makes a level 0 backup to be used with "backup as compressed backupset incremental level 1 database;" ????
    Or I must proceed with the command incremental level 0 to use it with future level1 operations?
    A level 0 incremental backup, which is the base for subsequent incremental backups, copies all blocks containing data, backing the datafile up into a backup set just as a full backup would. The only difference between a level 0 incremental backup and a full backup is that a full backup is never included in an incremental strategy.

  • Difference between srvctl and crsctl commands

    may be I am wrong but I want to know what is the difference betweens stopping service using srvctl and crsctl utilities.
    ./crsctl stop resource <service.srv> –f
    ./crsctl stop resource ora.<service>.cs –f
    and
    srvctl stop service -d <database> -s <service>
    Also what is the <servicename>.cs ? I know service.srv and its purpose but .cs resource.
    Please share document or link wheren I can have more details of services.
    Thanks
    Bhanu

    931804 wrote:
    may be I am wrong but I want to know what is the difference betweens stopping service using srvctl and crsctl utilities.
    ./crsctl stop resource <service.srv> –f
    ./crsctl stop resource ora.<service>.cs –f
    and
    srvctl stop service -d <database> -s <service>
    Also what is the <servicename>.cs ? I know service.srv and its purpose but .cs resource.
    Please share document or link wheren I can have more details of services.
    In a very generic way, CRSCTL commands would require a sudo access and the SRVCTL can be run by the grid or oracle user. I haven't checked the docs but as a guess, the +.cs+ would be cluster service as in RAC, everything runs as a service and in 11.2 as a resource.
    HTH
    Aman....

  • What is the difference between these two partitioning related commands?

    What is the difference between the following commands used to drop a partitioned table ?
    DROP TABLE...
    DROP TABLE...PERGE

    Oracle Database processes a DROP TABLE statement for a partitioned table in the same
    way that it processes the statement for a non-partitioned table. One exception that was
    introduced in Oracle Database 10g Release 2 is when you use the PURGE keyword.
    To avoid running into resource constraints, the DROP TABLE...PURGE statement for a
    partitioned table drops the table in multiple transactions, where each transaction drops
    a subset of the partitions or subpartitions and then commits. The table becomes
    completely dropped at the conclusion of the final transaction
    First, if the DROP TABLE...PURGE statement fails, you can take corrective action, if any,
    and then reissue the statement. The statement resumes at the point where it failed.
    Second, while the DROP TABLE...PURGE statement is in progress, the table is marked as
    unusable by setting the STATUS column to the value UNUSABLE in the following data
    dictionary views:
    ■ USER_TABLES, ALL_TABLES, DBA_TABLES
    ■ USER_PART_TABLES, ALL_PART_TABLES, DBA_PART_TABLES
    ■ USER_OBJECT_TABLES, ALL_OBJECT_TABLES, DBA_OBJECT_TABLES

  • What is the difference between these two commands?

    What is the difference between these two commands?
    DROP TABLESPACE users INCLUDING CONTENTS;
    DROP TABLESPACE users INCLUDING CONTENTS AND DATAFILES;
    --------No.202

    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9004.htm#i2133717

  • What is the difference between Execute SQL Task and OLE DB Command

    Besides the obvious, Execute SQL Task being used in Control Flow, and
    OLE DB Command being used in Data Flow what is the difference between the two? Is one supposed to use
    Execute SQL Task to produce a result set that then gets handed over to
    Data Flow and OLE DB Command ? Everything that I have seen on
    OLE DB Command is pretty much execution of a Stored Procedure with ? parameters. It seems as though I got to a point where I had to perform my data edits pretty much entirely in a Stored Procedure executed by
    OLE DB Command rather than trying to use the SSIS GUI for everything. I didn't really see in any of my Google searches out there that simply used
    OLE DB Command as a straight parameterized SQL against tables for editing and cleansing purposes and handling returns back from SQL Server for COUNT(*), etc..
    I know I have posted multiple forums out there regarding this issue but I cannot seem to get a straight answer and some solid direction. So for now, my
    Execute SQL Task gives me my editable result set and then control is handed off to
    Data Flow and ultimately to my Stored Procedure executed by an
    OLE DB Command  which pretty much does the chunking for me and performs my data edits and handles my record anomalies through SQL Server Table data stores accordingly or sets flags accordingly if the data passes.
    I welcome your thoughts and Thanks for your review and Thanks in advance for any replies and direction that anyone might provide.
     

    Hi ITBobbyP,
    OLE DB Command will always process data row by row, whereas Execute SQL task if you call a Stored Procedure it can process data in bulk. As you said, the biggest difference is that Execute SQL Task being used in Control Flow, and OLE DB Command being
    used in Data Flow. They are used in different places.
    Using Execute SQL Task, we can save the rowset returned from a query into a variable. The Execute SQL task can be used in combination with the Foreach Loop and For Loop containers to run multiple SQL statements. These containers implement repeating control
    flows in a package and they can run the Execute SQL task repeatedly. For example, using the Foreach Loop container, a package can enumerate files in a folder and run an Execute SQL task repeatedly to execute the SQL statement stored in each file. I think this
    is a big advantage for Execute SQL Task.
    As to OLE DB Command, we can easily run an SQL statement for each row transformation in a data flow, then directly insert the outputs to a destination.
    To sum up, there are many difference between those two components. We should make better choice based on our actual requirement.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Difference between ip default-gateway command & a default route

    Can any please let me know the difference between ip default-gateway command & a default route. i have a couple 4500 and 2950 for which i need to have a management VLAN as well as their VLAN memberships.

    ip default-gateway command is for layer 2, it's how you can access a switch from outside the mgmt interface vlan. Think of this as you would configure and ip address on a PC or a end host, it needs a default-gateway.
    A default route on the other hand is for a device that has a lauer 3 capability, this is the gateway of last resort for anything that the device receives to be routed and the destination is not in it's routing table it (the L3 device) sends it to the default route or gateway of last resort.
    Since you are referring to 2950 which is strictly a layer 2 device, even if it take dafault route or "ip route 0.0.0.0 0.0.0.0 x.x.x.x", it will not work, for this device you need to configure default-gateway so that this switch can be reached outside it out subnet, this is given the default-gateway have routes to the rest of the network.
    Please rate all posts.

  • Difference between RRI Command and GOTO from context menu

    Can someone explain the difference between the RRI Command and the GOTO from the context menu?
    Thanks.
    Ryan

    Hi,
    Check this link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/81/941139a772b30de10000000a11405a/frameset.htm
    Hope this helps................
    Rgs,
    I.R.K

  • The difference between a OS server and an HD

    Could someone explain to me the difference between a hard drive on a network an an OS based server? Right now I have all my captured raw footage on a 1 terabyte HD on the network. My wife and I access these files from different computers. What would a server do that would be different.
    Thanks in advanced
    Michael and Mary

    Michael O'Brien wrote:
    Does OSX server do the same thing?
    No.
    OS X Server is a general server-spec version of Mac OS X. Final Cut Server is an application that can run on either Mac OS X client or Mac OS X Server. Mac OS X Server includes several functional differences from Mac OS X client that make it easy to operate as a Mail server, DNS server, Directory server, web server, database server, etc.
    Many of those same functions and operations are possible with Mac OS X Client, but you'd be running them all from the command line and the slick GUI and integrations that are part of OS X Server would be absent.

  • The difference between "ipsec-isakmp dynamic" and "ipsec-isakmp profile" cyrpto map configs

    The IOS documentation for the crypto map command gives the syntax as
    crypto map [ipv6] map-name seq-num [ ipsec-isakmp [ dynamic dynamic-map-name | discover | profile profile-name ] ]
    I have a 881w ISR. In what different situations do we use the ipsec-isakmp dynamic form as opposed to the ipsec-isakmp profile form?
    I understand that ipsec-isakmp profile is applied directly to the vpdn-group. Does this substitute for applying the crypto map directing to the WAN interface? Why would I want to do that?

    Hello, thomasmcleod.
    The main difference between dynamic and profile in conditions to establish VPN connection. You can look at the difference if you compare EzVPN (dynamic profiles) technology with Lan-2-Lan (manual profile) technology.
    And why you should put crypto map to the interface. After puting this command to interface Cisco is starting to check traffic for encryption rules. In fact it can be any interface (not only WAN) when you want use encrypted VPN channel.
    Best Regards.

  • Difference between DESCRIBE TABLE..... and  SY-DBCNT

    Hi,
    i want to know the difference between DESCRIBE TABLE.. command and SY-DBCNT.

    hi
    good
    SY-DBCNT->
    SY-DBCNT gives the number of records in database table
    After an open SQL statement, the system field sy-dbcnt contains the number of database lines processed.
    REPORT ychatest.
    DATA : v_matnr LIKE mara-matnr.
    SELECT matnr FROM mara INTO v_matnr UP TO 1 ROWS.
    ENDSELECT.
    WRITE : sy-dbcnt.
    DESCRIBE->
    DESCRIBE LIST
    The DESCRIBE LIST statement allows you to import certain list attributes, such as the number of lines or pages, into program variables.
    you need to know the attributes of list levels that were not stored in system variables during list creation, you can use the DESCRIBE LISTstatement.
    To retrieve the number of lines or pages of a list, use:
    DESCRIBE LIST NUMBER OF LINES|PAGES n ...
    To get the page number of a particular line number, use:
    DESCRIBE LIST LINE lin PAGE pag ...
    To get the properties of a particular page, use:
    DESCRIBE LIST PAGE pag ...
    Use DESCRIBE LIST for completed lists only, since for lists in creation (index is sy-lsind) some properties are not up to date.
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba42335c111d1829f0000e829fbfe/content.htm
    thanks
    mrutyun^

Maybe you are looking for

  • URLStream - does not fire IOError on network cable unplugged while downloading!!!

    Hi. I a using the example from the URLStream Class documentation to download files from a web-server to my computer. The problem is that I have unstable connection and sometimes the computer goes offline. Then the download progress stops and none of

  • JVM Crash When Using JNI and COM

    I'm trying to call a DLL compiled from VB6 source code that I do not have access to. The VB6 code simply retrieves data from a DB2 database using ADO and my client code grabs that data and marshals it to my Java code. I'm attempting to achieve this u

  • How to Automatically generate .XSL file of XML file ???

    Hello Everyone, I have UI which provide the facility to create own format by using drag and drop utility. I have also xml file which contains the data. Now task is how to automatically generate the .xsl file of the dynamically designed format for the

  • Where is the program after updating Photoshop Elements 9?

    After updating Photoshop Elements 9, I can't find the program. I'm using Windows 7 and the program is not in the Start Menu, on the Desktop or pinned to the Taskbar. There are no .exe files in the Program Files (x86) folder, there is no Adobe folder

  • Accessing the field values in different fields for calculation

    Hi, I am creating a report in which I have used breaks for grouping the  customers by their category. I have used summary on the amount field to calculate the sum in the individual category and also for total amount. Now, I also want to add an column