A ODACLI Command Reference for OAKCLI Migration
Use these topics as a reference to understand the equivalent OAKCLI and ODACLI commands for managing your appliance after migration from OAKCLI to ODACLI stack.
Use this conversion chart to learn how to perform a task with the corresponding odacli and oakcli commands. The topics show the task and the associated command.
- Appliance Commands
ODACLI and OAKCLI commands for common tasks performed on the appliance. - Patching Commands
ODACLI and OAKCLI commands for patching the appliance. - Database Commands
ODACLI and OAKCLI commands for common tasks performed on the database. - Database Home Commands
ODACLI and OAKCLI commands for common tasks performed on the database home. - Database Storage Commands
ODACLI and OAKCLI commands for common tasks performed for the database storage. - Network Commands
ODACLI and OAKCLI commands for configuring and managing networks. - Storage Commands
ODACLI and OAKCLI commands for configuring and managing storage. - Job Commands
ODACLI and OAKCLI commands for managing jobs. - Hardware Monitoring Commands
ODACLI and OAKCLI commands for hardware monitoring tasks. - CPU Core Commands
ODACLI and OAKCLI commands for common CPU core tasks. - Oracle Auto Service Request (ASR) Commands
ODACLI and OAKCLI commands for ASR tasks.
Appliance Commands
ODACLI and OAKCLI commands for common tasks performed on the appliance.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| Validate the state of an Oracle Database Appliance or the viability of an operating system patch. |
Not Applicable. |
oakcli validate |
| Configure the first network. | odacli configure-firstnet |
oakcli configure firstnet |
| Create (deploy or provision) Oracle Database Appliance. | odacli create-appliance Requires a JSON file.
|
Not Applicable. The OAK stack uses the Configurator and a configuration file. |
| Display appliance details. | odacli describe-system |
Not Applicable. |
| Prepare a copy of the configuration file for use during the configuration of Oracle Database Appliance. | Not Applicable. The DCS stack does not use a configuration file. | oakcli copy |
| Deploy Oracle Grid Infrastructure for a cluster on Oracle Database Appliance. |
Not Applicable. |
oakcli deploy |
| Stop and restart ODA_BASE on the local node. |
Not Applicable. |
oakcli restart oda_base
|
| Start ODA_BASE on the local node. | Not Applicable. | oakcli start oda_base |
| Change password. | odacli-adm-set-credential |
Not Applicable. |
| Audit configuration settings with the ORAchk utility. | No comparable command. Use the ORAchk utility. | oakcli orachk command to audit configuration settings with the ORAchk utility.
|
| Determine the master node. |
Not Applicable. |
oakcli show ismaster |
| Update the HugePage and memlock values for the operating system | odacli update-osconfigurations |
oakcli reconfigure osparams |
Parent topic: ODACLI Command Reference for OAKCLI Migration
Patching Commands
ODACLI and OAKCLI commands for patching the appliance.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| Display the installed version and the latest available version for each component. | odacli describe-component |
oakcli show version —detail |
| Display a list of the latest supported patch versions for each component. | odacli describe-latestpatch |
Not Applicable. |
| Update a specific RDBMS Home to the latest patch bundle version. | odacli update-dbhome |
oakcli update -patch version -database |
| Update the agent. | odacli update-dcsagent |
Not Applicable. |
| Update the operating system, firmware, Oracle Appliance Kit, Oracle Clusterware, and all other infrastructure components. | odacli update-server |
oakcli update -patch version --server |
| Update the storage. | odacli update-storage |
oakcli update -patch version --storage |
| Unpack packages into the Oracle Appliance Manager repository. | odacli update-repository |
oakcli unpack |
| Apply Oracle Database Appliance patches. | odacli update-database |
oakcli update -patch version --database |
Parent topic: ODACLI Command Reference for OAKCLI Migration
Database Commands
ODACLI and OAKCLI commands for common tasks performed on the database.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| List all databases on the appliance. | odacli list-databases |
oakcli show databases |
| Display database details. | odacli describe-database |
oakcli show databases —db |
| Create a new database. | odacli create-database |
oakcli create database |
| Register a migrated database with the appliance. | odacli register-database |
Not Applicable. |
| Update the Transparent Data Encryption (TDE) parameters for Oracle Database Appliance. | odacli update-tdekey |
Not Applicable. |
| Modify the database type or size class for a named database. |
Not Applicable. |
oakcli modify database |
| Upgrade a database version. | odacli upgrade-database |
oakcli upgrade |
| Delete a database. | odacli delete-database |
oakcli delete database |
| Delete a database configuration file. |
Not Applicable. |
oakcli delete db_config_params |
| Display configuration file names and parameters. |
Not Applicable. |
oakcli show db_config_params |
Parent topic: ODACLI Command Reference for OAKCLI Migration
Database Home Commands
ODACLI and OAKCLI commands for common tasks performed on the database home.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| Display a list of Oracle Home directories. | odacli list-dbhomes |
oakcli show dbhomes |
| Display Oracle Database Home details. | odacli describe-dbhome |
oakcli show dbhomes —detail |
| Create an Oracle Database Home. | odacli create-dbhome |
oakcli create dbhome |
| Delete database home that is not associated with a database. | odacli delete-dbhome |
oakcli delete dbhome |
| Generate a database configuration file. |
Not Applicable. |
oakcli create db_config_params |
| Create a snapshot database from an existing database. | odacli clone-database |
oakcli create snapshot |
Parent topic: ODACLI Command Reference for OAKCLI Migration
Database Storage Commands
ODACLI and OAKCLI commands for common tasks performed for the database storage.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| List of all of the database storage configured in the appliance. | odacli list-dbstorages |
Not Applicable. |
| Display storage configuration details. | odacli describe-dbstorage |
oakcli show dbstorage |
| Create the file system for database migrations. | odacli create-dbstorage |
oakcli create dbstorage |
| Delete database storage that is not associated with a database. | odacli delete-dbstorage |
oakcli delete dbstorage |
| Resize the space used for a storage structure that was created for the purpose of migrating databases from Oracle ASM to Oracle ACFS. |
Not Applicable. |
oakcli resize dbstorage |
Parent topic: ODACLI Command Reference for OAKCLI Migration
Network Commands
ODACLI and OAKCLI commands for configuring and managing networks.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| Display networks. | odacli list-networks |
Not Applicable |
| Display the details of a specific network. | odacli describe-network |
oakcli show network |
| Create a network. | odacli create-network |
Not Applicable |
| Update an existing network configuration. | odacli update-network |
Not Applicable |
| Delete a network. | odacli delete-network |
Not Applicable |
| Configure the network after either replacing a network card or swapping the public network from copper to fiber and vice versa. | odacli configure-network |
oakcli configure network |
| Configure any unconfigured public networks in bare metal, Domain 0, and ODA_BASE. |
Not Applicable |
oakcli configure additionalnet |
| Use after replacing InfiniBand 10GbE SFP+ cards (fiber) cards and before deployment to unconfigure IB setup and configure fiber cards. |
Not Applicable |
oakcli configure ib2fiber |
| Create a VLAN | odaadmcli create vlan |
Not Applicable |
| Delete a VLAN | odaadmcli delete vlan |
Not Applicable |
| Display details about the VLAN | odaadmcli show vlan |
Not Applicable |
Parent topic: ODACLI Command Reference for OAKCLI Migration
Storage Commands
ODACLI and OAKCLI commands for configuring and managing storage.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| Check the cable connections between the system controllers and the storage shelf, as well as the cable connection to the storage expansion shelf (if one is installed). | odacli validate-storagetopology |
Not Applicable |
| Expand storage. | odaadmcli expand storage |
oakcli expand storage |
| Display the status of a single disk or of all disks on the system. | odaadmcli show disk |
oakcli show disk |
| List configured diskgroups or display a specific Oracle Automatic Storage Management (Oracle ASM) diskgroup configuration. | odaadmcli show diskgroup |
oakcli show diskgroup |
| Display details of the controller. | odaadmcli show controller |
oakcli show controller |
| Display the RAID SYNC status. | odaadmcli show raidsyncstatus |
oakcli show raidsyncstatus |
| Show the storage controllers, expanders, and disks. | odaadmcli show storage |
oakcli show storage |
| Run diagnostic tests on a disk in the storage shelf or storage expansion shelf and collect detailed information for each disk or NVMe. | odaadmcli stordiag |
oakcli stordiag |
| Collect diagnostic logs for storage components. | odaadmcli manage diagcollect |
oakcli manage diagcollect |
| Power a disk on or off. | odaadmcli power disk |
|
| Add a local disk to the system after physically replacing a failed disk. | |
oakcli add disk -local |
| Locate disks with write cache enabled and to disable disk write cache for those disks. |
Not Applicable |
oakcli diskwritecache |
| Display information about the storage enclosure subsystem on the node where the command is executed. |
|
oakcli show enclosure |
| Configure solid-state drives (SSDs) for data storage into the existing base configuration to fully populate the base storage shelf. |
Not Applicable |
oakcli expand storage |
| Display internal RAID and local disk information. Not applicable for X7-2 models. | odaadmcli show iraid |
oakcli show iraid |
| Locate the physical disk that is associated with a named Oracle ASM disk by turning the disk's LED light on or off. |
Not Applicable |
oakcli locate disk |
| Display information about a SAS expander. |
|
oakcli show expander |
| Show whether validation storage is enabled or disabled. |
|
oakcli show validation storage |
| Show hard storage errors, such as the wrong type of disk inserted into a particular slot, an invalid disk model, or an incorrect disk size. |
|
oakcli show validation storage errors |
| Show soft validation errors, such as an invalid version of the disk firmware. |
|
oakcli show validation storage failures |
Parent topic: ODACLI Command Reference for OAKCLI Migration
Job Commands
ODACLI and OAKCLI commands for managing jobs.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| Display a list of jobs, including the job IDs, status, and the job created date and time stamp. | odacli list-jobs |
Not Applicable |
| Display details about a specific job, including the job ID, status, tasks, and the job created date and time stamp. | odacli describe-job |
Not Applicable |
Parent topic: ODACLI Command Reference for OAKCLI Migration
Hardware Monitoring Commands
ODACLI and OAKCLI commands for hardware monitoring tasks.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| Show cooling details. | odaadmcli show cooling |
oakcli show cooling |
| Display information about the environment and hardware. | odaadmcli show env_hw |
oakcli show env_hw |
| Display file system details. | odaadmcli show fs |
oakcli show fs |
| Display memory details. | odaadmcli show memory |
oakcli show memory |
| Show network details. | odaadmcli show network |
oakcli show network |
| Display power supply details. | odaadmcli show power |
oakcli show power |
| Display processor details. | odaadmcli show processor |
oakcli show processor |
| Display server details. | odaadmcli show server |
oakcli show server |
| Display InfiniBand card and port information if InfiniBand exists in the system. |
|
oakcli show ib |
Parent topic: ODACLI Command Reference for OAKCLI Migration
CPU Core Commands
ODACLI and OAKCLI commands for common CPU core tasks.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| Lists the history of core configuration changes in the system. | odacli list-cpucores |
Not Applicable |
| Display the current core configuration and the modification date and time. | odacli describe-cpucore |
Not Applicable |
| Update or enable the number of CPU cores in the system | odacli update-cpucore |
Not Applicable |
| Reconfigure your Oracle Database Appliance core capacity. |
Not Applicable |
oakcli apply |
| Adjust the kernel parameters based on the available RAM after you upgrade memory or DIMM. |
Not Applicable |
oakcli reconfigure osparams |
| Display information about how to deploy your Oracle Database Appliance cores. |
Not Applicable |
oakcli show core_config_key |
Parent topic: ODACLI Command Reference for OAKCLI Migration
Oracle Auto Service Request (ASR) Commands
ODACLI and OAKCLI commands for ASR tasks.
| Task | Command to Run on the DCS Stack | Command to Run on the OAK Stack |
|---|---|---|
| Configure Oracle Auto Service Request (Oracle ASR) after deploying the appliance. | odacli configure-asr |
oakcli configure asr |
| Edit Oracle Auto Service Request (Oracle ASR) configuration details after deploying the appliance. | odacli update-asr |
Not Applicable |
| Display Oracle Auto Service Request (Oracle ASR) configuration details. | odacli describe-asr |
oakcli show asr |
| Test the Oracle Auto Service Request (Oracle ASR) configuration. | odacli test-asr |
oakcli test asr |
| Remove the Oracle Auto Service Request (Oracle ASR) configuration from the system. | odacli delete-asr |
Not Applicable |
Parent topic: ODACLI Command Reference for OAKCLI Migration