oakcli apply

Use the oakcli apply command from Node 0 to reconfigure your Oracle Database Appliance core capacity. This command applies only to bare metal deployments.

Syntax

Use the following syntax where core_config_key_file is the full path name of a configuration key file generated on My Oracle Support and copied to Oracle Database Appliance:

oakcli apply core_configuration_key core_config_key_file [-h]

Parameters


Parameter Description

core_config_key_file

Identifies the full path and name of the configuration key file

-h

(Optional) Display help for using the command.


Usage Notes

  • Run the oakcli apply command from the first node in Oracle Database Appliance as the root user.

  • After you run the oakcli apply command, Oracle Database Appliance applies the key to both nodes and reboots both nodes.Run the oakcli show core_config_key command to view the core configuration key. See oakcli show core_config_key.

  • The core key application is applicable only to bare metal implementations. It is not available on Oracle Database Appliance Virtualized Platform.

Example

Reconfigure Oracle Database Appliance with a new core count using the configuration key file /tmp/set8cores.conf:

oakcli apply core_configuration_key /tmp/set8cores.conf
...................done
INFO: Cluster will be rebooted after applying the core_configuration_key successfully
INFO: ....................................

INFO: Applying core_configuration_key on '192.0.2.21'
INFO: ........................................................................
INFO: Running as root: /usr/bin/ssh -1 root 192.0.2.21 /tmp/tmp_lic_exec.pl
INFO: Running as root: /usr/bin/ssh -1 root 192.0.2.21 /opt/oracle/oak/bin/oakcli enforce core_configuration_key /tmp/.lic_file
INFO: Applying core_configuration_key on '192.0.2.20'

INFO: ........................................................................
INFO: Running as root: /usr/bin/ssh -1 root 192.0.2.20 /tmp/tmp_lic_exec.pl
INFO: Running as root: /usr/bin/ssh -1 root 192.0.2.20 /opt/oracle/oak/bin/oakcli enforce core_configuration_key /tmp/.lic_file
INFO: Applying core_configuration_key on '192.0.2.20'