Create physical sleep by using duplicate but watch different log_archive_dest_1


Creating a physical standby using a copy of a primary database is active.

The duplicate seems to be failing because the structure of physical directory primary and Standby is different to the «log_archive_dest_1»   The primary physical path has a directory for archiving logs than does the physics of the day before.   The system administrator has created a structure of file system different to the physics of the day before as the primary database.

The problem statement is:

*. Log_archive_dest_1 ='LOCATION = / U02/fast_recovery_area/Standby/ARCHIVELOG /'

I get the following error message:

connected to the auxiliary database (not started)

RMAN-00571:

RMAN - 00569:

RMAN-00571

RMAN-03002: failure of Db in dual at 30/07/2014 12:10:23

RMAN-05501: abandonment of duplicate target database

RMAN-03015: an error has occurred in the script stored Memeory Script

RMAN-04014: start failed: ORA-16032: parameter LOG_ARCHIVE_DEST_1 destination string cannot be translated

ORA-07286: sksagdi: can not get the device information

How do you say that you need the "log_archive_dest_1" on the physics of the day before to have a different directory path?

Thank you

I solved the problem by updating the dup_script.

I said the double more precisely where to find control Oracle file and data files on the physics of the day before.

On the main database for which you duplicate.  You must specify the principal to use the physical path that you explicitly defined with respect to the physical path on the physics of the day before.

Tags: Database

Similar Questions

  • How to create a bike games using flash AS3?

    Je wanted create a motorcycle games using Flash . but Je ne know base. If anyone is loan to help the ?

    If you need assistance with specific questions, ask.  If you want someone to do it for you, you will probably need to hire someone.

  • Create database pending active using the RMAN Duplicate command

    Hello guys,.

    I created the database before using the RMAN Duplicate command, but here I am stuck.

    Please help me to overcome this >

    RMAN > run {}
    2 > allocate channel prmy1 type disk;
    3 > allocate channel prmy2 type disk;
    4 > allocate channel prmy3 type disk;
    5 > allocate channel prmy4 type disk;
    6 > allocate auxiliary channel stby type disk;
    7 > duplicate target database for the eve of the active database
    8 > spfile
    9 > parameter_value_convert "orcl", "orclstd".
    10 > set db_unique_name = "orclstd".
    11 > set db_file_name_convert = "/ orcl / ', ' / orclstd / '.
    12 > set log_file_name_convert = "/ orcl / ', ' / orclstd / '.
    "13 > set control_files="D:\app\employee3\oradata\ORCLSTD\control01.ctl ', 'D:\app\employee3\flash_recovery_area\ORCLSTD\control02.ctl '.
    14 > set log_archive_max_processes = '5'
    15 > set fal_client = "orclstd."
    16 > set fal_server = "orcl".
    17 > set diagnostic_dest =: \app\employee3'
    18 > set db_recovery_file_dest = a: \app\employee3\flash_recovery_area'
    19 > set standby_file_management = 'AUTO '.
    "20 > set log_archive_config ='dg_config = (orcl, orclstd)"
    21 > set log_archive_dest_2 = 'service = orcl ASYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = orclstd';
    {22 >}

    allocated channel: prmy1
    channel prmy1: SID = 70 type device = DISK

    allocated channel: prmy2
    channel prmy2: SID = 135 type device = DISK

    allocated channel: prmy3
    channel prmy3: SID = 191 type device = DISK

    allocated channel: prmy4
    channel prmy4: SID = 7 type of device = DISK

    allocated canal: stby
    channel stby: SID = 129 type device = DISK

    From 7 November 12 Db double

    content of Script memory:
    {
    backup that copy reuse
    TargetFile "E:\app\RAJKUMAR\product\11.2.0\dbhome_1\DATABASE\PWDorcl.ORA" auxiliary format
    "D:\app\employee3\product\11gr2\DATABASE\PWDorclstd.ORA" targetfile
    ' E:\APP\RAJKUMAR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEORCL. ORA' auxiliary format
    ' D:\APP\EMPLOYEE3\PRODUCT\11GR2\DATABASE\SPFILEORCLSTD. ORA';
    clone of SQL ' alter system set spfile = "D:\APP\EMPLOYEE3\PRODUCT\11GR2\DATABASE\SPFILEORCLSTD." ORA "«;»
    }
    execution of Script memory

    From backup 7 November 12
    Backup finished in 7 November 12

    SQL statement: alter system set spfile = "D:\APP\EMPLOYEE3\PRODUCT\11GR2\DATABASE\SPFILEORCLSTD. ORA "

    content of Script memory:
    {
    clone of SQL 'alter system set audit_file_dest =
    "E:\app\RAJKUMAR\admin\orclstd\adump" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set dispatchers =
    ''(Protocol=TCP) (SERVICE = orclstdXDB) "comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set db_unique_name =
    "Orclstd" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set db_file_name_convert =
    "/orcl/", "/orclstd/" comment is
    ' ' scope = spfile;
    clone of SQL 'alter system set log_file_name_convert =
    "/orcl/", "/orclstd/" comment is
    ' ' scope = spfile;
    clone of SQL 'alter system set control_files =
    "D:\app\employee3\oradata\ORCLSTD\control01.ctl", "D:\app\employee3\flash_recovery_area\ORCLSTD\control02.ctl" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set log_archive_max_processes =
    5 comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set fal_client =
    "Orclstd" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set fal_server =
    "Orcl" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set diagnostic_dest =
    "D:\app\employee3" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set db_recovery_file_dest =
    "D:\app\employee3\flash_recovery_area" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set standby_file_management =
    Comment by "AUTO" =
    ' ' scope = spfile;
    clone of SQL 'alter system set log_archive_config =
    Comment by "dg_config" (orcl, orclstd) =. =
    ' ' scope = spfile;
    clone of SQL 'alter system set log_archive_dest_2 =
    "service = orcl ASYNC = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = orclstd valid_for" comment =
    ' ' scope = spfile;
    clone to stop immediately;
    startup nomount clone;
    }
    execution of Script memory

    SQL statement: alter system set audit_file_dest = comment "E:\app\RAJKUMAR\admin\orclstd\adump" = "' scope = spfile

    SQL statement: alter system set dispatchers = ''(PROTOCOL=TCP) (SERVICE = orclstdXDB) "comment ="' scope = spfile

    SQL statement: alter system set db_unique_name = comment "orclstd" = "' scope = spfile

    SQL statement: alter system set db_file_name_convert = "/orcl/", "/orclstd/" comment = "' scope = spfile

    SQL statement: alter system set log_file_name_convert = "/orcl/", "/orclstd/" comment = "' scope = spfile

    SQL statement: alter system set control_files = "D:\app\employee3\oradata\ORCLSTD\control01.ctl", "D:\app\employee3\flash_recovery_area\ORCLSTD\control
    02.CTL "comment ="' scope = spfile

    SQL statement: alter system set log_archive_max_processes = 5 = comment "' scope = spfile

    SQL statement: alter system set fal_client = comment "orclstd" = "' scope = spfile

    SQL statement: alter system set fal_server = comment "orcl" = "' scope = spfile

    SQL statement: alter system set diagnostic_dest = comment "D:\app\employee3" = "' scope = spfile

    SQL statement: alter system set db_recovery_file_dest = comment "D:\app\employee3\flash_recovery_area" = "' scope = spfile

    SQL statement: alter system set standby_file_management = comment "AUTO" = "' scope = spfile

    SQL statement: alter system set log_archive_config = "dg_config = (orcl, orclstd)" comment = "' scope = spfile

    SQL statement: alter system set log_archive_dest_2 = "service = orcl ASYNC = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = orclstd valid_for" comment = "'s
    face = spfile

    Instance Oracle to close

    connected to the auxiliary database (not started)
    Oracle instance started

    Total System Global Area 1071333376 bytes

    Bytes of size 1375792 fixed
    528482768 variable size bytes
    Buffers data 536870912 bytes
    Redo buffers 4603904 bytes
    allocated canal: stby
    channel stby: SID = 63 type device = DISK

    content of Script memory:
    {
    backup current controlfile to standby auxiliary copy format ' D:\APP\EMPLOYEE3\ORADATA\ORCLSTD\CONTROL01. CTL';
    Restore clone controlfile to ' D:\APP\EMPLOYEE3\FLASH_RECOVERY_AREA\ORCLSTD\CONTROL02. CTL' of
    ' D:\APP\EMPLOYEE3\ORADATA\ORCLSTD\CONTROL01. CTL';
    }
    execution of Script memory

    From backup 7 November 12
    channel prmy1: from data file copy
    copy of the control file ensures
    name=E:\APP\RAJKUMAR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFORCL output file. ORA tag = RECID = 1 STAMP = 798743550 TAG20121107T171229
    channel prmy1: datafile copy complete, duration: 00:00:03
    Backup finished in 7 November 12

    From restoration to November 7, 12

    channel stby: copy of copy of control files
    Restoration finished November 7, 12

    content of Script memory:
    {
    SQL clone 'alter database sleep mounting database';
    }
    execution of Script memory

    SQL statement: alter database mount rescue
    output channel: prmy1
    output channel: prmy2
    output channel: prmy3
    output channel: prmy4
    exit canal: stby
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command duplicate Db at 07/11/2012 17:12:40
    RMAN-05501: abandonment of duplicate target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\MIGRATION_DATA01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_INDX01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_DATA01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\USERS01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\UNDOTBS01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\SYSAUX01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\SYSTEM01 auxiliary file name. DBF conflict with a file used by the target database

    RMAN >

    Thank you
    Reverchon

    user9192565 wrote:

    11> set db_file_name_convert='/orcl/','/orclstd/'
    12> set log_file_name_convert='/orcl/','/orclstd/'
    
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\MIGRATION_DATA01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_INDX01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_DATA01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\USERS01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\UNDOTBS01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\SYSAUX01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\SYSTEM01.DBF conflicts with a file used by the target database
    

    The strings that you entered in your file name conversion settings does not match where actually your data files. If the string does not match the names of files, there is no names of files to convert. Because you're on windows, how about something like this?

    set db_file_name_convert='\ORCL\','\ORCLSTD\'
    set log_file_name_convert='\ORCL\','\ORCLSTD\'
    

    Hope that helps...

    Patrik

  • I created a live account using my domain name, but I can't check because I can't in my Inbox as my accounts not verifyied,

    I created a live account using my domain name, but I can't check because I can't in my Inbox as my accounts not verifyied,

    I'm going round in circles. :
    I get this message: you have created * address email is removed from private life * as your Windows Live ID, but it must be checked until you can use it. To check, you can check your email at the * address email is removed from the privacy * and follow the instructions in the message, we have sent you.
    But it won't let me in the Inbox to check my email as my unverified accounts?

    Your question is part of Windows Live Solution Center.
    Given that you do not specify Windows Live Mail or Windows Live Hotmail, here is the main link and you can pick the right forum for your question:
    http://windowslivehelp.com/

  • try to use youtube to watch videos and files but get the file not found

    Acer arcade deluxe Acer aspire 5536

    Im trying to use youtube to watch the files and videos but keep getting file not found, try up dating of adobe ive dinner that, but nothing can please help u.

    Hi michellemoore_848,

    1. What happen with a specific type of video or videos?

    I suggest you to uninstall Adobe Flash Player completely then re - install the latest version of Adobe Flash Player and see if it helps.

    Troubleshoot Flash Player installation | Windows

    Hope this information is helpful

  • I bought a physical copy of Lightroom 5, but I'm having a problem with my disc drive (iMac - vintage 2009 - running os10.7.5).  I tried to download a trial of LR5 creative cloud and using the serial number of the box, but the license key is not vali

    I bought a physical copy of Lightroom 5, but I'm having a problem with my disc drive (iMac - vintage 2009 - running os10.7.5).  I tried to download a trial of LR5 creative cloud and using the serial number of the box, but the license key is not valid.  Is there a way I can download a copy so that my license key will work?

    A download of Cloud will not work for a licensed version.

    Lightroom - all versions

    Windows

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Windows

    Mac

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • I have used FireFox for Linux. No problem, works fine, but I also use FireFox to watch fles .jpg. Now, it does not work.

    I use Firefox to watch files .jpg, worked last week, so I clicked a button to FireFox update, and now it does not work.

    Hello!

    Try this link:

    https://support.Mozilla.org/en-us/KB/how-clear-Firefox-cache

    If doesn't work, try this:

    https://support.Mozilla.org/en-us/KB/reset-preferences-fix-problems

  • I use Homeshare to watch downloaded movies on my computer and then visible on my TV via Apple TV, but I how remove items from the library of movies on Apple TV when I looked at the

    I use Homeshare to watch movies downloaded on my computer and made visible on my TV via Apple TV. How to remove items from the show announced on television through homeshare /AppleTV when I looked at them?

    You must delete the contents of iTunes on the computer to remove it from the list of content on Apple TV.

  • I created a smooth landing using Dreamweaver page grid, but it does not work in IE 11: suggestions?

    Hi - I created a simple destination using the fluid grid page. It works very well in all the browsers that I tested it on except IE 11. Y at - it a hack I need to include in the code? I noticed that there are hacks for older versions of Internet Explorer automatically written into the code. The page is BCI world 2016 thanks David

    Tables are seldom will do what you want in a fluid design. You are going to need to abandon the tabular presentation and use css to position the containers so that your fluid layout grid to be fluid.

  • I ' v use my Apple Watch for a week

    I use my Apple Watch for a week, today my support function in the application of the physical condition has stopped working, I tried to restart my phone and my watch but nothing. Anyone have any ideas?

    HI - try the following steps:

    On your iPhone in the app shows, go to: Watch My > General > wrist Detection - make sure it's open.

    On your iPhone, in the application of the watch, go to: Watch My > privacy > disable Motion & Fitness - Fitness track (or, if it is currently disabled).

    Restart both devices by turning the two first set, and then restart your iPhone before restarting your watch:

    -To switch off your iPhone: press and hold the sleep/wake button until the Red slider appears. slide it to turn off. To restart, press and hold the sleep/wake button.

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off. To reactivate: press and hold the side button until you see the Apple logo.

    If you disabled followed fitness in step 2, now return to the configuration and turn it back on (another reboot of both devices may also help).

  • Problem creating physical standby with RMAN

    Hi guru

    Perhaps this impact that all face you when creating physical standby DB. I'm trying to create a physical standby database Using RMAN double order a server

    (pri machine) machine on standby.

    Here are the steps I followed to create the above:

    Step 1:-activate forced logging

    SQL > ALTER DATABASE FORCE LOGGING;

    Step 2:-set up a standby Redo Log

    SQL > ALTER DATABASE ADD STANDBY LOGFILE GROUP 10

    2 > ('/ oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500 M;

    Step 3:-set the parameters of primary database initialization

    SQL > create pfile='?/dbs/pfileorcl.ora' of spfile;

    Edit the pfile to add the sleep settings, shown here:

    db_unique_name = "orcl".

    LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (ORCL, orcldr)'

    LOG_ARCHIVE_DEST_2 = "SERVICE = orcldr LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = orcldr'"

    * .fal_server = orcldr

    * .fal_client = orcl

    * .standby_file_management = auto

    Step 4:-activate archiving

    SQL > SHUTDOWN IMMEDIATE;

    SQL > STARTUP MOUNT;

    SQL > ALTER DATABASE ARCHIVELOG;

    SQL > ALTER DATABASE OPEN;

    Step 5:-tnsnames for eve of the configuration database

    This should be done on the primary database to edit tnsnames.ora or using the command NetCA and create by the name orcldr

    orcldr =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcldr)

    )

    )

    Step 6:-backup of database and copy it to standby mode

    This backup script must be run on primary and copied to sleep on the same mount point, run these scripts with RMAN, all files in /rman_backup need to be copied in /rman_backup on the standby server.

    $rman target.

    RMAN > run

    {

    allocate channel c1 type disk;

    allocate channel c2 type disk;

    backup of database format ' / rman_backup/%U';

    ARCHIVELOG backup all the format ' / rman_backup %U ';

    backup current controlfile to Eve format ' / rman_backup/%U';

    }

    Step 7:-availability of measures database

    Installation of Oracle software

    This should be the same version and patch group with exactly same ORACLE_HOME mount point.

    Commissioning of the listener

    Create and start a listener on the database of sleep by using NetCA, or create listener.ora in $ORACLE_HOME/network/admin

    LISTENER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))

    )

    Step 8:-set of backup database initialization parameters

    Copy the pfile file created in the database primary it renames in initorcldr.ora and change these settings:

    db_unique_name = "orcldr".

    LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (orcldr, ORCL)'

    LOG_ARCHIVE_DEST_2 = "SERVICE = orcl LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = orcl'"

    * .fal_server = orcl

    * .fal_client = orcldr

    *. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.

    Step 9:-installation tnsnames for the primary database

    This should be done on the pending change tnsnames.ora or using the command NetCA database and create it in the name orcl

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = primary-svr)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl)

    )

    )

    Step 10:-copy a password file

    A password file must be created on the primary and copied to the standby site. The sys password must be the same on both sites. Copy orapworcl in $ORACLE_HOME/dbs and rename the file in orapworcldr

    Step 11:-create for Oracle mount points

    Mount point must be created on the standby server with the same convention used in primary education, which includes the location for controlfiles, redo logs, data files, destination of the newspaper Archives and alert logs.

    $ mkdir Pei/u01/app/oracle/oradata/orcl /.

    $ mkdir Pei/u01/app/oracle/flash_recovery_area /.

    $ mkdir Pei/u01/app/oracle/admin/orcl/adump

    $ mkdir Pei/u01/app/oracle/admin/orcl/bdump

    $ mkdir Pei/u01/app/oracle/admin/orcl/cdump

    $ mkdir Pei/u01/app/oracle/admin/orcl/udump

    Step 12:-use RMAN to restore the backup and standby configuration

    Connecting to RMAN and run the following command to create the database pending, this must be performed on the standby server after the backup copy and the tnsnames parameter.

    $ export ORACLE_SID = orcldr

    $ rman target sys/tiger@orcl auxiliary sys/tiger@orcldr

    RMAN > target double standby database dorecover;

    Here, I'm getting problem such as:

    While he was trying to connect to databases traget and auxiliary, I noticed that when RMAN is connected across the two databases it shows

    ORCL (DBID xyz)

    ORCL (unmounted)

    Here, in my opinion the second database must be the name of the standby database or auxiiary db name is Eve db which is orcldr in my case

    After this issue, I am faced with the second issues such as:

    in command

    target double standby database dorecover;

    After you change the command to

    RMAN > duplicate target database "sleep."

    RMAN-05520 database name mismatch

    Can u please let me know where I can be wrong

    Finally I have the problem after all this googling and thinking the same thing.

    Thanks to you all

  • Only the core CPU usage high sys what creating instance of database using dbca

    When you use dbca to create the database instance
    Use of the high sys JUST ONLY a core processor
    How do I solve this
    see this:
    top - 09:28:19 up 55 days, 20:38, 10 users,  load average: 1.00, 1.08, 1.31
    Tasks: 1231 total,   2 running, 1228 sleeping,   0 stopped,   1 zombie
    Cpu(s):  0.0%us,  1.3%sy,  0.0%ni, 98.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:  57588328k total, 55028620k used,  2559708k free,   196852k buffers
    Swap: 16386292k total,    23156k used, 16363136k free, 23011232k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                         
    11343 oracle    25   0 1771m  30m  23m R 99.7  0.1   5:36.39 oracle                                                                                          
     3692 oracle    16   0 13948 2348  816 S  1.6  0.0  17:00.94 top                                                                                             
    11432 root      15   0 13540 2024  820 R  1.3  0.0   0:00.21 top                                                                                             
    11034 oracle    16   0  737m 171m  33m S  0.3  0.3   0:52.39 java                                                                                            
    11435 oracle    15   0 66056 1596 1180 S  0.3  0.0   0:00.01 bash                                                                                            
        1 root      15   0   784  172  160 S  0.0  0.0  38:56.76 init                                                                                            
        2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.58 migration/0                                                                                     
        3 root      34  19     0    0    0 S  0.0  0.0   0:00.75 ksoftirqd/0                                                                                     
        4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                                                      
        5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.81 migration/1                                                                                     
        6 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/1                                                                                     
        7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1                                                                                      
        8 root      RT  -5     0    0    0 S  0.0  0.0   0:02.53 migration/2    
    mpstat info
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    ....
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      77    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      78    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      79    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    
    09:29:11     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:13     all    0.01    0.00    1.26    0.01    0.00    0.02    0.00   98.70   1761.19
    09:29:13       0    0.50    0.00    0.50    1.00    0.00    1.99    0.00   96.02   1761.19
    ....
    09:29:13      71    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      72    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:13      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      77    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      78    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      79    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00          
    You can see there is only a single CPU CORE (core 74 but is random, other core have same status but just a CPU core)
    [root@localhost ~]# vmstat -S m 2
    procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
     r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
     3  0     23   1861    203  24267    0    0     8    12    0    0  0  0 99  0  0
     4  0     23   1845    203  24262    0    0   602 16460 3682 8121  2  2 96  1  0
     3  0     23   1842    203  24276    0    0   692  7520 3297 6610  2  2 97  0  0
     3  0     23   1830    203  24277    0    0   786  3040 3302 7118  2  2 97  0  0
     4  0     23   1829    203  24277    0    0   126  3144 3247 7343  2  1 97  0  0
     3  0     23   1827    203  24279    0    0    76  2944 3292 7502  2  2 96  0  0
     3  0     23   1823    203  24281    0    0     0  3248 3164 7656  2  1 97  0  0
     2  0     23   1827    203  24279    0    0     0  3646 3080 7480  2  1 97  0  0
     2  0     23   1828    203  24279    0    0     0   476 2942 5648  1  1 98  0  0
     3  0     23   1824    203  24281    0    0     2  7476 3377 8111  2  2 97  0  0
    iostat information
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.28    0.00    1.29    0.00    0.00   97.43
    
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               5.47         0.00        83.58          0        168
    sda1              0.00         0.00         0.00          0          0
    sda2              5.47         0.00        83.58          0        168
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb               8.96         0.00       123.38          0        248
    sdb1              8.96         0.00       123.38          0        248
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.27    0.00    1.27    0.00    0.00   97.46
    
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               0.00         0.00         0.00          0          0
    sda1              0.00         0.00         0.00          0          0
    sda2              0.00         0.00         0.00          0          0
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb              17.50         0.00       236.00          0        472
    sdb1             17.50         0.00       236.00          0        472
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.29    0.00    1.30    0.01    0.00   97.41
    
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               0.50         0.00        16.00          0         32
    sda1              0.00         0.00         0.00          0          0
    sda2              0.50         0.00        16.00          0         32
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb               7.50         0.00       144.00          0        288
    sdb1              7.50         0.00       144.00          0        288
    more details:
    database version 11.2.0.2.0
    the system version
    [root@localhost ~]# cat /etc/issue
    Red Hat Enterprise Linux Server release 5.4 (Tikanga)
    Kernel \r on an \m
    
    [root@localhost ~]# lsb_release 
    LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
    
    [root@localhost ~]# uname -a
    Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    hardware information
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 47
    model name      :        Intel(R) Xeon(R) CPU E7- 4860  @ 2.27GHz
    stepping        : 2
    cpu MHz         : 2261.057
    cache size      : 24576 KB
    physical id     : 3
    siblings        : 20
    core id         : 18
    cpu cores       : 10
    apicid          : 229
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 cx16 xtpr popcnt lahf_lm
    bogomips        : 4522.11
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 44 bits physical, 48 bits virtual
    
    [root@localhost ~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:         56238      55892        346          0        196      23645
    -/+ buffers/cache:      32050      24188
    Swap:        16002         22      15979
    
    [root@localhost ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2              19G  4.9G   14G  27% /
    /dev/sda5             230G   27G  192G  12% /home
    /dev/sda1              99M   12M   83M  13% /boot
    /dev/sdb1             2.9T  2.3T  464G  84% /array
    Edited by: JOhnLiu on September 11, 2012 19:31

    JOhnLiu wrote:
    Thanks for the reply sb92075

    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    ....
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    

    the system is essentially * idle at 100% * with the exception of single measure.
    Why is it you're obsessed with single line of sar?
    OS has been busy making a household for a snapshot.

  • Problem to identify the control file when creating physical standby

    Hello

    (database version: 10.2.0.4)
    linux platform)

    I use the command below to create physical database from a backup before:
    rman target / auxiliary sys/tiger@paceview
    
    Recovery Manager: Release 10.2.0.4.0 - Production on Tue Sep 4 18:05:53 2012
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    connected to target database: PACEVIEW (DBID=2092349485)
    connected to auxiliary database: PACEVIEW (not mounted)
    
     run {
     allocate auxiliary channel c1 device type DISK;
     set until sequence 38;
     duplicate target database for standby dorecover nofilenamecheck;
     }
    
    
    released channel: ORA_DISK_1
    allocated channel: c1
    channel c1: sid=35 devtype=DISK
    
    allocated channel: c2
    channel c2: sid=36 devtype=DISK
    
    executing command: SET until clause
    
    Starting Duplicate Db at 04-SEP-12
    
    contents of Memory Script:
    {
       set until scn  138180211934;
       restore clone standby controlfile;
       sql clone 'alter database mount standby database';
    }
    executing Memory Script
    
    executing command: SET until clause
    
    Starting restore at 04-SEP-12
    
    channel c1: restoring control file
    ORA-19625: error identifying file /backup/rman/paceview/DEL1_standby.ctl
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-19600: input file is control file  (/backup/rman/paceview/DEL1_standby.ctl)
    ORA-19601: output file is control file  (/PGHProdDB/oradata/paceview/control1.ctl)
    failover to previous backup
    
    released channel: c1
    released channel: c2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/04/2012 18:01:44
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    I already tried to cross but always give same error
    Thank you

    Hello;

    That's what I'd do:

    Primary backup (change in your directory as needed)

    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
    release channel d1;
    }
    

    Move the backup and duplicate like this:

    rman target sys/password@PRIMARY auxiliary /
    
    RMAN> run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    }
    

    For details of this method, see:

    http://www.Visi.com/~mseberg/duprman2.html

    Best regards

    mseberg

  • Create a virtual machine using the ubuntu (host of W7) partition

    I am running Windows 7 and 8 of VMware Workstation.

    The disc is actually a raid-0. There are 3 partitions: (Dual-boot)

    -Ubuntu (64-bit)

    -System reserved Windows

    -Windows (64-bit)

    I am trying to create a virtual machine under W7 using the Ubuntu partition.

    I tried 2 things for step 'select a physical drive:

    -Use individual partitions. The problem is at the end, when you click Finish. I get the error: "one of the provided parameters is not valid."

    -Disc use whole. The virtual machine is created, but when I turned on, I get the error:

    "Could not open the disk ' C:\. [..] \Ubuntu 64 - bit.vmdk' or one of the snapshot disks it depends on.

    Reason: the physical disk is already in use. »

    Thank you in advance for answering,

    Kind regards.

    In my tests I couldn't use a host physical diskwith a Windows 7 without setting the disc 'offline '.
    But then you can set the diskette from Windows Startup 'offline '.

    Using Linux or 2003, you don't have this problem.

  • Can I use my Apple Watch to turn down the volume on my iPhone?

    Hello. I am looking to buy a Apple Watch for my wife for her birthday. She wants it only if it is supported by a very specific scenario. She wants to be able to turn down the volume on his iPhone * of * his Apple Watch. Is this supported?

    To be very clear, the scenario is the use of the watch to change the volume on the phone.  I know how to change the volume of the phone from the phone. I know how to change the volume of the watch from the phone. I know how to change the volume of the watch on the watch.

    But what I can't find info on after looking through the help/product guides, it's that it can control the volume of your iPhone remotely, using the Apple Watch.

    Any help much appreciated!

    Hello

    No, this is not possible.

Maybe you are looking for

  • Problem: The computer is too slow, that I just replaced battery & fan always working like crazy!

    I just replaced battery & fan always working like crazy EtreCheck version: 2.9.12 (265) Report generated 2016-07-02 14:25:40 Download EtreCheck from https://etrecheck.com Time 03:08 Performance: good Click the [Support] links to help with non-Apple p

  • Strange delay at startup Satellite 1800

    I used my S1800-100 several times at startup without problem. I didn't have problems if I install the new (2nd) memory to the system not to boot. But now, even if the system is to default settings (default factory memorry and there on the slot A), my

  • Orientation lock does not not in 9.2.1

    9.2.1, I could turn my Plus 6 iPhone or iPad and use the locking of the orientation portrait or landscape view.  Now with 9.2.1, the orientation lock does nothing and answer only the applications allowing the rotation of the screen.  Anyone having pr

  • How to reduce the noise in an acquisition of data USB-6251

    Hello world!!! I have a few questions about a system that I have developed using a data acquisition OR usb card 6251. The pressure control system. First of all, the signals are acquired using an Omegadyne pressure transducer. (Typically, the signals

  • replace it with a 5 GHz adapter Atheros AR9285

    I'm looking for a replacement for my WiFi adapter internal, Artheros 9285, who is the only band of 2.4 GHz with a dual-band adapter 2.4 GHz / 5 GHz.  Any suggestions are welcome.  Thank you