RMAN cloning to another server

using 10 gr 1 on windows xp
I have two dbs
prod db and db test
backup database more archivelog prod DB
create pfile from spfile
remote access connection password file = exclusive lock
copied file password
copy all these files to test site
created the directory for the data control, redo, fra, cdump, bdump, udump
changed all sites on pfile
oradim to create an instance
Restore controlfile from "'
This has created 3 control files in the location specified by the modified pfile file that was mentioned during the startup nomount (startup nomount pfile = ")
change the editing of the database;
catalog all backup items
* rman > run {*}
the value of newname for datafile 1 to "
*}*
I did it for all data files
in editing mode, I have changed the location of the redo log by using alter database files rename file 'oldpath' to the 'new path ';
I also used db_file_name_convert since
RMAN > outline report;
shows more former locations of the data files
:
:
RMAN > restore database;
gives me
RMAN > restore database;

From restoration to August 2, 12
using controlfile target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 160 devtype = DISK

channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00001 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\SYSTEM01. DBF
restoring datafile 00002 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\UNDOTBS01. DBF
restoring datafile 00003 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\SYSAUX01. DBF
restoring datafile 00004 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\USERS01. DBF
restoring datafile 00005 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\EXAMPLE01. DBF
restoring datafile 00006 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\LIBRARY. DBF
restoring datafile 00007 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\LIBRARY2. DBF
ORA-19624: operation failed, try again possible
ORA-19504: cannot create the file 'E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\LIBRARY2. DBF. "
ORA-27040: create file error, cannot create the file
04002 - OSD: could not open the file
S/O-error: (OS 3) the system cannot find the path specified.
switch to the previous backup

RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command to 08-02-2012 09:25:46
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of datafile 6 to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of the file 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
:
:
Help, please
where I'm going wrong
Thanks in advance

Edited by: 946207 August 2, 2012 11:34

DB_FILE_NAME_CONVERT is used RMAN DUPLICATE and pending database.

You must use the VALUE of NEWNAME if you do a RESTORE RMAN.

Hemant K Collette

Tags: Database

Similar Questions

  • Restore the RMAN backup on another server

    Hello

    ENV: Oracle 10 g 2 64 bit, RHEL 5.8 64 bit on ASM, Database size = ~ 1.3 to

    Backup RMAN of PROD will FRA and then backed up to tape. I have limited access to the PROD because it is maintained by 3rd party.

    My client is planning to move this database on their own datacenter (from the 3rd party data center). For test purposes, I asked DBA of 3rd party to provide us with an export of drawings required data pump. Export takes about 8 hours, and the import takes the same time to the new location. To copy the files exported to new locations takes another few hours (over the network). The total size of the dump file is around 500 GB. Thus, a whole cycle of Export-Import-copy takes about ~ 20 + Hrs.

    I want to try another option to reduce the time required for the updating of the database of PROD and which is "use RMAN backup of PROD ' and restore it on the data center server. RMAN full backup takes ~ 4hrs PROD and the restoration should be at the same time (new server has better and faster HW, storage with a SSD). I found this thread very useful on the Oracle Forms on this topic:

    Restore backup RMAN on another server

    This thread contains very good example for a restoration of database on the file system.

    I have a bit of confusion because my database uses ASM. The default location of the backups in PROD is FRA (on ASM == > db_recovery_file_dest = + FRA ). If I understand correctly, the RMAN backup must be in the same place where he was on the PROD Server - i.e. the diskgroup FRA.

    If I get a copy of the part 3 RMAN backup, how would I copy on FRA?

    OR can / should I just change the init parameter "db_recovery_file_dest" on the new server to point to the file system directory where the backup (say "/ ora_backup") and RMAN will pick up and restore the database?

    Please advise!

    Best regards

    You can restore the backup files to any location, then you must configure the channel using the "CONFIGURE CHANNEL device type disk format 'new location ';

    This thread will help

    Restore from a different location from the original location of RMAN backup

  • Restore RMAN backups on another server

    Version: 11gRel 2
    Platform: AIX

    We have been provided to the cold RMAN backup of a DB and was invited to recreate in a new server. After installing the binary files in the new server, that's what I'll do

    Step 1. Create a pfile file (I created it manually, because I do not know what backup piece has spfile and we have no control file autobkp.) I know the name of DB)
    Step 2. Mount the DB using this file with RMAN pfile


    I have a question on step 3 and step 4

    Step 3.
    RMAN> RESTORE CONTROLFILE from 'rman_backup_piecename' to '/rsadat2/prod/config/my_newcontrolfile_name'; 
    The above command for step 3 is a variation of an order that I read
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14192/recov004.htm#CFABADJC

    Will this work?

    Step 4.
    We want to restore the data files to one different location other than the source. Oracle Doc, I found the command to do so below
    SET NEWNAME FOR DATAFILE '/olddisk/users01.dbf' TO '/new_path/file.dbf';
    All data files go to a location in the target database
    /rsadat1/prod/oradata/dbname/
    But it has more than 400 files in the source of the DB, which were located on 4 different file systems. So, in a TEXT Editor, I can't do not a SEARCH and REPLACE for all 400 lines in one.

    Is there a single command by which I could know the new location RMAN to restore?

    If you want to restore traditional as you explained, then Yes, step 3 is correct and should work.
    With respect to see what backup piece contains your control file, then it is actually easy to identify, because the control file and the settings file usually contained in a separate backup element and this backup piece is the smallest in size (around several MB). So just browse by size, you could easily point the backupset containing controlfile. Also, you can use the time stamp of the backup as the controlfile items and spfile are saved at the end.

  • Cloning of a database to another server.

    Hi all

    11.2.0.3

    I want to clone or reproduce our PROD database to another server, which is not on the same network, which means that I can't use rman duplicate.

    I use only the backup rman which are shipped to the server target using flashdisk.

    Can you share me docs on how to clone a database using rman backup?

    I tried Google, but I especially find is RMAN duplicate which is not viable in my situation.

    Thanks to all in advance.

    pK

    Hello

    procedure to clone the database restore/recovery of RMAN is same in 10g and 11g.

    Kind regards

    Renu

  • cloning/copying an old r11 environment to another server (Windows)

    Hi all
    We are runing 11.0.3 (multi-level) under windows.

    DB, simultaneous Manager, the report server on a server
    Forms Apache Server, WEB, on another node.

    We are facing some curruption of disc and a few hardware problems. So I need to clone my system to the other server.
    Can someone help me to clone R11 to another server on the windows machine.

    concerning
    Musaddaq

    Here's 11.0.3 cloning process
    =====================

    Helios, he seeks 11.0.3 version cloning, correct me if I'm wrong any of the steps, I use the same procedure for one of our 11.0.3 instance EBS.

    I am pasting the note here, then you can try to clone:

    There is an internal memo to make a clone on the 11.0.x, release but it is not supported. Please make sure that you have a good backup.

    ==============================================================================================================================================================
    ===================
    Note 91985.1 Step by step on cloning the ORACLE_HOME (including DB) and APPL_TOP:
    =================================================================================
    Cloning an instance of Oracle Application version 11 on a separate UNIX Machine
    ==============================================================================

    Goal
    ---------

    Provide a method of cloning an Oracle Applications version 11 APPL_TOP,.
    an ORACLE_HOME 8.0.X and database files included.

    Scope of Application &
    -------------------

    It takes a high level of experience with Applications for this document.

    Related documents
    -----------------

    Oracle Applications version 11 for UNIX manual of Installation (part No. A57983-02)

    Assumptions
    -----------

    You have already installed Oracle Applications version 11 and a 8.0.X
    ORACLE_HOME/database and all works fine.

    If you clone the APPL_TOP and ORACLE_HOME of quite another
    UNIX box, you must make sure that the target operating system is the
    same and is patched up to the same level as the source area, you are
    cloning of.

    Measures for Clone
    --------------

    1. on the target area, create a user and the user who owns the APPL_TOP who
    has the ORACLE_HOME files and database files (will be applmgr and)
    Oracle, respectively for the purposes of this document). Create an environment
    file for each of these users by specifying environment variables
    referenced in the Oracle version 11 for the Installation of UNIX Applications
    Manual.

    Example of variables for the oracle user:

    LD_LIBRARY_PATH
    ORACLE_HOME
    ORACLE_SID
    TWO_TASK (if applicable)
    PATH
    TERM
    JRE_DIR

    Example of variables for user applmgr:

    APPL_TOP
    LD_LIBRARY_PATH
    NLS_DATE_FORMAT
    NLS_LANG
    NLS_NUMERIC_CHARACTERS
    ORACLE_HOME
    PATH
    ORACLE_SID
    TWO_TASK (if applicable)
    TERM

    Note: Many of the following steps are since the white paper of the bridges D.
    'Copy of a database'. A copy of this is located at the end of this document.

    2 plug the sources such as the oracle user machine and the newspaper is
    svrmgrl or SQL * more as SYSDBA and SYSOPER DBA role he conceded.
    Run the following command:

    SQL > ALTER DATABASE BACKUP CONTROLFILE TO TRACE;

    The trace will be found at the the USER_DUMP_DEST value which is
    defined in the init.ora file. (An example of this trace file is located
    d. bridges of paper at the end of this article.)

    3. make a list of all data files and redo log files:

    SQL > SELECT file_name FROM dba_data_files;
    SQL > SELECT Member FROM v$ logfile;

    4. stop your database cleanly. Run each to do the following:

    SQL > shutdown normal;
    SQL > shutdown immediate;
    SQL > shutdown transactional;

    5 A this point, anything that creates a process of operating system must
    be lowered neatly on the Source area. Examples are: Forms Server
    Process, process of Web server, concurrent managers and the database listener.

    6. make zip files of all APPL_TOP, ORACLE_HOME files and database files
    files (datafiles and redo logs) on the Source area.

    7 FTP files zipped above the target area. Also ftp on the trace file
    that was created in step 2 above, you will be using it again in step 8.

    8. unzip all the files in the new $APPL_TOP, $ORACLE_HOME locations.

    You are now finished with the source area. Every process can safely be made
    Save this box. The rest of the book refers to the target area.

    9. changing theinit .ora file on the target area (usually located in the)
    Directory$ ORACLE_HOME/dbs) to reflect the structure of your new directory.
    (D. bridges paper below gives examples of what should generally be)
    changed in the environment).

    10 change the track of file that you created in step 2 to take account of your new directory
    structure.

    11 start server manager (svrmgrl) and run the trace of the file against your
    database.

    Example: svrmgrl (internal connect)
    Svrmgrl > @tracefile.trc

    12 edit listener.ora and tnsnames.ora files to reflect your new
    environment. These files must be in the $ORACLE_HOME/network/admin
    Directory.

    13 put in place the process of listening and trying to connect to SQL * more to test
    connectivity to the database. Make sure the applmgr and oracle
    environment of the users can connect to SQL * more.

    14 create a link to the technology stack in the ORACLE_HOME. Example of elements to
    be related:

    CD $ORACLE_HOME/procbuilder/lib; f ins_procbuilderv8.mk install
    CD $ORACLE_HOME/browser20/lib; f ins_browser20v8.mk install
    CD $ORACLE_HOME/forms45/lib; f ins_forms45wv88.mk install
    CD $ORACLE_HOME/rdbms/lib; f ins_rdbms.mk install

    15. There are several configuration files that need to be changed so that
    the Web server in order to work on the new box. The recommended method for
    change the host name in the configuration files is to uninstall, then
    Reinstall the Web server using the oracle Installer.

    16. Enter the area of the target as the applmgr and run adadmin. Choose from the
    Option "reissue Applications programs. If you have changed the directory
    structure for your APPL_TOP on the target from the Source area, you
    will also have to choose recreate your environment file.

    This is a good place to open a SQL * Plus the term and log in as the APPS
    user. Once you connect to SQL * more run the following query as a system of
    Search for invalid objects in the database:

    SQL > select owner, object_type, object_name in dba_objects
    When status = 'INVALID';

    If all objects are returned that belong to the user apps need to recompile the
    APPS schema in adadmin.

    17 follow chapter 4 of the manual version 11 install and configure the
    webserver.

    18 start concurrent managers. The name of the node in the-> simultaneous
    Manager-> administer form should take the new machine dynamically
    target name of the area.

    If the competitor-> Manager-> form to administer the node name is
    No poster, at the prompt, type UNIX:

    uname - a (this will return the machine think his name)

    The UNIX administrator at this stage you will need to reconfigure
    the target area to register the correct node for this box.

    19. you must now change the profile options that could have been
    affected by cloning. Examples: RRA:URL, WEB_AGENT, and
    HELP_SYSTEM_BASE_URL.

    20 start your forms and Server Web server process after sourcing (running)
    your new file of environment under the directory $APPL_TOP.

    21 change the static html page or set up your dynamic cartridge and
    to connect to your applications on the target area.

    Copy of a database
    ==================
    By Dave Bridges

    Move a database from one location to another is conceptually very simple.
    However, you must be extremely careful or the migration fails. There are
    two basic ways - a logical and a physical examination - to move a database.

    The logical method is to create a new empty database in the new location
    (target database), perform a complete export of the original database (source
    (database), and then import the source database in the target database.
    This article assumes that you have decided not to use this approach. For more information
    on export and import, please see the Oracle Server Utilities
    Guide for your particular server.

    The physical approach involves the cloning of the source database. This method is
    very similar to a backup of the database offline. The steps are:

    1 back up the source database control file in a trace file.
    2. a list of all your data and redo log files.
    3. perform a "clean" source database shutdown.
    4. copy all the files of database redo log files, file init.ora and trace file
    (from step 1) the location of the source to the target location.
    5. change the file init.ora target and the trace file.
    6. start the target instance.
    7. re-create the control file, retrieve and open the database.

    Each of these steps is explained in the following instructions.

    Note: The following instructions assume (1) you already have the server
    installed in the location of the target, (2) all parameters are already set
    environmental target and (3) If you use NT, you must
    already created and started the services necessary for the target
    database.

    1 back up the source database control file in a trace file. To connect to
    the source via open or SQL database * more using an account that has the
    SYSDBA and SYSOPER DBA role he conceded. Run the following command:

    SQL > ALTER DATABASE BACKUP CONTROLFILE TO TRACE;

    This will create a text file that we will use later. This file will be
    written in the subdirectory named by the value of the USER_DUMP_DEST
    parameter.

    2. a list of all data files and redo log files. It is absolutely
    essential to know about the names and locations of all the files of data and redo
    the log files. To do this, run the following queries:

    SQL > SELECT file_name FROM dba_data_files;

    SQL > SELECT Member FROM v$ logfile;

    The first query will give the path and name for each of your
    data files. The second query will give the same information to redo all the
    the log files. Be sure to save this information for future reference.

    3. perform a "clean" source database shutdown. A clean shutdown is
    are necessary to ensure that all data files and control files
    synchronized with the latest transactions. What follows
    commands give you a clean shutdown:

    normal stop;
    stop immediately;
    Shutdown transactional;

    Note: The shutdown transactional is not available in Oracle7.

    4. copy all the files of database redo logs trace and the init.ora file
    target file to the location of the source to the location. With the help of the
    information collected in step 2, copy all the data source and redo log files
    files to the target location. Also copy the file init.ora and the
    trace file generated in step 1 to the location target.

    5. change the target init.ora file, and the trace file. Using a text editor
    revise the init.ora file to reflect the new values for the target
    database. It will be change the paths indicated in the settings
    as CONTROL_FILES USER_DUMP_DEST, BACKGROUND_DUMP_DEST and all
    another parameter that specifies a path/file location (see annex 1
    below). Similarly, we must change the trace file. This file contains
    the CREATE CONTROLFILE command we will use in step 7. You
    will have to change the paths for all data files and redo log files
    to reflect their new location (see attachment 2 below).

    6. start the target instance. Once the init.ora file is changed, you can
    Start the instance. However, since we do not have control files.
    You must use the following command:

    startup nomount;

    7. re-create the control file. Once the instance is started, you can create
    your control files. If you saved your file of track under mytrace.trc, you can
    now create the command files by running this file as follows:

    @mytrace.trc

    This script will create the control files, perform a database recovery
    to resynchronize the control file with the rest of the database, and
    Open the database.

    Now, your target database must be open and consistent. There may always be
    some remaining tasks you need to perform, such as the creation of a password for the new file
    database or create/update a listener on the node target. These tasks are
    beyond the scope of this discussion.

    Attachment 1. Example of init.ora file
    -----------------------------------

    Here is an example of the init.ora file.

    Are entries that need to be changed to reflect the location of the target file
    identified by a '<-- edit="" this'="">

    init.ora

    AQ_TM_PROCESSES = 1
    background_dump_dest = G:\orant\rdbms80\trace<-- edit="">
    compatible = 8.0.5.0.0
    control_files = ("G:\orant\database\ctl1home.ora",<-- edit="">
    "G:\orant\database\ctl2home.ora")<-- edit="">
    db_block_buffers = 200
    DB_BLOCK_SIZE = 2048
    db_file_multiblock_read_count = 8
    DB_FILES = 1020
    db_name = home
    dml_locks = 100
    log_buffer = 8192
    log_checkpoint_interval = 8000
    log_checkpoint_timeout = 0
    max_dump_file_size = 10240
    process = 50
    Remote_login_passwordfile = exclusive lock
    SEQUENCE_CACHE_ENTRIES = 10
    sequence_cache_hash_buckets = 10
    shared_pool_size = 6500000
    sort_area_size = 65536
    user_dump_dest = G:\orant\rdbms80\trace<-- edit="">

    Attachment 2. Example of trace file
    --------------------------------

    Here is a sample of the output of the command alter database backup
    controlfile to trace.

    Are entries that need to be changed to reflect the location of the target file
    identified by a '<-- edit="" this'="" entry.="" edit="" this'="">

    Clone.TRC

    1999.10.08.10.49.07.171
    # The following commands will create a new control file and use
    # to open the database.
    # Data used by the Recovery Manager will be lost. Additional logs may
    # be required for the media recovery of offline data files. Use this
    # only if the current version of all newspapers online is available.
    STARTUP NOMOUNT
    CREATE NORESETLOGS NOARCHIVELOG CONTROLFILE REUSE DATABASE "HOME".
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXDATAFILES 30
    MAXINSTANCES 1
    MAXLOGHISTORY 112
    LOGFILE
    GROUP 1 ' G:\ORANT\DATABASE\LOGHOME1. ORA' SIZE 1 M.<-- edit="">
    GROUP 2 ' G:\ORANT\DATABASE\LOGHOME2. ORA' SIZE 1 M<-- edit="">
    DATA FILE
    ' G:\ORANT\DATABASE\HOMESYS. DBF',.<-- edit="">
    ' G:\ORANT\DATABASE\HOMERBS. DBF',.<-- edit="">
    ' G:\ORANT\DATABASE\HOMEUSER. DBF',.<-- edit="">
    ' G:\ORANT\DATABASE\HOMETEMP. DBF',.<-- edit="">
    ' G:\ORANT\DATABASE\HOMEINDX. DBF'<-- edit="">
    ;
    # Recovery is required if any of the data files are restored backups.
    # or if the last stop was not normal or immediate.
    RECOVER THE DATABASE
    # Database can now be opened normally.
    ALTER DATABASE OPEN;
    ================================= ================================================================================
    ================================================================

    If you need assistance with the cloning of your instance, you will need to contact Oracle Con
    relativeme.

    Edited by: 3Amigos December 13, 2010 01:39

  • RMAN on another server

    Hello

    I have a server Oracle 10 g on a server called 'A' and I installed the Oracle client on a server called 'B '.
    I want to backup my database using the rman on the 'B' Server client and put the backups on the server 'B '.
    Is this possible?
    and how?

    I get this error when I try
    channel ORA_DISK_1: starting total from 1 to 30 - SEP-08
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 2008-09-30 16:44:23
    ORA-19504: cannot create the file ' / data/backups/database / POS / 9ajrtcn5_1_1.
    ORA-27040: create file error, cannot create the file
    Linux-x86_64 error: 2: no such file or directory

    He is looking for the directory on my database server.

    Take the rman backup of A server A and then copy/move it to B.

    And for the error the path exist?

  • the database error duplicate from one server to another server

    Hello

    I'm practicing duplicate database to a single database server to another server. Path material and pilot on 2 machines is the same. Here are my steps:
    -Clone site:
    1 change the listener.ora with content:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = / u01/app/oracle
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME = orcl)
    )
    )
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = WE
    2. stop and start receiving once again, show message as:
    Service "orcl" has 1 instance (s).
    Instance "orcl", status UNKNOWN, has 1 operation for this service...

    The command completed successfully
    3. create pfile from spfile file.
    4. stop and startup nomount with pfile is new pfile create in step 3.
    --------------------------------------- Source site
    1 edit tnsnames.ora with content like:
    VVCOREDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vvcoredb)
    )
    )

    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )
    2 run the command of rman like these:
    RMAN > Connect target sys@vvcoredb
    RMAN > target password database:
    RMAN > Connect auxiliary sys@orcl
    RMAN > database auxiliary password:
    RMAN > DUPLICATE TARGET DATABASE for database orcl active spfile nofilenamecheck.

    Then the result show below:
    From Db double to 24-SEP-12
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID = 63 type device = DISK

    content of Script memory:
    {
    backup that copy reuse
    TargetFile ' / u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    ' / u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora';
    clone of SQL 'alter system set spfile = "/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora";
    }
    execution of Script memory

    Backup to starting 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 74 type device = DISK
    Backup finished 24-SEP-12

    SQL statement: alter system set spfile = "/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora"

    content of Script memory:
    {
    clone of SQL 'alter system set = db_name
    "ORCL" comment =
    "reproduce" scope = spfile;
    clone to stop immediately;
    startup nomount clone;
    }
    execution of Script memory

    SQL statement: alter system db_name set = comment "ORCL" = "duplicate" scope = spfile

    Instance Oracle to close

    connected to the auxiliary database (not started)
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 24/09/2012 17:44:12
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-04014: failed to start: ORA-01261: parameter db_recovery_file_dest destination string cannot be translated
    ORA-01262: Stat failed on a destination of the file directory
    Linux-x86_64 error: 2: no such file or directory

    I don't know what wrong with my pfile file? I said to correct my pfile site clone like this:
    ORCL.__db_cache_size = 1476395008
    ORCL.__java_pool_size = 16777216
    ORCL.__large_pool_size = 16777216
    ORCL.__oracle_base='/U01/app/oracle'#ORACLE_BASE the value of the environment
    ORCL.__pga_aggregate_target = 1342177280
    ORCL.__sga_target = 1979711488
    ORCL.__shared_io_pool_size = 0
    ORCL.__shared_pool_size = 436207616
    ORCL.__streams_pool_size = 0
    *.audit_file_dest='/U01/app/Oracle/admin/ORCL/adump '
    * .audit_trail = "db".
    * full = '11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
    * .db_block_size = 8192
    * .db_domain = "
    * .db_name = "orcl".
    *.db_recovery_file_dest='/U01/app/Oracle/flash_recovery_area/vvcoredb '
    * .db_recovery_file_dest_size = 4070572032
    *.diagnostic_dest='/U01/app/Oracle '
    *. Dispatchers ='(Protocol=TCP) (SERVICE = orclXDB)"
    * .memory_target = 3313500160
    * .open_cursors = 300
    * runoff = 150
    * .remote_login_passwordfile = "EXCLUSIVE."
    * .undo_tablespace = "UNDOTBS1.

    Please suggest me I miss some steps when trying to duplicate database?

    Any suggestions are welcome.

    Thanks in advance!

    P/s: sorry for my bad English.

    This error is because the location of the controlfile specified in your spfile is not present on your server to clone. Change the location of the parameter cntrolfile in spfil or create the same location on the server.

    Published by: Slim on 24 Sep 2012 17:47

  • RMAN cloning

    1. while making RMAN cloning failed to copy the control file (got deleted main control file) however created new control file how to restore the backup in the control file.
    2. how to change the directories with RMAN all cloning
    3. how to switch / switch

    Please guide me on the things above

    Hello;

    If you make two copies for standby?

    Here are my notes:

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

    For the control file I re-create the control file watch and move it.

    On Primary DB,
    
    SQL>startup mount;
    
    SQL> alter database create standby controlfile as 'STANDBY.ctl';
    
    SQL>ALTER DATABASE OPEN;
    

    Then move STANDBY.ctl to the other server and rename it for as many copies as necessary.

    The digital switchover

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

    Failover

    http://www.Visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.PDF

    Best regards

    mseberg

  • Backup in another server

    Dear friends,

    So far I have saved in my local hard drive. Now, I am required to backup in another server.

    How could I do?

    My backup script:
    DBBackup.bat
    set ORACLE_SID=db
     
    sqlplus/nolog @e:\Oracle_Backup_Data\Details\Script\DB\DB_Backup.sql
    DB_Backup.SQL
    connect sys/password as sysdba;
     
    alter system switch logfile;
     
    alter system archive log current;
     
    $Rman target sys/password CMDFILE e:\oracle_backup_data\Details\Script\db\DB.rcv LOG e:\oracle_backup_data\Details\Script\db\DB_outfile.txt;
    DB.rcv
    RUN {     
      backup database format='e:\Oracle_Backup_data\Archived\DB\%U_%I_%T.bkp' tag="everyday_full_bkup"
      plus archivelog format='e:\Oracle_Backup_data\Archived\DB\Arch%U_%I_%T.arc' tag="arcbkp";
      backup current controlfile;
      restore database validate;
      crosscheck backup;
      crosscheck archivelog all;
       }
      
    exit;
    exit;
    Please guide me

    Thank you!

    RMAN-03002: failure of command thus backup archivelog to 2011-06-14 15:05:31
    ORA-19504: cannot create the file 'Z:\ORACLE_BACKUP_DATA\DB\ARCHALMESCHP_1_1_1970380511_20110614.ARC '.
    ORA-27040: create file error, cannot create the file
    04002 - OSD: could not open the file
    S/O-error: (OS 3) the system cannot find the path specified.

    It seems that there is problem with authorization to map the drive.

  • Rman cloning (Segmentation fault) error

    Hi all

    Oracle version: 10.2.0.1
    Operating system: linux

    When we tried to make rman cloning by catalog, we get the following error here my clon database is on a server and my target and clon of database to Server B.

    Please find the below error.
    [oracle@test1161 ~]$ rman catalog rman/rman target sys/qfund@test
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jan 23 22:24:05 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    connected to target database: TEST (DBID=2034916279)
    connected to recovery catalog database
    
    RMAN> connect auxiliary sys/poor123@poor
    
    connected to auxiliary database: POOR (not mounted)
    
    RMAN> duplicate target database to poor;
    
    Starting Duplicate Db at 23-JAN-11
    starting full resync of recovery catalog
    full resync complete
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=155 devtype=DISK
    
    contents of Memory Script:
    {
       set until scn  22564684;
       set newname for datafile  1 to
     "/u02/poor/oradata/system01.dbf";
       set newname for datafile  2 to
     "/u02/poor/oradata/undotbs01.dbf";
       set newname for datafile  3 to
     "/u02/poor/oradata/sysaux01.dbf";
       set newname for datafile  4 to
     "/u02/poor/oradata/users01.dbf";
       set newname for datafile  5 to
     "/u02/poor/oradata/example01.dbf";
       set newname for datafile  6 to
     "/u02/poor/oradata/poorna.dbf";
       set newname for datafile  7 to
     "/u02/poor/oradata/bigtbs_01.dbf";
       set newname for datafile  8 to
     "/u02/poor/oradata/lak_tbs01.dbf";
       set newname for datafile  9 to
     "/u02/poor/oradata/vir2_01.dbf";
       set newname for datafile  10 to
     "/u02/poor/oradata/lak_tbs2_01.dbf";
       set newname for datafile  11 to
     "/u02/poor/oradata/vir_user01.dbf";
       set newname for datafile  12 to
     "/u02/poor/oradata/vir_bigf01.dbf";
       set newname for datafile  17 to
     "/u02/poor/oradata/hrscott.dbf";
       restore
       check readonly
       clone database
       ;
    }
    executing Memory Script
    
    executing command: SET until clause
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    Starting restore at 23-JAN-11
    using channel ORA_AUX_DISK_1
    
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    restoring datafile 00003 to /u02/poor/oradata/sysaux01.dbf
    restoring datafile 00004 to /u02/poor/oradata/users01.dbf
    restoring datafile 00005 to /u02/poor/oradata/example01.dbf
    restoring datafile 00006 to /u02/poor/oradata/poorna.dbf
    restoring datafile 00007 to /u02/poor/oradata/bigtbs_01.dbf
    restoring datafile 00008 to /u02/poor/oradata/lak_tbs01.dbf
    restoring datafile 00009 to /u02/poor/oradata/vir2_01.dbf
    restoring datafile 00010 to /u02/poor/oradata/lak_tbs2_01.dbf
    restoring datafile 00011 to /u02/poor/oradata/vir_user01.dbf
    restoring datafile 00012 to /u02/poor/oradata/vir_bigf01.dbf
    restoring datafile 00017 to /u02/poor/oradata/hrscott.dbf
    channel ORA_AUX_DISK_1: reading from backup piece /u01/app/oracle/product/10.2.0/db_1/dbs/1pm2tq5e_1_1
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/1pm2tq5e_1_1 tag=TAG20110124T124846
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:01:45
    Finished restore at 23-JAN-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "POOR" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
     LOGFILE
      GROUP  1 ( '/u02/poor/oradata/redo1a.log' ) SIZE 50 M  REUSE,
      GROUP  2 ( '/u02/poor/oradata/redo2a.log', '/u02/poor/oradata/redo2b.log' ) SIZE 50 M  REUSE,
      GROUP  3 ( '/u02/poor/oradata/redo3a.log', '/u02/poor/oradata/redo1b.log', '/u02/poor/oradata/redo3b.log' ) SIZE 50 M  REUSE
     DATAFILE
      '/u02/poor/oradata/system01.dbf'
     CHARACTER SET WE8ISO8859P1
    
    
    contents of Memory Script:
    {
       switch clone datafile all;
    }
    executing Memory Script
    
    released channel: ORA_AUX_DISK_1
    datafile 2 switched to datafile copy
    input datafile copy recid=1 stamp=741272711 filename=/u02/poor/oradata/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafile copy recid=2 stamp=741272711 filename=/u02/poor/oradata/sysaux01.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=3 stamp=741272711 filename=/u02/poor/oradata/users01.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=4 stamp=741272711 filename=/u02/poor/oradata/example01.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=5 stamp=741272711 filename=/u02/poor/oradata/poorna.dbf
    datafile 7 switched to datafile copy
    input datafile copy recid=6 stamp=741272711 filename=/u02/poor/oradata/bigtbs_01.dbf
    datafile 8 switched to datafile copy
    input datafile copy recid=7 stamp=741272711 filename=/u02/poor/oradata/lak_tbs01.dbf
    datafile 9 switched to datafile copy
    input datafile copy recid=8 stamp=741272711 filename=/u02/poor/oradata/vir2_01.dbf
    datafile 10 switched to datafile copy
    input datafile copy recid=9 stamp=741272711 filename=/u02/poor/oradata/lak_tbs2_01.dbf
    datafile 11 switched to datafile copy
    input datafile copy recid=10 stamp=741272711 filename=/u02/poor/oradata/vir_user01.dbf
    datafile 12 switched to datafile copy
    input datafile copy recid=11 stamp=741272711 filename=/u02/poor/oradata/vir_bigf01.dbf
    datafile 17 switched to datafile copy
    input datafile copy recid=12 stamp=741272711 filename=/u02/poor/oradata/hrscott.dbf
    
    contents of Memory Script:
    {
       set until scn  22563972;
       recover
       clone database
        delete archivelog
       ;
    }
    executing Memory Script
    
    executing command: SET until clause
    
    Starting recover at 23-JAN-11
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=158 devtype=DISK
    
    starting media recovery
    
    archive log thread 1 sequence 23 is already on disk as file /u02/archive/1_23_741021347.dbf
    archive log thread 1 sequence 24 is already on disk as file /u02/archive/1_24_741021347.dbf
    archive log thread 1 sequence 25 is already on disk as file /u02/archive/1_25_741021347.dbf
    archive log thread 1 sequence 26 is already on disk as file /u02/archive/1_26_741021347.dbf
    archive log thread 1 sequence 27 is already on disk as file /u02/archive/1_27_741021347.dbf
    archive log thread 1 sequence 28 is already on disk as file /u02/archive/1_28_741021347.dbf
    archive log thread 1 sequence 29 is already on disk as file /u02/archive/1_29_741021347.dbf
    archive log thread 1 sequence 30 is already on disk as file /u02/archive/1_30_741021347.dbf
    archive log thread 1 sequence 31 is already on disk as file /u02/archive/1_31_741021347.dbf
    archive log thread 1 sequence 32 is already on disk as file /u02/archive/1_32_741021347.dbf
    archive log thread 1 sequence 33 is already on disk as file /u02/archive/1_33_741021347.dbf
    archive log thread 1 sequence 34 is already on disk as file /u02/archive/1_34_741021347.dbf
    archive log thread 1 sequence 35 is already on disk as file /u02/archive/1_35_741021347.dbf
    archive log thread 1 sequence 36 is already on disk as file /u02/archive/1_36_741021347.dbf
    archive log thread 1 sequence 37 is already on disk as file /u02/archive/1_37_741021347.dbf
    archive log thread 1 sequence 38 is already on disk as file /u02/archive/1_38_741021347.dbf
    archive log filename=/u02/archive/1_23_741021347.dbf thread=1 sequence=23
    archive log filename=/u02/archive/1_24_741021347.dbf thread=1 sequence=24
    archive log filename=/u02/archive/1_25_741021347.dbf thread=1 sequence=25
    archive log filename=/u02/archive/1_26_741021347.dbf thread=1 sequence=26
    archive log filename=/u02/archive/1_27_741021347.dbf thread=1 sequence=27
    archive log filename=/u02/archive/1_28_741021347.dbf thread=1 sequence=28
    archive log filename=/u02/archive/1_29_741021347.dbf thread=1 sequence=29
    archive log filename=/u02/archive/1_30_741021347.dbf thread=1 sequence=30
    archive log filename=/u02/archive/1_31_741021347.dbf thread=1 sequence=31
    archive log filename=/u02/archive/1_32_741021347.dbf thread=1 sequence=32
    archive log filename=/u02/archive/1_33_741021347.dbf thread=1 sequence=33
    archive log filename=/u02/archive/1_34_741021347.dbf thread=1 sequence=34
    archive log filename=/u02/archive/1_35_741021347.dbf thread=1 sequence=35
    archive log filename=/u02/archive/1_36_741021347.dbf thread=1 sequence=36
    archive log filename=/u02/archive/1_37_741021347.dbf thread=1 sequence=37
    archive log filename=/u02/archive/1_38_741021347.dbf thread=1 sequence=38
    media recovery complete, elapsed time: 00:00:04
    Finished recover at 23-JAN-11
    
    contents of Memory Script:
    {
       shutdown clone;
       startup clone nomount ;
    }
    executing Memory Script
    
    database dismounted
    Oracle instance shut down
    
    connected to auxiliary database (not started)
    Oracle instance started
    
    Total System Global Area     524288000 bytes
    
    Fixed Size                     1220384 bytes
    Variable Size                134217952 bytes
    Database Buffers             385875968 bytes
    Redo Buffers                   2973696 bytes
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "POOR" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
     LOGFILE
      GROUP  1 ( '/u02/poor/oradata/redo1a.log' ) SIZE 50 M  REUSE,
      GROUP  2 ( '/u02/poor/oradata/redo2a.log', '/u02/poor/oradata/redo2b.log' ) SIZE 50 M  REUSE,
      GROUP  3 ( '/u02/poor/oradata/redo3a.log', '/u02/poor/oradata/redo1b.log', '/u02/poor/oradata/redo3b.log' ) SIZE 50 M  REUSE
     DATAFILE
      '/u02/poor/oradata/system01.dbf'
     CHARACTER SET WE8ISO8859P1
    
    
    contents of Memory Script:
    {
       set newname for tempfile  1 to
     "/u02/poor/oradata/temp.dbf";
       switch clone tempfile all;
       catalog clone datafilecopy  "/u02/poor/oradata/undotbs01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/sysaux01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/users01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/example01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/poorna.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/bigtbs_01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/lak_tbs01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/vir2_01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/lak_tbs2_01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/vir_user01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/vir_bigf01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/hrscott.dbf";
       switch clone datafile all;
    }
    executing Memory Script
    
    executing command: SET NEWNAME
    
    renamed temporary file 1 to /u02/poor/oradata/temp.dbf in control file
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/undotbs01.dbf recid=1 stamp=741272727
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/sysaux01.dbf recid=2 stamp=741272727
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/users01.dbf recid=3 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/example01.dbf recid=4 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/poorna.dbf recid=5 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/bigtbs_01.dbf recid=6 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/lak_tbs01.dbf recid=7 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/vir2_01.dbf recid=8 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/lak_tbs2_01.dbf recid=9 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/vir_user01.dbf recid=10 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/vir_bigf01.dbf recid=11 stamp=741272729
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/hrscott.dbf recid=12 stamp=741272729
    
    datafile 2 switched to datafile copy
    input datafile copy recid=1 stamp=741272727 filename=/u02/poor/oradata/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafile copy recid=2 stamp=741272727 filename=/u02/poor/oradata/sysaux01.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=3 stamp=741272728 filename=/u02/poor/oradata/users01.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=4 stamp=741272728 filename=/u02/poor/oradata/example01.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=5 stamp=741272728 filename=/u02/poor/oradata/poorna.dbf
    datafile 7 switched to datafile copy
    input datafile copy recid=6 stamp=741272728 filename=/u02/poor/oradata/bigtbs_01.dbf
    datafile 8 switched to datafile copy
    input datafile copy recid=7 stamp=741272728 filename=/u02/poor/oradata/lak_tbs01.dbf
    datafile 9 switched to datafile copy
    input datafile copy recid=8 stamp=741272728 filename=/u02/poor/oradata/vir2_01.dbf
    datafile 10 switched to datafile copy
    input datafile copy recid=9 stamp=741272728 filename=/u02/poor/oradata/lak_tbs2_01.dbf
    datafile 11 switched to datafile copy
    input datafile copy recid=10 stamp=741272728 filename=/u02/poor/oradata/vir_user01.dbf
    datafile 12 switched to datafile copy
    input datafile copy recid=11 stamp=741272729 filename=/u02/poor/oradata/vir_bigf01.dbf
    datafile 17 switched to datafile copy
    input datafile copy recid=12 stamp=741272729 filename=/u02/poor/oradata/hrscott.dbf
    
    contents of Memory Script:
    {
       Alter clone database open resetlogs;
    }
    executing Memory Script
    
    *Segmentation fault*
    Please help me solve the problem.

    Thank you and best regards,
    Kahina Prasad.S

    Published by: SIDDABATHUNI on January 24, 2011 13:28

    After there alert.log of the AUXILIARY instance

  • How to copy the database using rman file from another location.

    You can clone data base using the files of rman backup from somewhere else (on the server to clone).

    I have two server db source and clone db server.
    I normally copy the files of RMAN backup to clone server (under the same folder structure, as it was on the source server).

    The purpose of the test, IE I don't have same partition and free space on the source server and the clone.

    I usually use under notes to the clone.
    http://trysellit.com/hosting/Ttrail/Fajr.php?doc=wtrail & ND = 0556200

    I would try to explain for example again.
    In source server, my rman backup are stored in / U01 and clone server, I copied the files of rman /u04. What step I should take to clone to work anywhere else?

    Using Oracle 10 g on Linux RedHat.

    sape007 wrote:
    Thanks Ken & PrafullaNath.

    BUT my question is: how to transport .dbf files in another place on the clone (I already do).

    Rather:
    The clone is on another server. How to restore by copying the RMAN files from another location on the clone. Please read description above in its entirety.

    Sorry for not being clear.

    Please see my video tutorial. In this tutorial that I take backup of the database, copy the backup to the different server and perform a recovery disaster

  • RMAN cloning using the recovery catalog

    Hi all

    I do RMAN cloning using the recovery catalog.

    I use oracle 10R2 on solaris, I have a PRIMARY primary database name. I create another database for the catalog name of recovery REC_DB. and the master database with REC_DB record and took the full backup. now I have a full backup of the PRIMARY database in the recovery catalog.

    Now I want to clone the MAIN database using this backup (backup of the catalog).

    I've done this before, without using the catalogue,

    I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.

    RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.

    here target means what? primary or catalog database. kindly help me on this.

    Kind regards
    Kumar

    >

    >

    I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.

    RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.

    here target means what? primary or catalog database. kindly help me on this.

    Looks like it is exactly what you were asking.

    You need to connect to the TARGET, CATALOG & AUXILIARY of the rman prompt instance.
    You then run your script/command clone, which you claim you already know how to do.

  • What is the recommended method to configure a web proxy to another server on the LAN?

    Hello

    I use Server to manage incoming web traffic, but also have another server running I want to use outside.

    I work in directly modifying the site configuration file and adding the ProxyPass and ProxyPassReverse directives but these overwritten when the site configuration is changed in the.app

    I want to implement this in a way that is not crushed and is more robust.

    Any advice would be very welcome.

    Thank you

    Gary

    I'm certainly not an expert in the field, but I think you can do what you're asking using the functionality of the Web application.

    You bring a plist to webapps folder and a conf file in the apache folder and then using.app, edit your Web site, and then click Change advanced settings and select the Web application that you created. It should not then be written more if you make any changes.

    The content of the conf file would proxy information in it:

    # of http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

    RewriteEngine on

    RewriteCond% {HTTPS} = off

    RewriteRule. -[E = Protocol: http, E = port: 8000]

    RewriteCond% {HTTPS} = we

    RewriteRule. -[E = Protocol: https, E = port: 8010]

    ProxyPassReverse / http://secondserver.example.com:8000 /

    ProxyPass / http://secondserver.example.com:8000 /

    and the plist would be something like this:

    <? XML version = "1.0" encoding = "UTF-8"? >

    <! DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0 / / IN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd" > ""

    <!-see the manual pages for webapp.plist (5) and webappctl (8) for more information on this example webapp.plist->

    < plist version = "1.0" >

    < dict >

    includeFiles < key > < / key >

    < table > <! - include files are enabled in the virtual host then webapp - >

    < string > /Library/Server/Web/Config/apache2/httpd_yourwebapp.conf < / string > <! - name must match your conf file - >

    < / array >

    < key > name < / key >

    < string > com.example.secondserverwebapp < / string >

    displayName < key > < / key > <! - name displayed in app server - >

    < string > SecondServerWebApp < / string >

    installationIndicatorFilePath < key > < / key > <!-the presence of this file indicates web app is installed->

    < string > /Library/Server/Web/Config/apache2/httpd_yourwebapp.conf < / string >

    sslPolicy < key > < / key > <! - determines the behavior of the webapp SSL - >

    < number > 0 Integer < / integer > <!--0: by default, UseSSLWhenEnabled->

    <!--1: UseSSLAlways->

    <!--2: UseSSLOnlyWhenCertificateIsTrustable->

    <!--3: UseSSLNever->

    <!--4: UseSSLAndNonSSL->

    < / dict >

    < / plist >

    This is perhaps not completely right, but can direct you in the right direction, I hope that someone with more knowledge will be the chip in the meantime

  • I can script volume shadow copy service files to copy VSS files to another server?

    Hello

    Wanted to ask if it was possible to take the info created by VSS and move it to another server? The reason why I ask is that I need to information to a file on a backup server, copy it to another standby server and have it ready to go when the original bang goes machine!

    While enjoying the fact than expected jobs work fine with the backup software and can copy the file backup due to another server as a :-) scheduled task I can't put automated restoration work to restore back this folder on a daily basis by using the backup of windows server or backup exec (very annoying!). I was wondering if I could create shadow copies of the file/volume concerned on the original server, and then have a script that has copied the files on the backup server?

    Just in addition, the concerned files/folders are usually left "open" or "locked" (these include mdb files too!) so just using xcopy etc will not work :-(

    Any ideas or suggestions would be welcome :-)

    Thank you very much for your help

    Kevin

    I suggest that you take cela Server TechNet or TechNet IT Pro forums.  This forum serves users with Windows home versions.

  • How to disable MSTSC of Win2003 and Win2008 to jump to another server

    My company wants to limit the server admins to user\ \mstsc to jump from one server to another. Because users are already local admon on a server, can do something to stop them from using this server to jump to another server?

    These MS Answers forums are intended for the home rather than the it professional user. Please transfer your question in the relevant Microsoft Technet forum here:

    http://social.technet.microsoft.com/Forums/en-us/category/windowsserver .

    Thank you.      :)

    (I'm sorry, but I can't move this thread for you because the two forums are working on separate platforms)

Maybe you are looking for