/
task

task

Manage tasks

Subcommands

list, ls List tasks
show Show task detail

list, ls

dbvcli task list [--OPTIONS] dbvcli task ls [--OPTIONS]

Show task detail

Option

Type

Description

Option

Type

Description

--name

string

configuration name

--id

number

configuration ID to list tasks for (optional)

--show-dismissed

Y or N

show dismissed tasks (default: N)

[oracle@nzoel19c1 bin]$ ./dbvcli task list Connecting to the Control Center at nzoel19c2.oraclekiwi.co.nz:4433 ✓ ID Configuration Name State Updated Task 11 orclcdb ✓ 2024-11-14 16:10:29 Reinstate Standby Database 10 orclcdb ✓ 2024-11-14 16:03:22 Test Standby Activation 9 orclcdb ✓ 2024-11-14 14:18:15 Switchover Database 8 orclcdb ✓ 2024-11-14 14:03:45 Test Opening Standby Read-Only 7 orclcdb ✓ 2024-11-14 13:31:52 Synchronize Database 6 orclcdb ✓ 2024-11-14 13:28:54 Apply Archived Logs to Standby Database 5 orclcdb ✓ 2024-11-14 13:28:43 Create Archive Log & Send to Standby 4 orclcdb ✓ 2024-11-14 13:28:26 Apply Archived Logs to Standby Database 3 orclcdb ✓ 2024-11-14 13:27:15 Apply Archived Logs to Standby Database 2 orclcdb ✓ 2024-11-14 13:26:55 Create Archive Log & Send to Standby 1 orclcdb ✓ 2024-11-14 13:25:42 Set Up Disaster Recovery

show

dbvcli task show [--OPTIONS]

Show task detail

Option

Type

Description

Option

Type

Description

--task-id

number

task ID

[oracle@nzoel19c1 bin]$ ./dbvcli task show --task-id 9 Connecting to the Control Center at nzoel19c2.oraclekiwi.co.nz:4433 ✓ Configuration Name: orclcdb Task: Switchover Database Performed By: admin Started: 2024-11-14 14:12:39 Finished: 2024-11-14 14:18:15 2024-11-14 14:12:39 2024-11-14 14:12:39 Preparing for switchover 2024-11-14 14:12:39 Disabling Observer 2024-11-14 14:12:39 done 2024-11-14 14:12:39 Disabling Automated Standby Update 2024-11-14 14:12:39 done 2024-11-14 14:12:40 Starting Switchover between nzoel19c2.oraclekiwi.co.nz and nzoel19c1.oraclekiwi.co.nz 2024-11-14 14:12:40 Pre processing ... 2024-11-14 14:12:40 done 2024-11-14 14:12:40 Processing primary ... 2024-11-14 14:15:03 done 2024-11-14 14:15:03 Processing standby ... 2024-11-14 14:15:20 done 2024-11-14 14:15:20 Converting standby ... 2024-11-14 14:17:31 done 2024-11-14 14:17:31 Converting primary ... 2024-11-14 14:17:45 done 2024-11-14 14:17:45 Completing ... 2024-11-14 14:18:05 done 2024-11-14 14:18:05 Synchronizing ... 2024-11-14 14:18:15 done 2024-11-14 14:18:15 Post processing ... 2024-11-14 14:18:15 done 2024-11-14 14:18:15 Graceful switchover completed. 2024-11-14 14:18:15 Primary Database Server: nzoel19c1.oraclekiwi.co.nz 2024-11-14 14:18:15 Standby Database Server: nzoel19c2.oraclekiwi.co.nz 2024-11-14 14:18:15 Dbvisit Standby can be run as per normal: 2024-11-14 14:18:15 dbvctl -d orclcdb 2024-11-14 14:18:15 As part of the Switchover process, the primary and standby controlfiles have been exchanged. 2024-11-14 14:18:15 Unless you are using RMAN catalog database, you may need to cross-check all backups and review RMAN settings using the SHOW ALL command on the new Primary/Standby databases. Confirm the path set for the SNAPSHOT CONTROLFILE NAME TO setting is valid on both sides. 2024-11-14 14:18:15 Finishing switchover 2024-11-14 14:18:15 Switching primary and standby roles 2024-11-14 14:18:15 Primary database host is now nzoel19c1.oraclekiwi.co.nz 2024-11-14 14:18:15 Standby database host is now nzoel19c2.oraclekiwi.co.nz 2024-11-14 14:18:15 Waiting for Agents to respond to role switch 2024-11-14 14:18:15 Applying Automated Standby Update settings 2024-11-14 14:18:15 done 2024-11-14 14:18:15 Enabling Automated Standby Update 2024-11-14 14:18:15 done 2024-11-14 14:18:15 Enabling Observer 2024-11-14 14:18:15 done 2024-11-14 14:18:15 Task succeeded