Use the command Enable-OracleArchiveLogMode
to enable or disable this mode for specific Oracle machines that are under protection.
Usage
The usage for the command is as follows:
Enable-OracleArchiveLogMode -core [host name] -user [user name] -password [password] -protectedserver [name | IP address]
Command Options
The following table describes the options available for the Enable-OracleArchiveLogMode
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default, the connection is made to the Core installed on the local machine. |
-user |
Optional. The user name for the remote Core host machine. If you specify a user name, you must also provide a password. If none is provided, then the credentials for the logged-on user are used. |
-password |
Optional. The password to the remote Core host machine. If you specify a password, you also have to provide a user name. If none is provided, then the credentials for the logged-on user are used. |
-protectedserver |
Use this option to specify the protected machine for which you want to enable the Oracle archive log mode. |
Example:
Enable the Oracle archive log mode for a protected server:
>Enable-OracleArchiveLogMode -core 10.10.127.42 -user admin -password 676df#df -protectedserver 10.10.34.88