8 psm dbcs Commands

The psm dbcs commands perform various life-cycle and administrative operations on Oracle Database Cloud Service instances.

Category Command

Service Instance

psm dbcs services – provides summary information about all active service instances in your identity domain.

psm dbcs create-service – creates a service instance.

psm dbcs delete-service – deletes a service instance.

psm dbcs restart – restarts a service instance.

psm dbcs stop – stops a running service instance.

psm dbcs start – starts a stopped service instance.

psm dbcs service – provides detailed information about a single service instance.

psm dbcs activities – lists activities (operations) performed on a single service instance.

psm dbcs add-ssh-public-key – adds an SSH public key to the opc and oracle users on the compute nodes of a single service instance.

Scaling

psm dbcs scale-up – increases the Oracle Compute Cloud Service shape (processing power) of a service instance or adds storage to a service instance.

psm dbcs scale-down – decreases the Oracle Compute Cloud Service shape (processing power) of a service instance.

Access Control

psm dbcs access-rules – lists all access rules for a service instance.

psm dbcs create-access-rule – creates an access rule.

psm dbcs delete-access-rule – deletes an access rule.

psm dbcs disable-access-rule – disables an enabled an access rule.

psm dbcs enable-access-rule – enables a disabled access role.

Backup and Recovery

psm dbcs view-backups – lists all backups of a service instance.

psm dbcs backup – creates an on-demand backup of a service instance.

psm dbcs recover – recovers a service instance from a backup.

Patching and Rollback

psm dbcs applied-patches – lists all patches applied to service instance.

psm dbcs available-patches – lists all patches available for a service instance.

psm dbcs precheck-patch – identifies potential issues that might prevent a patch from being applied to a service instance.

psm dbcs patch – applies a patch to a service instance.

psm dbcs rollback – rolls back a patch that was applied to a service instance.

Snapshots

psm dbcs snapshots – provides summary information about all storage snapshots of a service instance.

psm dbcs create-snapshot – creates a storage snapshot.

psm dbcs delete-snapshot – deletes a storage snapshot.

psm dbcs snapshot – provides detailed information about a single storage snapshot.

Job Status

psm dbcs operation-status – shows the status of a running or completed operation.