Mobile data file to a different disk group

Version: 11.2
Platform: Solaris 10

I have Disgroup called KLCIS_DATA02. He has a file of size 10 GB inside data
+KLCIS_DATA02/klcis/klcis_tbs_04.dbf
I need to move the data above file to an another diskgroup called KLCIS_DATA01

That I should stop the DB, mount it and run
alter database rename datafile '+KLCIS_DATA02/klcis/klcis_tbs_04.dbf' to '+KLCIS_DATA01/klcis/klcis_tbs_04.dbf'
Would the above work?

Published by: Tom on March 14, 2012 08:26

Published by: Tom on March 14, 2012 08:26
Added version info

Tom wrote:
I have Disgroup called KLCIS_DATA02. He has a file of size 10 GB inside data

+KLCIS_DATA02/klcis/klcis_tbs_04.dbf

I need to move the data above file to an another diskgroup called KLCIS_DATA01

That I should stop the DB, mount it and run

I think there is no need to stop the DB (if its in the mode) but put the data offline tablespace/file to move the data file...

alter database rename datafile '+KLCIS_DATA02/klcis/klcis_tbs_04.dbf' to '+KLCIS_DATA01/klcis/klcis_tbs_04.dbf'

Would the above work?

As

SQL > alter database datafile '+ KLCIS_DATA02/klcis/klcis_tbs_04.dbf' offline;

RMAN target /.

RMAN > COPY DATAFILE '+ KLCIS_DATA02/klcis/klcis_tbs_04.dbf' to '+ KLCIS_DATA02;

See the new data file in the alert.log...

SQl > alter database file rename '+ KLCIS_DATA02/klcis/klcis_tbs_04.dbf' to '+ KLCIS_DATA02'/xxx/xxxx.dbf;

RMAN target /.

RMNA > switch datafile ' +KLCIS_DATA02'/xxx/xxxx.dbf "to copy;

RMAN > recover datafile ' +KLCIS_DATA02'/xxx/xxxx.dbf ";

SQL > alter database datafile ' +KLCIS_DATA02'/xxx/xxxx.dbf "online;

See also the blog
http://davidalejomarcos.WordPress.com/2010/07/23/move-datafile-to-a-different-ASM-diskgroup-using-RMAN/

hope this helps

Tags: Database

Similar Questions

  • Control mobile/data files to a different folder during the upgrade to 10 g 9i

    Hello

    I'm in the process of upgrading 9.2.0.4 (Enterprise Edition - linux Redhat 4) on the same server to 10 g R2.

    I already finished running DBUA, but due to the bug MAXDATAFILES 100, I had to choose not to move the data files. Now that the upgrade was successful, I need to move the controlfiles, 10g 9i Home Home data files.

    I know I need to recreate the controlfile to support up to a trace file, but I'm confused as to what script should I use trace files because it has 2 almost identical scripts. One with RESETLOGS, another with NORESETLOGS.

    What is the difference between these two? The 9i database was arrested before the upgrade and supported (cold backup), whether I should not all archivelogs or online content of newspapers I think.

    Thank you
    Sinan

    I know I need to recreate the controlfile to support up to a trace file, but I'm confused as to what script should I use trace files because it has 2 almost identical scripts. One with RESETLOGS, another with NORESETLOGS.

    What is the difference between these two? The 9i database was arrested before the upgrade and supported (cold backup), whether I should not all archivelogs or online content of newspapers I think.

    RESETLOGS - Specify RESETLOGS, if you want the Oracle database to ignore the content of the files listed in the LOGFILE clause. These files do not have to exist. Each redo_log_file_spec in the LOGFILE clause must specify the SIZE parameter. The database assigns redo all online log file groups to thread 1 and enables this thread for public use by any instance. After using this clause, you must open the database by using the ALTER DATABASE statement RESETLOGS clause.

    NORESETLOGS - Specify NORESETLOGS if you want Oracle database to use all files in the LOGFILE clause as they were when the database was last opened. These files must exist and must be the online redo logs rather that restore backups. The database reassigns log files groups redo the nets to which they were previously allocated and reactivates the discussions that they have been previously activated.

    CREATE CONTROLFILE
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/statements_5003.htm#SQLRF01203

    If you AutoConfig enabled, you can use quick Clone to achieve the same.

    Thank you
    Hussein

  • How to move ASM spfile to a different disk group


    Hello

    Because of less storage, we plan to move the ASMPARAMETER DATABASE file to the disk of data.2 group and delete the DATA disk group so that we can allocate these free disks to other disk groups.

    This isn't a RAC Setup.

    But I noticed the file ASMPARAMETER in the DataSet and disc of data2. Could you please some help me in this.

    Oracle version is 11.2.0

    OS - Aix server.

    The Type redundancy ASM disk group: NORMAL redundancy

    I searched in Oracle Metalink and found this document -

    Kind regards

    Stephen

    Hello

    For example, please check step bey:

    sqlplus / as sysasm

    SQL * more: Production version 11.2.0.1.0 on

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

    Connected to:

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    With the option of Automatic Storage Management

    SQL > show the spfile parameter

    VALUE OF TYPE NAME

    ------- ------- --------------------------------------------------

    +DATA/ASM/asmparameterfile/registry.253.715881237 string SPFile

    SQL > create pfile='/tmp/pfile+ASM.ora' of spfile;

    Created file.

    2. create spfile in a new disk of the pfile intermediary group

    SQL > create spfile ='+ PLAY "of pfile='/tmp/pfile+ASM.ora."

    Created file.

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production

    With the option of Automatic Storage Management

    3. restart battery HA to check ASM starts fine with moved spfile

    crsctl stop $

    CRS-2791: from closing resources managed by Oracle high availability Services on "".

    ...

    CRS-4133: Oracle high availability Services was arrested.

    crsctl start $ has

    CRS-4123: Oracle high availability Services started.

    Verify that the new spfile is used

    $ sqlplus / as sysasm

    SQL * more: Production version 11.2.0.1.0 on

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

    Connected to:

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    With the option of Automatic Storage Management

    SQL > show the spfile parameter

    VALUE OF TYPE NAME

    ------- ------- --------------------------------------------------

    +PLAY/ASM/asmparameterfile/registry.253.715963539 string SPFile

    SQL > select name, status from v$ asm_diskgroup;

    NAME STATE

    ----- -----------

    DATA CLIMBS

    ROOM RISE

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production

    With the option of Automatic Storage Management

    The use of the new spfile can also be verified with asmcmd as follows:

    $ asmcmd spget

    +Play/ASM/asmparameterfile/registry.253.715963539

    4. remove the original spfile

    $ rm +DATA/asm/asmparameterfile/registry.253.715881237 asmcmd

    And this is an example of moving ASM spfile with 'spcopy asmcmd ".

    1 copy the spfile with the-u option - Update the profile of negotiators in RAC environment

    $ asmcmd spget

    +Data/ASM/asmparameterfile/registry.253.722601213

    $ asmcmd lsdg

    G_files of Type Rebal sector block to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks votin' state name

    EXTERN MOUNTED N 512 4096 1048576 14658 9814 0 9814 0 N DATA.

    EXTERN MOUNTED N 512 4096 1048576 9772 8507 0 8507 0 'N PLAY.

    EXTERN MOUNTED N 512 4096 1048576 9772 9212 0 9212 0 N RECO.

    $ asmcmd spcopy u +DATA/asm/asmparameterfile/registry.253.722601213 + PLAY/spfileASM.ora

    2. restart battery HA to check ASM starts with copiedspfile

    crsctl stop $

    CRS-2791: from closing resources managed by Oracle high availability Services on "".

    ...

    CRS-4133: Oracle high availability Services was arrested.

    crsctl start $ has

    CRS-4123: Oracle high availability Services started.

    $ asmcmd spget

    + Play/spfileASM.ora

    3. remove the original spfile

    $ ls-l asmcmd + DATA/asm/asmparameterfile

    Name of type Redund time scratched Sys

    REGISTRY.253.722601213 OF Y ASMPARAMETERFILE UNPROT COARSE 25 JUNE AT 10:00

    $ rm +DATA/asm/asmparameterfile/registry.253.722601213 asmcmd

    Other information plays please this link: http://blog.csdn.net/tianlesoftware/article/details/6347461

    Thank you

  • Combine the free capacity of different disk group

    Hello

    I have Dell PowerVault MD 3000i. I have the free capacity of two different disk groups. Two groups of disks have the same RAID level. Is it possible to combine the free capacity of these two groups?

    Thank you.

    No, this isn't an option. Your only choice is to make 2 different virtual disks.

    In the operating system, you can be then able to combine them, but this has usually few drawbacks with respect to performance and reliability.

  • Transfer data file on a different drive due to full disk

    I use ORA 10 G in WIndows Server 2003. I got the full disc. the disc contains a tablespace MTB with 30 data files. I intend to transfer some (say 10 files) to the other player. Please tell us how can I do this without loss of data.

    Hello..

    Please tell us how can I do this without loss of data.

    You must either take the tablespace offline or need to close the database.

    (a.) Tablespace offline;

    1 alter tablespace offline;

    2 copy data files to another location

    3 alter tablespace rename datafile ' location/name' to 'nouvel_emplacement/name'; - for all data files

    4. alter tablespace online;

    (b) arret stop of the database, copy the data file at different location, mount the database, and then

    ALTER database rename ' location/file name' to 'nouvel_emplacement/name ";

    [http://www.jlcomp.demon.co.uk/faq/rename_datafile.html]

    Anand

  • ORA-19846: cannot read the header of the data file of the remote site 21

    Hello

    I have a situation or I can say a scenario. It is purely for testing base. Database is on 12.1.0.1 on a Linux box using ASM (OMF).

    Standby is created on another machine with the same platform and who also uses ASM (OMF) and is in phase with the primary. Now, suppose I have create a PDB file on the primary of the SEED and it is created successfully.

    After that is a couple of log, do it again passes to the waiting, but MRP fails because of naming conventions. Agree with that! Now, on the primary, I remove the newly created PDB (coward the PDB newly created). Once again a couple of switches of newspapers which is passed on to the wait. Of course, the wait is always out of sync.

    Now, how to get back my watch in sync with the primary? I can't roll method until the required data (new PDB) file does not exist on the main site as well. I get the following error:

    RMAN > recover database service prim noredo using backupset compressed;

    To go back to November 8, 15

    using the control file of the target instead of recovery catalog database

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 70 = device = DISK stby type instance

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at the 18:55:32 08/11/2015

    ORA-19846: cannot read the header of the data file of the remote site 21

    The clues on how to I go ahead? Of course, recreating the eve is an option as its only based on test, but I don't want recreation.

    Thank you.

    I tried like below:

    1 a incremental backup of the primary of the CNS where off the eve also taken primary backup controlfile as Eve format.

    2 copy the backup of the watch parts, catalogged them on the day before.

    3 recovered Eve with noredo option - it fails here with the same error pointing to the 21 data file.

    OK, understood. Try not to get back the day before first, rather than restore the controlfile and then perform the restoration.

    Make it like:

    1. take incremental backup of primary SNA, also ensures the backup controlfile format.

    2. copy pending, get the location of the data file (names) by querying v$ datafile on the eve. Restore the controlfile ensures from the backup controlfile you took on primary and mount.

    3. Since you are using OMF, the path of primary and standby data file will be different. (/). If you require catalog data from the database files pending.

    (Reason: you restore controlfile from elementary to step 2, which takes place from the main access road). Use the details that you obtained in step 2 and catalog them.

    4. turn the database copy by RMAN. (RMAN > switch database to copy ;))

    5 Catalog backup items that you copied in step 2.

    6. recover the standby database using 'noredo' option.

    7. finally start the MRP. This should solve your problem.

    The reason I say this works is because here, you restore the controlfile to primary first, which will not have details 21, datafile, and then you are recovering. So it must succeed.

    In the previous method, you tried to first collect all the day before, and then restore the controlfile. While remedial classes, always watch seeks datafile 21 as he controlfile is not yet updated.

    HTH

    -Jonathan Rolland

  • Difference between ADVM Volume and filesystem ACFS ASM disk group

    Q1. What is the difference between an ASM disk group and a Volume of ADVM?

    In my opinion, an ASM disk group is actually a logical volume to the database (including the FRA files) files.

    11 GR 2 appears to have introduced the notions of volumes ADVM and filesystems ACFS.

    11 GR 2 ASM disk group can contain:

    • ASM disks
    • Volumes ADVM
    • Filesystems ACFS

    Q2. ADVM volumes appear to be dynamic volumes.

    However is it therefore not effectively overlaying a logical volume (the volume ADVM) under ASM disk group (conceptually a logical volume as well)?

    Even worse, if you left the ASM disk group redundancy in hardware RAID / SAN level (as recommended Oracle), you actually have 3 layers of logical disk? (ASM on top of ADVM on top of RAID/SAN)?

    Q3. If it is 2 layers of logical disk (i.e. on top of ADVM ASM), what makes this better than 2 layers using a 3rd party volume manager (for example the DSO at the top of the 3rd party LVM) - something Oracle encourages against?

    Q4. ACFS file systems, seem to be file systems clustered for not including ORACLE_HOMEs database files, application exe etc (but NOT GRID_HOME, OS root, OCR or voting records)

    Can you create / modify filesystems ACFS using ASM.

    The diagram of topology of oracle for ASM in ASM 11 GR 2 administration guide, says ACF in ASM. I'm not sure about that if ACFS belongs to ASM or ASM is located at the top of the ACF?

    Q5. Connected to the 4th quarter. There seems to be a number of different ways, ACFS file systems can be created? Which of this is the valid methods?

    • Thanks to ASM?
    • through native OS file system creation?
    • through OEM?
    • through acfsutil?

    my head explodes

    Any help and clarification appreciated

    Jim


    Q1 - volume ADVM is a type of special file created at the DG of the DSO.  Once created, it creates a block device on the BONE itself which can be used as any other block device.  http://docs.Oracle.com/CD/E16655_01/server.121/e17612/asmfilesystem.htm#OSTMG30000

    Q2 - the asm disk group is a group of disks, not really a logical volume.  It combines the attributes of both when it is used for purposes of database as the database and some other applications know how to talk about Protocol 'ASM '.  However, you won't find all the versatile applications that can do.  In addition, some clients prefer to deal directly with files and devices of volume systems which ADVM is forced to make.  In your thinking, you have 3 layers of logical disk, but each of them provides features and different attributes.  This is not a bad thing, though, as each has a slightly different purpose - os file system\device, specific database and storage-centric.

    Q3 - ADVM is specifically developed to extend the features of the DSO for use by General applications of BONE.  It includes the performance of database features and is tuned to work well in this situation.  Because it is developed in-house, it benefits from the design of ASM model.  In addition, rather than having to communicate with several vendors for support, your support is limited to calling Oracle, a single window.

    Q4 - you can create and modify filesystems ACFS by using command line tools and the ASMCA.  Creation and modification of logical volumes coming through SQL (ASM), asmcmd and ASMCA.  EM can also be used for the two elements.  ACFS is located at the top of the ADVM, which is a file in an ASM disk group.  ACFS is aware of the characteristics of the ASM\ADVM volumes and tunes it's IO make best use of these features.

    Q5 - several ways:

    1) connect to ASM with SQL, use 'alter diskgroup add volume' as Mihael points out.  This creates an ADVM volume.  Then, put in shape volume using the "mkfs" (* nix) or acfsformat (windows).

    (2) use ASMCA - a GUI to create volume and a file system.  Probably the easiest if your head is explosion.

    (3) use "asmcmd" to create a volume and 'mkfs' to put in shape file ACFS system.

    Here is information on the ASMCA, with examples:

    http://docs.Oracle.com/CD/E16655_01/server.121/e17612/asmca_acfs.htm#OSTMG94348

    Information about the command line tools, with examples:

    Basic steps to manage systems Oracle ACFS

  • Reinstallation of Oracle 11 g 2 RAC grid problem - ASM disk group

    People,

    Hello.

    I want to install Oracle 11 g RAC 2 with 2 Virtual Machines (rac1 and rac2 which BONES are Oracle Linux 5.6) in VMPlayer.

    I was installing Infrastructure of grid using runInstaller in the first rac1 VM from step 1 to step 9/10.

    On 9/10 in the wizard step, by chance, I touch the mouse, and the wizard disappeared.

    The grid in the 2 VMs installation directory is the same: / u01

    I have to make sure that everything is correct, delete the directory/U01 to 2 virtual machines and install again the grid in rac1.

    I realized that this is not the right way to remove/U01. The right way is to follow the tutorial
    http://docs.Oracle.com/CD/E11882_01/install.112/e22489/rem_orcl.htm#CBHEFHAC

    But I have deleted/U01 and must correct one by one. I reinstall the grid and get the error message in step 5 of 9 as follows:

    [INS - 30516] Please specify unique disk groups.
    [INS-3050] ASM disk group empty.
    Cause - the installer has detected the name of Group of disk already exists on the system.
    Action - specify the different disk group.

    In the wizard, the old disk group name is 'DATA' and his candidate records (5 ASMDISKs) are gone. I try to use another name "DATA2", but no ASMDISKs are "candidate records. For "All discs", it is impossible to select all ASMDISKs.

    I want to use the same disk group ASM 'DATA' and do not want to create a new disk group.

    My question is:

    How to make previous ASM disks and his group of 'DATA' therefore "Candidate records" who can use again?


    Thank you.

    Hello
    If you use oracleasm, then rebuild again asm disks.

    oracleasm deletedisk

    http://sabdarsyed.blogspot.com/2007/07/installing-configuring-Oracle-ASM-on.HTML should help. (use only delete and create orders without having to reinstall again)

  • Restore the data file

    Hello

    Initial situation and config:

    Server: Win2k3 Sp1 32 bit
    Database: 10.2.0.4 Standard noarchivelog mode
    RMAN catalog on different server.
    Cold backup


    Therefore, I was invited to do a restore from a backup of database. What he needs, it's to restore the controlfile, spfile and a data from a backup file complete performed via RMAN. He does NOT INTEND to use them, they just want to see their restored from the backup.

    Restore the spfile and the controlfile is not a problem, and I was able to restore them to a Test directory. But since I can't restore datafile 1 to 'C:\dest', I googled how to make these.

    I came up with these, which I think who should restore a data file to a different location, but I don't know if it's okay. And since I started on the database server, I prefer to ask first.

    The value of newname to 'C:\datafiles\datafile1.dbf' to 'C:\Test\datafile1.dbf ';
    restore the data file 'C:\Test\datafile1.dbf '.

    Would this work? It must be run with the open database altering State and work and will not somehow it. If not, can someone help me here? The only thing needed, he did restore a data file just to get...

    Thanks for the tips!

    Add this

    RMAN > run {}
    value of newname for datafile 'C:\datafiles\datafile1.dbf' to 'C:\Test\datafile1.dbf ';
    restore the data file ' C:\Test\datafile1.dbf';l
    switch datafile;
    }

    It will update the control file with the new location of this data file

  • Retrieve a data file from a backup on another server

    Hi all

    I usually take backup hot data files to a different like that server because I don't have enough space in the same server. I have

    SQL > alter tablespace XXXX begin backup;
    SCP/bu1/oradaTA/XXXXX/XXXXX host [email protected]: / db1dw/oradata/backup/dec2010/XXXX
    alter tablespace end OPS backup;

    If I want to recover the datafile can I normally do the drop offline from the data file and copy the backup data file that is located in differnet thorugh scp server and check the online data file? and the database is in archivelog mode, but I dislike abt log files. I just need to recover the data file as the last backup.
    or do we have to use all the controls recover datafile? If need to use everything recover datafile command go where it will recover the data file?

    I have not any backup or restore script, I just manually PCs from data files.

    Help please, thanks in advance...

    It is a ' user backups managed by "in the terminology of the Oracle.
    The database does not care how you copy (backup or restore) the data file from a backup location. So, you can use scp to copy the backup to the backup file.
    HOWEVER , you can recover only a datafile to the single point of the backup. Given that the rest of the database (i.e. all the other data files) have advanced further, you must RETRIEVE the DATA file and apply all ArchiveLogs since this backup of data file point to the current point (i.e. recovery would be until it again online that would apply automatically).
    Therefore, if you have had the "transactions" (e.g. deletions) against this tablespace, they will be replayed.

    Hemant K Collette

  • Getting file names of different groups in a data portal

    Hello

    I find it difficult to recover the file names of different groups in the data portal. For example, say that I loaded two different files of the same .tdms ext data portal that automatically assigns as two distinct groups. My goal is to get two groups using VBS in diadem 11.1 the name of the file.

    Can someone help me in this regard.

    Kind regards

    X. Ignatius

    Thank you Andreas.

    I have a plugin that loads multiple files of lvm with their name sourcefile. Earlier it would be like Labview, Labview data1, data2 Labview data... When multiple files are loaded. Now, with this plugin attached in the startup script, all files are loaded with their original file names.

    Attached plugins, set the LVM Custom load event. Vbs in the script, another starter accessory is the title of the main script function.

    Kind regards

    X. Ignatius

  • ASM > move the files of data within a disk group.

    Hello

    Is it possible to rename a directory within ASM?

    How to rename the directory DATA1/PROD/DATA files to DATA DATA1/DEV/files?

    In addition, how to rename the data files to point to DATA1/DEV/DATA files instead of DATA DATA1/PROD/files?

    Published by: CipherDBA on March 31, 2011 12:32

    Hello

    Unfortunately we are unable to do this. It's a shame.

    ASM disk groups contain a structure of hierarchical directory generated by the ASM files storage system. Created system directories (those that contain names generated by the system) cannot be renamed.

    ASMCMD> ls -lt
    Type  Redund  Striped  Time             Sys  Name
                                            Y    ORCL/
    

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e16102/asmfiles.htm#CIHGHHCC

    See the note below... Maybe this can help you.

    * How Rename/move a data file in the same [564993.1 ID] ASM diskgroup *.
    Applies to:
    Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.6

    or

    You can use the DUPLICATE (RMAN) to clone the database on the same diskgroup with an another DB_UNIQUE_NAME/DB_NAME.
    Be very careful when you perform this step if the new setting of database is not configured correctly you can alter the production of your database.
    It's a very dangerous duplicate database on the same DISKGROUP.

    Kind regards
    Levi Pereira
    http://levipereira.WordPress.com

    Published by: Levi Pereira on March 31, 2011 17:04

  • Restore rman 10g with different data file name.

    Hi all.

    I am successful restoration sauvegardΘ (Veritas Netbackup) one 10.2.0.5 database.

    The original database was a 2 node Rac 10.2.0.5 on asm without OMF.

    I'm trying to restore on another host with the same version 10.2.0.5 and even platform (Sparc Solaris), but single instance database.

    RMAN complete successfully, the restore, but the names of the data files are different from what is written in the controlfiles so

    the database can go up but not open.

    It is not only a question of path, the look of database for a file of data like this:

    System.261.622119076 (the right way of the asm source environment)

    but instead, rman restore this data as a file

    o1_mf_system_2ixfh90q_.dbf

    This seems a name OMF.

    I don't understand the reason.


    Can I use the command set newname for each data file?


    Thanks in advance.




    I restored the database successfully.

    In init.ora I don't use the setting as a CONVERT.

    I don't know why but I had to restore archived log first. something like

    DESTINATION ARCHIVELOG TO GAME ' / u01/app/oracle/oradata/PDM/arch;

    RESTORE ARCHIVELOG ALL;

    then:

    RMAN > RUN

    {

    SBT ALLOCATE CHANNEL t1 TYPE of AIRCRAFT;

    Restore controlfile;

    }

    After this:

    editing of database startup

    and I extracted the list of data files:

    + DATA /...

    + FLASH...

    then

    change the editing of the database;

    RUN {}

    SBT ALLOCATE CHANNEL t1 TYPE of AIRCRAFT;

    SBT ALLOCATE CHANNEL t2 TYPE of AIRCRAFT;

    SBT ALLOCATE CHANNEL t3 TYPE of AIRCRAFT;

    SBT ALLOCATE CHANNEL t4 TYPE of AIRCRAFT;

    the value of newname for datafile 1 to ' / u01/app/oracle/oradata/PDM/system.261.622119067';

    St newname for datafile 2 to ' / u01/app/oracle/oradata/PDM/undotbs1.262.783621567';

    the value of newname for datafile 3 to ' / u01/app/oracle/oradata/PDM/sysaux.263.622119149';

    the value of newname for datafile 4 to ' / u01/app/oracle/oradata/PDM/undotbs2.265.622119189';

    the value of newname for datafile 5 to ' / u01/app/oracle/oradata/PDM/users.266.622119281';

    the value of newname for datafile 6 to ' / u01/app/oracle/oradata/PDM/gcs_data.272.622547291';

    the value of newname for datafile 7 to ' / u01/app/oracle/oradata/PDM/gcs_indx.275.622548237';

    the value of newname for datafile 8 to ' / u01/app/oracle/oradata/PDM/gcs_lob.276.622548403';

    the value of newname for datafile 9 to ' / u01/app/oracle/oradata/PDM/pdm_data.273.622547535';

    the value of newname for datafile 10 to ' / u01/app/oracle/oradata/PDM/pdm_indx.274.622547861';

    the value of newname for datafile 11 to ' / u01/app/oracle/oradata/PDM/tbs_htmldb.277.623757195';

    the value of newname for datafile 12 to ' / u01/app/oracle/oradata/PDM/w3docdb_data.278.623757345';

    the value of newname for datafile 13 to ' / u01/app/oracle/oradata/PDM/w3docdb_index.279.623757371';

    the value of newname for datafile 14 for ' / u01/app/oracle/oradata/PDM/w3docdb_lob.280.623757407';

    the value of newname for datafile 15 to ' / u01/app/oracle/oradata/PDM/aspect_data.295.636897363';

    the value of newname for datafile 16 t to ' / u01/app/oracle/oradata/PDM/pdmct.319.650450905';

    the value of newname for datafile 17 to ' / u01/app/oracle/oradata/PDM/pdmct.320.650451825';

    the value of newname for datafile 18 to ' / u01/app/oracle/oradata/PDM/pdmpm.321.660676573';

    the value of newname for datafile 19 to ' / u01/app/oracle/oradata/PDM/undotbs3.327.783526691';

    the value of newname for datafile 20 to ' / u01/app/oracle/oradata/PDM/pdmed_data.330.787137071';

    the value of newname for datafile 21 to ' / u01/app/oracle/oradata/PDM/pdmed_idx.329.787137111';

    until ' to_date ('2015 - 12 - 02:13:00:00 ',' yyyy-mm - dd:hh24:mi:ss');

    RESTORE THE DATABASE;

    switch datafile;

    recover the database;

    }

    at database startup has tried to recreate the DATA + redolog in and + FLASH as well

    I've deleted all the possible redolog except the redolog that have been verified as CURRENT or ACTIVE

    (I don't understand why in montage mode I have active and current redolog).

    SELECT GROUP #, ARCHIVED, STATUS FROM V$ LOG;

    ALTER database drop logfile group x.

    For the rest of the redolog I used:

    change the database file rename '+ DATA/pdm/onlinelog/group_1.257.622119063' to ' / u01/app/oracle/oradata/PDM/group_1a ";

    change the database file rename '+ FLASH/pdm/onlinelog/group_1.257.622119065' to ' / u01/app/oracle/oradata/PDM/group_1b ";

    change the database file rename '+ DATA/pdm/onlinelog/group_5.259.622119065' to ' / u01/app/oracle/oradata/PDM/group_5a ";

    change the database file rename '+ FLASH/pdm/onlinelog/group_5.259.622119065' to ' / u01/app/oracle/oradata/PDM/group_5b ";

    change the database file rename '+ DATA/pdm/onlinelog/group_7.269.622123949' to ' / u01/app/oracle/oradata/PDM/group_7a ";

    change the database file rename '+ FLASH/pdm/onlinelog/group_7.263.622123951' to ' / u01/app/oracle/oradata/PDM/group_7b ";

    change the database file rename '+ DATA/pdm/onlinelog/group_8.270.622123951' to ' / u01/app/oracle/oradata/PDM/group_8a ";

    change the database file rename '+ FLASH/pdm/onlinelog/group_8.264.622123951' to ' / u01/app/oracle/oradata/PDM/group_8b ";

    alter database disable change tracking block;

    change the database open.

  • Disk groups are not visible cluster. vSAN datastore exists. 2 guests (on 8) cluster do not see the vSAN data store. Their storage is not recognized.

    http://i.imgur.com/pqAXtFl.PNG

    http://i.imgur.com/BnztaDD.PNG

    Do not know how even tear it down and rebuild it if the disk groups are not visible. The discs are in good health on each host storage adapters.

    Currently the latest version of vCenter 5.5. Hosts running 5.5 build 2068190

    Just built. Happy to demolish and rebuild. Just do not know why it is not visible on the two hosts and the disk groups are only recognized 3 guests when more are contributing. Also strange that I can't get the disk groups to fill in vCenter. I tried two different browsers (chrome and IE).

    I have now works.

    All the identical 5.5 relies on ESXi hosts. All hosts are homogeneous CPU/sum of the prospects for disk controller / installed RAM/storage.

    I have work. I had to manually destroy all traces of the vSAN on each single to help host node:

    (1) put the hosts in maintenance mode and remove the cluster. I was unable to disable vSAN in the cluster, I made on each node host (manually via the CLI below) then disconnected web client vCenter and return to finally refresh the ability to disable on the cluster.

    esxcli vsan cluster get - to check the status of each host.

    esxcli vsan cluster drop - the vSAN cluster host.

    storage of vsan esxcli list - view records in the individual host group

    esxcli vsan storage remove-d naa.id_of_magnetic_disks_here - to remove each of the disks in the disk group (you can ignore this using the following command to remove the SSD only falling each disc in this host group).

    esxcli vsan storage remove s naa.id_of_solid_state_disks_here - this is the SSD and all the magnetic disks in a given disk group.

    After that, I was able to manually add hosts to the cluster, leave maintenance mode and configure the disk groups. Aggregated data of the vSAN data store is correct now, and everything is functional.

    Another question for those of you who still read... How to configure such as the VM storage strategy that migrates towards (or inspired) the vSAN data store will immediately resume the default storage policy, I built for VSANs?

    Thanks for anyone who has followed.

  • Impdp to a smaller and differently named data file

    Hi all!

    I exported a scheme of 250 GB with 6 data files. But in this export (expdp), I exported without BLOBs which has greatly reduced the size of expdp passes to 50 GB.

    I want to import this dmp file to another database on a different server with the same name of tablespasce and schema name, but the location and the name of the data files are different.

    Also in this case I will of course use the 6 files no data but only one or two.

    How will be the script impdp structure in this scenario?

    Thank you!

    You can remap a tablespace and schema (that is, remap_tablespace = old: new, remap_schema = old: new) but you do not want to.

    The location of the data files is not of interest for the datapump - only tablespace.

Maybe you are looking for