Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-79-1522925.1
Update Date:2017-11-14
Keywords:

Solution Type  Predictive Self-Healing Sure

Solution  1522925.1 :   Snap Management Utility for the Oracle Database - Information and Troubleshooting  


Related Items
  • Oracle ZFS Storage ZS5-2
  •  
  • Oracle ZFS Storage ZS3-2
  •  
  • Oracle ZFS Storage ZS4-4
  •  
  • Oracle ZFS Storage ZS5-4
  •  
  • Oracle ZFS Storage ZS3-4
  •  
  • Oracle ZFS Storage ZS3-BA
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>ZFS Storage>SN-DK: 7xxx NAS
  •  


This document provides general information and troubleshooting tips for Oracle Snap Management Utility for Oracle Database.

In this Document
Purpose
Scope
Details
 Software Data Directory
 System Requirements
 Support Matrix
 Limitations and Restrictions
 General
 Snap Backup
 Snap Restore
 Snap Clone
 RMAN Clone
 Clone Deprovision
 Troubleshooting
 Expected activities not seen when viewing the activity log
 ORA-27102: out of memory while cloning a database
 ORA-01034: ORACLE not available during snap backup
 Cluster nodes that were down before offline snap backup are up and running afterward
 Auth fail or HTTP 401 when performing a task
 Can not delete a backup
 Can not restore to the specified backup
 Can not clone from snap backup to different host
 Wrong network address is used in the mount entries for the clone database
 SMU failed on the first mount of the clone of an rman backup - permission denied
 Invalid application file layout. Remote share X has already been backed up
 host X login: timeout: socket is not established
 Tasks are not sortable by Task ID using the column sort controls
 Could not find all shares or shares were unavailable due to pool status
 ORA-19809 occurs when creating a snap clone database
 The WS-Management service cannot process the request because the request contained invalid selectors for the resource
 BUI always displays fetching data or displays it frequently
 No way to delete, trim or clear the activity log
 The WS-Management service cannot process the request. The maximum number of concurrent operations for this user has been exceeded. Close existing operations for this user, or raise the quota for this user
 Clone database task hangs when target database host is Linux running UEK kernel and dNFS is enabled in the target Oracle home
 Clone database task hangs during control file creation on Windows database host
 No rows for datafile X in v$datafile_copy system view
 Database already in backup mode
 Can not map disk <hostname | ip address>:<lun guid>
 Does SMU need to communicate with Recovery catalog at main site for deploying Dev. DB with image copy (Clone) at DR site?
 If Source DB is RAC, Target DB should be RAC as well?
 There are multiple OS (Redhat/IA, SPARC/Solaris) at Source side, We should prepare the same platform for Target DBs?
 SMU BUI Unresponsive after Login
 Backup format should be image copy, correct? and need the following files - Data & Control
 SMU Snapshot Deletion BUG 25700694 - SMU is unable to delete snapshot; the snapshot is missing
 Wrong Oracle Home Used After Database Upgrade
References


Applies to:

Oracle ZFS Storage ZS5-4 - Version All Versions and later
Oracle ZFS Storage ZS5-2 - Version All Versions and later
Oracle ZFS Storage ZS3-2 - Version All Versions and later
Oracle ZFS Storage ZS3-4 - Version All Versions and later
Oracle ZFS Storage ZS3-BA - Version All Versions and later
7000 Appliance OS (Fishworks)

Purpose

This document provides general information and troubleshooting tips for Oracle Snap Management Utility for Oracle Database.

 

Scope

This document is intended for database administrators and Oracle support engineers.

 

Details

Oracle Snap Management Utility for Oracle Database is a management tool for administering snapshot-based backups of Oracle databases hosted on Sun ZFS Storage Appliance systems. The tool allows an administrator to backup, restore, recover and clone Oracle databases using ZFS snapshot technology. These type of backups (backups to primary storage) have specific use cases and are not intended to replace the standard backup practices the administrator is using in their database environments. Additionally the tool has the capability of creating database clones from RMAN backups that are stored on the appliance.

The tool consists of a single Java application that is designed to run on a management station as a background process on Unix systems and a Windows Service on Windows systems. Once the tool has started you access the tool using standard desktop clients such as the ssh command, the Windows Remote Shell (winrs.exe) command or a web browser.

During operations the tool will establish secure shell sessions with the database host and storage systems and remotely execute a series of synchronized commands. The user must provide the tool with valid user accounts to use during snapshot operations. Additionally the user specified in these accounts must have the appropriate permissions and privileges to run various commands on the host or storage including creating mountpoints, mounting filesystems, scanning the SCSI bus for new disks, taking a snapshot of a share, rolling back a share to a snapshot, cloning a snapshot and destroying a share. Additionally on host systems the tool will alternate running commands as the user specified in the account (required to be a privileged user who can perform filesystem and SCSI management) and as the Oracle database user.

The tool uses the sqlplus command to control and query the database during operations. It uses OS authentication when connecting to the database (as the Oracle user). Depending on the operation being perform the tool may shutdown and restart the database.

Software Data Directory

The software data directory is located in the following locations depending on the host operating system:

  • Linux – /var/opt/oracle/smu
  • Solaris – /var/opt/ORCLsmu
  • Windows – C:\ProgramData\Oracle\Oracle Snap Management Utility

The program data directory is not removed when the software is uninstalled. The software data directory can be removed by the user after they have uninstalled the software and they no longer need the data.

Backing up the software data directory

The data directory can be backed up by first shutting down the software and then copying the directory and its contents.

Restoring the software data directory

The data directory can be restored by first shutting down the software and the restoring the data directory from a backup or other copy.

System Requirements

The software has the following system requirements.

Management Host

  • Linux, Solaris or Windows operating systems
  • Java 6 or later
    • Java 6 JRE bundled with Linux and Windows packages
  • 1 GB RAM minimum, 2 GB RAM recommended
  • 200 MB free disk space

Database Host

  • Oracle Linux 6 and 7
  • Solaris 10 (Update 11 and later) and 11
  • Windows 2008 R2 and 2012 R2
    • ASM database hosts must be logged into the appropriate iSCSI target groups on the Oracle ZFS Storage Appliance before attempting cloning operations
    • The software does not perform any SAN configuration. Cloned LUNs are placed into the same initiator and target groups as the origin LUNs.
    • The software can only add and remove disks in target groups that are already logged into by the database host/node.
    • Only raw disks are supported. Virtual or pseudo disks that allow advanced I/O are not supported.

Storage Appliance

  • Single or clustered
  • AK firmware 2013.1.4 or later
  • NFS filesystem or iSCSI LUN shares only
  • Management network interfaces must not be locked to a cluster head. The software expects the head specified in the storage account can access the storage pools and shares.

Oracle Database

  • 11g and 12c versions
    • Recommend 11.2.0.3.0 and 12.1.0.2.0 releases
  • Enterprise Edition only
  • Single instance, RAC One Node and Real Application Cluster (RAC) cluster options
  • Filesystem or ASM storage types
  • Kernel NFS or Direct NFS (dNFS) for filesystem storage types
    • CIFS is not supported
    • The dNFS oranfstab file is only used on Windows hosts in this release. Linux and Solaris hosts use the system mount table.
      • This release only supports adding single network paths to the filesystem shares in the oranfstab file.
  • External redundancy diskgroups for ASM storage types
    • Diskgroup members must be physical or raw disks. Virtual Pseudo disks which are used with advanced I/O such as ASMlib, MPIO, logical volume groups, device-mapper, etc. are not supported
  • Each database must use its own separate set of shares
  • Database shares must reside within a single storage head
    • Database files can span shares, projects and pools but not storage heads
  • ASM cloning requires Oracle Database 11.2.0.2.0 or later
    • Software uses the renamedg command which has bug prior to 11.2.0.2.0 which prevents its use when renaming a diskgroup with more than one member
    • Bug 9316059 - CAN'T RENAME DISK GROUP ON 11GR2
  • Each database must have certain file layouts that depend on the type of snap backups that will be taken
    • The data files, control files, online redo logs and archived log files must reside on the storage appliance
    • Databases which will be backed up offline can have files span shares and pools within the same storage head
    • Databases which will be backed up online must have their datafiles and archived log files in separate shares. This is in order to support the online backup sequence. Other database files can span shares and pools within the same storage head
  • Only one instance of the software should be used to administer a database. Each software instance stores information about the backups that it creates. This information is not available to other software instances

Support Matrix

Release
Support Matrix

(version 1.3.x)
Oracle 11g
SI
NFS
Oracle 11g
SI
iSCSI ASM
Oracle 11g
RAC
NFS
Oracle 11g
RAC
iSCSI ASM
Oracle 12c
SI
NFS
Oracle 12c
SI
iSCSI ASM
Oracle 12c
RAC
NFS
Oracle 12c
RAC
iSCSI ASM
Oracle Solaris 10 (Update 11 & later) Supported Supported(1) Supported Supported(1) Supported
Supported(1)
Supported Supported(1)
Oracle Solaris 11
Supported
Supported(1) Supported Supported(1) Supported
Supported Supported Supported
Oracle Linux 6
Supported Supported(1,2) Supported Supported(1,2) Supported Supported(1,2)
Supported Supported(1,2)
Oracle Linux 7 Supported Supported(1,2)
Supported
Supported(1,2) Supported Supported(1,2) Supported Supported(1,2)
Windows 2008 R2 Supported(3) Supported(1)
Not Supported Not Supported Supported(3) Supported(1) Not Supported Not Supported
Windows 2012 R2 Supported(3) Supported(1) Not Supported Not Supported Supported(3) Supported(1) Not Supported Not Supported
Oracle Database Appliance
(Using ZFS-SA to host external DB)
Supported Supported(1) Supported Supported(1) Supported Supported(1) Supported Supported(1)
SPARC Super Cluster
(Using ZFS-SA to host external DB)
Supported Supported(1) Supported Supported(1) Supported Supported(1) Supported Supported(1)

Exadata Database Machine
(Using ZFS-SA to host external DB)

Supported Supported(1) Supported Supported(1) Supported Supported(1) Supported Supported(1)

Exadata Database Machine

(Using ZFS-BA for backup)

Supported N/A Supported N/A Supported N/A Supported N/A

 

  • Supported(1) - Raw, entire disk with external redundancy ASM disk groups.
  • Supported(2) - udev managed
  • Supported(3) - dNFS only

 

Network (TCP) Port Usage

Incoming TCP ports:

  • 8001 - Windows Remote Shell Server
  • 8002 - SSH2 Server
  • 8443 - Web (HTTPS) Server

The incoming ports are configurable by modifying the file /opt/oracle/smu/etc/smu.conf.

Outgoing TCP ports:

  • 22 - SSH2 Client
  • 5986 - Windows Remote Shell Client using SSL

The outgoing ports are configurable by overriding the default port property of the account you create for the resource.

This information is also described in the User Guide (http://docs.oracle.com/cd/E39520_01/pdf/E39313.pdf) in Table 3 on page 11 and in Table 9 on page 54.

 

Limitations and Restrictions

The software has the following limitations and restrictions.

General

  • If a cluster takeover or failback occurs while a software task is running that task will fail. The software only establishes a session with the storage appliance once at the beginning of the task. It is not capable of re-establishing a session with the storage appliance in the middle of the task.
  • When creating a database clone that uses filesystem storage type, the software will mount each clone share using a simple algorithm to determine which network data path to use
    • First it will look for a data path address that is on the same subnet as the database host
    • If no network addresses are found it will look for a data path address that is reachable
    • The software will preference interfaces that are not marked as administrative
  • With databases that use ASM storage types this release only supports the use of raw iSCSI disks within a diskgroup. On some operating systems, raw disk device names can change when the host is restarted. The user should be aware of this and plan accordingly.

Snap Backup

  • For filesystem storage type databases both offline and online backups are supported
  • For ASM storage type databases only offline backups are supported
    • Online backups are planned
  • For offline and online backups the database files may span shares and pools within the same storage head
  • For online backups the database data files and archived log files must be in separate shares to support the snapshot sequence
  • When creating an offline backup of a clustered database, any database nodes that have been stopped but not disabled will be restarted at the end of the backup task when the software restarts the database

Snap Restore

  • Can only restore to a snap backup if newer snap backups have not been cloned
    • This is due to the nature of ZFS rollback where newer snapshots are destroyed
  • Restore from offline backup restores the database by simply restarting the database after the database shares are rolled back
  • Restore from online backup restores the database by performing incomplete recovery using a backup controlfile
  • When restoring an ASM database on Windows hosts that are using LUNs from a 7320C or 7420C appliance it is possible that the ASM runtime will fail to see the database LUNs after they are rolled back even though they have been dismounted before the rollback operation was performed. The operating system and database utilities are able to see the rolled back LUNs but the ASM runtime does not. ASM tech support is looking into the issue.

Snap Recover

  • The software will select the "nearest" backup before the recovery point and then apply the available archived logs to roll the database forward. Any logs required to roll the database forward must be present in the archive log destination.
  • The software does not restore those files during a recovery operation.
  • A recovery option is the same as a restore operation except only the data file shares are rolled back. The archiving shares are left as is.

Snap Clone

  • Clones are exact copies and use the same initialization parameters as the origin database.
    • Some clone parameters are unique to the clone such as ‘db_name’ and ‘control_files’
  • Clone filesystem shares are placed in the same project as the origin database shares
  • Clone LUNs are placed in the same initiator and target groups as the origin database shares
  • The clone Oracle user must have the same uid/gid as the origin Oracle user
    • No changes are made to clone file ownership or filemodes
  • Enterprise Manager, listeners or tnsnames will not be configured during the cloning operation
  • Clone databases will use the same memory model and size as the origin database
  • When cloning a filesystem storage type database to an Oracle home that has Direct NFS (dNFS) configured, the software will not create or modify the oranfstab file if the target database host is running the Linux or Solaris operating system. The software will only update the system mount table with entries for the clone shares. On Windows database hosts the software will create or modify the oranfstab file but will only specify a single network path for the clone database shares
  • If Direct NFS is desired for the clone database it must be configured in the target Oracle home before the clone operation is performed. See Doc ID 762374.1 for more information on how to enable dNFS in an Oracle home.
  • When cloning to another host, that host must be the same kernel architecture / endian format as the original or source host. Additionally, that host must have the same database software version and release as the original or source host. The Oracle user must have the same uid and gid as the Oracle user on the original or source host.
  • When cloning an ASM database on Linux hosts the Linux host must have the sg3_utils package installed. The software uses the scsi-rescan command from this package to add and remove clone disks.

RMAN Clone

  • Only filesystem storage type backups are supported
    • Backups to ASM diskgroups are not supported
  • Backups must be inconsistent / online / hot backup type
    • Software designed to perform incomplete recovery during the cloning process
  • Backup must be in image copy format
  • Backup files must use the RMAN %U format spec
  • Backup set must only contain one controlfile, one or more datafiles and one or more archived logs
  • Clone shares are placed in the same project as the backup shares
  • The backed up controlfile must be created after the last backed up datafile
  • Clone target database host must use the same Oracle database software as the origin database that was backed up; no upgrades are performed during the cloning process
  • Clone target database host Oracle user must have the same uid and gid as the source database host Oracle user
  • Enterprise Manager, listeners or tnsnames are not configured during the clone process
  • The Oracle Home of the clone database must be specified when initiating the cloning task
  • The software must be able to mount the backed up controlfile in order to obtain information about the backup such as calculating the maximum SCN to recover the clone to and to size the Flash Recovery Area (FRA) for the clone
    • This means that a database with the same name as the original database must not exist on the target database host
  • Clone database will use the ASMM memory model and 2GB SGA size
  • Clone database compatibility parameter set to version of Oracle software installed on the target database host
  • Backup controlfile must contain a valid row for each datafile in the backup in its v$datafile_copy system view

Sample RMAN export runblock:

configure controlfile autobackup on;
run {
        set nocfau; # back up the control file explicitly
        allocate channel ch1 device type disk format '/backup/smu/%U';
        allocate channel ch2 device type disk format '/backup/smu/%U';
        allocate channel ch3 device type disk format '/backup/smu/%U';
        allocate channel ch4 device type disk format '/backup/smu/%U';
        backup as copy database plus archivelog;
        backup as copy current controlfile;
}

Clone Deprovision

  • Database must be in mounted state so that the software can obtain information about the database

 

Troubleshooting

This section provides troubleshooting tips for the tool.

Expected activities not seen when viewing the activity log

Activities can be filtered. If you do not see the expected rows in the activity table check to see if any filter criteria is specified. Change or reset the criteria to view the activity logs you are interested in.

ORA-27102: out of memory while cloning a database

If you receive ORA-27102 when cloning a snap backup or RMAN backup this indicates that there is not enough shared memory available for the database clone. You can either add more shared memory or delete other databases that are running on the host or cluster. Alternatively you can consider cloning the database to another host or cluster that has available space.

ORA-01034: ORACLE not available during snap backup

Before creating a snap backup of the database the tool must be able to connect to and query the database for vital information including the list of files the database is using. This error indicates that the database instance that the tool tried to connect is shutdown and not running. You must restart the database instance that so that the tool can operate correctly. If this is a RAC database you can also modify the host account you for the database to use one of the other cluster nodes that is up.

Cluster nodes that were down before offline snap backup are up and running afterward

SMU uses the srvctl stop and srvctl start commands to shutdown the database temporarily when performing an offline backup of the database. For a cluster database, if some nodes were down before the backup they will be brought up after the backup. If you want a particular cluster node to remain down after the backup you must use the srvctl disable command to disable the node so that the srvctl start command will not restart the node.

Auth fail or HTTP 401 when performing a task

When executing a task the tool will login to one or more host and storage systems. If the user and/or password for the account is incorrect then the task will fail with either “Auth fail” if the account is for a Linux, Solaris or storage appliance system or an HTTP 401 error is the account is for a Windows system. You can test account settings prior to executing tasks to help ensure that the account settings are correct. Use the “accounts test” command from the CLI or click the test button in the column of the account you want to check the settings of.

Can not delete a backup

You can only delete a backup if it does not have any dependent clones. When perform a delete task the tool will check the backup to see if any clones were made from it and the clones are still active. If there are then the tool will fail the task and not let the backup be deleted.

Can not restore to the specified backup

You can only restore a database to the specified backup if there are no database clones made from any newer backups of the database. The reason for this is because backups are based on ZFS snapshots. When you rollback a ZFS snapshot any newer snapshots are automatically destroyed.

Can not clone from snap backup to different host

  • In order to create a database clone from a snap backup on another host the target host must meet certain requirements:
  • The Oracle user must have the same uid/gid as the source database host. The reason is when you clone a snapshot you get a new share with the same files and ownership as the original share.
  • If the Oracle home is different on the target host then you must specify the Oracle home as a clone option. By default the tool will use the same Oracle home setting as the source database.
  • The Oracle software must be the same version as on the source database host. The tool does not perform downgrades or upgrades during the clone operation.

Wrong network address is used in the mount entries for the clone database

This version of the product uses a simple algorithm to chose the network path to the clone shares.

  1. Use the first non-administrative network address that is on the same subnet as the host
  2. Use the first reachable non-administrative network address
  3. Use the first network address (data or management path) that is one the same subnet as the host
  4. Use the first reachable network address (data or management path)

If the network address chosen for the clone shares is not suitable or desired the user peform the following steps:

For Linux and Solaris database hosts

  1. Shutdown the clone database
  2. Unmount the database shares
  3. Modify the mount entries in the filesystem table and specify the desired network address for each database share
  4. Mount the database shares
  5. Startup the database

For Windows database hosts

  1. Shutdown the clone database
  2. Modify the oranfstab and specify the desired network address for each database share
  3. Startup the database

SMU failed on the first mount of the clone of an rman backup - permission denied

    FFAS: Error creating clone using Oracle Snap Management Utility
    Mount failed, reason given by server: Permission denied
The customer had enabled root exceptions for the host using an invalid CIDR.  The customer reported that fixing the CIDR enabled mount to succeed.  The invalid exception was  root=@192.168.10.100/20..

Invalid application file layout. Remote share X has already been backed up

This error indicates that the database file layout does not allow the taking of an online backup of the database. In order to take an online backup of the database the datafiles and archived logs must reside in separate shares. During an online backup snapshots of the datafile shares are taken first while the database is in backup mode. Next, the current redo logs are archived. And then snapshots of the archived log shares are taken. If, during the backup sequence, the tool detects that shares have already had snapshots taken of them it will fail the online backup task and display this error.

host X login: timeout: socket is not established

This error indicates that the software could not connect to the database host (Linux or Solaris) or storage appliance. This error occurs when the database host or storage appliance are not reachable or do not respond to the connection request within a timeout period. Verify that the database host or storage appliance are up and reachable over the network and try the operation again.

Tasks are not sortable by Task ID using the column sort controls

The software UI was developed using the Oracle Advanced Development Framework (ADF) toolkit. The first column in ADF tables is not sortable by design. In this case the first column in the Tasks table is the Task ID. Rows can be sorted by the first column using the Advanced Sorting menu which can be accessed by clicking View → Sort → Advanced from the Tasks table menu.

Could not find all shares or shares were unavailable due to pool status

This error message can occur during a task when the software searches for the shares to operate on. One of the main features the software provides is the ability to map shares from their external attributes (mountpoint or lunguide) to their internal appliance identifier (pool/collection/project/share). This error message indicates that the shares the software was looking for either do no exist on the appliance or are not available because the storage pool they are in is in a state other than online or degraded. You can encounter this error if you specify the wrong storage account with a database account. In particular this error will occur when using ASM databases and the wrong storage account is specified for the database. The software is not able to determine which external storage system an iSCSI LUN is using and so will only search the storage that was linked to by the database account.

ORA-19809 occurs when creating a snap clone database

This error message indicates that the size specified for the flash recovery area (FRA) is too small to support the clone database. The software sets the size of the FRA for the clone database based on the db_recovery_file_dest_size initialization parameter of the database that was backed up. Since a snap clone is an identical copy of the origin database including the size of each redo log, the size parameter should be adequate for the clone database. It is possible that the FRA size might be too small. To address this issue you need to create the clone database from a backup of the origin database that has a suitable FRA size.

The WS-Management service cannot process the request because the request contained invalid selectors for the resource

This error occurs with Windows hosts when the shell session that the software has established has been idle too long. The software uses Windows Remote Shell to connect to the host and establish a session. Windows Remote Shell will automatically log the session out if the idle timeout period expires. The software alternates issuing commands to the host and storage. It is possible for the host session to be idle while the software sends commands to the storage.

To resolve this issue increase the WinRS idle timeout period to a bigger value (the software requires the timeout period to be 2 hours or more).

C:\>winrm set winrm/config/winrs @{IdleTimeout=”7200000”}

BUI always displays fetching data or displays it frequently

The BUI is designed to refresh itself regularly so that it can display the current status of tasks and other items in the various UI panes. It is possible that the amount of data to display can grow over time. Completed tasks are retained until removed or deleted by the user. It is possible to accumulate a large number of tasks that prevent the BUI from refreshing its display properly. To address this issue you can either delete completed tasks that are no longer needed or disable the UI refresh by modifying the global refresh settings.

No way to delete, trim or clear the activity log

The activity log is a record of all actions perform by the software users. As such it is meant to maintain an audit trail so there is no user supported way to remove entries from the log. The software BUI will only display the 1000 most recent activity log records. If you need to view more entries use the software CLI. It will display all records in the log.

The WS-Management service cannot process the request. The maximum number of concurrent operations for this user has been exceeded. Close existing operations for this user, or raise the quota for this user

This error indicates that WinRM setting MaxConcurrentOperationsPerUser is set too low. The software recommended value for this setting is 1500. The software executes many SQL Plus, RMAN and system commands on the host while performing operations, greater than the number of commands allowed by default.

To modify this setting run the following command

C:\>winrm set winrm/config/service @{MaxConcurrentOperationsPerUser=”1500”}

Clone database task hangs when target database host is Linux running UEK kernel and dNFS is enabled in the target Oracle home

This error occurs when the UEK kernel 2.6.32-300.11.1.el5uek is running on the database host. More information on this issue is available in Doc ID 1460787.1. To resolve you must upgrade your kernel to or disable dNFS. The software does not support the use of an oranfstab file in this release.

Clone database task hangs during control file creation on Windows database host

This error occurs because the WinRM setting MaxTimeoutms is set too low. Some of the commands the software runs can take a while to complete. The software requires that this parameter be set to a value high enough to allow these long running commands to complete. This error can also be verified by examining the software log for an exception like the following Exception in thread "Thread-416" javax.xml.ws.soap.SOAPFaultException: The WS-Management service cannot complete the operation within the time specified in OperationTimeout.

To address the issue modify the setting of the MaxTimeoutms setting and run the clone task again.

C:\>winrm set winrm/config @{MaxTimeoutms=”72000000”}

No rows for datafile X in v$datafile_copy system view

This error occurs during an RMAN clone operation when the software can not find a row for one of the backed up data files in the backed up control file v$datafile_copy system view. This indicates that the data file is not a part of the backup set or the control file was backed up before the data file was backed up. The software requires that each data file in the backup has a row in this system view so that it can calculate the maximum SCN (system change number) to recover the database to. To resolve this issue you must create a valid backup that contains the data files, archived logs and control file.

Database already in backup mode

This error indicates that a database that the software attempted to back up was already in backup mode. This can indicate that another process or program is backing up the database. The software will not backup a database that is already in backup mode. If the database is not being backed up by other utilities then the database must be taken out of backup mode manually before the software can successfully backup the database.

Can not map disk <hostname | ip address>:<lun guid>

This error indicates that software could not find the clone disk on the database host or node. When cloning an ASM database the software clones the appropriate snapshot on the appliace to create new LUNs. The software then uses operating system specific commands to discover the clone LUNs from the database host or node. If the clone LUNs can not be discovered then the software will report this error. The usual cause for this error is that the appropriate iSCSI targets have not been logged into on the database host or node. The software performs no SAN configuration and requires that all iSCSI targets be logged into before any ASM database clone operations are performed.

Does SMU need to communicate with Recovery catalog at main site for deploying Dev. DB with image copy (Clone) at DR site?

SMU does not use currently use the RMAN catalog. SMU requires that the backup shares contain a single full image copy backup. SMU will scan the backup shares and identify the control files, data files and archive logs in the backup shares. It will then snap and clone the backup shares and mount the clone shares on the target database host and proceed to configure and start a clone database that uses the files as is.

If Source DB is RAC, Target DB should be RAC as well?

No. SMU can detect if the backup is of a single instance or RAC database and will perform the appropriate processing on the clone based on whether it is targeted for a single instance or RAC environment. In other words you can create single instance or RAC clones no matter if the source is single instance or RAC.

There are multiple OS (Redhat/IA, SPARC/Solaris) at Source side, We should prepare the same platform for Target DBs?

  • In general we would recommend having the same platform. However, SMU has the ability to migrate a clone database from one operating system to another as long as they are the same Endian architecture. This means if the source database is Linux/IA you can create a clone on Solaris/IA host. You can not clone from little endian to big endian. This means if your production environment is using SPARC/Solaris you can only create clones on a SPARC/Solaris host.

SMU BUI Unresponsive after Login

  • See Doc ID 2086075.1 - Snap Management Utility (SMU) for Oracle Database - BUI Unresponsive after Login

Backup format should be image copy, correct? and need the following files - Data & Control

Yes, the backup must be in image copy format. (See "RMAN Clone" section above. Backup files must use the RMAN %U format specification and must contain only one control file, one or more data files and one or more archived logs)

SMU Snapshot Deletion BUG 25700694 - SMU is unable to delete snapshot; the snapshot is missing

SMU is unable to delete snapshot as the snapshot is missing.

Workaround from the bug:

The customer reports the following workaround for their issue.
---
"I verified the ZFSSA snapshot list and the snapshot known by SMU was no
longer there. And there was another (older) snapshot on the ZFSSA that was
no longer known by SMU.

So, I just renamed the snapshot on the ZFSSA to the name known by SMU and
dropped the snapshot from within SMU. This time, the delete succeeded.

So, in case of a mismatch a snapshot with the same name needs to be created
on the ZFSSA in order to allow the SMU to continue."

Wrong Oracle Home Used After Database Upgrade

 See this document for information: Oracle ZFS Storage Appliance: Snap Management Utility (SMU) Uses Wrong Oracle Home After Database Upgrade <Doc ID 2324472.1>

Download Snap Management Utility from 

<Patch 152376-02>: Oracle Snap Management Utility for Oracle Database 1.3.0: S10 patch

References

<BUG:25700694> - SMU IS UNABLE TO DELETE SNAPSHOT; THE SNAPSHOT IS MISSING
<NOTE:1210656.1> - Clone your dNFS Production Database for Testing
<NOTE:1460787.1> - DB Hangs When DNFS is Enabled on UEK kernel
<BUG:9316059> - CAN'T RENAME DISK GROUP ON 11GR2
<NOTE:1452614.1> - How To Setup DNFS (Direct NFS) On Oracle Release 11.2
<BUG:13571798> - DATABASE CANNOT CREATE DIRECTORIES ON DIRECT NFS VOLUME HANDLING INSTRUCTIONS:
<NOTE:762374.1> - Step by Step - Configure Direct NFS Client (DNFS) on Linux (11g)

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback