Logs for 'Operating mode' change in mirroring

Logs for 'Operating mode' change in mirroring
Hi Everyone,
Is there any log,that shows when the Operating mode of a database involved in mirroring(SQL SERVER 2008 R2) has been changed from asynchronous to synchrous(or vise versa).
Regards,
Aspet
A.G

Try looking into trace log files
DECLARE @filename VARCHAR(100), @filenum int
SELECT @filename = CAST(value AS VARCHAR(100))
FROM fn_trace_getinfo(DEFAULT)
WHERE property = 2
  AND traceid = 1
  AND value IS NOT NULL
SELECT @filename
SELECT @filename = substring(@filename, 0, charindex('_', @filename)+1) + convert(varchar, (convert(int, substring(left(@filename, len(@filename)-4), charindex('_', @filename)+1, len(@filename)))-4)) + '.trc'
SELECT @filename
SELECT gt.EventClass, 
       te.Name AS EventName,  
       gt.TEXTData, 
       gt.NTUserName, 
       gt.NTDomainName, 
       gt.HostName, 
       gt.ApplicationName, 
       gt.LoginName, 
       gt.SPID, 
       gt.StartTime, 
       gt.EndTime, 
       gt.ObjectName, 
       gt.DatabaseName, 
       gt.FileName 
FROM [fn_trace_gettable](@fileName, DEFAULT) gt 
JOIN sys.trace_events te ON gt.EventClass = te.trace_event_id 
WHERE EventClass = 116 
  AND TEXTData LIKE '%Alter
database%' 
ORDER BY StartTime; 
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Blog:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance

Similar Messages

  • How to get change log for fields if change document flag is not maintained?

    Hi experts,
    My requirement is display the change log details for the transaction FAGLGA32.
    In this transaction we have the Field Groups block.if any change is happened for field group we need to capture the change.
    the field for the field group is RKAL1-FGFLG1 and the data element is FGFLG.
    In the data element FGFLG, the flag CHANGE DOCUMENT is not maintained.
    How to get the change log details for the fields for which the change document flag is not maintained at data element level?
    Regards,
    Ramesh

    do a modification for the data element or try Audit Trail (depends on your release)
        Audit Trail (electronic records) / Tx AUT10, AUT01, XX-PROJ-ELR, OSS 564743,517613,564645
            Note 1058984 - FAQ: Audit Trail (Transactions AUT01-AUT10)
            http://help.sap.com/erp2005_ehp_03/helpdata/DE/fc/89683c1b5fb712e10000000a114084/frameset.htm
    cheers
    carsten

  • Profile consistency check when operation mode change

    If the number of work processes in the profiles is changed, the system can no longer switch operation modes until after a restart of the instance. It's therefore necessary to adjust the configuration of the operation modes after a change to the profiles.
    In above paragraph, I don't understand why the system can not switch mode if the number of wp in profile is changed? Does system will compare wp number in profile with currently running wp number before the operation mode switch? Please advise.
    Thanks.
    James

    Yes, I can understand it, when the number of work processes is changed, we need redefine the operation mode.
    But I am confused this sentence "If the number of work processes in the profiles is changed, the system can no longer switch operation modes until after a restart of the instance. "
    After the number of work processes in profile is changed, I think it will not impact instance immediately until restart the instance. According to this sentence, it seems when I change the parameter in profile, it impacts the instance immediately and the system can not switch operation mode right now if we don't restart the instance. Is it reasonable? And I think the operation mode still need redefine even if we restart the instance, since scenario in Ralph's description. Is my thought right?
    Thanks so much.
    James

  • Any log for process chain changes

    Dear All,
    I have around 95 process chains, during the monthends & beginings i have done some changes to some of the process chains.
    If i want to have a quick look at only changes to those pc's where can i get the info.
    To be frank, practically its not possible to go each and every pc and goolge them.
    Can you please guide me on how to .
    Rgds

    Go to SE11 and search with
    RSPC*
    You will find all the tables concerned with process chains.
    RSPC_ALERT_CAT                 Alert Categories for Process Types
    RSPC_BUFFER                    Shared Buffer for Processes (Esp. C
    RSPC_MONITOR                   Monitor individual process chains
    RSPCABAPASYNC                  Logging for ABAP Processes(Synchron
    RSPCCATEGORY                   Process Type Categories
    RSPCCATEGORYT                  Texts for Category
    RSPCCHAIN                      Process chain
    RSPCCHAINATTR                  Attributes for a Process Chain
    RSPCCHAINEVENTS                Multiple Events with Process Chains
    RSPCCHAINT                     Texts for Chain
    RSPCCOMMANDLOG                 System Command Execution Logs (Proc
    RSPCCONTENTSTART               Process Chains To Be Scheduled Auto
    RSPCENQUEUE                    Dummy Table for Runtime Locks of a
    RSPCEXOR                       Excluding Or: Log Table
    RSPCINFO                       Special Values for Communication be
    RSPCINFOT                      Special Values for Communication be
    RSPCINSTANCE                   Generic Instance Storage
    RSPCINSTANCET                  Texts for Generic Instance-Storage
    RSPCINTERRUPT                  Variants for the Trigger Processes
    RSPCINTERRUPTLOG               Table for Interrupt Processes
    RSPCINTERRUPTT                 Texts for Interrupt Variants
    RSPCLOGCHAIN                   Cross-Table Log ID / Chain ID
    RSPCLOGCROSS                   Cross-Table Log ID Old / Log ID New
    RSPCLOGS                       Application Logs for the Process Ch
    RSPCPROCESSLOG                 Logs for the Chain Runs
    RSPCRUNVARIABLES               Variables for Process Chains for Ru
    The information you are looking for is available in RSPCCHAIN i belive.
    Regards,
    rocks

  • Hr_infotype_operation for operation MOD

    Hi,
    There is a problem again using HR_INFOTYPE_OPERATION , while trying to create a new record it was successful, but when i tried to change a nonkey field the operation i have used is MOD, and it is not working.
    i search for it but found problem with the same one.
    can anyone please help me.
    the message is: No data selected for the period.
    Edited by: xxx xxx on Nov 18, 2010 10:17 PM
    Edited by: xxx xxx on Nov 18, 2010 10:17 PM

    Hi,
    <li>Generally delimitation to ENDDA only. You get the correct record from the existing records, Change ENDDA, modified using the specified function module. Instead of 'LIS9' operation use 'MOD' operation only.
    <li>Get the existing record.
    CALL FUNCTION 'HR_INFOTYPE_GETDETAIL'
           EXPORTING
                INFTY         = '9906'
                NUMBER        = EMPLOYEENUMBER
                SUBTYPE       = SUBTYPE
                OBJECTID      = OBJECTID
                LOCKINDICATOR = LOCKINDICATOR
                VALIDITYEND   = VALIDITYEND
                VALIDITYBEGIN = VALIDITYBEGIN
                RECORDNUMBER  = RECORDNUMBER
                TCLAS         = 'A'
           IMPORTING
                RETURN        = RETURN
                RECORD        = P9906
           EXCEPTIONS
                OTHERS        = 0.
    <li>Change the ENDDA of P9906 record.
      MOVE  DELIMIT_DATE         TO P9906-ENDDA .
      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
           EXPORTING
                INFTY          = '9906'
                NUMBER         = EMPLOYEENUMBER
                SUBTYPE        = SUBTYPE
                OBJECTID       = OBJECTID
                LOCKINDICATOR  = LOCKINDICATOR
                VALIDITYEND    = VALIDITYEND
                VALIDITYBEGIN  = VALIDITYBEGIN
                RECORDNUMBER   = RECORDNUMBER
                RECORD         = P9906
                OPERATION      = CHANGE
                NOCOMMIT       = NOCOMMIT
           IMPORTING
                RETURN         = RETURN
                KEY            = KEY
           EXCEPTIONS
                OTHERS         = 0.
    Regards,
    Venkat.O

  • Log for tracking making changes in Workspace

    Hi all,
    I was wondering if there is a way to initiate a log to keep track of any changes made in Workspace, including the folders, books, and reports.
    Thanks!

    *You could also make the log level to TRACE mode as per the troubleshooting guide.* ~ How do you do that?
    Are you opening this in notepad?
    I also tried to use Excel to open the log but it's confusing as hell.
    For instance, all I read in the log is this line showing up repeatedly:
    [2013-05-24T13:09:24.300-06:00] [FinancialReporting0] [NOTIFICATION] [] [oracle.EPMFR.performance] [tid: Thread-37] [userId: <anonymous>] [ecid: 0000Juwc8LZFs1l6wvvX6G1HaBmC000000,1:31893] [SRC_CLASS: com.hyperion.reporting.util.HRLogTimer] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: logTimeEnd] PERF: 0000000000     HRAdmUtils      getDefaultMemberSelection()
    It really doesn't give me any information about what has been changed, what has been moved, where has the member gone to if moved, was it ever deleted by user, etc....
    The log is simply junk.
    Edited by: user7735252 on May 24, 2013 3:19 PM

  • How to track log for FR reports changes done in Workspace

    Hello,
    How can i track if a particular FR report or a folder is being updated or deleted from workspace or FR STUDIO ?
    Is there any log file which can give me the details of the username who accessed which report or who made any changes to any particular report ?
    I have checked the log files under Hyperion_home/logs/BI Plus and logs under BI Plus/logs filder but could not find anything fruitfull .
    Please suggest.
    Thanks
    Jiten

    Hello Experts,
    Please help me out in this.
    Thanks
    Jiten

  • Logs for cluster config change

    Hi,
    I've noticed some rather odd behavior on my cluster configuration. Before, in our production, I noticed who ever did the
    orginal config put the admin server as part of a cluster. I'm looking at it now a month later and see that the admin is
    not part of the cluster.
    Is there any part in any of the logs where it might show that someone removed the admin server from the cluster?
    Any advice would be appreciated.
    Thanks..

    btw, this is for Weblogic 8.1 .. sp4

  • Custom Infotype : Only for Disply Mode Change and Create Should be disable

    Dear Experts,
                        I Created a custom infotype in PM01 for Exit process , my client requirement is this infotype  only shows the details .
    Could you please tell me how to disable the Create and change button in PA30 Screen ?
    Regards,
    Sivakumar.A

    hi siva
    In PM01 itself you have option module pool, select that option go to screen program.
    there select field->dbl clk-> screen attributes pop up will come.
    there you have to change the input/output option
    Regards
    Deva

  • How to change the 'Default operating mode' of a mapping on the repository and not from the client

    Hi everybody,
    I am using OWB 11.2.0.3 and under the mapping's configuration property, I have the necessity to change the Run time parameter "Default operating mode" to SET_BASED in almost all my mappings.
    Because I have 745 mappings in which the Default operating mode is different from SET_BASED, instead to open 745 times the 'Configure' and update manually the value, is there a way to update safely these values (with an oracle predefined script) directly on the repository ?
    I know that exists a view called CMPSTRINGPROPERTYVALUE_V based on a table called CMPSCOPrpClasses, but changing this table it's very complicated for me because contains only keys and then I don't know in which way is connected with all the other structures....
    If somebody knows a method more efficient to do these updates on the repository and not from OWB client I will appreciated it!
    Thanks in advance
    Alessandro

    Urgent... help!!! Thanks
    in short, my server log says transaction access mode is "read only", so my calling home.create() always triggers a transaction rollback. How to change the access mode to "read write"?
    Is possible to work out through one of the descriptor files? Or ini settings of the underlying pointbase database? Or any other way around?

  • Change field catalog in VT05 - Selective logs for collective run

    Hi,
    Through transaction VT05, we can check shipment log which having following ALV field Catalog.
    Collective run
    Date
    Time
    User
    Transaction code
    Operating mode
    Problem class
    Expiry date
    Keep until expiry
    Processing status
    But if we want check Delivery number for particular Collective Run then we have to click that collective run and then can check for the Delivery number.
    Actually our requirement is to add one more column in above ALV field Catalog of Delivery Number.
    I have searched for Enhancements and BADIs, but I did not found suitable one for VT05 log.
    Can any one help me out for above issue for adding one more column in above ALV field Catalog of Delivery Number (along with above mentioned ALV field catalog in output) of VT05 log report.

    Thanks Nabheet once again...
    I would like to show you the coding what I have done in implemented implicit Enhancements.
    Following code is written under implemented implicit Enhancements - ZSHIPMENT_DETAIL
    Properties of Enhancement Implementation           ZSHIPMENT_DETAIL                          (Active)
    Enhancem. Technique:  Source Code Plug-In
    Description           Showing SHIPMENT Detail in output
    Package               $TMP
    Original Language     EN
    Created               MNIKAM       02/09/2012
    Last Changed          MNIKAM       02/19/2012
    Superordinate Enhancement Implementation     ZSHIPMENT
    Enhanced Development Object:   V54X
    SAPLV54X          Static Enhancement Point/Section     \PR:SAPLV54X\FO:LOG_HEADER_DISPLAY\SE:BEGIN\EI
    ENHANCEMENT 1  ZSHIPMENT_DETAIL.    "active version
    TYPE-POOLS: szal.
      DATA: g_l_header_extr     TYPE header_extr.
      FIELD-SYMBOLS: <f_g_l_header_extr>  TYPE header_extr.
      DATA: g_l_log_link        TYPE log_link.
      FIELD-SYMBOLS:  <f_g_l_log_link>  TYPE  log_link.
      DATA: g_l_t_lognumbers    TYPE szal_lognumbers WITH HEADER LINE.
      FIELD-SYMBOLS: <f_log_nr> TYPE  log_nr.
      data: messages    TYPE TABLE OF balm.
      FIELD-SYMBOLS:  <f_l_s_message> TYPE balm.
      DATA: l_tabix TYPE sy-tabix.
    LOOP AT G_HEADER_EXTR_TAB ASSIGNING <f_g_l_header_extr> WHERE status ne 1.
          CLEAR: l_tabix.
          l_tabix = sy-tabix.
          READ TABLE g_log_link_tab ASSIGNING <f_g_l_log_link>
                                     WITH KEY fccnu = <f_g_l_header_extr>-fccnu
                                     BINARY SEARCH.
           READ TABLE  <f_g_l_log_link>-log_tab ASSIGNING <f_log_nr> index 1.
           CLEAR: g_l_t_lognumbers.
           g_l_t_lognumbers-item = <f_log_nr>-log_nr.
           APPEND g_l_t_lognumbers.
           CLEAR: messages.
           CALL FUNCTION 'APPL_LOG_READ_DB_WITH_LOGNO'
            TABLES
              lognumbers = g_l_t_lognumbers[]
              messages   = messages.
          delete messages WHERE MSGNO ne 371 AND MSGNO  ne 494 AND  MSGNO ne 491.
          LOOP AT messages  ASSIGNING <f_l_s_message> WHERE  LOGNUMBER = <f_log_nr>-log_nr
                                                       AND  ( MSGTY   = 'S' or  MSGTY = 'W' )   "Message Type S-success & W-warning
                                                       AND  MSGID     = 'VW'
                                                       AND  ( MSGNO   = 371 or MSGNO  = 494 or MSGNO = 491  ).  "Message Numbr through which Shipment Number gets
                   <f_g_l_header_extr>-tknum =  <f_l_S_message>-MSGV1.      "SHIPMENT NUMBER
                   CLEAR: g_l_t_lognumbers[].
                   exit.
          ENDLOOP.
    ENDLOOP.
    ENDENHANCEMENT.
    Thanks again,
    Mahesh Nikam.

  • Enable change logs for item level of Sales Document

    Hi,
    On transaction VA02, additional screen field (Booking Date) is added (& consequently 2 appends with date field in the tables VBAK & VBAP).
    When this date is changed in the header, the corresponding dates are changed in the item level as well.
    However, the change documents are created only for table VBAK (though item data is updated in VBAP also).
    When the date is changed at the item level, the change logs are created for the corresponding field in table VBAP.
    The data element has 'Change Document' checked.
    How can I activate the change to be logged for the item level (VBAP), when the date is changed at header level (VBAK)?

    Hi Nidhi,
    Maybe set a breakpoint in include MV45AF0C_CHANGE_DOCUMENT_CREAT
    Then check in UPDATE debug mode the value of upd_vbap and the contents of xvbap which are passed on to function VERKBELEG_WRITE_DOCUMENT .
    This function creates the change documents based on the data changes.
    I would have thought that since the date values are changed at item level as well when you only change it at the header, they should get a change document created automatically, since the dates must be in the XVBAP table (as their value is changed at the DB).
    So I would compare the various internal tables for both scenarios (header change,  item change) to determine their differences.
    After this use one of the user-exits to populate the internal tables for the header scenario based on the values of the item scenario. I would feel this to be a last resort though, since something appears not to be working correctly (I think).
    Hope this makes sense,
    Robert

  • Unable to change the operating mode in informatica admin tool.

    hi
    i have installed Informatica 8.6.0
    my repository service is running . and i have also created the integration service but its not running, the reason as i fount out in various blogs is that my repository is iin exclusive mode .
    so , i tried to change it to normal mode . but the problem is as i select normal in the drop-down list in general properties operating mode option and click ok , nothing's happening a and the page error is coming as shown below:
    Can't move focus to the control because it is invisible ,not enabled or of a type that does not accept the focus
    Is this an error of internet explorer ??? i am using IE 7.or are there any options that i need to enable???
    what should i do in this case???
    plz help !!!!
    Edited by: Nikhil.S on Jun 8, 2011 3:37 AM
    Edited by: Nikhil.S on Jun 8, 2011 3:41 AM

    I got the same error and after I tested with firefox and everything.. I found out the issue (in my case):
    - Under Database properties, The value for "ConnectString" property contains a space at the end.
    -Example "host.oracle.com "
    - Solution: I remove the space at the end , save it, and Now I can modify the operatingmode to Exclusive
    Edited by: hcamacho on Jun 24, 2011 1:53 PM

  • Airplay mirroring problem:when i change slide mirroring from off to on ,my new i pad lost wi fi connection and apple tv lost wifi connection:ihave last software for both.Can u help me?thanks

    when i change slide mirroring from off to on ,my new i pad lost wi fi connection and apple tv lost wifi connection:ihave last software for both.Can u help me?thanks.
    when i use i pad with apple tv for see my photo,youtube and movies all ok.

    I suspect that the problem is in your router. Do NOT consider your router to be blameless if some other devices seem to work with it.
    Try restarting your WiFi router by removing power for 30 seconds. Don't just turn it Off. On many routers that doesn't really do anything but put the router into standby mode. If that does not help check for a firmware update for your router. If none exists which corrects the problem consider replacing the router.
    There is a chance that some services turned on in your router could be causing problems. Look for a setting called QoS (Quality of Service). If ON turn it OFF.
    If you need more help please give the make, model, and version of your WiFi router and how you have it configured.
    See also here: http://www.apple.com/support/ipad/wifi/

  • Restore Log with Standby Mode on VHDX disk problem - hotfix for SQL 2014 needed

    Restore Log with Standby Mode on Virtual VHDX disk cause a 9004 error in SQL Server 2014 ( test performed on Web edition and Standard version )
    Similar Bug for SQL 2008R2 is already registered with number hotfix
    KB2987585
    Restore operations always fail in Hyper-V R2 Server in situations ( text copied from
    KB2987585 page )
    The primary database has its transaction log file (.ldf) stored on a disk that has "Bytes per Physical Sector" set as 512 bytes.
    You take the transaction log backups of this database, and then you try to restore it by using the standby option on the secondary database.
    The secondary database transaction log file (.ldf) is located on a VHDX disk that has "Bytes per Physical Sector" set as 4,096 bytes.
    In this scenario, the restore operation fails and returns the following error message:
    Error: 9004, Severity: 16, State: 6.
    An error occurred while processing the log for database '<databasename>'. If possible, restore from backup. If a backup is not available, it might be necessary to rebuild the log.
    After this error occurs, the secondary database goes into a suspect state.
    So restore from Generation1 to Generation2 machine ( where only VHDX disk is possible ) always fails and database is not accessible.
    Please create hotfix for SQL 2014 version

    Please create hotfix for SQL 2014 version
    This is a community forum, no one of use can create a hotfix for SQL Server.
    Raise a case at Microsoft Support or create an entry at MS Connect:
    http://connect.microsoft.com/SQLServer
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • Ipod classic syncs with itunes, but when I disconnect, no music shows on ipod

    I have an iPod classic 160GB and am able to sync the ipod to my macbook with iTunes 11, and it shows that I have 35gb of music on the iPod in iTunes. But when I disconnect the ipod, it says there is no music on the ipod. I think the problem started w

  • PDF from HTMLLoader is Not Displaying in a Container

    PDF from HTMLLoader is Not Displaying in a Container Was there a new version of AIR released recently that breaks the display of a PDF through the HTMLLoader? I've been experiencing problems displaying a PDF in a container lately. AIR applications th

  • PHP crashing Apache process on 10.6.x

    I have the stock Snow Leopard versions of Apache and PHP enabled on my iMac (a 2006 running the current 10.6.8).  It is set up for local development testing only (host entries like mysite.local 127.0.0.1 and Apache config entries), and things general

  • Students cant save to thier netork folders in Mac os 10.5

    We have a computer suite with intel imac computers that have recently been upgraded to 10.5 (Leopard) When the computers log in a mounted shared drive appears on the desktop called "work" which contains the folders for all of the students to save the

  • OpenSSO 8.0 - Windows Server 2003 User Store

    The following is taken from the installation guide - does this mean that Windows Server 2003 Forest Functional Level must be at 2003. If not, what does it mean? Requirements For ActiveDirectory as theUser Data Store To configure and use Active Direct