Log shipping - destination object locked

Hi, 
SQL 2008R2
Just set-up log shipping between two 2008R2 databases and hit an issue.  
Whilst the destination database is being rolled forward it seems it's not possible to perform any reads.  e.g. I updated 1,000,000 rows on the source and pushed over to the destination and then whilst these transactions were being applied it was not
possible to read from the table being updated, in fact the table did not even seem to exist.  
Is this normal behaviour?  
Is there any way users can do dirty reads, they would not mind this? 
I have a requirement to provide a read-only database not less than 5 minutes behind a production server, tried snapshot replication first but got a similar sort of issue, so tried this.  Can't do transactional replication as the database is from a third
party and has loads of heaps (& I mean loads!) 
I used RedGate to create the scheduled jobs but I think that's not an issue. 
Thanks 

I take it that on the Destination Database the Database is usually in the "STANDBY/READ ONLY" State?
When the transaction log shipping element is restoring the transaction logs; SQL Serve will mark the Database as "Restoring" and will return the database back to it's original state once the Transcaction Logs have been successfully restored.
This is normal behaviour for SQL Server.
Please click "Mark As Answer" if my post helped. Tony C.

Similar Messages

  • Error whiel activating cross system object lock

    Hi ,
    when I am trying to activate the cross system object lock functionality for developement system in tcode /TMWFLOW/CMSCONF  from our solman system , it showing the following error
    'Error RFC destination SM_SMDCLNT000_TRUSTED: You are not authorized to logon to the target system (error code 1).
    Message no. /TMWFLOW/TRACK_N106'
    In the above RFC connection the 'Current user' is provided.
    Can anyone please let me know what I am missing in this?

    Hi Farzan,
        I dont have autorization in Client 000 of SMD system thats why its giving authorization error but when I am trying to activate the object locking for SMD client 321 why the system is trying to logging into the SMD : 000 can we somewhere modify the RFC conection which needs to be used.
    Regards,
    Amar Kamat

  • Log shipping is not restoring log files ata particular time

    Hi,
    I have configured log shipping and it restores all the log files upto a particular time after which it throws error and not in consistent sate. I tried deleting and again configuring log shipping couple of times but no success. Can any one tell me 
    how to prevent it as I have already configured log shipping from another server to same destination server and it is working fine for more than 1 year? The new configuration is only throwing errors in restoration job.
    Thanks,
    Preetha

    Message
    2014-07-21 14:00:21.62    *** Error: The log backup file 'E:\Program Files\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\Qcforecasting_log\Qcforecasting_20140721034526.trn' was verified but could not be applied to secondary database 'Qcforecasting'.(Microsoft.SqlServer.Management.LogShipping)
    2014-07-21 14:00:21.62    Deleting old log backup files. Primary Database: 'Qcforecasting'
    2014-07-21 14:00:21.62    The restore operation completed with errors. Secondary ID: '46b20de0-0ccf-4411-b810-2bd82200ead8'
    2014-07-21 14:00:21.63    ----- END OF TRANSACTION LOG RESTORE     -----
    The same file was tried thrice and it threw error all the 3 times.
    But when I manually restored the Qcforecasting_20140721034526 transaction log it worked. Not sure why this is happening. After the manual restoration it worked fine for one run.ow waiting for the other to complete.
    This seems strange to me error points to fact that backup was consistent but could not be applied because may be restore process found out that log backup was not it correct sequence or another log backup which was accidentally taken can be applied.
    But then you said you can apply this manually then this must be related to permission. Because if it can restore manually it can do it with job unless agent account has some permission issue.
    Ofcourse more logs would help
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Object Lock -- Process Chain --- How to Track

    Dear All...
    Working on SCM 4.1
    Daily we schedule the Process Chain , but sometime we get the Object Lock Error.
    To see this error we have to go to process chain-> Log , Steps-->right click , and display message...
    This is manual Process , and we cant keep track of many Process Chain Jobs >Steps>messages??
    Is there any process /way to Track /watch these types of Object Lock Errors automaticaly ??
    as it could reduce our manual activity??
    Thanks in advance..
    Rajesh patil

    HI Rajesh,
    You can get mail on abort of any step in Process chain.
    For that go to edit mode of existing process chain in RSPC. Right Click on Step (for which you need mail) and click on CREATE MESSAGE.
    Click on radio button "Error" so that when ever Error comes you will get mail.
    Hope this helps.
    Vishal..

  • Charm without Cross system object lock

    Dear All,
    We have requirement for configuration of Charm without cross system object lock i.e. solution manager will be used for documentation but create, release, import request from the development system itself.
    Can we make changes in the functionality and use charm for documentation only?
    if anyone has the same requirement can you please let me know steps to be followed.
    Thanks in advance
    Regards
    Sushant

    Dear Prabhakar,
    Thanks for the reply.
    Our project has just gone live and issues immediate resolution is being carried. Charm will integrate with system and training is required for that which at this point of time not possible but at the same time without affecting the issue resolution we want to log the changes in solution manager.
    We will use the CSOL feature may be some time later.
    At present i have not activate CSOL, still the document doesn't flow through. Document got stuck at "In development" phase and doesn't move forward. It doesn't allow to change the status.
    Regards
    Sushant

  • Object locked by User

    Hi ,
    When Iam trying to run a ASO cube which has 22 dimension thru .msh which will refresh the outline and then loads the data i.e full load. Iam facing this below error
    WARNING - 1053010 - Object [cust] is already locked by user [abc].
    I tried by unlock the rule files its not working out. Could you please help me what would be the problem ?
    Thanks in Advance,
    Raj.

    I am suddenly getting the same error (started last week) during my scheduled cube builds. I have all the above commands in my script. There are no users logged in and no objects. The error is actually stating that the current user (the id used for the cube build) has the object locked. This occurs every morning on all my daily cubes. When i manually execute the cube build scripts after the error occurs, they work fine. Some additional notes. The Server is brought down every night and is brought back up every morning at 5am. The cube builds kick off at 7am. I cannot figure out what could be causing this, since it's been working fine for the last couple of years.

  • Log Shipping Restore Job working but DB not restoring

    Hi All 
    I had a problem with log shipping.
    The first time i setup log shipping. Restore job working fine.
    But after i edit destination folder in "Copy File" Tab Menu,
    before the destination folder is \\HQAPPDB\Data_backup then i changed to \\HQAPPDB\C$\Data_backup
    then restore job, stop restoring secondary database, but copy job still copying all transaction file to \\HQAPPDB\C$\Data_backup
    I think i cannot simply changed like that.
    i changed back destination folder to  \\HQAPPDB\Data_backup, sync primary db and secondary db, then enable backup, copy and restore job
    but still secondary db not restoring.
    Any solution for me so i can make restore job working like the first time i setup ?
    I really appreciate for your help
    Thank you so much. 
    Oryza Safutra

    Hi Oryza Safutra,
    According to your description, if you change the destination folder, enable backup, copy ,restore job again and these job are all run successfully. Meanwhile, all transaction file has been changed to the new destination folder. However, if you do some modifications
    in your primary database, it will not sync these modifications in the secondary database, right?
    I do a test, it run well. In theory, if you just only change the location of folder, it will not affect the process of Log shipping. We need to verify if you grant read and write permission on the new folder to the proxy account for the copy
    job. Or the frequency is too long, the restore job has not occurs. If you configure an alert for restore job when it run failed. I recommend you 
    check the error logs in the SQL Server Agent and if there are some error message in here, you can post for analysis.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • ASA5510: Changed destination object but traffic just will not go through

    Hello
    I have a fully functioning ASA5510.  One of the things that go through it is OWA, presently it is routed to a particular address.  I have just built a new Exchange server and I want to get OWA working.  I created a new destination object, making sure that all the major details were the same as the original object, just changing the IP address only.  I also did the same for the NAT.  I have also done the same with the two smarthost rules.
    Now when I apply the new config, OWA and external mail is affected.  I can access OWA internally, and all I change is literally the destination point.
    I have sat and gone through, line by line, the working and the non-working config.
    Any ideas?

    Thanks Walter, below then is the working config.  I have removed some information from it and put the whole section of the rules that were changed in red.
    : Saved
    ASA Version 8.4(3)
    hostname TAAS-FW-HH-01
    domain-name domain.local
    enable password N5MzNpZasdasdadadM.GwZSfSB encrypted
    passwd 2KFQnbNIdasdasdadaI.2KYOU encrypted
    names
    interface Ethernet0/0
     nameif WAN-HH-0
     security-level 0
     ip address x.x.x.243 255.255.255.240
    interface Ethernet0/1
     nameif WAN-HH-1
     security-level 0
     pppoe client vpdn group PPPoE-GROUP
     ip address pppoe
    interface Ethernet0/2
     nameif DMZ-HH
     security-level 50
     ip address 10.0.1.1 255.255.255.0
    interface Ethernet0/3
     nameif LAN-HH
     security-level 100
     ip address 10.1.0.1 255.255.255.0
    interface Management0/0
     nameif management
     security-level 100
     ip address 10.1.1.1 255.255.255.0
     management-only
    ftp mode passive
    clock timezone GMT/BST 0
    clock summer-time GMT/BDT recurring last Sun Mar 1:00 last Sun Oct 2:00
    dns domain-lookup WAN-HH-0
    dns domain-lookup WAN-HH-1
    dns domain-lookup DMZ-HH
    dns domain-lookup LAN-HH
    dns domain-lookup management
    dns server-group DefaultDNS
     name-server 10.1.0.41
     domain-name domain.local
    object network EXT-IP-HH4-244
     host x.x.x..244
     description EXT-IP-HH4-244 FOR NAT
    object network RTR-HH
     host x.x.x..241
     description RTR-HH
    object network EXT-IP-HH2-242
     host x.x.x..242
     description EXT-IP-HH2-242 FOR EXCHANGE SBS
    object network WNAASBS
     host 10.1.0.30
     description WNAASBS
    object network LAN-FUNDRAISING
     subnet 10.3.0.0 255.255.255.0
     description LAN-FUNDRAISING
    object network LAN-HH
     subnet 10.1.0.0 255.255.255.0
     description LAN-HH
    object network EXT-IP-RET
     host 80.229.161.185
     description EXT-IP-RET
    object network LAN-RET
     subnet 10.2.0.0 255.255.255.0
     description LAN-RET
    object network EXT-IP-COV1-130
     host 213.120.84.130
     description EXT-IP-COV1-130
    object network LAN-COV
     subnet 10.4.0.0 255.255.255.0
     description LAN-COV
    object network EXT-IP-DLR
     host 81.130.196.105
     description EXT-IP-DLR
    object network LAN-DLR
     subnet 10.5.0.0 255.255.255.0
     description LAN-DLR
    object network EXT-IP-HH5-245
     host x.x.x..245
     description EXT-IP-HH5-245 FOR FS
    object network TAAS-FSP-HH-01
     host 10.0.1.10
     description TAAS-FSP-HH-01
    object network EXT-IP-HH6-246
     host x.x.x..246
     description EXT-IP-HH6-246 FOR SSLVPN
    object network EXT-IP-HH3-243
     host x.x.x..243
     description EXP-IP-HH3-243
    object network LAN-LON
     subnet 10.6.0.0 255.255.255.0
     description LAN-LON
    object network Supplier2-1-66.197.193.197
     host 66.197.193.197
     description Supplier2-1-66.197.193.197
    object network Supplier2-2-92.48.99.0-mask-255.255.255.192
     subnet 92.48.99.0 255.255.255.192
     description Supplier2-2-92.48.99.0-mask-255.255.255.192
    object network Supplier2-3-195.72.35.96-mask-255.255.255.240
     subnet 195.72.35.96 255.255.255.240
     description Supplier2-3-195.72.35.96-mask-255.255.255.240
    object network Supplier2-4-95.154.198.192
     subnet 95.154.198.192 255.255.255.192
     description Supplier2-4-95.154.198.192
    object network EXT-IP-HH14-254
     host x.x.x..254
     description EXT-IP-HH14-254
    object network PANASONIC-PBX-IP
     host 10.1.0.80
     description PANASONIC-PBX-IP
    object network SUPPLIER1-FIXED-IP
     host 81.137.210.17
     description SUPPLIER1-FIXED-IP
    object network TAAS-DC-HH-01
     host 10.1.0.16
     description TAAS-DC-HH-01
    object network TAAS-EX-HH-01
     host 10.1.0.20
     description TAAS-EX-HH-01
    object network TAAS-FP-HH-01A
     host 10.1.0.18
     description TAAS-FP-HH-01A
    object network Supplier3
     subnet 10.0.0.0 255.255.0.0
     description Supplier3
    object network Supplier3IP
     host 87.84.167.147
     description Supplier3IP
    object network LAN-RITM
     subnet 10.71.139.0 255.255.255.0
     description Translated LAN address for Supplier3
    object network Supplier2_New1
     subnet 5.172.153.128 255.255.255.128
     description New Supplier2 5.172.153.128
    object network Supplier2_New2
     host 5.172.153.233
     description Supplier2_New2   5.172.153.233
    object network Supplier2_New3
     range 5.172.153.150 5.172.153.160
     description Supplier2_New3   5.172.153.150-160
    object network Supplier2_New5
     range 5.172.153.230 5.172.153.235
     description Supplier2_New5  5.172.153.230-235
    object network LAN-LF
     subnet 10.177.163.0 255.255.255.0
    object network TAAS-SP-APP-01
     host 10.1.0.45
     description Sharepoint
    object network SSL-VPN
     host 10.1.0.7
    object network NETWORK_OBJ_10.1.0.192_26
     subnet 10.1.0.192 255.255.255.192
    object network LF
     host 92.234.12.53
    object service http
     service tcp source eq www destination eq www
     description http
    object network 10.1.0.45
     host 10.1.0.45
    object network TAAS-EX-HH
     host 10.1.0.31
     description TAAS-EX-HH
    object network 187.72.55.177
     host 187.72.55.177
    object network 92.51.156.106
     host 92.51.156.106
    object-group protocol DM_INLINE_PROTOCOL_1
     protocol-object ip
     protocol-object icmp
    object-group network DM_INLINE_NETWORK_2
     network-object 10.0.1.0 255.255.255.0
     network-object object LAN-HH
    object-group network Supplier2-SMTP
     description Supplier2-SMTP
     network-object object Supplier2-1-66.197.193.197
     network-object object Supplier2-2-92.48.99.0-mask-255.255.255.192
     network-object object Supplier2-3-195.72.35.96-mask-255.255.255.240
     network-object object Supplier2-4-95.154.198.192
    object-group service PANASONIC-PBX tcp-udp
     description PANASONIC-PBX
     port-object eq 35300
    object-group protocol TCPUDP
     protocol-object udp
     protocol-object tcp
    object-group service DM_INLINE_SERVICE_1
     service-object tcp-udp destination eq domain
     service-object tcp destination eq www
     service-object tcp destination eq https
     service-object udp destination eq ntp
    object-group network New_Supplier2_SMTP
     description New Supplier2 Group
     network-object object Supplier2_New1
     network-object object Supplier2_New2
     network-object object Supplier2_New3
     network-object object Supplier2_New5
     network-object object LF
    object-group service DM_INLINE_TCP_1 tcp
     port-object eq www
     port-object eq https
    object-group protocol DM_INLINE_PROTOCOL_2
     protocol-object ip
     protocol-object udp
     protocol-object tcp
     group-object TCPUDP
    object-group network Malicious_IP_Addresses
     network-object object 187.72.55.177
     network-object object 92.51.156.106
    access-list WAN-HH-0_access extended permit tcp any object WNAASBS eq https log debugging
    access-list WAN-HH-0_access extended permit object-group TCPUDP object SUPPLIER1-FIXED-IP object PANASONIC-PBX-IP object-group PANASONIC-PBX
    access-list WAN-HH-0_access extended permit tcp any object TAAS-FSP-HH-01 eq https
    access-list WAN-HH-0_access extended permit tcp object-group Supplier2-SMTP object WNAASBS eq smtp log debugging
    access-list WAN-HH-0_access extended permit icmp any object-group DM_INLINE_NETWORK_2 echo-reply inactive
    access-list WAN-HH-0_access extended permit tcp object-group New_Supplier2_SMTP object WNAASBS eq smtp log debugging
    access-list WAN-HH-0_access extended permit tcp any object TAAS-SP-APP-01 object-group DM_INLINE_TCP_1 log
    access-list WAN-HH-0_access extended permit tcp any object SSL-VPN eq https
    access-list WAN-HH-0_access extended permit tcp object-group Supplier2-SMTP object TAAS-EX-HH eq smtp log debugging inactive
    access-list WAN-HH-0_access extended permit tcp object-group New_Supplier2_SMTP object TAAS-EX-HH eq smtp inactive
    access-list WAN-HH-0_access extended permit tcp any eq https object TAAS-EX-HH eq https log debugging inactive
    (The below part is the full section of that above with the new rules.  This is the only thing that is different between the two running config files)
    access-list WAN-HH-0_access extended permit tcp any object WNAASBS eq https log debugging inactive
    access-list WAN-HH-0_access extended permit object-group TCPUDP object SUPPLIER1-FIXED-IP object PANASONIC-PBX-IP object-group PANASONIC-PBX
    access-list WAN-HH-0_access extended permit tcp any object TAAS-FSP-HH-01 eq https
    access-list WAN-HH-0_access extended permit tcp object-group Supplier2-SMTP object WNAASBS eq smtp log debugging inactive
    access-list WAN-HH-0_access extended permit icmp any object-group DM_INLINE_NETWORK_2 echo-reply inactive
    access-list WAN-HH-0_access extended permit tcp object-group New_Supplier2_SMTP object WNAASBS eq smtp log debugging inactive
    access-list WAN-HH-0_access extended permit tcp any object TAAS-SP-APP-01 object-group DM_INLINE_TCP_1 log
    access-list WAN-HH-0_access extended permit tcp any object SSL-VPN eq https
    access-list WAN-HH-0_access extended permit tcp object-group Supplier2-SMTP object TAAS-EX-HH eq smtp log debugging
    access-list WAN-HH-0_access extended permit tcp object-group New_Supplier2_SMTP object TAAS-EX-HH eq smtp
    access-list WAN-HH-0_access extended permit tcp any object TAAS-EX-HH eq https log debugging
    access-list WAN-HH-0_cryptomap extended permit ip object LAN-HH object LAN-RET
    access-list WAN-HH-0_cryptomap_2 extended permit ip object LAN-HH object LAN-COV
    access-list WAN-HH-0_cryptomap_3 extended permit ip object LAN-HH object LAN-DLR
    access-list DMZ-HH_access_in extended permit tcp object TAAS-FSP-HH-01 object TAAS-FP-HH-01A eq https
    access-list DMZ-HH_access_in extended permit object-group DM_INLINE_SERVICE_1 object TAAS-FSP-HH-01 any
    access-list DMZ-HH_access_in extended deny object-group DM_INLINE_PROTOCOL_1 any any inactive
    access-list WAN-HH-0_cryptomap_5 extended permit ip object LAN-HH object LAN-RET
    access-list WAN-HH-1_access_in extended permit object-group DM_INLINE_PROTOCOL_2 any any log
    pager lines 24
    logging enable
    logging asdm informational
    mtu WAN-HH-0 1500
    mtu WAN-HH-1 1500
    mtu DMZ-HH 1500
    mtu LAN-HH 1500
    mtu management 1500
    ip local pool VPNAddresses 10.1.0.200-10.1.0.254 mask 255.255.255.0
    no failover
    icmp unreachable rate-limit 1 burst-size 1
    no asdm history enable
    arp timeout 14400
    nat (LAN-HH,WAN-HH-0) source static LAN-HH LAN-HH destination static LAN-FUNDRAISING LAN-FUNDRAISING no-proxy-arp route-lookup
    nat (LAN-HH,WAN-HH-0) source static LAN-HH LAN-HH destination static LAN-RET LAN-RET no-proxy-arp route-lookup
    nat (LAN-HH,WAN-HH-0) source static LAN-HH LAN-HH destination static LAN-COV LAN-COV no-proxy-arp route-lookup
    nat (LAN-HH,WAN-HH-0) source static LAN-HH LAN-HH destination static LAN-DLR LAN-DLR no-proxy-arp route-lookup
    nat (LAN-HH,WAN-HH-0) source static LAN-HH LAN-HH destination static LAN-LON LAN-LON no-proxy-arp route-lookup
    nat (LAN-HH,WAN-HH-0) source static LAN-HH LAN-RITM destination static Supplier3 Supplier3
    nat (LAN-HH,WAN-HH-0) source static LAN-HH LAN-HH destination static LAN-LF LAN-LF
    nat (LAN-HH,WAN-HH-0) source static any any destination static NETWORK_OBJ_10.1.0.192_26 NETWORK_OBJ_10.1.0.192_26 no-proxy-arp route-lookup
    object network WNAASBS
     nat (LAN-HH,WAN-HH-0) static EXT-IP-HH2-242
    object network TAAS-FSP-HH-01
     nat (DMZ-HH,WAN-HH-0) static EXT-IP-HH5-245
    object network PANASONIC-PBX-IP
     nat (LAN-HH,WAN-HH-0) static EXT-IP-HH14-254
    object network SSL-VPN
     nat (LAN-HH,WAN-HH-0) static EXT-IP-HH6-246
    object network 10.1.0.45
     nat (LAN-HH,WAN-HH-0) static interface service tcp www www
    object network TAAS-EX-HH
     nat (LAN-HH,WAN-HH-0) static EXT-IP-HH2-242
    nat (DMZ-HH,WAN-HH-0) after-auto source dynamic any EXT-IP-HH5-245 dns
    nat (LAN-HH,WAN-HH-0) after-auto source dynamic any interface
    access-group WAN-HH-0_access in interface WAN-HH-0
    access-group WAN-HH-1_access_in in interface WAN-HH-1
    access-group DMZ-HH_access_in in interface DMZ-HH
    route WAN-HH-0 0.0.0.0 0.0.0.0 x.x.x..241 1
    timeout xlate 3:00:00
    timeout pat-xlate 0:00:30
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    timeout tcp-proxy-reassembly 0:01:00
    timeout floating-conn 0:00:00
    dynamic-access-policy-record DfltAccessPolicy
    user-identity default-domain LOCAL
    aaa authentication ssh console LOCAL
    http server enable
    http 10.1.1.0 255.255.255.0 management
    http 10.1.0.0 255.255.255.0 LAN-HH
    http 195.171.184.58 255.255.255.255 WAN-HH-0
    http 10.177.163.0 255.255.255.0 LAN-HH
    no snmp-server location
    no snmp-server contact
    snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
    crypto ipsec ikev1 transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-DES-MD5 esp-des esp-md5-hmac
    crypto ipsec ikev2 ipsec-proposal DES
     protocol esp encryption des
     protocol esp integrity sha-1 md5
    crypto ipsec ikev2 ipsec-proposal 3DES
     protocol esp encryption 3des
     protocol esp integrity sha-1 md5
    crypto ipsec ikev2 ipsec-proposal AES
     protocol esp encryption aes
     protocol esp integrity sha-1 md5
    crypto ipsec ikev2 ipsec-proposal AES192
     protocol esp encryption aes-192
     protocol esp integrity sha-1 md5
    crypto ipsec ikev2 ipsec-proposal AES256
     protocol esp encryption aes-256
     protocol esp integrity sha-1 md5
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs group1
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
    crypto map WAN-HH-0_map 1 match address WAN-HH-0_cryptomap
    crypto map WAN-HH-0_map 1 set peer.110
    crypto map WAN-HH-0_map 1 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
    crypto map WAN-HH-0_map 1 set ikev2 ipsec-proposal DES 3DES AES AES192 AES256
    crypto map WAN-HH-0_map 2 match address WAN-HH-0_cryptomap_2
    crypto map WAN-HH-0_map 2 set pfs
    crypto map WAN-HH-0_map 2 set peer.130
    crypto map WAN-HH-0_map 2 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
    crypto map WAN-HH-0_map 2 set ikev2 ipsec-proposal DES 3DES AES AES192 AES256
    crypto map WAN-HH-0_map 2 set nat-t-disable
    crypto map WAN-HH-0_map 4 match address WAN-HH-0_cryptomap_3
    crypto map WAN-HH-0_map 4 set peer 105
    crypto map WAN-HH-0_map 4 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
    crypto map WAN-HH-0_map 4 set ikev2 ipsec-proposal DES 3DES AES AES192 AES256
    crypto map WAN-HH-0_map 6 match address WAN-HH-0_cryptomap_5
    crypto map WAN-HH-0_map 6 set peer 78.154.108.110
    crypto map WAN-HH-0_map 6 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
    crypto map WAN-HH-0_map 6 set ikev2 ipsec-proposal DES 3DES AES AES192 AES256
    crypto map WAN-HH-0_map 6 set ikev2 pre-shared-key xxxxxxx
    crypto map WAN-HH-0_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
    crypto map WAN-HH-0_map interface WAN-HH-0
    crypto ca trustpoint _SmartCallHome_ServerCA
     crl configure
    crypto ca certificate chain _SmartCallHome_ServerCA
     certificate TOOK THIS OUT AS WAY TOO MUCH TEXT
      quit
    crypto ikev2 policy 1
     encryption aes-256
     integrity sha
     group 5 2
     prf sha
     lifetime seconds 86400
    crypto ikev2 policy 10
     encryption aes-192
     integrity sha
     group 5 2
     prf sha
     lifetime seconds 86400
    crypto ikev2 policy 20
     encryption aes
     integrity sha
     group 5 2
     prf sha
     lifetime seconds 86400
    crypto ikev2 policy 30
     encryption 3des
     integrity sha
     group 5 2
     prf sha
     lifetime seconds 86400
    crypto ikev2 policy 40
     encryption des
     integrity sha
     group 5 2
     prf sha
     lifetime seconds 86400
    crypto ikev2 enable WAN-HH-0
    crypto ikev2 enable WAN-HH-1
    crypto ikev1 enable WAN-HH-0
    crypto ikev1 enable WAN-HH-1
    crypto ikev1 policy 10
     authentication crack
     encryption aes-256
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 20
     authentication rsa-sig
     encryption aes-256
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 30
     authentication pre-share
     encryption aes-256
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 40
     authentication crack
     encryption aes-192
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 50
     authentication rsa-sig
     encryption aes-192
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 60
     authentication pre-share
     encryption aes-192
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 70
     authentication crack
     encryption aes
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 80
     authentication rsa-sig
     encryption aes
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 90
     authentication pre-share
     encryption aes
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 100
     authentication crack
     encryption 3des
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 110
     authentication rsa-sig
     encryption 3des
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 120
     authentication pre-share
     encryption 3des
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 130
     authentication crack
     encryption des
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 140
     authentication rsa-sig
     encryption des
     hash sha
     group 2
     lifetime 86400
    crypto ikev1 policy 150
     authentication pre-share
     encryption des
     hash sha
     group 2
     lifetime 86400
    telnet timeout 5
    ssh x.x.x.58 x.255.255.255 WAN-HH-0
    ssh x.x.x.x 255.255.255.255 WAN-HH-0
    ssh x.x.0.0 255.255.255.0 LAN-HH
    ssh timeout 5
    console timeout 0
    management-access LAN-HH
    vpdn group PPPoE_GROUP request dialout pppoe
    vpdn group PPPoE_GROUP localname login
    vpdn group PPPoE_GROUP ppp authentication chap
    vpdn group PPPoE-GROUP request dialout pppoe
    vpdn group PPPoE-GROUP localname login
    vpdn group PPPoE-GROUP ppp authentication chap
    vpdn username login password password
    dhcpd address xx.x.x.-x.x.x.x. management
    dhcpd enable management
    threat-detection basic-threat
    threat-detection statistics host
    threat-detection statistics port number-of-rate 3
    threat-detection statistics protocol number-of-rate 3
    threat-detection statistics access-list
    threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
    ntp server x.x.x.x source LAN-HH prefer
    ntp server 80.87.128.243 source WAN-HH-0
    webvpn
     enable WAN-HH-1
    group-policy DefaultRAGroup internal
    group-policy DefaultRAGroup attributes
     dns-server value 1x.x.x.x
     vpn-tunnel-protocol l2tp-ipsec
     default-domain value domain.local
    group-policy TestIPSECTunnel internal
    group-policy TestIPSECTunnel attributes
     dns-server value x.x.x.x
     vpn-tunnel-protocol ikev1
     default-domain value x.x.uk
    group-policy DfltGrpPolicy attributes
     dns-server value x.x.x.x
     webvpn
      url-list value Links
    group-policy GroupPolicy_147 internal
    group-policy GroupPolicy_.147 attributes
     vpn-tunnel-protocol ikev1
    group-policy GroupPolicy_105 internal
    group-policy GroupPolicy_105 attributes
     vpn-tunnel-protocol ikev1 ikev2
    group-policy GroupPolicy_130 internal
    group-policy GroupPolicy_130 attributes
     vpn-tunnel-protocol ikev1 ikev2
    username user password password privilege 0
    username user attributes
     vpn-group-policy DfltGrpPolicy
    username user2 password passwordy encrypted privilege 15
    tunnel-group DefaultRAGroup general-attributes
     address-pool VPNAddresses
     default-group-policy DefaultRAGroup
    tunnel-group DefaultRAGroup ipsec-attributes
     ikev1 pre-shared-key xxxxxxxx
    tunnel-group DefaultRAGroup ppp-attributes
     authentication pap
     no authentication ms-chap-v1
     authentication ms-chap-v2
    tunnel-group 10 type ipsec-l2l
    tunnel-group110 ipsec-attributes
     ikev1 pre-shared-key
     ikev2 remote-authentication pre-shared-key
     ikev2 local-authentication pre-shared-key
    tunnel-group 147 type ipsec-l2l
    tunnel-group 147 general-attributes
     default-group-policy GroupPolicy_87.84.164.147
    tunnel-group 147 ipsec-attributes
     ikev1 pre-shared-key
     ikev2 remote-authentication pre-shared-key
     ikev2 local-authentication pre-shared-key
    tunnel-group.130 type ipsec-l2l
    tunnel-group.130 general-attributes
     default-group-policy GroupPolicy_213.120.84.130
    tunnel-group 130 ipsec-attributes
     ikev1 pre-shared-key
     ikev2 remote-authentication pre-shared-key
     ikev2 local-authentication pre-shared-key
    tunnel-group 105 type ipsec-l2l
    tunnel-group 105 general-attributes
     default-group-policy GroupPolicy_81.130.196.105
    tunnel-group.105 ipsec-attributes
     ikev1 pre-shared-key xxxxxxx
     ikev2 remote-authentication pre-shared-key xxxxxxx
     ikev2 local-authentication pre-shared-key xxxxxxx
    tunnel-group TestIPSECTunnel type remote-access
    tunnel-group TestIPSECTunnel general-attributes
     address-pool VPNAddresses
     default-group-policy TestIPSECTunnel
    tunnel-group TestIPSECTunnel ipsec-attributes
     ikev1 pre-shared-key xxxxxxx
    tunnel-group SSLVPN type remote-access
    class-map inspection_default
     match default-inspection-traffic
    policy-map type inspect dns preset_dns_map
     parameters
      message-length maximum client auto
      message-length maximum 512
    policy-map global_policy
     class inspection_default
      inspect dns preset_dns_map
      inspect ftp
      inspect h323 h225
      inspect h323 ras
      inspect rsh
      inspect rtsp
      inspect sqlnet
      inspect skinny 
      inspect sunrpc
      inspect xdmcp
      inspect sip 
      inspect netbios
      inspect tftp
      inspect ip-options
     class class-default
      user-statistics accounting
    service-policy global_policy global
    prompt hostname context
    call-home reporting anonymous
    hpm topN enable
    Cryptochecksum:994038sdgfaefg cesrtsegse55fd0239
    : end
    no asdm history enable

  • CSOL Cross System Object Lock - RFC error in satellite system

    Hi
    We are currently implementing Solution Manager 7.1 (ChaRM) and of the mandatory requirements is to activate Cross System Object Lock.
    I have globally activated this in Solman and have gone into /TMWFLOW/CMSCONF to activate for our development client. This is now activated.
    A transport has now been created in ChaRM and I login to the above mentioned development system and make a customizing change. I then choose the transport and save change. I am presented with an error:
    "Error in RFC SM_DSMCLNT001_BACK to Solution Manager System" (Message No. STMWFLOW025)
    I have now been looking at this for a few hours and found OSS Note 824521. However, I have already done all this. From a RFC perspective we have:
    SOLMAN:
    SM_DSMCLNT001_BACK - works fine in SM59. The assigned user has all the correct profiles.
    In transaction SDCCN, the above RFC appears also.
    In transaction SM30, table BCOS_CUST, "CHARM_DEST" and "OSS_MSG" are both set to destination NONE.
    SATELLITE SYSTEM:
    In transaction SDCCN, the above mentioned RFC exists
    In transaction SM30, table BCOS_CUST, "CHARM_DEST" and "OSS_MSG" are both set to the above mentioned RFC
    The user SMB_DSM for the RFC only exists in Solman and not in satellite system. Don't think this is needed though.
    As soon as I deactivate CSOL in /TMWFLOW/CMSCONF in Solman (for development client), I can make changes and the above error (in red) does not appear. However, we needed CSOL working and this error not to appear.
    Any suggestions???
    Thanks
    Shaun

    Ok, the resolution was to ensure SMB_X82 (in Solman) has the following roles and profiles:
    Roles
    SAP_SOLMANTMWCOL
    Z_SOLMAN_BACK
    Profiles
    D_SOLMAN_RFC
    S_BDLSM_READ
    S_CSMREG
    S_CUS_CMP
    S_SD_CREATE
    S_TMW_ADMIN
    This resolved my issue.
    Thanks
    Shaun

  • SAP NetWeaver 7.01 Java installation on MSCS and Log shipping for DR

    Hi Experts,
    Can anyone please explain if below is possible :
    - We have installed Netweaver 7.01 Java application server on Microsoft clustering which is working perfectly ok.
    -Now we are looking at building a DR solution for the above installation using SQL Server 2008 Log-shipping. The DR site has the same MSCS configuration as the primary site.
    -If we log-ship the production database and create a secondary database in "standby" or "norecovery" mode, how do we install a Passive SAP Central instance in case we want to failover from the primary to secondar ?
    - We know that we have the primary database log-shipped to the secondary site and in the event of failure we can switch the roles and make secondary as primary and then perform the system copy steps on the MSCS. the drawback here is that it will take a long time to bring the system online if we perform the system copy. Our RTO is one hour only so this is not acceptable.
    Question : Is there anyway we can install the Central Services and Applicaiton servers beforehand on the secondary site on the secondary log-shipped database so that in the event of failure all we do is bring the secondary database primary and then start the SAP on the secondary site ?
    If yes then can anyone point me the any SAP note or documentation that has the details of how to do this.
    I have already looked at 1101017, 965908 but its not clear how we can perform the installation on the JAVA stack only.
    We want to implement similar to what is shows in the below diagram :
    http://help.sap.com/saphelp_apo/helpdata/en/fc/33c028d58511d386ee00a0c930df15/content.htm
    Appreciate if someone can assist in resolving the above query.
    Thank you.
    RA

    Thanks Markus for your reply.
    I did looked at the HA web page from SAP and configured MSCS for HA but there's no information regarding DR setup. All it says is setup a log shiping which we already know but there's no procedure to setup SAP on the DR site(Passive SAP central instance)
    My original question still stands :
    - Is system copy the only option that we need to perform at the DR site in the event of failure ( Assumption is that we ieve make the secondary database as primary and also sync file system for JAVA using SAN replication technologies)
    - We have to achieve an RTO of 1 hour which is not possible in this case as performing system copy using MSCS HA option will take few hours to setup and test.
    -The link "http://help.sap.com/saphelp_apo/helpdata/en/fc/33c028d58511d386ee00a0c930df15/content.htm" shows that we can have SAP PAssive central instance. Whats the procedure of installing this Passive instance on the secondary site so in the event of failure all we do is make the secondary database primary and bring the SAP system online(installed already - no system copy performed) and also file system is already is sync.
    Thank you.
    RA

  • SAP on MSCS and log shipping for DR

    Hi Experts,
    Can anyone please explain if below is possible :
    - We have installed Netweaver 7.01 Java application server on Microsoft clustering which is working perfectly ok.
    -Now we are looking at building a DR solution for the above installation using SQL Server 2008 Log-shipping. The DR site has the same MSCS configuration as the primary site.
    -If we log-ship the production database and create a secondary database in "standby" or "norecovery" mode, how do we install a Passive SAP Central instance in case we want to failover from the primary to secondary?
    - We know that we have the primary database log-shipped to the secondary site and in the event of failure we can switch the roles and make secondary as primary and then perform the system copy steps on the MSCS. the drawback here is that it will take a long time to bring the system online if we perform the system copy. Our RTO is one hour only so this is not acceptable.
    Question : Is there anyway we can install the Central Services and Applicaiton servers beforehand on the secondary site on the secondary log-shipped database so that in the event of failure all we do is bring the secondary database primary and then start the SAP on the secondary site ?
    If yes then can anyone point me the any SAP note or documentation that has the details of how to do this.
    I have already looked at 1101017, 965908 but its not clear how we can perform the installation on the JAVA stack only.
    We want to implement similar to what is shows in the below diagram :
    http://help.sap.com/saphelp_apo/helpdata/en/fc/33c028d58511d386ee00a0c930df15/content.htm
    Appreciate if someone can assist in resolving the above query.
    Thank you.
    RA

    Thanks Marcus and John for your reply.
    I did looked at the HA web page from SAP and configured MSCS for HA but there's no information regarding DR setup. All it says is setup a log shiping which we already know but there's no procedure to setup SAP on the DR site(Passive SAP central instance)
    My original question still stands :
    - Is system copy the only option that we need to perform at the DR site in the event of failure ( Assumption is that we ieve make the secondary database as primary and also sync file system for JAVA using SAN replication technologies)
    - We have to achieve an RTO of 1 hour which is not possible in this case as performing system copy using MSCS HA option will take few hours to setup and test.
    -The link "http://help.sap.com/saphelp_apo/helpdata/en/fc/33c028d58511d386ee00a0c930df15/content.htm" shows that we can have SAP PAssive central instance. Whats the procedure of installing this Passive instance on the secondary site so in the event of failure all we do is make the secondary database primary and bring the SAP system online(installed already - no system copy performed) and also file system is already is sync.
    Thank you.
    RA

  • ORA-16191: Primary log shipping client not logged on standby.

    Hi,
    Please help me in the following scenario. I have two nodes ASM1 & ASM2 with RHEL4 U5 OS. On node ASM1 there is database ORCL using ASM diskgroups DATA & RECOVER and archive location is on '+RECOVER/orcl/'. On ASM2 node, I have to configure STDBYORCL (standby) database using ASM. I have taken the copy of database ORCL via RMAN, as per maximum availability architecture.
    Then I have ftp'd all to ASM2 and put them on FS /u01/oradata. Have made all necessary changes in primary and standby database pfile and then perform the duplicate database for standby using RMAN in order to put the db files in desired diskgroups. I have mounted the standby database but unfortunately, log transport service is not working and archives are not getting shipped to standby host.
    Here are all configuration details.
    Primary database ORCL pfile:
    [oracle@asm dbs]$ more initorcl.ora
    stdbyorcl.__db_cache_size=251658240
    orcl.__db_cache_size=226492416
    stdbyorcl.__java_pool_size=4194304
    orcl.__java_pool_size=4194304
    stdbyorcl.__large_pool_size=4194304
    orcl.__large_pool_size=4194304
    stdbyorcl.__shared_pool_size=100663296
    orcl.__shared_pool_size=125829120
    stdbyorcl.__streams_pool_size=0
    orcl.__streams_pool_size=0
    *.audit_file_dest='/opt/oracle/admin/orcl/adump'
    *.background_dump_dest='/opt/oracle/admin/orcl/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='+DATA/orcl/controlfile/current.270.665007729','+RECOVER/orcl/controlfile/current.262.665007731'
    *.core_dump_dest='/opt/oracle/admin/orcl/cdump'
    *.db_block_size=8192
    *.db_create_file_dest='+DATA'
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='orcl'
    *.db_recovery_file_dest='+RECOVER'
    *.db_recovery_file_dest_size=3163553792
    *.db_unique_name=orcl
    *.fal_client=orcl
    *.fal_server=stdbyorcl
    *.instance_name='orcl'
    *.job_queue_processes=10
    *.log_archive_config='dg_config=(orcl,stdbyorcl)'
    *.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
    *.log_archive_dest_2='SERVICE=stdbyorcl'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='%t_%s_%r.dbf'
    *.open_cursors=300
    *.pga_aggregate_target=121634816
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=364904448
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS'
    *.user_dump_dest='/opt/oracle/admin/orcl/udump'
    Standby database STDBYORCL pfile:
    [oracle@asm2 dbs]$ more initstdbyorcl.ora
    stdbyorcl.__db_cache_size=251658240
    stdbyorcl.__java_pool_size=4194304
    stdbyorcl.__large_pool_size=4194304
    stdbyorcl.__shared_pool_size=100663296
    stdbyorcl.__streams_pool_size=0
    *.audit_file_dest='/opt/oracle/admin/stdbyorcl/adump'
    *.background_dump_dest='/opt/oracle/admin/stdbyorcl/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='u01/oradata/stdbyorcl_control01.ctl'#Restore Controlfile
    *.core_dump_dest='/opt/oracle/admin/stdbyorcl/cdump'
    *.db_block_size=8192
    *.db_create_file_dest='/u01/oradata'
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='orcl'
    *.db_recovery_file_dest='+RECOVER'
    *.db_recovery_file_dest_size=3163553792
    *.db_unique_name=stdbyorcl
    *.fal_client=stdbyorcl
    *.fal_server=orcl
    *.instance_name='stdbyorcl'
    *.job_queue_processes=10
    *.log_archive_config='dg_config=(orcl,stdbyorcl)'
    *.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
    *.log_archive_dest_2='SERVICE=orcl'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='%t_%s_%r.dbf'
    *.log_archive_start=TRUE
    *.open_cursors=300
    *.pga_aggregate_target=121634816
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=364904448
    *.standby_archive_dest='LOCATION=USE_DB_RECOVERY_FILE_DEST'
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS'
    *.user_dump_dest='/opt/oracle/admin/stdbyorcl/udump'
    db_file_name_convert=('+DATA/ORCL/DATAFILE','/u01/oradata','+RECOVER/ORCL/DATAFILE','/u01/oradata')
    log_file_name_convert=('+DATA/ORCL/ONLINELOG','/u01/oradata','+RECOVER/ORCL/ONLINELOG','/u01/oradata')
    Have configured the tns service on both the hosts and its working absolutely fine.
    <p>
    ASM1
    =====
    [oracle@asm dbs]$ tnsping stdbyorcl
    </p>
    <p>
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 19-SEP-2008 18:49:00
    </p>
    <p>
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    </p>
    <p>
    Used parameter files:
    </p>
    <p>
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.20)(PORT = 1521))) (CONNECT_DATA = (SID = stdbyorcl) (SERVER = DEDICATED)))
    OK (30 msec)
    ASM2
    =====
    </p>
    <p>
    [oracle@asm2 archive]$ tnsping orcl
    </p>
    <p>
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 19-SEP-2008 18:48:39
    </p>
    <p>
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    </p>
    <p>
    Used parameter files:
    </p>
    <p>
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.10)(PORT = 1521))) (CONNECT_DATA = (SID = orcl) (SERVER = DEDICATED)))
    OK (30 msec)
    Please guide where I am missing. Thanking you in anticipation.
    Regards,
    Ravish Garg

    Following are the errors I am receiving as per alert log.
    ORCL alert log:
    Thu Sep 25 17:49:14 2008
    ARCH: Possible network disconnect with primary database
    Thu Sep 25 17:49:14 2008
    Error 1031 received logging on to the standby
    Thu Sep 25 17:49:14 2008
    Errors in file /opt/oracle/admin/orcl/bdump/orcl_arc1_4825.trc:
    ORA-01031: insufficient privileges
    FAL[server, ARC1]: Error 1031 creating remote archivelog file 'STDBYORCL'
    FAL[server, ARC1]: FAL archive failed, see trace file.
    Thu Sep 25 17:49:14 2008
    Errors in file /opt/oracle/admin/orcl/bdump/orcl_arc1_4825.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Thu Sep 25 17:49:14 2008
    ORACLE Instance orcl - Archival Error. Archiver continuing.
    Thu Sep 25 17:49:44 2008
    FAL[server]: Fail to queue the whole FAL gap
    GAP - thread 1 sequence 40-40
    DBID 1192788465 branch 665007733
    Thu Sep 25 17:49:46 2008
    Thread 1 advanced to log sequence 48
    Current log# 2 seq# 48 mem# 0: +DATA/orcl/onlinelog/group_2.272.665007735
    Current log# 2 seq# 48 mem# 1: +RECOVER/orcl/onlinelog/group_2.264.665007737
    Thu Sep 25 17:55:43 2008
    Shutting down archive processes
    Thu Sep 25 17:55:48 2008
    ARCH shutting down
    ARC2: Archival stopped
    STDBYORCL alert log:
    ==============
    Thu Sep 25 17:49:27 2008
    Errors in file /opt/oracle/admin/stdbyorcl/bdump/stdbyorcl_arc0_4813.trc:
    ORA-01017: invalid username/password; logon denied
    Thu Sep 25 17:49:27 2008
    Error 1017 received logging on to the standby
    Check that the primary and standby are using a password file
    and remote_login_passwordfile is set to SHARED or EXCLUSIVE,
    and that the SYS password is same in the password files.
    returning error ORA-16191
    It may be necessary to define the DB_ALLOWED_LOGON_VERSION
    initialization parameter to the value "10". Check the
    manual for information on this initialization parameter.
    Thu Sep 25 17:49:27 2008
    Errors in file /opt/oracle/admin/stdbyorcl/bdump/stdbyorcl_arc0_4813.trc:
    ORA-16191: Primary log shipping client not logged on standby
    PING[ARC0]: Heartbeat failed to connect to standby 'orcl'. Error is 16191.
    Thu Sep 25 17:51:38 2008
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 40-40
    DBID 1192788465 branch 665007733
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Thu Sep 25 17:55:16 2008
    Errors in file /opt/oracle/admin/stdbyorcl/bdump/stdbyorcl_arc0_4813.trc:
    ORA-01017: invalid username/password; logon denied
    Thu Sep 25 17:55:16 2008
    Error 1017 received logging on to the standby
    Check that the primary and standby are using a password file
    and remote_login_passwordfile is set to SHARED or EXCLUSIVE,
    and that the SYS password is same in the password files.
    returning error ORA-16191
    It may be necessary to define the DB_ALLOWED_LOGON_VERSION
    initialization parameter to the value "10". Check the
    manual for information on this initialization parameter.
    Thu Sep 25 17:55:16 2008
    Errors in file /opt/oracle/admin/stdbyorcl/bdump/stdbyorcl_arc0_4813.trc:
    ORA-16191: Primary log shipping client not logged on standby
    PING[ARC0]: Heartbeat failed to connect to standby 'orcl'. Error is 16191.
    Please suggest where I am missing.
    Regards,
    Ravish Garg

  • Transaction log shipping restore with standby failed: log file corrupted

    Restore transaction log failed and I get this error: for only 04 no of database in same SQL server, renaming are working fine.
    Date                     
    9/10/2014 6:09:27 AM
    Log                        
    Job History (LSRestore_DATA_TPSSYS)
    Step ID                
    1
    Server                  
    DATADR
    Job Name                           
    LSRestore_DATA_TPSSYS
    Step Name                        
    Log shipping restore log job step.
    Duration                             
    00:00:03
    Sql Severity        0
    Sql Message ID 0
    Operator Emailed           
    Operator Net sent          
    Operator Paged               
    Retries Attempted         
    0
    Message
    2014-09-10 06:09:30.37  *** Error: Could not apply log backup file '\\10.227.32.27\LsSecondery\TPSSYS\TPSSYS_20140910003724.trn' to secondary database 'TPSSYS'.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-10 06:09:30.37  *** Error: An error occurred while processing the log for database 'TPSSYS'. 
    If possible, restore from backup. If a backup is not available, it might be necessary to rebuild the log.
    An error occurred during recovery, preventing the database 'TPSSYS' (13:0) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.
    RESTORE LOG is terminating abnormally.
    Processed 0 pages for database 'TPSSYS', file 'TPSSYS' on file 1.
    Processed 1 pages for database 'TPSSYS', file 'TPSSYS_log' on file 1.(.Net SqlClient Data Provider) ***
    2014-09-10 06:09:30.37  *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-10 06:09:30.37  *** Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-09-10 06:09:30.37  Skipping log backup file '\\10.227.32.27\LsSecondery\TPSSYS\TPSSYS_20140910003724.trn' for secondary database 'TPSSYS' because the file could not be verified.
    2014-09-10 06:09:30.37  *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-10 06:09:30.37  *** Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-09-10 06:09:30.37  *** Error: An error occurred restoring the database access mode.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-10 06:09:30.37  *** Error: ExecuteScalar requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-09-10 06:09:30.37  *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-10 06:09:30.37  *** Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-09-10 06:09:30.37  *** Error: An error occurred restoring the database access mode.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-10 06:09:30.37  *** Error: ExecuteScalar requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-09-10 06:09:30.37  *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-10 06:09:30.37  *** Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-09-10 06:09:30.37  Deleting old log backup files. Primary Database: 'TPSSYS'
    2014-09-10 06:09:30.37  *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-10 06:09:30.37  *** Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-09-10 06:09:30.37  The restore operation completed with errors. Secondary ID: 'dd25135a-24dd-4642-83d2-424f29e9e04c'
    2014-09-10 06:09:30.37  *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-10 06:09:30.37  *** Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-09-10 06:09:30.37  *** Error: Could not cleanup history.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-10 06:09:30.37  *** Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-09-10 06:09:30.38  ----- END OF TRANSACTION LOG RESTORE    
    Exit Status: 1 (Error)

    I Have restore the database to new server and check with new log shipping but its give this same error again, If it is network issue i believe issue need to occur on every database in  that server with log shipping configuration
    error :
    Message
    2014-09-12 10:50:03.18    *** Error: Could not apply log backup file 'E:\LsSecondery\EAPDAT\EAPDAT_20140912051511.trn' to secondary database 'EAPDAT'.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-09-12 10:50:03.18    *** Error: An error occurred while processing the log for database 'EAPDAT'.  If possible, restore from backup. If a backup is not available, it might be necessary to rebuild the log.
    An error occurred during recovery, preventing the database 'EAPDAT' (8:0) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.
    RESTORE LOG is terminating abnormally.
    can this happened due to data base or log file corruption, if so how can i check on that to verify the issue
    Its not necessary if the issue is with network it would happen every day IMO it basically happens when load on network is high and you transfer log file which is big in size.
    As per message database engine was not able to restore log backup and said that you must rebuild log because it did not find out log to be consistent. From here it seems log corruption.
    Is it the same log file you restored ? if that is the case since log file was corrupt it would ofcourse give error on wehatever server you restore.
    Can you try creating logshipping on new server by taking fresh full and log backup and see if you get issue there as well. I would also say you to raise case with Microsoft and let them tell what is root cause to this problem
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • MAXDB Log Shipping

    Hi folks,
    we had working log shipping scripts which automatically copy log backups to the standby server. We had to interrupt the log backups (overwrite mode set during EHP installation) and now after a full backup and restore the log restores do not work, please see the log below (the last two lines).
    The log file =42105
    FirstLogPage=5233911
    LastLogPage=6087243
    Database UsedLogPage=5752904
    I would expect the restore to work since Database log page is within the range of the first and last log pages of the log backup file.
    Is this not the case? How should it work when re-establishing the log shipping?
    Mark.
    Find first log file to apply
    FindLowestLogNo()
    File: log_backup.42105
       File extension is numeric '42105'
       LogNo=42105
    FindLowestLogNo()
    LogMin=42105 LogMax=42105
    Execute Command: C:\sapdb\programs\pgm\dbmcli.exe -n localhost -d ERP -u SUPERDBA,Guer0l1t0 db_admin & C:\sapdb\programs\pgm\dbmcli.exe -n localhost -d ERP -u SUPERDBA,Guer0l1t0 medium_label LOG1 42105
    [START]
    OK
    OK
    Returncode               0
    Date                     20110308
    Time                     00111416
    Server                   saperpdb.rh.renold.com
    Database                 ERP
    Kernel Version           Kernel    7.7.06   Build 010-123-204-327
    Pages Transferred        0
    Pages Left               0
    Volumes                  
    Medianame                
    Location                 F:\log_shipping\log_backup.42105
    Errortext                
    Label                    LOG_000042105
    Is Consistent            
    First LOG Page           5233911
    Last LOG Page            6087243
    DB Stamp 1 Date          20110209
    DB Stamp 1 Time          00190733
    DB Stamp 2 Date          20110308
    DB Stamp 2 Time          00111415
    Page Count               853333
    Devices Used             1
    Database ID              saperpdb.rh.renold.com:ERP_20110209_210432
    Max Used Data Page       
    Converter Page Count     
    [END]
    LogNo=42105 FirstLogPage=5233911 LastLogPage=6087243 (UsedLogPage=5752904)
    WARNING: Log file not yet applied but NOT the first log file. Either sequence error or first log file is missing/yet to arrive

    Hello Birch Mark,
    the recovery with intialization is the correct step to recreate the shadow database.
    What has to be done before:
    Source database:
    SA)Activate the database logging.
    SB) Create the complete databackup
    SC)  Set the aoutolog on or create the logbackup,
        the first logbackup after completedatabackup created => check the backup history of the source database.
    Shadow database:
    ShA) Run the recovery with initialization or use db_activate dbm command, see more details in the MAXDB library,
        I gave you references in the my reply before.
    ShB) After the restore of the complete databackup created in step SB) don't restart the database in the online.
             Keep the shadow database in admin or offline < when you run execute recover_cancel >.
            Please post output of the db_restartinfo command.
       ShC) You could restart the logbackups recovery created in SC), check the backup history of the source database which logbackup will be first to recover.
    Did you follow those steps?
    There is helpful documentation/hints at Wiki:
    http://wiki.sdn.sap.com/wiki/display/MaxDB/SAPMaxDBHowTo
    ->"HowTo - Standby DB log shipping"
    Regards, Natalia Khlopina

  • JMS Destination object not found

    Hi everyone,
    I have a weird problem with SunONE Message Queue 3.
    I have a queue and a connection factory defined (using the SunONE Application Server 7 Admin Console) as well as a physical resource.
    I can verify their existance using asadmin....
    asadmin>list-jmsdest -u admin server1
    queue_1 queue {}
    asadmin>list-jms-resources -u admin server1
    jms/newqueue_1
    jms/newQCF_1
    When I attempt to deploy a message driven EJB I get the following error
    SEVERE ( 1484): javax.naming.InvalidNameException: JMS Destination object not found:`jms/newqueue_1`
    This question has already been asked on the App Server board here http://swforum.sun.com/jive/thread.jspa?threadID=15517&tstart=0 (that post is nine months old btw).
    I am posting this here in the hope that someone more familiar with MQ3 may have an idea of how to help us.
    Thanks in advance.

    I have now solved this problem. External JNDI resources are required in the AppServer.
    They can be created with the following commands:
    asadmin>create-jndi-resource jndilookupname jms/newQCF_1 resourcetype javax.jms.QueueConnectionFactory factoryclass com.sun.jndi.fscontext.RefFSContextFactory enabled=true --property java.naming.provider.url=file\:///c\:/java/mqjndi:java.naming.security.authentication=none newQCF_1
    asadmin>create-jndi-resource jndilookupname jms/queue_1 resourcetype javax.jms.Queue factoryclass com.sun.jndi.fscontext.RefFSContextFactory enabled=true --property java.naming.provider.url=file\:///c\:/java/mqjndi newqueue_1
    Both these commands assume that the file system context is being used however the LDAP commands are similar (just more properties).
    This step, which seems vital, is missing from the AppServer documentation (in fact it specifically states that this step is not necessary). The irony is that I found the answer in the IBM MQ documentation!

Maybe you are looking for

  • In MIGO serial no related problem

    hi, in MIGO the client wants that the "create serial no automatically" button will be allways in display mode in 'serial number tab' I can't find that field selection in IMG. plz help regards Aniruddha

  • After a updated my apple tv to OS 5

    after i updated my  apple tv to os 5 all channels are missing!!!!! youtube,flicker,etc.... what should i do now

  • Simple Question, Easy Solution?

    Ok, i need help doing one thing. I have created a file with about 500 images in it. The problem is that I put the wrong images and some are duplicated. hence, I want to replace all of the images with images that I now have. Ultimately, is there ANY w

  • Where can i buy Photoshop cs6 with student discount?

    title

  • HP Going Back on Their Written Promises

    I was told that you would be able to help me with my case. I purchased my laptop (G-42) two years ago. After a couple months, I started having problems with it where it would heat up and shut off on its own. I called tech support and they fixed the i