/
script

script

Manage user scripts

Subcommands

list, ls List user scripts
add Add user script
remove, rm Remove user scripts

list, ls

dbvcli script list {-d|--name} CONFIGURATION_NAME dbvcli script ls {-d|--name} CONFIGURATION_NAME

List user scripts

[oracle@nzoel19c1 bin]$ ./dbvcli -d orclcdb script list Connecting to the Control Center at nzoel19c2.oraclekiwi.co.nz:4433 ✓ ------------------------------------- ------------------------------------- Scripts on nzoel19c1.oraclekiwi.co.nz Scripts on nzoel19c2.oraclekiwi.co.nz ------------------------------------- ------------------------------------- /home/oracle/dirlog.sh /home/oracle/dirlog.sh [oracle@nzoel19c1 bin]$

add

dbvcli script add {-d|--name} CONFIGURATION_NAME [--OPTIONS]

Add user script

Option

Type

Description

Option

Type

Description

--host

string, required

host name to add script for

--script

string

script to add

[oracle@nzoel19c1 bin]$ ./dbvcli -d orclcdb script add Connecting to the Control Center at nzoel19c2.oraclekiwi.co.nz:4433 ✓ Add Script 1/2 Select the host that the script will be executed on. Host: (•) nzoel19c1.oraclekiwi.co.nz ( ) nzoel19c2.oraclekiwi.co.nz Add Script 2/2 Enter the full path to the script on host nzoel19c1.oraclekiwi.co.nz Script: > /home/oracle/dirlog.sh User script successfully added

remove, rm

dbvcli script remove {-d|--name} CONFIGURATION_NAME [--OPTIONS] dbvcli script rm {-d|--name} CONFIGURATION_NAME [--OPTIONS]

Remove user scripts

Option

Type

Description

Option

Type

Description

--host

string, required

host name to remove script for

--script

string

script to remove

[oracle@nzoel19c1 bin]$ ./dbvcli -d orclcdb script remove Connecting to the Control Center at nzoel19c2.oraclekiwi.co.nz:4433 ✓ Remove User Scripts Select the user scripts to remove from this configuration. User Scripts: > [✓] nzoel19c1.oraclekiwi.co.nz: /home/oracle/dirlog.sh [ ] nzoel19c2.oraclekiwi.co.nz: /home/oracle/dirlog.sh User scripts successfully removed