Mount a database on 2 servers

Hello,
I need to know if the below scenario is applicable.
I installed Oracle Software on 2 servers.
I created an Oracle database on Server A where all the it is data (redo logs, control file, spfile ....) is under /Oracle/oradata.
My question if I created an Oracle service on Server B (with the same name as the db on Server A), then I shutdown the db on Server A, I dismounted /Oracle/oradata from Server A and mounted on Server B.
Can i start the database on Server B? and it will be the same as the db that it was on Server A??
Regards,

Hi,
If it is a tempory solution umonting filesystem and database on node A and mounting filesystem and starting database on Node B, have no problem, since OS version and patch level is the same on both nodes, will work.... all task must be done manually.
If you want a solution to ACTIVE/PASSIVE :
If you have ORACLE SE or EE you can use ORACLE CLUSTERWARE, to make database active/passive... I'm creating a post on my blog explaing how do it. (I have not had time to finish)
Oracle Clusterware can be used to protect any application (restarting or failing over the application in the event of a failure), free of charge, if one or more of the following conditions are met:
<li> The server OS is supported by a valid Oracle Unbreakable Linux support contract.
The product to be protected is either:
<li> Any Oracle product (e.g. Oracle Applications, Siebel, Hyperion, Oracle Database EE, Oracle Database XE)
<li> Any third-party product that directly or indirectly stores data in an Oracle database
<li> At least one of the servers in the cluster is licensed for Oracle Database (SE or EE)
So if you meet one of the above conditions you can use Oracle Clusterware to make your database ACTIVE/PASSIVE
I've built this structure in some customers.
Basically it is very simple.
Install Clusterware
* Use SCAN FEATURE (It's highly recommend, because after database failover it will be transparent to your clients)
* Use ASM and ACFS
You must configure the filesystem of ORACLE_HOME and ORACLE_BASE of Database on ACFS.
Install Oracle Database without RAC Option (i.e single) in one Node. When Installation finish run root.sh in all nodes of cluster with OH of Database mounted (of course).
Create a Database with DBCA in one NODE using ASM filesystem and configure remote listener to SCAN.
You can reconfigure your database using "crsctl" to restart automatically on another nodes when node current is down:
See it:
srvctl config database -d db11g
Database unique name: db11g
Database name: db11g
Oracle home: /u01/app/oracle/product/11.2.0/dbhome_1
Oracle user: oracle
Spfile: +DATA/db11g/spfiledb11g.ora
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: db11g
Database instances: db11g
Disk Groups: DATA,FRA
Mount point paths: /u01/app/oracle/product/11.2.0/dbhome_1
Services:
Type: SINGLE
Database is administrator managed
$ crsctl status resource ora.db11g.db -f
NAME=ora.db11g.db
TYPE=ora.database.type
STATE=OFFLINE
TARGET=OFFLINE
ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r--
ACTION_FAILURE_TEMPLATE=
ACTION_SCRIPT=
ACTIVE_PLACEMENT=1
AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%
AUTO_START=restore
CARDINALITY=1
CARDINALITY_ID=0
CHECK_INTERVAL=1
CHECK_TIMEOUT=30
CLUSTER_DATABASE=false
CREATION_SEED=41
DATABASE_TYPE=SINGLE
DB_UNIQUE_NAME=db11g
DEFAULT_TEMPLATE=PROPERTY(RESOURCE_CLASS=database) PROPERTY(DB_UNIQUE_NAME= CONCAT(PARSE(%NAME%, ., 2), %USR_ORA_DOMAIN%, .)) ELEMENT(INSTANCE_NAME= %GEN_USR_ORA_INST_NAME%) ELEMENT(DATABASE_TYPE= %DATABASE_TYPE%)
DEGREE=1
DESCRIPTION=Oracle Database resource
ENABLED=1
FAILOVER_DELAY=0
FAILURE_INTERVAL=60
FAILURE_THRESHOLD=1
GEN_AUDIT_FILE_DEST=/u01/app/oracle/product/11.2.0/dbhome_1/admin/db11g/adump
GEN_START_OPTIONS=
GEN_START_OPTIONS@SERVERNAME(lnxora01)=open
GEN_START_OPTIONS@SERVERNAME(lnxora02)=open
GEN_USR_ORA_INST_NAME=
GEN_USR_ORA_INST_NAME@SERVERNAME(lnxora01)=db11g
GEN_USR_ORA_INST_NAME@SERVERNAME(lnxora02)=db11g
HOSTING_MEMBERS=
ID=ora.db11g.db
INSTANCE_FAILOVER=1
LOAD=1
LOGGING_LEVEL=1
MANAGEMENT_POLICY=AUTOMATIC
NLS_LANG=
NOT_RESTARTING_TEMPLATE=
OFFLINE_CHECK_INTERVAL=0
ONLINE_RELOCATION_TIMEOUT=0
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
PLACEMENT=restricted
PROFILE_CHANGE_TEMPLATE=
RESTART_ATTEMPTS=2
ROLE=PRIMARY
SCRIPT_TIMEOUT=60
SERVER_POOLS=ora.db11g
SPFILE=+DATA/db11g/spfiledb11g.ora
START_DEPENDENCIES=hard(ora.DATA.dg,ora.FRA.dg,ora.ohome_112.ohome_112.acfs) weak(type:ora.listener.type,uniform:ora.ons) pullup(ora.DATA.dg,ora.FRA.dg)
START_TIMEOUT=600
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=hard(intermediate:ora.asm,shutdown:ora.DATA.dg,shutdown:ora.FRA.dg,shutdown:ora.ohome_112.ohome_112.acfs)
STOP_TIMEOUT=600
TYPE_VERSION=2.2
UPTIME_THRESHOLD=1h
USR_ORA_DB_NAME=db11g
USR_ORA_DOMAIN=
USR_ORA_ENV=
USR_ORA_FLAGS=
USR_ORA_INST_NAME=db11g
USR_ORA_OPEN_MODE=open
USR_ORA_OPI=false
USR_ORA_STOP_MODE=immediate
VERSION=11.2.0.2.0
srvctl status database -d db11g
Instance db11g is running on node lnxora01
srvctl start database -d db11g -n lnxora02
PRCC-1014 : db11g was already running
PRCR-1004 : Resource ora.db11g.db is already running
PRCR-1079 : Failed to start resource ora.db11g.db
CRS-5702: Resource 'ora.db11g.db' is already running on 'lnxora01'Force Shutdown (halt) node lnxora01, database is automatically started on node lnxora02
$ crsctl status res ora.db11g.db -t
NAME           TARGET  STATE        SERVER                   STATE_DETAILS
Cluster Resources
ora.db11g.db
      1        ONLINE  ONLINE       lnxora02                  OpenStarting node lnxora01 database db11g will be on lnxora02, if you want start on node lnxora01 you must manually stop on lnxora02 and start on lnxora01.
Above is only a example, I'm not sure that I will work as you want, so you should perform their own testing and configuration.
This is completely possible. We just need to make sure and certain that it will not cause any problem in databases.
Important: This solution is not approved by Oracle. The risk is at your own.
Also you can create your own scripts to stop, start and relocate your database, it's approved by Oracle.
Making Applications Highly Available Using Oracle Clusterware
http://docs.oracle.com/cd/E11882_01/rac.112/e16794/crschp.htm
The solution certified for active/passive is to use RAC One Node.
Regards,
Levi Pereira
Edited by: Levi Pereira on Feb 9, 2012 3:36 PM
Edited by: Levi Pereira on Feb 9, 2012 3:44 PM

Similar Messages

  • Help please. Cannot mount mailbox database error : hr=0x80004005, ec=-583

    Running Server 2008 R2 fully patched with Exchange 2010 SP1 Rollup Package 6
    When attempting to mount mailbox database, I receive the following error:
    Microsoft Exchange Error
    Failed to mount database 'Mailbox Database 2034345905'.
    Mailbox Database 2034345905
    Failed
    Error:
    Couldn't mount the database that you specified. Specified database: Mailbox Database 2034345905; Error code: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount
    database. (hr=0x80004005, ec=-583)
    . [Database: Mailbox Database 2034345905, Server: WWW.myservername.com].
    An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)
    . [Database: Mailbox Database 2034345905, Server: WWW.myservername.com]
    An Active Manager operation failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)
    . [Server: www.myservername.com]
    MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)
    OK
    Application Log entry shows the following:
    Log Name:      Application
    Source:        MSExchange Management Application
    Date:          11/6/2011 10:41:35 PM
    Event ID:      5000
    Task Category: AdminAuditLog
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      www.myservername.com
    Description:
    Failed to save admin audit log for this cmdlet invocation.
    Organization: 
    Log content:
    Subject: myservername.com/Users/Administrator : Mount-Database
    Body:
    Cmdlet Name: Mount-Database
    Object Modified: Mailbox Database 2034345905
    Parameter: Identity = Mailbox Database 2034345905
    Caller: myservername.com/Users/Administrator
    Succeeded: False
    Error: System.InvalidOperationException: Couldn\'t mount the database that you specified. Specified database: Mailbox Database 2034345905; Error code: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message:
    MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. [Database: Mailbox Database 2034345905, Server: WWW.myservername.com]. ---> Microsoft.Exchange.Cluster.Replay.AmDbActionWrapperException: An Active Manager operation failed.
    Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. ---> Microsoft.Exchange.Data.Storage.AmOperationFailedException: An Active Manager operation failed.
    Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. ---> Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n\r\n  
    at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)\r\n   at Microsoft.Mapi.ExRpcAdmin.MountDatabase(Guid guidStorageGroup, Guid guidMdb, Int32 ulFlags)\r\n  
    at Microsoft.Exchange.Cluster.ActiveManagerServer.AmStoreHelper.Mount(Guid mdbGuid, MountFlags flags)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.<>c__DisplayClassb.<MountDatabaseDirect>b__2()\r\n  
    at Microsoft.Exchange.Cluster.Replay.FailoverPerformanceTrackerBase`1.RunTimedOperation(TOpCode opCode, Action operation)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MountDatabaseDirect(Guid mdbGuid, MountFlags storeFlags,
    AmMountFlags amMountFlags, AmDbActionCode actionCode)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.<>c__DisplayClass19.<MountDatabaseDirect>b__18()\r\n   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String
    databaseName, RpcServerOperation rpcOperation)\r\n   --- End of inner exception stack trace (Microsoft.Mapi.MapiExceptionCallFailed) ---\r\n   --- End of stack trace on server (www.myservername.com) ---\r\n   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String
    databaseName, String serverName, RpcErrorExceptionInfo errorInfo)\r\n   at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunRpcOperationWithAuth(AmRpcOperationHint rpcOperationHint, String serverName, String databaseName, NetworkCredential
    networkCredential, Nullable`1 timeoutMs, InternalRpcOperation rpcOperation)\r\n   at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.MountDatabaseDirectEx(String serverToRpc, Guid dbGuid, AmMountArg mountArg)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbAction.MountDatabaseDirect(AmServerName
    serverName, AmServerName lastMountedServerName, Guid dbGuid, MountFlags storeFlags, AmMountFlags amFlags, AmDbActionCode actionCode)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbStandaloneAction.<>c__DisplayClass2.<MountInternal>b__0(Object
    , EventArgs )\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.AmHelper.HandleKnownExceptions(EventHandler ev)\r\n   --- End of inner exception stack trace (Microsoft.Exchange.Data.Storage.AmOperationFailedException) ---\r\n  
    at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbOperation.Wait(TimeSpan timeout)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MountDatabase(Guid mdbGuid, MountFlags storeFlags, AmMountFlags amMountFlags, DatabaseMountDialOverride
    mountDialOverride, AmDbActionCode actionCode)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.<>c__DisplayClass4.<MountDatabase>b__3()\r\n   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String
    databaseName, RpcServerOperation rpcOperation)\r\n   --- End of stack trace on server (WWW.myservername.com) ---\r\n   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String databaseName, String
    serverName, RpcErrorExceptionInfo errorInfo)\r\n   at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunDatabaseRpcWithReferral(AmRpcOperationHint rpcOperationHint, Database database, String targetServer, InternalRpcOperation rpcOperation)\r\n  
    at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.RequestMount(MountFlags storeMountFlags)\r\n   at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.InternalProcessRecord()\r\n   --- End of inner
    exception stack trace ---
    Run Date: 2011-11-07T03:41:32
    OriginatingServer: WWW (14.01.0355.001)
    Error:
    Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException: Cannot open mailbox /o=myservername/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=WWW/cn=Microsoft System Attendant. ---> Microsoft.Mapi.MapiExceptionNetworkError:
    MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)
    Diagnostic context:
        Lid: 13720   dwParam: 0x6D9      Msg: EEInfo: Flags: 0
        Lid: 11672   dwParam: 0x6D9      Msg: EEInfo: NumberOfParameters: 4
        Lid: 8856    dwParam: 0x6D9      Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp
        Lid: 8856    dwParam: 0x6D9      Msg: EEInfo: prm[1]: Unicode string: WWW.myservername.com
        Lid: 12952   dwParam: 0x6D9      Msg: EEInfo: prm[2]: Long val: -545057711
        Lid: 12952   dwParam: 0x6D9      Msg: EEInfo: prm[3]: Long val: 382312662
        Lid: 45169   StoreEc: 0x824    
        Lid: 44273 
        Lid: 59431   EMSMDB.EcDoConnectEx called [length=177]
        Lid: 34855   EMSMDB.EcDoConnectEx returned [ec=0x0][length=82][latency=31]
        Lid: 25964   StoreEc: 0x824    
        Lid: 38951   EMSMDB.EcDoDisconnect called [length=8]
        Lid: 55335   EMSMDB.EcDoDisconnect returned [ec=0x0][length=12][latency=0]
        Lid: 36081 
        Lid: 52465   StoreEc: 0x80040115
        Lid: 60065 
        Lid: 33777   StoreEc: 0x80040115
        Lid: 59805 
        Lid: 52209   StoreEc: 0x80040115
        Lid: 56583 
        Lid: 52487   StoreEc: 0x80040115
        Lid: 19778 
        Lid: 27970   StoreEc: 0x80040115
        Lid: 17730 
        Lid: 25922   StoreEc: 0x80040115
       at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
       at Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName,
    Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize, Client xropClient, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
       at Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag
    storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String& correctServerDN, ClientIdentityInfo clientIdentity, String applicationId, Client xropClient, Boolean wantWebServices, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
       at Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, String mailboxDn, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, WindowsIdentity windowsIdentity,
    String applicationId)
       at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
       at Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(MapiStore linkedStore, LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, GenericIdentity auxiliaryIdentity)
       at Microsoft.Exchange.Data.Storage.MailboxSession.<>c__DisplayClass12.<CreateMailboxSession>b__10(MailboxSession mailboxSession)
       at Microsoft.Exchange.Data.Storage.MailboxSession.InternalCreateMailboxSession(LogonType logonType, ExchangePrincipal owner, CultureInfo cultureInfo, String clientInfoString, IAccountingObject budget, Action`1 initializeMailboxSession, InitializeMailboxSessionFailure
    initializeMailboxSessionFailure)
       at Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString,
    PropertyDefinition[] mailboxProperties, IList`1 foldersToInit, GenericIdentity auxiliaryIdentity, IAccountingObject budget)
       at Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincipal mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties, InitializationFlags
    initFlags, IList`1 foldersToInit, IAccountingObject budget)
       at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsSystemService(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString)
       at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.XsoMailer.Log(AdminLogMessageData data, LogMessageDelegate logMessage)
       at Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boolean succeeded, Exception e)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchange Management Application" />
        <EventID Qualifiers="49152">5000</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2011-11-07T03:41:35.000000000Z" />
        <EventRecordID>90607</EventRecordID>
        <Channel>Application</Channel>
        <Computer>www.myservername.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Subject: myservername.com/Users/Administrator : Mount-Database
    Body:
    Cmdlet Name: Mount-Database
    Object Modified: Mailbox Database 2034345905
    Parameter: Identity = Mailbox Database 2034345905
    Caller: myservername.com/Users/Administrator
    Succeeded: False
    Error: System.InvalidOperationException: Couldn\'t mount the database that you specified. Specified database: Mailbox Database 2034345905; Error code: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message:
    MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. [Database: Mailbox Database 2034345905, Server: WWW.myservername.com]. ---&gt; Microsoft.Exchange.Cluster.Replay.AmDbActionWrapperException: An Active Manager operation failed.
    Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. ---&gt; Microsoft.Exchange.Data.Storage.AmOperationFailedException: An Active Manager operation failed.
    Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. ---&gt; Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n\r\n  
    at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)\r\n   at Microsoft.Mapi.ExRpcAdmin.MountDatabase(Guid guidStorageGroup, Guid guidMdb, Int32 ulFlags)\r\n  
    at Microsoft.Exchange.Cluster.ActiveManagerServer.AmStoreHelper.Mount(Guid mdbGuid, MountFlags flags)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.&lt;&gt;c__DisplayClassb.&lt;MountDatabaseDirect&gt;b__2()\r\n  
    at Microsoft.Exchange.Cluster.Replay.FailoverPerformanceTrackerBase`1.RunTimedOperation(TOpCode opCode, Action operation)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MountDatabaseDirect(Guid mdbGuid, MountFlags storeFlags,
    AmMountFlags amMountFlags, AmDbActionCode actionCode)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.&lt;&gt;c__DisplayClass19.&lt;MountDatabaseDirect&gt;b__18()\r\n   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String
    databaseName, RpcServerOperation rpcOperation)\r\n   --- End of inner exception stack trace (Microsoft.Mapi.MapiExceptionCallFailed) ---\r\n   --- End of stack trace on server (www.myservername.com) ---\r\n   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String
    databaseName, String serverName, RpcErrorExceptionInfo errorInfo)\r\n   at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunRpcOperationWithAuth(AmRpcOperationHint rpcOperationHint, String serverName, String databaseName, NetworkCredential
    networkCredential, Nullable`1 timeoutMs, InternalRpcOperation rpcOperation)\r\n   at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.MountDatabaseDirectEx(String serverToRpc, Guid dbGuid, AmMountArg mountArg)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbAction.MountDatabaseDirect(AmServerName
    serverName, AmServerName lastMountedServerName, Guid dbGuid, MountFlags storeFlags, AmMountFlags amFlags, AmDbActionCode actionCode)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbStandaloneAction.&lt;&gt;c__DisplayClass2.&lt;MountInternal&gt;b__0(Object
    , EventArgs )\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.AmHelper.HandleKnownExceptions(EventHandler ev)\r\n   --- End of inner exception stack trace (Microsoft.Exchange.Data.Storage.AmOperationFailedException) ---\r\n  
    at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbOperation.Wait(TimeSpan timeout)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MountDatabase(Guid mdbGuid, MountFlags storeFlags, AmMountFlags amMountFlags, DatabaseMountDialOverride
    mountDialOverride, AmDbActionCode actionCode)\r\n   at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.&lt;&gt;c__DisplayClass4.&lt;MountDatabase&gt;b__3()\r\n   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String
    databaseName, RpcServerOperation rpcOperation)\r\n   --- End of stack trace on server (WWW.myservername.com) ---\r\n   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String databaseName, String
    serverName, RpcErrorExceptionInfo errorInfo)\r\n   at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunDatabaseRpcWithReferral(AmRpcOperationHint rpcOperationHint, Database database, String targetServer, InternalRpcOperation rpcOperation)\r\n  
    at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.RequestMount(MountFlags storeMountFlags)\r\n   at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.InternalProcessRecord()\r\n   --- End of inner
    exception stack trace ---
    Run Date: 2011-11-07T03:41:32
    OriginatingServer: WWW (14.01.0355.001)
    </Data>
        <Data>
        </Data>
        <Data>Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException: Cannot open mailbox /o=myservername/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=WWW/cn=Microsoft System Attendant. ---&gt;
    Microsoft.Mapi.MapiExceptionNetworkError: MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)
    Diagnostic context:
        Lid: 13720   dwParam: 0x6D9      Msg: EEInfo: Flags: 0
        Lid: 11672   dwParam: 0x6D9      Msg: EEInfo: NumberOfParameters: 4
        Lid: 8856    dwParam: 0x6D9      Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp
        Lid: 8856    dwParam: 0x6D9      Msg: EEInfo: prm[1]: Unicode string: WWW.myservername.com
        Lid: 12952   dwParam: 0x6D9      Msg: EEInfo: prm[2]: Long val: -545057711
        Lid: 12952   dwParam: 0x6D9      Msg: EEInfo: prm[3]: Long val: 382312662
        Lid: 45169   StoreEc: 0x824    
        Lid: 44273 
        Lid: 59431   EMSMDB.EcDoConnectEx called [length=177]
        Lid: 34855   EMSMDB.EcDoConnectEx returned [ec=0x0][length=82][latency=31]
        Lid: 25964   StoreEc: 0x824    
        Lid: 38951   EMSMDB.EcDoDisconnect called [length=8]
        Lid: 55335   EMSMDB.EcDoDisconnect returned [ec=0x0][length=12][latency=0]
        Lid: 36081 
        Lid: 52465   StoreEc: 0x80040115
        Lid: 60065 
        Lid: 33777   StoreEc: 0x80040115
        Lid: 59805 
        Lid: 52209   StoreEc: 0x80040115
        Lid: 56583 
        Lid: 52487   StoreEc: 0x80040115
        Lid: 19778 
        Lid: 27970   StoreEc: 0x80040115
        Lid: 17730 
        Lid: 25922   StoreEc: 0x80040115
       at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
       at Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName,
    Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize, Client xropClient, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
       at Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag
    storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String&amp; correctServerDN, ClientIdentityInfo clientIdentity, String applicationId, Client xropClient, Boolean wantWebServices, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
       at Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, String mailboxDn, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, WindowsIdentity windowsIdentity,
    String applicationId)
       at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
       at Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(MapiStore linkedStore, LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, GenericIdentity auxiliaryIdentity)
       at Microsoft.Exchange.Data.Storage.MailboxSession.&lt;&gt;c__DisplayClass12.&lt;CreateMailboxSession&gt;b__10(MailboxSession mailboxSession)
       at Microsoft.Exchange.Data.Storage.MailboxSession.InternalCreateMailboxSession(LogonType logonType, ExchangePrincipal owner, CultureInfo cultureInfo, String clientInfoString, IAccountingObject budget, Action`1 initializeMailboxSession, InitializeMailboxSessionFailure
    initializeMailboxSessionFailure)
       at Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString,
    PropertyDefinition[] mailboxProperties, IList`1 foldersToInit, GenericIdentity auxiliaryIdentity, IAccountingObject budget)
       at Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincipal mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties, InitializationFlags
    initFlags, IList`1 foldersToInit, IAccountingObject budget)
       at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsSystemService(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString)
       at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.XsoMailer.Log(AdminLogMessageData data, LogMessageDelegate logMessage)
       at Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boolean succeeded, Exception e)</Data>
      </EventData>
    </Event>

    We just ran into this exact problem this morning. At 7:26am the database just dismounted. No errors just dismount. Now they won't mount and we can't run eseutil /p or /d as it immediately errors out. /k works and no errors found.
    Bandaid fix was to go into the EMS and simply move the public and private db to a nas. Now they mount fine. This is strictly a temp solution to get the server back online but something was changed in host machine drive setup (hyperv with compellent san)
    According to the host service (county systems) nothing was done or changed and no updates.
    At any rate it is now working and we just need to know what can be done to migrate back to the san and off the nas.
    Here is the error when trying to mount - the key is the -583 as none of the other errors comply with is special instance
    Failed to mount database 'Mailbox Database 2017935857'.
    Mailbox Database 2017935857
    Failed
    Error:
    Couldn't mount the database that you specified. Specified database: Mailbox Database 2017935857; Error code: An Active Manager operation failed. Error: An error occurred during discovery of the database availability group topology. Error: The database action
    failed. Error: [Active Manager] An exception occurred: Operation failed with message: MapiExceptionCallFailed:
    Unable to mount database. (hr=0x80004005, ec=-583)
    .. [Database: Mailbox Database 2017935857, Server: xxx.xxx.local].
    An Active Manager operation failed. Error: An error occurred during discovery of the database availability group topology. Error: The database action failed. Error: [Active Manager] An exception occurred: Operation failed with message: MapiExceptionCallFailed:
    Unable to mount database. (hr=0x80004005, ec=-583)
    .. [Database: Mailbox Database 2017935857, Server: xxx.xxx.local]
    An Active Manager operation failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)
    . [Server: xxx.xxx.local]
    MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)
    virtualfailsafe

  • Can't mount oracle database on linux system

    This is same as previous posting just added
    e-mail and username info fo forum posting.
    I am not able to mount an Oracle database.
    I am new to Oracle and am working on an Oracle8i installation on an
    Intel Linux Suse 6.3 platform. I am using only one harddrive and am
    not using the 4 mount points as mentioned for efficiecy purposes in
    the Oracle documentation..I am using the installation cd from Oracle8i
    for Linux Starter Kit by Oracle Press. If anyone has this book they
    can refer to pages 41-44 for the examples I followed.
    As sysdba in sqplplus using the STARTUP command I can not Mount the
    database -step 2 of the 3 stage process (Start, Mount and Open the
    database) of opening an Oracle database.
    I show the errors I encountered when I did the first 2 of the 3 steps
    in the step-by-step mode (STARTUP NOMOUNT pfile=, ALTER DATABASE
    MOUNT) in the sqlplus session and alert log respectively with startup
    nomount and alter database mount for this sqlplus session.
    Additionally I show the init.ora file lines referring to control file
    which seem to be referred to by the sqlplus error messages and the
    alert.log file. Perhaps some can give me some advice as what I can try
    to fix this problem.
    At the end of this e-mail I added several questions I had in regard to the control
    files. Any help is appreciated.
    Well, here are the sqlplus session results and its alert.log file:
    Oracle sqlplus session usr/oracle as sysdba
    oracle@CHESTNUT:~ > sqlplus
    SQL*Plus: Release 8.1.6.0.0 - Production on Mon Mar 19 20:47:49 2001
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: usr/oracle as sysdba
    Connected to an idle instance.
    SQL> startup nomount pfile=/usr/oracle/dbs/init.ora ;
    ORACLE instance started.
    Total System Global Area 24989680 bytes
    Fixed Size 69616 bytes
    Variable Size 24637440 bytes
    Database Buffers 204800 bytes
    Redo Buffers 77824 bytes
    SQL> alter database mount ;
    alter database mount
    ERROR at line 1:
    ORA-00205: error in identifying controlfile, check alert log for more
    info
    SQL> shutdown immediate ;
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> exit
    Disconnected
    oracle@CHESTNUT:~ >
    alert.log file for above session
    Mon Mar 19 20:48:38 2001
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    LICENSE_MAX_USERS = 0
    Starting up ORACLE RDBMS Version: 8.1.6.1.0.
    System parameters with non-default values:
    processes = 50
    shared_pool_size = 3500000
    control_files = ora_control1, ora_control2
    db_block_buffers = 100
    log_buffer = 32768
    log_checkpoint_interval = 10000
    db_files = 80
    db_file_multiblock_read_count= 8
    global_names = TRUE
    db_name = DEFAULT
    parallel_max_servers = 5
    max_dump_file_size = 10240
    PMON started with pid=2
    Load Indicator not supported by OS !
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Mon Mar 19 20:48:58 2001
    alter database mount
    Mon Mar 19 20:48:58 2001
    ORA-00202: controlfile: 'ora_control1'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Mon Mar 19 20:49:01 2001
    ORA-205 signalled during: alter database mount
    Mon Mar 19 20:49:12 2001
    Shutting down instance (immediate)
    License high water mark = 1
    Mon Mar 19 20:49:12 2001
    ALTER DATABASE CLOSE NORMAL
    ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
    archiving is disabled
    init.ora control files
    # define two control files by default
    control_files = (ora_control1, ora_control2)
    Here are my control file questions:
    I need to know several points:
    1) What are control files susposed to
    contain and how would I recognize them?
    I used the
    unix find /usr/oracle \*ctl* -print
    command to locate files with a ctl extension.
    This resulted in about a dozen such files in
    different directories as shown below:
    ./bin/lsnrctl
    ./bin/extractlib
    ./bin/agtctl
    ./bin/oidctl
    ./bin/lsnrctl0
    ./bin/agtctlO
    ./rdbms/demo/ulcase1.ctl
    ./rdbms/demo/ulcase10.ctl
    ./rdbms/demo/ulcase2.ctl
    ./rdbms/demo/ulcase3.ctl
    ./rdbms/demo/ulcase4.ctl
    ./rdbms/demo/ulcase5.ctl
    ./rdbms/demo/ulcase6.ctl
    ./rdbms/demo/ulcase7.ctl
    ./rdbms/demo/ulcase8.ctl
    ./rdbms/demo/ulcase9.ctl
    ./ldap/load/dn.ctl
    ./ldap/load/attr_store.ctl
    ./ord/ts/demo/tsquick/tsquick.ctl
    ./ord/ts/demo/usageutl/utildat.ctl
    ./ord/ts/demo/usage/stockdat.ctl
    ./ord/ts/demo/usage/stockinc.ctl
    ./ord/ts/demo/retrofit/sales.ctl
    ./ord/ts/demo/retrofit/sales2.ctl
    ./ord/ts/demo/applet/indexdemo.ctl
    ./javavm/admin/libjox8com_sun_jndi_ldap_ctl.so
    ./md/demo/examples/migctl.h
    ./md/demo/examples/migctl.c
    2) On page 100 in the book Oracle 8i A Beginners's
    by Oracle Press mention is made of a
    CREATE CONTROLFILE command that can under
    circumstances be used to re-create a control-file.
    but that is all that is said about it. Perhaps
    you might know something more about it.
    3) Would you recommend any good text for
    Oracle DBA's, especially for the problem of the sort
    that I am encountering?
    [email protected]
    null

    It's probably not supported on RHEL5/Centos5/etc., but...
    You can get the installer to function using the following steps:
    - extract the cal_linux_*.tar.gz, and cd into the OracleCalendar_inst directory
    In there is the actual installer, cal_linux.
    - the cal_linux is shell script wrapped around some binary blobs. The installer's
    problem is that Oracle is setting the LD_ASSUME_KERNEL=2.2.5 environment
    variable, which is a mistake on RHEL5. You need to make it not set that variable,
    but you need to do so in a way that the size of the shell script does not change at all,
    and none of the binary blobs are impacted.
    - the approach I took was
    mv cal_linux cal_linux.BAK
    sed -e 's/LD_ASSUME_KERNEL=2.2.5/LD_ASSUME_KERNEL= /g' < cal_linux.BAK > cal_linux
    chmod a+rx cal_linux
    cal_linux -i gui
    Note: you must have exactly 5 spaces in the substitution part of the sed command, because you're replacing 5 characters (2.2.5), and the size of the shell script must not change.
    If you do that, the installer should run (one warning from awk still) and you should be able to install the product.
    Tim

  • Error while mounting Standby database

    Hi all,
    I am getting ORA-01102: cannot mount database in EXCLUSIVE mode error when truying to mount the standby database.
    SQL>alter database mount standby database ;
    If anyone faced the same issue please guide me.
    Thanks and Regards
    Salih KM

    This is script for Standby..
    Primary Server Configuration
    1.In the TNSNAMES.ORA of Primary DB add the entry of the Standby DB
    IRCSSTDB(This is the service name in Primary DB to connect to Standby DB) =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1512))
    (CONNECT_DATA =
    (SERVICE_NAME = IRCS(This is the actual INSTANCE name of Running DB on Standby DB)
    2. There is no need to Make any Changes in the Listener.ora of PRIMARY DB
    Keep LISTENER.ORA of Primary as it is
    Copy Listener.ora from Primary DB to Standby DB and make following changes
    Delete All the Extra Existing listeners.
    (These Updations are for the STANDBY DB)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = IRCS)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0))
    3.In the INIT.ORA of Primary DB add Following…
    log_archive_dest_2 = "service=STBY optional/Mandatory scope=BOTH"
    log_archive_dest_2 = Enable
    log_archive_min_succeed_dest = 2
    We can add this Dynamically with the SQL*PLUS..
    Standby DB Server Configuration
    1.In the TNSNAMES.ORA of Standby DB add the entry of the Primary DB
    primary1(ISSL)(This is the service name in Standby DB to connect to Primary DB)=
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp) (PORT=1521) (HOST=PRIMARY MACHINE NAME))
    (CONNECT_DATA=(SERVICE_NAME=IRCS(This is the actual INSTANCE name of Running DB on Primary DB)
    2.Copy Listener.ora from Primary DB to Standby DB and make following changes
    Same as Above
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = IRCS)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0))
    3. Connect to Idle instance..
    1.C:\ oradim –NEW –SID ircs –INTPWD pwdfilename –STARTMODE auto –pfile E:\oracle\oradata\pfile\init.ora
    2.     C:\ set oracle_sid=IRCS
    3.     C:\ sqlplus /nolog
    4.     SQL:>connect sys/ircl as SYSDBA
    5.     SQL:>startup nomount pfile= E:\oracle\oradata\pfile\init.ora
    6.     SQL:> alter database mount standby database;
    7. SQL :> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
    4. we can also add these parameter in INIT.ORA of Standby DB
    1.standby_archive_dest= /u00/app/oracle/admin/sec/arch (Same path as in
    (log_archive_dest_1) in init.ora
    2. Fal_client=standby1 (Service Name)
    3. Fal_server=primary1 (Service Name)
    Troubleshooting….
    1. Check Init.ora of Primary DB
    2. Try to open Standby Database in normal mode try to connect it with normal user from different Machine.
    3.check *.logs file on Standby Database
    4.Check v$archive_dest on Primary DB
    5. lsnrctl services <listener name>….For Checking Listener, for service

  • How to get the date of the last transaction in a mounted standby database?

    Hello,
    Could you tell me how to get the date of the last transaction recorded in a MOUNTED standby database?
    The following query doesn't work...because the database is not open...
    select scn_to_timestamp(current_scn) from v$database;
    Thanks

    Hi,
    You should be able to run the following command in mounted mode on standby database.
    select current_scn from v$database;
    then run the following to convert it to timestamp.
    select scn_to_timestamp(99999999) from dual; *<-- Replace here the SCN value you got above. This needs to be run on the primary database due to standby database in mount mode.*
    Alternatively you can also check at the alert.log file to find the last scn which has been applied.
    Regards
    Edited by: skvaish1 on Jan 19, 2010 11:15 AM

  • Installing Exchange 2013 CU1 on a production server fails: Couldn't mount the database that you specified.

    Error:
    The following error was generated when "$error.Clear();
              $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
              $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
              $dismbx = get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1;
              if( $dismbx -ne $null)
              $srvname = $dismbx.ServerName;
              if( $dismbx.Database -ne $null -and $RoleFqdnOrName -like "$srvname.*" )
              Write-ExchangeSetupLog -info "Setup DiscoverySearchMailbox Permission.";
              $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
              if( $mountedMdb -eq $null )
              Write-ExchangeSetupLog -info "Mounting database before stamp DiscoverySearchMailbox Permission...";
              mount-database $dismbx.Database;
              $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
              if( $mountedMdb -ne $null )
              $dmRoleGroupGuid = [Microsoft.Exchange.Data.Directory.Management.RoleGroup]::DiscoveryManagement_InitInfo.WellKnownGuid;
              $dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyContinue;
              if( $dmRoleGroup -ne $null )
                trap [Exception]
                  Add-MailboxPermission $dismbx -User $dmRoleGroup.Name -AccessRights FullAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
                  continue;
                Add-MailboxPermission $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
        " was run: "Couldn't mount the database that you specified. Specified database: DB01; Error code: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient
    error. Error: A transient error occurred during a database operation. Error: An error occurred while preparing to mount database 'DB01'. Error: An I/O error occurred while attempting to enumerate log files in directory 'D:\Logs\DB01'. Error 0x3
    I have dismount DB01 off the my Exchange 2013 and my database DB01 is also corrupt not able to repair so I created a new database called DB1.  I'm having issue running cumulative
    Vien H. Lim

    Hi Vien,
    Have you checked Martina's suggestion?
    If the issue persists, I would like to clarify the following things for further research:
    1. Please check if there exists DAG in your Exchange 2013.
    2. Please check if the directory 'D:\Logs\DB01' exists.
    What's more, I recommend you to use the ESEUTIL/mh cmdlet to check the database status when you create a database.
    Hope it helps. If there are any problems, please feel free to let me know.
    Best regards,
    Amy

  • How to mounted oracle database automatically  in oracle version 8.1.7?

    i want to know,how to mounted oracle database automatically in oracle version 8.1.7?

    Does this mean you are not using the WIndows operating system, or you doi not want to do this 'manually' using some point and click method?
    If this means, "do it automatically for reboots" and you are using the Windows OS, you need to set up a service and set it to automatic at reboot. Or, again in a Windows environment but at commnand line, use "net start {service name}" - as described in the manual.

  • ORA-01102 unable to mount the database in exclisive mode

    Hi !
    My system run on oracle 10g R2 Windows 32 bit and I have configured 2 databases in data guard on the same computer. The primary database "smartbk" start very well but the standby database is not able to mount; when I issued the startup mount command I ge he error ORA -01102 unable to mount the database in exclisive mode.
    Can someone help please!!!

    Because your database is standby database, so you can not use startup mount,
    try this
    sql>startup nomount;
    sql>alter database mount standby database;

  • Cannot mount standby database

    Hi anyone,
    im trying to create physical standby db, oracle10g release 1 running on windows NT. currently i cannot mount the standby database receive error as:
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01102: cannot mount database in EXCLUSIVE mode
    and when i shutdown the primary db, i retry to mount standby db but receive another error,
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01665: controlfile is not a standby controlfile
    what should i do?
    can someone advice me?
    regards,
    Nonie

    im trying to create physical standby db, oracle10g
    release 1 running on windows NT. currently i cannot
    mount the standby database receive error as:
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01102: cannot mount database in EXCLUSIVE mode
    Look likes , you setup standby on same machine , try init.ora parameter LOCK_NAME_SPACE. Also make sure you use standby control file for standby database.
    ALTER DATABASE CREATE STANDBY CONTROLFILE AS '<location>'
    - Virag Sharma
    http://virag.sharma.googlepages.com
    http://viragsharma.blogspot.com

  • Best practice approach for seperating Database and SAP servers

    Hi,
    I am looking for a best practice approach/strategy for setting up a distributed SAP landscape i.e separating the database and sap servers. If anyone has some strategies to share.
    Thanks very much

    I can imagine the most easiest way:
    Install a dialog instance on a new server and make sure it can connect nicely to the database. Then shut down the CI on the database server, copy the profiles (and adapt them) and start your CI on the new server. If that doesn't work at the first time you can always restart the CI on the database server again.
    Markus

  • How to compare two database on different servers

    hi,
    I want to compare two database on different servers in oracle.first i want to ckechk thier structures and then data.i m using oracle 10.2.0.plz help me out
    Thanks in advance

    In terms of structures, there are various tools out there that can do this, such as TOAD which can do a database compare.
    In terms of data comparisons, that will depend on what sort of results you are expecting to see. I'm sure some tools will do it for you, but it can be just as easy to write your own comparison using a database link from one database to the other.

  • Separating a database onto multiple servers

    We are working on a product that uses a set of SQL Server databases that are currently all in one instance and on one server. Now that we are growing, we need more processing power/space. So we want to move the databases onto multiple servers.
    So we would not need to "shard", we created separate databases (with the same schema) for each company that purchased the product. We could readily put different company databases onto the different servers.
    The question is this, how to we handle the routing to the different servers?
    If we would have "sharded" the data in one database with different keys, SQL Server tools would have handled the routing for us. Because we actually separated the databases, do we have to do the routing manually? (That is, do we need to figure
    out that when company A logs in that they need to go to database server aa.aa.aa while compay B needs to go to server bb.bb.bb?) Or is there a product that can help us with the routing?
    Thanks!
    www.insteptech.com ;
    msmvps.com/blogs/deborahk
    We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!

    Hello,
    Based on your description, it seems that you want to copy all schema from a "Shared" database into other servers and separate data into the tables based on the company name.
    If I understand correctly, you can try to use the
    SQL Server Import and Export Data Wizard to copy data from table or view to destination server and specify query to restrict data  for copy. Or you can use linked server and
    SELECT INTO statement with condition to move the data.
    As per my understanding about the "Handling routing", balancing capability. In order to meet your requirement, you have to load balance through your application's design.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Agents for database and application servers

    hi all,
    I have to go to a client site this week to install Gagents onto some database servers, some will be RAC and some application servers. it is on AIX. are there different agents for database and applications? In a RAC cluster do I need an agent per node?
    rgds
    alan

    When installing agents in a cluster (read - RAC), during the installation, on one of the screens, you will have the option of picking up all the nodes in the cluster. Else, if you are using a push or agent deploy method, you just have to pass the correct flag (can't remember) and then list all the nodes in the cluster.
    To your other questions, you do not need different agents for database, and app servers etc. The only time you would need different agents is when you are installing on different platforms.

  • Unable to Mount Mailbox Databases

    I migrated a hyper v exchange server to a new hyper v host.  After the migration I am unable to get the mailbox databases to mount.  The error message I receive when I try to mount is:
    Error code: An active manager operation failed.  Erorr the database action failed.  Erorr: operation failed with the message: MapiExecptionAccess unable to mount database. hr=0x8007005, ec=-2147024891
    The server is running on 2008 R2 Enterprise
    Any help would be appreciated.
    Thanks 

    Hi,
    Maybe it is related to the TEMP & TMP environment variables, please try the below article to modify the temp folder. After that, please recreate the ActiveSync virtual directory to check the result. About how to rebuild virtual directory, you can refer
    to
    this article.
    PRB: CS0013 or CS0016 Compilation Errors in ASP.NET Web Applications
    http://support.microsoft.com/kb/825791
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • How to NOT monitor SQL database on specific servers only

    I have a test server with SCOM agent installed. I am using it for Lync watcher node to monitor Lync using SCOM. On this server there is a local SQL Express database. SCOM has MP for SQLs and alerts me about this SQL express database on test server that there
    is buffer cache hit ratio too low or page life expectancy too low.
    How to disable these SQL monitors for only this test server?

    I am wondering whether using this cmdlet "Remove-SCOMDisabledClassInstance" I will not remove
    any other SQL 2012 monitoring on another servers in my environment?
    I also found this blog post
    http://www.systemcentercentral.com/how-to-remove-objects-from-monitoring-remove-scomdisabledclassinstance/
    where there is slightly different method, they propose to choose "SQL server 2012 installation seed"
    rather than "SQL Server 2012 DB Engine"
    They also suggest to use "Override the Object Discovery" rather than "Disable
    the Object Discovery". What is the best approach?

Maybe you are looking for

  • External DVI monitor while on battery?

    Most of the time I have my powerbook closed and I use a USB keyboard/mouse and a Dell 21" DVI monitor. I noticed my battery was showing the forever "calculating" and I thought that was strange because the PB is only a couple months old. Well for grin

  • Programming environment

    Hi! (I am newbie to Arch) Recenly I realised how, in my opinion, should a perfect programming environment look like. The system should be of course up to date and use the newest official packages. But it does not apply to the version of development t

  • Garageband Could not find layout General Audio 10 in Yosemite + More

    Hello, I am inquiring about an issue with garageband that I thought would be quite simple to fix, but turned out more difficult. So two main issues that make it so I cannot use vocals in garageband (Kinda need them...). The first one is an issue that

  • What are some ways to prevent dust from getting into the camera of my iPhone 5?

    I have done much research on this topic but all I can find on the internet are ways to clean the camera after dust has already gotten into it. I've had to have my iPhone 5 replaced twice now because the dust has been so bad. I just got my third and I

  • BT Vision Recordings

    My recordings are continually wiped off for no reason. I can record programs one evening and check they are there and the next morning they will be gone. Can anyone tell me why this keeps happening. Even one half hour program will be lost overnight.