A RACLI Overview

This topic provides a summary of all the RACLI commands.

NAME

racli - Recovery Appliance Command Line Interface

DESCRIPTION

The racli is a simplified and controlled environment for users to manage their Recovery Appliance via the command line.

SYNOPSIS

racli <COMMAND> <OBJECT>

HELP

Displays information about racli commands and their objects.

Usage: racli help [<COMMAND> [<OBJECT>]]

Options:

racli help

General usage information for the racli help command.

racli help <COMMAND>

Detailed information specific to the COMMAND requested.

racli help <COMMAND> <OBJECT>

Specific detailed information on the COMMAND and OBJECT relationship.

Command Description
racli add Adds an object to the Recovery Appliance.
racli add acfs Specifies that the Automatic Storage Management Cluster (ACFS) should be added to the Recovery Appliance schema.
racli add cloud_storage Adds a cloud storage object to the Recovery Appliance.
racli add credential Adds a user credential to the wallet of the Recovery Appliance.
racli add credential_wallet Adds a wallet object to the Recovery Appliance.
racli add keystore Adds a keystore to the Recovery Appliance.
racli add nfs Specifies that the Network File System (NFS) should be added to the Recovery Appliance schema.
racli add storage_cells Prepares new Recovery Applicance storage cells for storage location expansion.
racli add storage_disks Adds disks with the newly added storage cells to the ASM disk groups for storage location expansion.
racli add vpc_user Creates a new Virtual Private Catalog (VPC) user account in the Recovery Appliance schema.
racli alter Modifies the properties on objects supported in the Recovery Appliance schema.
racli alter cloud_storage Modifies the properties of cloud storage supported on the Recovery Appliance.
racli alter credential_wallet Changes the password on a wallet object in the Recovery Appliance.
racli alter keystore Creates a TDE master key for the Recovery Appliance, generates new keys, or changes the password for the keystore on the Recovery Appliance.
racli alter passphrase Modifies password used to access the Recovery Appliance.
racli alter rasys_user Modifies the Recovery Appliance rasys user account password and management of the password.
racli alter vpc_user Modifies an existing Recovery Appliance user account and changes its password.
racli disable Disables an object from operations performed by the Recovery Appliance.
racli disable cloud_storage Disables a cloud storage object from operations performed by the Recovery Appliance.
racli disable keystore Disables the keystore.
racli disable nfs Disables the specified Network File System (NFS).
racli enable Enables an object for operations performed by the Recovery Appliance.
racli enable cloud_storage Enables a cloud storage object for operations performed by the Recovery Appliance.
racli enable keystore Opens the keystore so that it can be used.
racli enable nfs Enables the specified Network File System (NFS).
racli export Used for exporting data.
racli export appliance Creates an export bundle for the Recovery Appliance.
racli help Refer to the HELP section above.
racli install Installs software.
racli install appliance Installs software to the Recovery Appliance software.
racli install okv_endpoint Installs the software required for Oracle Key Vault (OKV) end points on the Recovery Appliance.
racli list Lists information about objects given in the Recovery Appliance schema.
racli list cloud_storage Lists details about the cloud storage known to the Recovery Appliance.
racli list nfs Lists details about one or more Network File System mounts.
racli list okv_endpoint Lists details about the OKV end points known to the Recovery Appliance.
racli patch The action to patch a specified object.
racli patch appliance Patch the Recovery Appliance Software.
racli remove Removes objects from the Recovery Appliance schema.
racli remove acfs Removes the specified Automatic Storage Management Cluster (ACFS) mount from the Recovery Appliance schema.
racli remove cloud_storage Removes the specified cloud storage from the Recovery Appliance.
racli remove keystore Removes the specified keystore from the Recovery Appliance schema.
racli remove nfs Removes the specified Network File System (NFS) mount from the Recovery Appliance schema.
racli remove vpc_user Removes the specified user account from the Recovery Appliance metadata schema.
racli start The action to start a specified service (object).
racli start nfs Start NFS services of the Recovery Appliance.
racli status Check status of objects associated with the Recovery Appliance.
racli status appliance Returns a summary of the status of the appliance.
racli status cloud_storage Returns the status of cloud storage.
racli status disk_group Verifies that the rebalance operation completed after storage cells or storage disks are added to the ASM disk group.
racli status keystore Returns the status of the keystore in use by the Recovery Appliance.
racli status nfs Returns the status of the Network File Service (NFS).
racli status okv_endpoint Returns the status of the OKV_ENDPOINTs associated with the Recovery Appliance.
racli stop The action to stop a specified service (object).
racli stop nfs Stop NFS services of the Recovery Appliance.
racli uninstall Backs out a portion of the installation.
racli uninstall appliance Backout a step during install.
racli uninstall okv_endpoint Uninstalls the specified OKV end point.
racli update Update a component of the Recovery Appliance.
racli update storage_location Update RA pool data file with the most current number of storage cells.
racli update support_tools Updates the TFA and Exachk versions using the staged binaries zip files.
racli upgrade The action to upgrade a specified object to the next version.
racli upgrade appliance Upgrade the Recovery Appliance Software Versions.
racli version Provides version information for software running on the Recovery Appliance.

A.1 racli add

Adds an object to the Recovery Appliance.

Options

A.2 racli add acfs

Specifies that the Automatic Storage Management Cluster (ACFS) should be added to the Recovery Appliance schema.

Syntax

racli add acfs --name=myAcfsName --disk_group=myDGName --volume_name=myVolumeName --mount_point=myPath --size=SIZE

Options

--name

Name to be given to the ACFS mount object

--disk_group

Name of the ASM disk group to use for this ACFS mount.

--volume_name

Name of the ASM VOLUME to mount the ACFS on.

--mount_point

Path to mount the ACFS object.

--size

Size of the ACFS object.

A.3 racli add cloud_storage

Adds a cloud storage object to the Recovery Appliance.

Syntax

racli add cloud_storage --opc_id=OPC_USER_ID --opc_url='https://OPC_STORAGE_LOCATION' --container_name='STORAGE_CONTAINER_NAME' --proxy_host=PROXY_NAME --proxy_port=PROXYPORTNUM --storage_class=[Tiering | Standard] --streams=NUM_STREAMS

Options

--opc_id

The Oracle Private Cloud (OPC) user identification included with the credentials associated with the cloud archive service.

--opc_url

The OPC storage location included with the credentials associated with the cloud archive service.

--container_name

Name for new container within the OPC storage location that will house the copy-to-cloud backups. This container name will also serve as the sbt_library name in the sbt_job_template creation.

--proxy_host

The name of the proxy host.

--proxy_port

The port number for the proxy.

--storage_class

The type or class of storage to be designated to the newly created container. Standard uses the Object Storage only; Tiering uses the Archive Storage. For archive to cloud support 'Tiering' class should be used.

--streams

The number of streams to use. If not specfied, two (2) streams are created by default.

Details

This is equivalent to the sbt_library used for copy-to-tape but is specific to copy-to-cloud. The user's cloud credentials are required.

Examples

This example adds a new cloud storage object named "tango" to the Recovery Appliance schema.

racli add cloud_storage --opc_id=user@oracle.com --opc_url='https://storage.oraclecorp.com' --container_name='tango' --proxy_host='myHost' --proxy_port=8080 --storage_class=Tiering

When prompted, enter the password for user@oracle.com.

A.4 racli add credential

Adds a user credential to the wallet of the Recovery Appliance.

Syntax

racli add credential --user_name=OS_USER_ID --alias=ALIAS_ID --wallet_path=PATH_TO_WALLET

Options

--user_name

The OS user name associated with the credential to be added.

--alias

The alias you want to associate to the OS username that corresponds to the credential to be added.

--wallet_path

The path to the wallet where you want to store the credential.

Examples

This example adds a credetinal for OS user charlie with an alias of sierra into the designated wallet.

racli add credential --wallet_path=/raacfs/raadmin/cloud/test --user_name=charlie --alias=sierra

When prompted, enter the password for the OS user for which the credential is to be added.

Enter Password [charlie]:  
Confirm Password [charlie]:

When prompted, enter the password for the wallet the credential is to be added.

Enter Wallet Password: 
Confirm Wallet Password: 

A.5 racli add credential_wallet

Adds a wallet object to the Recovery Appliance.

Syntax

racli add credential_wallet --wallet_path=PATH_TO_WALLET

Options

--wallet_path

Path the credential wallet will reside.

Details

You are prompted to enter new passwords for the keystore and then the wallet. The credentials to access the Recovery Appliance encryption keystore are saved in this wallet.

If no wallet path is specified, the default path is used /raacfs/raadmin/ra_wallet/.

Examples

This example adds a credential wallet in the defualt path.

racli add credential_wallet

When prompted, enter the password for the new credential wallet.

Enter Wallet Password: 
Confirm Wallet Password: 

A.6 racli add keystore

Adds a keystore to the Recovery Appliance.

Syntax

racli add keystore --type=[HSM|SW] --wrl=PATH_TO_WALLET

Options

--type

Specifies the type of keystore to be created. If not specified, default is HSM.

--wrl

Specifies the path to the wallet that will be used for the keystore.

Details

The keystore contains one or more TDE master keys for each Recovery Appliance client database, plus the Recovery Appliance's TDE master key. The per-client TDE master keys are used to encrypt backup pieces that are copied to the cloud.

ATTENTION: The Recovery Appliance database is restarted to activate the keystore; plan for a short outage.

Examples

This example adds a keystore of type HSM to the Recovery Appliance.

racli add keystore --type=hsm

A.7 racli add nfs

Specifies that the Network File System (NFS) should be added to the Recovery Appliance schema.

Syntax

racli add nfs --nfs_server=myServerName --nfs_export=myExportPath --name=myNfsMountName --mount_options='NFS_OPTIONS'

Options

--name

Name to be given to the NFS mount object.

--nfs_server

Server name where the myExportPath resides.

--nfs_export

Path on the myServerName intending to mount.

--mount_options

NFS mounting options. For example: 'rw,tcp,vers=3,timeo=600,actimeo=0'

A.8 racli add storage_cells

Prepares new Recovery Applicance storage cells for storage location expansion.

Syntax

racli add storage_cells --cells=cell1,cell2,...celln

Options

--cells

The comma-separated list of storage cell names to prepare.

Details

  • The new storage cells must be the same Exadata image version as the existing storage cells.

  • The new storage cells must not have any associated databases. To verify if this is the case, run:

    cellcli -e list database

Examples

This example adds the storage cells named cellhost1 and cellhost2 to the Recovery Appliance.

racli add storage_cells --cell=cellhost1,cellhost2

A.9 racli add storage_disks

Adds disks with the newly added storage cells to the ASM disk groups for storage location expansion.

Syntax

racli add storage_disks --cell=cell1,cell2,...celln --priority=high

Options

--cell

The comma-separated list of names of the newly added storage cells for the new disk groups.

--priority

Indicates the priority level for the rebalance. The default is low. Low = 4. High = 32.

This command should only be ran after rebalance is complete.

Details

You must have previously run racli add storage_cells to prepare the cells before adding the storage cells to the existing disk groups.

Run this command only if prompted to do so while running the racli add storage_cells command.

You can execute this command while the system is running, but the operation can take longer to complete and can negatively impact performance. Avoid running other I/O intensive tasks such as patching or maintenance during this time.

Examples

The following example adds storage cells named cellhost1 and cellhost2 to the storage disks.

racli add storage_disks --cell=cellhost1,cellhost2

A.10 racli add vpc_user

Creates a new Virtual Private Catalog (VPC) user account in the Recovery Appliance schema.

Syntax

racli add vpc_user --user_name=myVpcUserName

Options

user_name

The name of the Recovery Appliance catalog user account to add.

Details

Each Recovery Appliance user account is the owner of the virtual private catalog.

  • The password is not provided on the command line for security reasons. When prompted, enter a password for the Recovery Appliance user account. The password must contain eight or more characters. Strong password authentication is used, so simple passwords are not allowed.

  • The Recovery Appliance user account being added must not already exist in the metadata database.

Because strong password authentication is used, simple passwords can result in ORA-280003 or ORA-20006 errors.

When a vpc_user is created, the account is locked. The DEFAULT database profile has the following limits.

  • Failed attemps is set to 10.

  • Password life time is 180 days.

  • Password lock time is 1 day.

  • Password grace time is 7 days.

Examples

This example adds the user name ravpc1 to the Recovery Appliance schema.

racli add vpc_user --user_name=ravpc1

When prompted, enter the password for ravpc1.

ravpc1 New Password:

A.11 racli alter

Modifies the properties on objects supported in the Recovery Appliance schema.

Options

A.12 racli alter cloud_storage

Modifies the properties of cloud storage supported on the Recovery Appliance.

Syntax

racli alter cloud_storage --opc_id=OPC_USER_ID --opc_url='https://OPC_STORAGE_LOCATION' --container_name='STORAGE_CONTAINER_NAME' --storage_class=Tiering

Options

--opc_id

The OPC User ID included with the credentials associated with the cloud archive service.

--opc_url

The OPC Storage Location included with the credentials associated with the cloud archive service.

--container_name

Name for new container within the OPC Storage Location that will house the archive to cloud backups. This container_name will also serve as the sbt_library name in the sbt_job_template creation.

--storage_class

The type or class of storage to be designated to the newly created container. For archive to cloud support 'Tiering' class should be used.

Details

This is equivalent to the sbt_library used for copy-to-tape. This sbt_library is specific to copy-to-cloud.

A.13 racli alter credential_wallet

Changes the password on a wallet object in the Recovery Appliance.

Syntax

racli alter credential_wallet --wallet_path=PATH_TO_WALLET

Options

--wallet_path

Path the credential wallet will reside.

Details

If no wallet_path is specified the default path is used /raacfs/raadmin/ra_wallet/.

Examples

This example alters a credential wallet in the defualt path

racli add credential_wallet

When prompted, enter the password for the new credential wallet.

Enter Wallet Password:
Re Enter Password:

A.14 racli alter keystore

Creates a TDE master key for the Recovery Appliance, generates new keys, or changes the password for the keystore on the Recovery Appliance.

Syntax

racli alter keystore { --initalize_key | --restart_db | --password | --rekey }

Options

--rekey

Generates new TDE master encryption key (rekey) for the protected database.

--password

Specifies a new password for the keystore.

--initialize_key

Generates the initial TDE master key for the keystore.

--restart_db

Restarts the database stack after changes to the keystore to ensure they are honored at service restart.

Examples

The following example restarts the database stack following a keystore change.

racli alter keystore --restart_db

A.15 racli alter passphrase

Modifies password used to access the Recovery Appliance.

Syntax

racli alter passphrase

Options

Details

  • The password specified for the Recovery Appliance user account must contain eight or more characters. Strong password authentication is used, so simple passwords are not allowed.

A.16 racli alter rasys_user

Modifies the Recovery Appliance rasys user account password and management of the password.

Syntax

racli alter rasys_user { --init | --password }

Options

Details

--init

Establishes management of the rasys user. This will be run for you during patch or upgrade in most cases.

In the event the rasys wallet goes away, this can be used to re establish rasys password management.

--password

Set a new rasys user password

Examples

The following example changes the password for the ravpc1 user account.

racli alter rasys_user --password

When prompted as shown, enter the new password.

Enter rasys Password:
Confirm new rasys Password:

The password specified for the Recovery Appliance user account must contain eight or more characters. Strong password authentication is used, so simple passwords are not allowed.

A.17 racli alter vpc_user

Modifies an existing Recovery Appliance user account and changes its password.

Syntax

racli alter vpc_user --user_name=myVpcUserName

Options

Details

--user_name

The Virtual Private Catalog user account for the Recovery Appliance

The user_name specified in the command must be an existing Recovery Appliance user account.

The password specified for the Recovery Appliance user account must contain eight or more characters. Strong password authentication is used.

Examples

The following example changes the password for the ravpc1 user account.

racli alter vpc_user --user_name=ravpc1

When prompted as shown, enter the new password.

ravpc1 New Password:

A.18 racli disable

Disables an object from operations performed by the Recovery Appliance.

Options

Details

Object remains known to the Recovery Appliance for a quick enable later.

A.19 racli disable cloud_storage

Disables a cloud storage object from operations performed by the Recovery Appliance.

Syntax

racli disable cloud_storage { --container_name=CONTAINER_NAME | --all }

Options

--container_name

Specifies the specific container name associated with the cloud storage to be disabled.

--all

Disables all cloud storage known to the Recovery Appliance.

Examples

The following example disables all of the known cloud storage objects.

racli disable cloud_storage --all

A.20 racli disable keystore

Disables the keystore.

Syntax

racli disable keystore

Options

A.21 racli disable nfs

Disables the specified Network File System (NFS).

Syntax

racli disable nfs --name=myMountName

Options

--name

Name of the NFS mount object.

A.22 racli enable

Enables an object for operations performed by the Recovery Appliance.

Options

A.23 racli enable cloud_storage

Enables a cloud storage object for operations performed by the Recovery Appliance.

Syntax

racli enable cloud_storage { --container_name=STORAGE_CONTAINER_NAME | --all }

Options

--container_name

Specifies a specific container name associated with the cloud storage to enable.

--all

Enables all cloud storage known to the Recovery Appliance.

Examples

The following example enables cloud storage objects associated with the container named Lima.

racli enable cloud_storage --container_name=lima

A.24 racli enable keystore

Opens the keystore so that it can be used.

Syntax

racli enable keystore

Options

Details

This is the OKV endpoint keystore, also known as the OKV shared wallet.

A.25 racli enable nfs

Enables the specified Network File System (NFS).

Syntax

racli enable nfs --name=myMountName

Options

--name

Name of the NFS mount object.

A.26 racli export

Used for exporting data.

Options

A.27 racli export appliance

Creates an export bundle for the Recovery Appliance.

Syntax

racli export appliance

Options

A.28 racli help

Refer to the HELP section above.

Options

A.29 racli install

Installs software.

Options

A.30 racli install appliance

Installs software to the Recovery Appliance software.

Syntax

racli install appliance --step={ STEP_NUMBER | ALL } [--import=IMPORT_BUNDLE_PATH]

Options

--import

Specifies the location of the RA export bundle to use for the installation.

--step

Indicate which step number of install appliance to run. Value range is 1-7 or "all" for all steps.

Step Numbers:

  1. Validates and configures the hardware and platform.

  2. Configures the operating system, including setting up file system properties, and users and groups.

  3. Configures the oracle operating system user.

  4. Creates the database file system (DBFS) mounts, configures TNS aliases, and sets up the required wallets for communication.

  5. If a tape backup system is detected, validates and configures the appliance using details that were specified on the Tape Library Connectivity Page in the Oracle Exadata Deployment Assistant.

  6. Configures backup of the Recovery Appliance catalog database and creates credentials for performing the backups. The catalog is backed up to a Recovery Appliance disk on an automated schedule.

  7. Starts all Recovery Appliance services installed in the previous steps.

Details

Before you run racli install appliance:

  • Ensure that all current installation patches are stated in the /u01/ra_install/linux-x64/WorkDir directory.

  • Ensure that the ra_preinstall.pl and install.sh scripts were run and successfully completed.

If a step fails, contact Oracle Support Services.

Examples

The following example runs only step 2 of the software installation.

racli install appliance --step=2

The following example runs all of the steps necessary to install the software based on the system and configuration settings.

racli install appliance

A.31 racli install okv_endpoint

Installs the software required for Oracle Key Vault (OKV) end points on the Recovery Appliance.

Syntax

racli install okv_endpoint

Options

Details

This is run after the a keystore has been activiated and is only run once. It adds all OKV endpoints associated with the Recovery Appliance; it applies to all nodes.

Examples

This example installs the okv_endpoints associated with each compute node of the Recovery Appliance.

racli install okv_endpoint

Enter New Keystore Password:
Confirm New Keystore Password:
Enter RA Wallet Password:
Wed December 23 20:14:40 2018:   Start: Install OKV End Point [compute_node1]
Wed December 23 20:14:43 2018:   End: Install OKV End Point [compute_node1]
Wed December 23 20:14:43 2018:   Start: Install OKV End Point [compute_node2]
Wed December 23 20:14:45 2018:   End: Install OKV End Point [compute_node2]

A.32 racli list

Lists information about objects given in the Recovery Appliance schema.

Options

A.33 racli list cloud_storage

Lists details about the cloud storage known to the Recovery Appliance.

Syntax

racli list cloud_storage { --container_name=STORAGE_CONTAINER_NAME | --all } [--long]

Options

--container_name

Specifies a container name associated with the cloud storage to list details.

--all

Lists details about all cloud storage known to the Recovery Appliance.

--long

Lists extended details about one or all containers.

Examples

The following example lists all known cloud_storage objects.

racli list cloud_storage --all

A.34 racli list nfs

Lists details about one or more Network File System mounts.

Syntax

racli list nfs { --mount_name=myName | --all }

Options

--mount_name

Name of NFS mount to be listed.

--all

Specifies that all NFS mounts should be listed.

A.35 racli list okv_endpoint

Lists details about the OKV end points known to the Recovery Appliance.

Syntax

racli list okv_endpoint [--all] [--long]

Options

--all

Lists all of the okv_endpoint(s) known to the Recovery Appliance.

--long

Lists extended details about the OKV end points known to the Recovery Appliance.

Examples

The following example lists all of the OKV end points with extended details.

racli list okv_endpoint --all --long

A.36 racli patch

The action to patch a specified object.

Options

A.37 racli patch appliance

Patch the Recovery Appliance Software.

Syntax

racli patch appliance --step=STEP_NUMBER [--ignore_incidents]

Options

--step

Indicate which step number of upgrade appliance to run. Value range is 1-2.

Step Numbers:

  1. Runs the prechecks prior to upgrade. No downtime required. Does not change the software.

  2. Performs the Patch. A full outage is required and is followed by a postcheck.

--ignore_incidents

Ignore active incidents (not recommended).

A.38 racli remove

Removes objects from the Recovery Appliance schema.

Options

Details

Removed objects become unknown to the Recovery Appliance and cannot be quickly enabled later.

A.39 racli remove acfs

Removes the specified Automatic Storage Management Cluster (ACFS) mount from the Recovery Appliance schema.

Syntax

racli remove acfs --mount_name=myName

Options

--mount_name

Name of ACFS mount to be removed.

A.40 racli remove cloud_storage

Removes the specified cloud storage from the Recovery Appliance.

Syntax

racli remove cloud_storage --container_name=STORAGE_CONTAINER_NAME [--force]

Options

--container_name

Specifies the <STORAGE_CONTAINER_NAME> that correlates to the cloud_storage to be removed.

--force

Removes the cloud_storage regardless of the state/contents of the underlying container.

Examples

This example removes the cloud_storage object associated with the storage container name gorilla regardless of container contents.

racli remove cloud_storage --container_name=gorilla --force

A.41 racli remove keystore

Removes the specified keystore from the Recovery Appliance schema.

Syntax

racli remove keystore

Options

A.42 racli remove nfs

Removes the specified Network File System (NFS) mount from the Recovery Appliance schema.

Syntax

racli remove nfs --mount_name=myName

Options

--mount_name

Name of NFS mount to be removed.

A.43 racli remove vpc_user

Removes the specified user account from the Recovery Appliance metadata schema.

Syntax

racli remove vpc_user --user_name=myVPCUserName

Options

--user_name

The Virtual Private Catalog user for the Recovery Appliance.

Details

  • The specified user account must exist in the Recovery Appliance schema.

  • The specified user account must not be associated with a protected database.

Examples

The following example removes the user account ravpc1 from the metadata repository.

racli remove vpc_user --user_name=ravpc1

A.44 racli start

The action to start a specified service (object).

Options

A.45 racli start nfs

Start NFS services of the Recovery Appliance.

Syntax

racli start nfs --name=myMountName

Options

--name

Name of the NFS mount to start.

A.46 racli status

Check status of objects associated with the Recovery Appliance.

Options

A.47 racli status appliance

Returns a summary of the status of the appliance.

Syntax

racli status appliance

Options

A.48 racli status cloud_storage

Returns the status of cloud storage.

Syntax

racli status cloud_storage [--long]

Options

--long

Lists extended details about cloud storage known to the Recovery Appliance.

A.49 racli status disk_group

Verifies that the rebalance operation completed after storage cells or storage disks are added to the ASM disk group.

Syntax

racli status disk_group

Options

Details

Run this command before running the racli update storage_location command to ensure that the ASM rebalance completed.

All rebalance must complete before Griddisks and Storage Spaces are added to a Recovery Appliance.

A.50 racli status keystore

Returns the status of the keystore in use by the Recovery Appliance.

Syntax

racli status keystore

Options

A.51 racli status nfs

Returns the status of the Network File Service (NFS).

Syntax

racli status nfs --name=myMountName

Options

A.52 racli status okv_endpoint

Returns the status of the OKV_ENDPOINTs associated with the Recovery Appliance.

Syntax

racli status okv_endpoint

Options

A.53 racli stop

The action to stop a specified service (object).

Options

A.54 racli stop nfs

Stop NFS services of the Recovery Appliance.

Syntax

racli stop nfs --name=myMountName

Options

Details

--name

Name of the ACFS mount to start.

A.55 racli uninstall

Backs out a portion of the installation.

Options

A.56 racli uninstall appliance

Backout a step during install.

Syntax

racli uninstall appliance --step={ STEP_NUMBER | ALL }

Options

Details

--step

Indicate which step number of uninstall appliance to run. Value range is 1-7 or "all" for all steps.

Step Numbers:

  1. Unconfigures the hardware and platform.

  2. Unconfigures the operating system, including setting up file system properties, and users and groups.

  3. Unconfigures the Oracle operating system user.

  4. Removes file system mounts, unconfigures TNS aliases, and invalidates wallets for communication.

  5. If a tape backup system is detected, unconfigures the resources used for tape backup.

  6. Unconfigures backup of the Recovery Appliance catalog database and removes credentials for performing the backups.

  7. Stops all Recovery Appliance services installed.

Generally used if you found an error and have to redo a step after correcting. You must run the uninstallation in the reverse numerical order.

Note:

If a failed installation step is the reason that you plan to run the uninstall command, it is highly recommended that you contact Oracle Support Services.

Examples

The following example undoes only step 3 of the installation procedure.

racli uninstall appliance --step=3

The following undoes all of the steps of the installation procedure in reverse sequence.

racli uninstall appliance

A.57 racli uninstall okv_endpoint

Uninstalls the specified OKV end point.

Syntax

racli uninstall okv_endpoint [--force]

Options

--force

When specified, forces the uninstallation of the OKV end point.


Otherwise, a check is done for active storage locations utilizing the OKV end point. If any are in use, a warning is issued and uninstall fails.

Examples

This example forces uninstallation of the OKV end points associated with the Recovery Appliance.

racli uninstall okv_endpoint --force

Thu August 17 06:03:55 2018: Start: Remove OKV End Point
Thu August 17 06:03:55 2018: 
  WARNING:
    Found active cloud locations.
    Removing the OKV endpoint will mean this Recovery Appliance can't recover 
      backups at cloud locations without an endpoint configured.Thu August 17 06:03:55 2018:   Start: Remove OKV End Point [node1]
Thu August 17 06:03:55 2018:   End: Remove OKV End Point [node1]
Thu August 17 06:03:55 2018:   Start: Remove OKV End Point [node2]
Thu August 17 06:03:55 2018:   End: Remove OKV End Point [node2]
Thu August 17 06:03:55 2018:   End: Remove OKV End Point

A.58 racli update

Update a component of the Recovery Appliance.

Options

A.59 racli update storage_location

Update RA pool data file with the most current number of storage cells.

Syntax

racli update storage_location --cells=cell1,cell2,...celln

Options

A.60 racli update support_tools

Updates the TFA and Exachk versions using the staged binaries zip files.

Syntax

racli update support_tools

Options

A.61 racli upgrade

The action to upgrade a specified object to the next version.

Options

A.62 racli upgrade appliance

Upgrade the Recovery Appliance Software Versions.

Syntax

racli upgrade appliance --step=STEP_NUMBER [--ignore_incidents]

Options

--step

Indicate which step number of upgrade appliance to run. Value range is 1-4.

Step Numbers:

  1. Runs the prechecks prior to upgrade. No downtime required. Does not change the software.

  2. Stages the new software stack. No downtime required. Does not change the software.

  3. Performs the upgrade using the staged items. A full outage is required; it is followed by a postcheck and cleanup of the old files.

  4. Migrate DBFS to ACFS. All files residing on DBFS will be migrated to new ACFS.

--ignore_incidents

Ignore active incidents (not recommended).

A.63 racli version

Provides version information for software running on the Recovery Appliance.

Syntax

racli version

Options

Details

The versioning information provided includes:

rarpm version

The ra_automation rpm currently installed on the Recovery Appliance.

rdbms version

The database version currenly installed on the Recovery Appliance.

transaction

The specific transaction associated with the version running on the Recovery Appliance.

zdlra version

The base software version installed and running on the Recovery Appliance.