Standby sync check - Manual syncing

Hello,
I would like to re-confirm what DB views do we need to really check and make sure whether my primary & standby are in sync in a manual standby mode.
Should it be v$log and v$log_history or v$archived_log.
My doubt arises with one of my client current setup.Logs are manually shipped,and later manually recovered i.e not manged recovered process.
Today i did a manual healthcheck and i see there is no rows populated in v$archived_log with APPLIED='YES' on standby.But v$log_history showed me the current log sequence which is the same in primary too.From standby alert log i confirmed the sequence number is same as the value shown in v$log_history.
Oracle manual says,v$archived_log & v$log_history gets the related info from controlfile.
So why didnt v$archived_log didnt populate the same data as v$log_history.Sometimes i see a value far less in v$archvied_log when compared to v$log_history.
Below is my script which does manual recovery .
The archives are just scp'ed and done a manual recover using sql's.
This is the script part.
recover_auto ()
echo "\n`date`... Recovering database $ORACLE_SID." >>$LOGFILE
sqlplus -s "/ as sysdba" <<EOF >$TMPFILE
recover standby database ;
auto
exit
EOF
Here is my output.
@primary:
SQL> select THREAD#,max(SEQUENCE#) ,ARCHIVED,APPLIED from V$ARCHIVED_LOG group by THREAD#,ARCHIVED,APPLIED
2 /
THREAD# MAX(SEQUENCE#) ARC APP
1 75883 YES NO
@standby
SQL> select count(*) from V$ARCHIVED_LOG
2 /
COUNT(*)
0
SQL> select max(SEQUENCE#) from v$log_history
2 /
MAX(SEQUENCE#)
75883
Does the view v$archived_log & v$log_hisotry behave differently after an restart of the DR(manaul shipping & applying methods) ?
Regards
Sreeraj

Hello,
As i have already mentioned the archives are manually shipped using rsync command.There is no a remote location defined on primary.We simply pull the archives from primary and put it into a location on remote. Later recovery script is run which will recover using these archives.
So your query does not provide enough data.
Even though i do a manual recovery on standby, those details on sequence should be there in the standby controlfile. Am i right.But if you check my previous note, count from v$archved_log shows zero.
This is were am stuck.
Thanks,
sreeraj

Similar Messages

  • Auto Sync to Manual Sync

    How do I change from Auto Sync to Manual Sync in iTunes?

    Plug in iPod. In preferences there is a check box to turn on manually managing contents. Forget the exact wording.

  • Ratings syncing on manual sync setting

    hello my fellow itouch and itunes users!
    I have my itunes set to manual sync so it doesn't sync my whole music library on my 16gb itouch. But as i am listening to music on my laptop and I change/update song ratings.(here is the problem) When i sync my itouch with my laptop how do i get my itunes to update the song ratings so that my itouch and laptop have the same corresponding ratings. As it is right now the itouch does not sync current ratings or anything else what so ever. I think that would be a good feature to add without letting itunes sync all music, but let it update ratings and such, so that all music can be in sync while not copying any more music to my itouch.
    Can someone shed any light on how to do this?
    Thanks so much
    MrWong

    I believe that if you go from manually managing your music to syncing, it will clear the iPod and then add music to it. If you can identify all the music that is currently on your iPod, you could put it in a single playlist and then select "Sync selected playlists" from the Music tab and sync only that playlist. However, then you would have the ratings that are currently on your computer and would lose those on the iPod.

  • Auto-Sync Music, Manual-Sync Videos?

    Is there any way to put Music playlists on auto-sync, but still have Videos on manual?
    I really would like to be able to copy movies and TV shows to the iPod, and then back them up onto DVDs, so they don't take up precious space on my hard drive.
    But sync-ing music playlists is convenient.
    Podcasts can be managed separately; why not videoes? Or am I missing something?

    Once you set your music to Auto-sync, you should have the option to either Auto-sync, or to manually sync the videos. The one confusing part of this is that if music is set to manual, videos are forced to be synced manually...
    Let me know,
    Matthew

  • Auto Sync or Manula Sync!

    Firstly hi..
    I was using ipod mini 4 gb for 1 year and then i decided to buy nano and bought it now i have a question.I wanna use top rated , most played etc. etc. playlists but i dont want to auto sync.. whats your advice for me ? What should i do ? should i choose auto sync or manual sync and what are u usin ? auto or manual ? I asked this questions bec. when i choose auto sync i cant throw the songs in the ipod and if i choose manual sync my raitings for songs in the ipod for example 5 star cant seen .. in the itunes ?

    "How can i match ? icant understand"
    When you create a smart playlist you'll see a box "Match the following Rule" just make sure it is ticked.
    See this tutorial on smart playlists for more information: http://www.apple.com/ilife/tutorials/itunes/it2-2.html

  • Manual Standby Database not in sync with missing archivelogs

    Hello,
    OS: Solaris
    DB: Oracle 11.2.0.1 EE
    Not Using ASM or RAC
    I have a Production database that is in archivelog mode and a Standby DR server.
    Both servers (Prod, Standby) have exact same structure and db name/version.
    We manually scp archive logs and recover them to a manual standby database via SQL Scripts "cron". (I.E. set autorecovery on; recover standby database;)
    We recently got out of sync with our log files and have not been applying them to the standby. As part of Prod Maintenance, these log files were deleted and are not available anymore.
    I've tried several ways to "rebuild" our standby database. I have tried to Shutdown prod, backup all the db files and scp them to standby, re-create standby controlfile and startup mount and recover standby.
    Every time I try to apply a new archive log via recover standby, these are the errors:
    ORA-00279: change 211077622 generated at 1/27/2012 12:18:42 needed for thread 1
    ORA-00289: suggestion : /oradump/arch/PROD/PROD_arch_1_69486_736618850.arc
    ORA-00280: change 211077622 for thread 1 is in sequence #69486
    ORA-00308: cannot open archived log '/oradump/arch/PROD/PROD_arch_1_69486_736618850.arc'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-10879: error signaled in parallel recovery slave
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/oradevices/PROD/oraPRODsystem1.dbf'
    When I check v$log_history, the new logs have not been applied.
    I've also tried the "Restore from incremental backup via SCN" method with same results.
    Is there a way to re-create the standby clean and ensure that the log chain that is currently broken gets fixed or reset?
    I would eventually like to get DataGuard in here, but that's not the case at the moment.
    Thanks for your suggestions.
    -Dav

    if you are using the cold backup to create the standby database, Check that have you followed the following steps or not.
    1. remove
    all the datafiles and controlfiles from the standby database.
    2. Create a new standby controlfile of the production for standby using the following cmd
    'alter database create standby controlfile as 'Location';'
    3. move the new controlfile to standby database server location as specified in initialization parameter file.
    4. Restore all the datafiles to its appropriate loaction which was taken through cold backup.
    5. startup nomount
    6. alter database mount standby database;
    7. recover standby database.
    scp the archive log sequence that is asked by the database, from production.
    You can try this steps.

  • I added a contact to my iphone 4s and when I did a sync manually it is not showing up on my MAC in address book - please help....I checked off sync all contacts in iTunes  - does it only work one way from computer to phone?

    I added a contact to my iphone 4s and when I did a sync manually it is not showing up on my MAC in address book - please help....I checked off sync all contacts in iTunes  - does it only work one way from computer to phone?

    Is it because the new itunes looks different.
    View > Show Sidebar
    Then it should work just the same as on your old computer.

  • I have iTunes checked to sync manually. Why does it still automatically sync with my iphone?

    This is so frustrating. For a while now its been syncing automatically no matter my efforts. I finally checked the Sync manually option.
    My iPhone is filled to capacity, but i want more music. So i deleted a good 100 songs straight off my iPhone. Next time i plugged in my iphone to my computer a notification pops up telling me that "60 songs were unable to transfer." It doesnt allow me to trasnfer songs now due to overcapacity. And a bunch of song titles on my iPhone are now faded out, meaning they couldnt transfer due to a lack of space?
    It's so annoying, please help.

    I have the same problem were you able to fix it?

  • HT1351 I'm trying to manually sync all my music to my iPod touch, but whenever I click the sync button it counts to 5 then stops. Is this because I have to check all 3055 songs individually? If so then I'm quitting with apple as a whole....

    I'm trying to manually sync all my music to my iPod touch, but whenever I click the sync button it counts to 5 then stops. Is this because I have to check all 3055 songs individually? If so then I'm quitting with apple as a whole....

    Sync and manually manage are two entirely different things.  You either sync or manually manage.
    Manually manage is drag and drop.
    Sync is when you select what you want and then sync.

  • Inability to Sync Checked Podcasts in iTunes 7.6.2

    Correct me if I'm wrong, but it's no longer possible to sync only checked podcassts in iTunes 7.6.2. There wasn't a straight forward way of doing this in earlier versions. (If I'm not mistaken, you checked "Manually manage music" and "Sync only checked songs" on the Summary tab and unchecked the top Sync option on the Podcasts tab.) Now, even the back-door method doesn't seem to work. (In 7.6.2, iTunes will no longer sync your iPod if the top, Sync option on the Podcasts tab is not checked and/or "Manually manage music" is checked.)
    It is possible to manually drag podcasts without snycing. But without syncing, I'm afraid iTunes won't keep track of what you've played nor where you are in each podcast. (I find this critical when podcasts have accumulated lots of episodes and you need a quick way in iTunes of tracking what you heard already and don't want on your iPod. And it's important to sync where you are in a podcast if you are shifting between iTunes and the iPod when listening to long episodes.)
    The fix is easy and clear I think. Apple simply needs to add "all checked" after "all" in the drop down list given with the Sync option on the Podcasts tab.
    Thoughts?

    I am having the same problem. It seems thta Apple has caused quite a problem for us.

  • Tired of paying for Apple's continued failure. Give us option on phone (NOT thru itunes sync) to MANUALLY delete songs from playlists or the iphone altogether.

    It happens every time I make iTunes music purchases: entire playlists get wiped out, and all I can sync onto the iPhone 5 is what I just purchased, UNLESS, YET AGAIN, I completely restore it to factory and rewrite everything all over.
    So sad, Apple.
    Yes, I have looked thru the forum threads yet again, and found no other working solution.
    Yes, I tried backing up the phone 1st but still get stuck with (expletive) I wanted off the phone, and stuff I wanted on there, ISN'T there.
    For whatever (insert expletive of choice) reason, it will NOT sync my old playlists.
    For whatever (expletive) reason, if I check "manually manage music" under the Summary tab, then go over the music tab, something (expletive of choice)  up in the software decides to uncheck the "Manually manage music" box under the Summary tab, and it just creates a zero-progress loop where I can't sync the old playlists, or even new ones I create, onto the iphone.
    Worse, songs I tried to take off of it long ago seem to manifest the (expletive) right back onto the iphone out of nowhere, and unless I completely restore, LIKE I'M DOING AGAIN, there is no working option I have found that removes the song(s) I THOUGHT I GOT RID OF.
    PLEASE, Apple, is it asking too much to create a music sync that WORKS CORRECTLY all the time?
    It is ONLY ever the music that does this.
    App syncing, photo syncing, all of that functions properly each and every time.
    And yet, oh look, it won't accept any playlists off my AUTHORIZED computer.
    GIVE US THE SIMPLE option on the next iPhone update so we can manually remove/delete unwanted songs from playlists on the iphone, or from the iphone altogether, WITHOUT needing to connect it to a computer thru a faulty iTunes software that obviously consistently fails to properly sync the correct music on and take off what we don't want.
    This is the final time I'm making the mistake of iTunes Store purchases until a sensible fix is implemented that addresses this fail sync issue.
    Again, WHY is it ONLY and only ever the music syncing that (expletive of choice to get the point across) fails, yet apps and photos and mail & phone contacts sync correctly every time?
    Yes, I read in the forum threads and customer support responses what needs to be checked and/or unchecked, yet all too often some software fail decides to revert those selections right back to where they were if I click another tab and come back to it (no, it's not an administrator thing, I am the only authorized user on the computers in question).
      I'm tired of the hassle of having to redo my music library all over again, restore the phone, and hope that once more it will have the correct songs I told it to sync and NOT have a bunch of crap I never checked for it to have on there in the first place.
    FIX THIS PLEASE.

    You're welcome.
    tt2

  • I have an ipod classic 120 gb. I had music on my ipod that I had gotten from other people's itunes libraries by changing my settings to manually sync my ipod. However, twice I have had my ipod plugged into my mac and it completely erased everything

    I have an ipod classic 120 gb. I had it set up so that I manually sync and manage my music. Twice I have had my ipod plugged into my mac and it had erased everything on my ipod. All the music on my itunes was still in my library, but all the other music was lost. I understand that I need to go back to the other libraries I got that music from, but how do I make sure that my ipod doesn't keep syncing and erasing itself? Also, now every five minutes a message will pop up on my itunes saying that it cannot sync because of an unknown error and then it has the number 13014. I have no idea what that is about. Does anyone else go through this? How do I fix it?

    Well the iPod is supposed to be synced from YOUR iTunes music library, if you used other means to put music on there then the iPod is going to sync to only what's on your itunes music library when you connect it.
    You need to put the files into itunes.
    Far as your other issues, sounds like the drive is dying.
    Check this support article for assistance
    https://support.apple.com/kb/TS2380
    http://reviews.cnet.com/8301-13727_7-10329819-263.html
    search online for that number.

  • Manual Sync does not appear on IPHONE summary

    Hello,
    I just purchased a new iphone today and have not been able to manually sync my music from my library into my phone. Th manual sync option does not even appear when the phone is connected to itunes. (Quite odd.) Only two options appear in the summary: "Auto Sync" and "Sync only checked songs". What is wrong? Please help!!!! I've been staring at this computer screen for hours trying to get that option to appear. Thanks....

    Have you installed the current iTunes version, and is your iPhone running the current firmware version which is 1.1.3?
    The manually manage music and videos option still requires a sync - it just provides for dragging content from your iTunes library to the iPhone instead of using a Playlist or the sync only checked songs and video option.

  • IPhone 6, manual sync of contacts and calendar with Google?

    I usually prefer a manual sync of things like contacts and calendar with Google, rather than an automatic periodic sync. I don't change my calendar or contact list very often, so manual sync works best for me. I could do this with Android, but with iOS if I sync contacts and calendar with Google, and then turn off that syncing, iOS wants to remove my Google contacts and Google calendar events from my phone. So I seem to have no choice, either auto-sync, or no Google contacts and calendar events at all.
    Does anyone out there know of a way to manually sync my Google contacts and calendar events when I want to?
    How often does the Google calendar and contacts sync get done? Maybe it isn't an issue, if it only does a sync when I change my Google contact list or Google calendar?
    Anyways, I really don't like automatic, periodic syncing to a web site happening on my phone if I don't need them to happen.
    Thanks.

    I can help you with your calendar problem.
    You'll need to export your calendar from google into iCal, and then start making all your changes to your iCal calendar.
    I wrote up the procedure with some screenshots here!
    http://take-a-tech-tip.blogspot.com/2011/10/icloud-moving-google-calendars-to.ht ml
    I hope it helps.
    About your contacts, I'm not sure I'd be able to give you good instructions since I haven't done the whole procedure myself. I did however, have my Address Books contacts synced with Google.
    This post might help you. It talks about moving Google Contacts to your Address Book.
    http://take-a-tech-tip.blogspot.com/2011/09/iphone-google-contacts-sync-and.html
    That should get your contacts from Google to your address book. Then, you can set up iCloud to have your contacts synced, and that should put them to iCloud. You can check by going to icloud.com and seeing if it worked. Then, I imagine you would have to disable the Google syncing with your Address Book (if I remember correctly, your computer will tell you it has to do this once you enable iCloud syncing for contacts).

  • Updating Track Info on iPod 160 When Manual Syncing

    So I bought the 160 model this past weekend. Come to read there are so many issues with it but I'm gonna try to stick it out for an update.
    Anyway, question regarding manual syncing. I have over 3000 tracks on iTunes that I am going thru, cataloging and changing their names. Digitizing all my vinyl. A lot easier to walk into a party and DJ with 2 folder size cd wallets instead of the usual 10 crates of records. Anyway, I want to know, if I am managing my music manually on my iPod, if I change the name of a track on iTunes, do I have to add it again to my ipod and delete the original version or will it recognize the change somehow and update the existing track?

    if you have "manually manage my ipod" option checked, everytime you change anything to your tracks in itunes library, you have to drag and drop them back on your ipod, it will not update ipod cos you have it manually set ... it will also keep the original track on your ipod and create a new duplicate one .... what i do is go thru each track make all the changes i need and then clean my ipod totally then transfer back the tracks in library back on ipod.

Maybe you are looking for

  • Command not found error while executing a shell script

    Hello, I am a newbie to linux.I am attaching the code which gives me following errors.. error list: 1. no such file or directory enviornemnt 2. command not found 3. ambiguous redirectline Script cd $HOME/wkdir rm /tmp/*.log # source environment . ./e

  • What USB 3.0 hub for a new iMac14,2 ?

    Will a new iMac14,2 support a USB 3.0 hub? What models work? A scanner and a printer will be USB 2.0.  An external drive and CD reader/writer will be USB 3.0.  Is there a way to connect these devices to retain USB 3.0 speed on the USB 3.0 devices?

  • Multiclip editing with 'broken' clips

    I've got three DIFFERENT takes of a group singing a song. I want to use the sound from one take - making that take the master. The other two takes wander in and out of time.  I'd like to chop them up to make sections fit, then fill the non-fitting sp

  • Itunes library has disappeared after update.

    Hi all, I have just updated my itunes to the new 11.1.5 version and it has lost all my playlists and library bar a few albums I have purchased on the store! I'm distraught. My iTunes library is in a folder on my desktop. My last 'Previous itunes libr

  • Communication Channel IDOC tipy and SENDER

    Hi experts! We have an XI SP14. I have read that it is not needed a communication channel to send Idocs from R/3 to XI but, if we try to set this communication channel, we are not able to select the "Sender" option in the comm. channel. We have never