Upgrading a Standalone Oracle Key Vault Server
This upgrade includes the Oracle Key Vault server software and utilities that control the associated endpoint software
-
About Upgrading a Standalone Oracle Key Vault Server To benefit from new features and security enhancements, Oracle recommends that you upgrade Oracle Key Vault server to the latest release.
-
Step 1: Back Up the Server Before You Upgrade Before you upgrade the Oracle Key Vault server, perform a one-time backup to a remote destination so that you can recover data in case the upgrade fails.
-
Step 2: Perform Pre-Upgrade Tasks for the Standalone Oracle Key Vault To ensure a smooth upgrade to Oracle Key Vault, you should prepare the server you are upgrading.
-
Step 3: Add Disk Space to Extend the vg_root for the Release 21.16 Upgrade Before upgrading from Oracle Key Vault release 12.2 or 18 to 21, you need to extend the
vg_rootto increase disk space. -
Step 4: Upgrade the Oracle Key Vault Server You can upgrade a standalone Oracle Key Vault server deployment.
-
Step 5: If Necessary, Add Disk Space to Extend Swap Space If necessary, extend the swap space. Oracle Key Vault release 21.16 requires a hard disk size greater than or equal to 2 TB in size with approximately 64 GB of swap space.
-
Step 6: If Necessary, Remove Old Kernels Oracle recommends that you clean up the older kernels that were left behind after the upgrade.
-
Step 7: If Necessary, Remove SSH-Related DSA Keys You should remove SSH-related DSA keys left behind after the upgrade, because they can cause problems with some code analysis tools.
-
Step 8: Upgrade the Endpoint Software When you upgrade the Oracle Key Vault server software appliance, also upgrade the endpoint software to get access to the latest enhancements.
-
Step 9: Back Up the Upgraded Oracle Key Vault Server You must perform server backup and user password tasks after completing a successful upgrade.
About Upgrading a Standalone Oracle Key Vault Server
To benefit from new features and security enhancements, Oracle recommends that you upgrade Oracle Key Vault server to the latest release.
You must upgrade in the following order: first perform a full backup of Oracle Key Vault, upgrade the Oracle Key Vault server, upgrade the endpoint software, and lastly, perform another full backup of the upgraded server. Note that upgrading requires a restart of the Oracle Key Vault server.
Oracle recommends using a multi-master cluster deployment for production use. During upgrade of a multi-master cluster, there is no downtime of databases or business applications. A two-node cluster provides read-only availability, and four or more node clusters provide continuous read-write availability. You can enable the persistent cache feature to enable endpoints to continue operation during the upgrade process.
When you upgrade the Oracle Key Vault server software, to access the latest enhancements, also upgrade the endpoint software. While endpoint software from the previous Oracle Key Vault release will continue to function with the upgraded Oracle Key Vault server, new endpoint functionality may not work.
Before you begin the upgrade, refer to Oracle Key Vault Release Notes for additional information about performing upgrades.
Related Topics
Step 1: Back Up the Server Before You Upgrade
Before you upgrade the Oracle Key Vault server, perform a one-time backup to a remote destination so that you can recover data in case the upgrade fails.
Caution: Do not bypass this step. Back up the server before you perform the upgrade so that your data is safe and recoverable.
Step 2: Perform Pre-Upgrade Tasks for the Standalone Oracle Key Vault
To ensure a smooth upgrade to Oracle Key Vault, you should prepare the server you are upgrading.
-
In the server where Oracle Key Vault is installed, log in as user
support, and then switch to therootuser. -
Ensure that the server meets the minimum disk space requirements for an upgrade. For example, 6 GB of free space in the
/usr/local/dbfw/tmpdirectory. See the Oracle Key Vault Readme for this release to determine the disk space requirements for the upgrade. -
Ensure that you disable diagnostics and clean up disk space in
/usr/local/dbfw/tmpbefore you upgrade by performing the following steps:If the Oracle Key Vault system being upgraded is from release 21.6 or later, log in to the Oracle Key Vault management console as a user with the System Administrator role, and navigate to the System tab, and then click the Diagnostics button.
If the Diagnostics Package Files pane is displayed, then click Clear to disable diagnostics. Note that the Diagnostics Package Files pane will be displayed only if the diagnostics bundle was previously generated, and the files were not cleared.
If the Diagnostics Package Files pane is not displayed, or if the diagnostics bundle was previously generated using the dbfw-diagnostics-package.rb utility, then log in to the Oracle Key Vault system and run the following commands to disable diagnostics and clean up disk space in
/usr/local/dbfw/tmp:-
SSH into the Oracle Key Vault system as user
support, then switch to the userroot:ssh support@<OKV_IP_Address> su - root -
Delete the generated diagnostics zip file and remove the package using the following commands:
/usr/local/dbfw/bin/priv/dbfw-diagnostics-package.rb --clean /usr/local/dbfw/bin/priv/dbfw-diagnostics-package.rb --remove
-
-
Check the boot partition size. If any of the nodes in question have a boot partition that is less than 500 MB, then you cannot upgrade that system to the new release. You can check this size as follows:
-
Mount the
/bootpartition.mount /boot -
Check the
Sizecolumn given by the following command:df -h /boot -
Unmount the
/bootpartition:umount /boot
If the boot partition given by this command shows less than 488 MB, then you cannot upgrade to the current release. Oracle recommends that you restore a backup of the current configuration to a freshly installed system of the same release as the current system, and upgrade that to the new release instead.
-
-
If Oracle Key Vault is using the BIOS boot mode, then ensure that the disk size is not greater than 2 TB. If this is the case, then you cannot upgrade to the current release. Oracle recommends that you restore a backup of the current configuration onto a system with a disk that is less than 2 TB in size, and upgrade that to the new release instead.
-
If you need to increase available disk space, then remove the temporary jar files located in
/usr/local/okv/ssl. Be careful in doing so. If you accidentally delete any files other than the jar files in/usr/local/okv/ssl, then the Oracle Key Vault server becomes non-functional. -
Increase your disk space by extending the
vg_rootsize:You must increase the disk space by extending
vg_rootbefore you perform the upgrade. -
Ensure that no full or incremental backup jobs are running. Delete all scheduled full or incremental backup jobs before the upgrade.
-
Plan for downtime according to the following specifications:
Oracle Key Vault Usage Downtime required Wallet upload or download NO Java Keystore upload or download NO Transparent Data Encryption (TDE) direct connect YES (NO with persistent cache) Primary Server Upgrade in a primary-standby deployment YES (NO with persistent cache) -
Plan for downtimes.
If Oracle Key Vault uses an online master encryption key, then plan for a downtime of 15 minutes during the Oracle Database endpoint software upgrades. Database endpoints can be upgraded in parallel to reduce total downtime.
-
If the Oracle Key Vault system has a syslog destination configured, ensure that the remote syslog destination is reachable from the Oracle Key Vault system, and that logs are being correctly forwarded. If the remote syslog destination is not reachable from the Oracle Key Vault system, then the upgrade process can become much slower than normal.
-
If Oracle Audit Vault was integrated with Oracle Key Vault release 21.2 or earlier, then do the following to disable and remove the Oracle Audit Vault integration:
-
Disable the Oracle Audit Vault integration: Log into the Oracle Key Vault management console as a System Administrator, select the System tab and then Settings from the left navigation bar. In the Monitoring and Alerts pane, select Audit Vault. In the Audit Vault integration pane that appears, disable AVDF. Click Save.
-
Log in to the Oracle Key Vault server through SSH as user
support, switch usersutorootand then switch usersutooracle. -
Stop the agent by executing the following command:
agent_installation_directory/bin/agentctl stop -
Log in to the Oracle Audit Vault Server console as an Oracle Audit Vault administrator.
-
Delete the corresponding agent and target.
-
Log in to the Oracle Key Vault server through SSH as user
support, then switch usersutoroot. -
Delete the installation directory for the Oracle Audit Vault agent.
-
-
If you are performing an upgrade while using an HSM as a Root of Trust, then see the Oracle Key Vault Root of Trust HSM Configuration Guide for any additional steps that may be needed.
-
Ensure that the Oracle Key Vault server certificate has not expired, nor is close to expiry, before you begin the upgrade.
You can find how much time the Oracle Key Vault server certificate has before it expires by checking the OKV Server Certificate Expiration setting on the Configure Alerts page in the Oracle Key Vault management console.
-
Ensure that the backup of the
orapwdbfwdbfile matches the original file.-
SSH into the Oracle Key Vault system as user
support, then switch to userroot:ssh support@<OKV_IP_Address> su - root -
Verify that the backup file exists:
su - oracle ls -ltr /var/lib/oracle/okv_orapwd_backup_dir/orapwdbfwdb -
If the backup file exists, then perform the following steps:
-
Compare the original file with the backup file:
diff /var/lib/oracle/dbfw/dbs/orapwdbfwdb /var/lib/oracle/okv_orapwd_backup_dir/orapwdbfwdb -
If there is a difference between the files, then update the backup file by copying the original file:
cp /var/lib/oracle/dbfw/dbs/orapwdbfwdb /var/lib/oracle/okv_orapwd_backup_dir/orapwdbfwdb
-
-
-
If Oracle Key Vault is integrated with Thales Luna HSM, then perform the following steps:
-
Add the following command to the pre-upgrade script to enable the Oracle user to access the
libSoftToken.solibrary during the upgrade process to open the wallet:chmod 777 /usr/safenet/lunaclient/lib/libSoftToken.so -
Add the following command to the post-upgrade script to retain changes carried out to the
libSoftToken.solibrary:chmod 550 /usr/safenet/lunaclient/lib/libSoftToken.so
-
Related Topics
Step 3: Add Disk Space to Extend the vg_root for the Release 21.16 Upgrade
Before upgrading from Oracle Key Vault release 12.2 or 18 to 21, you need to extend the vg_root to increase disk space.
If you are upgrading from an earlier Oracle Key Vault release 21.x and have already extended the vg_root, then you can bypass this step.
Before you start this procedure, ensure that all endpoints have persistent cache enabled and in use.
-
Log in to the server for which you will perform the upgrade and switch user as
root. -
Ensure that the persistent cache settings for Oracle Key Vault have been set.
You will need to ensure that the persistent cache has been enabled because in a later step in this procedure, you must shut down the server. Shutting down the Oracle Key Vault server will incur downtime. To avoid any downtime, Oracle recommends that you turn on persistent cache.
-
Run the
vgscommand to determine the free space.vgsThe
VFreecolumn shows how much free space you have (for example, 21 GB). -
Power off the server in order to add a new disk.
/sbin/shutdown -h now -
Add a new disk to the server with a capacity of 100 GB or greater.
-
Start the server.
-
Log in to the Oracle Key Vault server through SSH as user
support, then switch usersutoroot.ssh support@okv_server_IP_address su - root -
Stop the Oracle Key Vault services.
service tomcat stop; service httpd stop; service kmipus stop; service kmip stop; service okvogg stop; service javafwk stop; service monitor stop; service controller stop; service dbfwlistener stop; service dbfwdb stop; service rsyslog stop; -
Run the
fdisk -lcommand to find if there are any available partitions on the new disk.fdisk -lAt this stage, there should be no available partitions.
-
Run the
fdisk disk_device_to_be_addedcommand to create the new partition.For example, to create a disk device named
/dev/sdb:fdisk /dev/sdbIn the prompts that appear, enter the following commands in sequence:
-
nfor new partition -
pfor primary -
1for partition number -
Accept the default values for cylinder (press Enter twice).
-
wto write and exit
-
-
Use the
pvcreate disk_device_partitioncommand to add the newly added disk to the physical volume.For example, for a disk device named
/dev/sdb1, which is the name of the disk partition that you created (based on the name used for the disk device that was added).pvcreate /dev/sdb1Output similar to the following appears:
Physical volume "/dev/sdb1" successfully created -
Use the
vgextend vg_root disk_device_partitioncommand to extend the logical volume with this disk space that you just added.For example, for the partition
/dev/sdb1, you would run:vgextend vg_root /dev/sdb1Output similar to the following appears:
Volume group "vg_root" successfully extended -
Run the
vgscommand again to ensure thatVFreeshows an increase of 100 GB or more (depending on the size of the disk that was added).vgsOutput similar to the following appears:
VG #PV #LV #SN Attr VSize VFree vg_root 2 12 0 wz--n- 598.75g <121.41g -
Restart the Oracle Key Vault server.
/sbin/reboot
Related Topics
Step 4: Upgrade the Oracle Key Vault Server
You can upgrade a standalone Oracle Key Vault server deployment.
-
About Upgrading an Oracle Key Vault Server
In a standalone deployment you must upgrade a single Oracle Key Vault server.
-
Upgrading a Standalone Oracle Key Vault Server
A single Oracle Key Vault server in a standalone deployment is sometimes used in test and development environments for functional testing.
About Upgrading an Oracle Key Vault Server
In a standalone deployment you must upgrade a single Oracle Key Vault server.
Note that persistent caching enables endpoints to continue to be operational during the upgrade process.
Note: If you are upgrading from a system with 4 GB RAM, first add 12 GB or more of additional RAM, following instructions for your specific hardware, before upgrading. Ensure that the persistent cache is enabled and set to sufficiently large values before attempting such operations so as to not incur endpoint downtime.
Related Topics
Upgrading a Standalone Oracle Key Vault Server
A single Oracle Key Vault server in a standalone deployment is sometimes used in test and development environments for functional testing.
-
Ensure that you have backed up the server you are upgrading so your data is safe and recoverable.
Do not proceed without completing this step.
-
Log into the Oracle Key Vault management console as a user who has the System Administrator role.
-
Ensure that SSH access is enabled.
Log in to the Oracle Key Vault management console as a user who has the System Administrator role. Select the System tab, then Settings. In the Network Details area, click SSH Access. Select IP address(es) and then enter only the IP addresses that you need, or select All. Click Save.
-
Ensure you have enough space in the destination directory for the upgrade ISO files.
Do not copy this file to any location other than the
/var/lib/oracledirectory. -
Log in to the Oracle Key Vault server through SSH as user
support, then switch from the usersuto therootuser.ssh support@okv_server_IP_address su - rootPerform the commands in the following steps as the
rootuser.If the SSH connection times out while you are executing any step of the upgrade, then the operation will not complete successfully. Oracle recommends that you ensure that you use the appropriate values for the
ServerAliveIntervalandServerAliveCountMaxoptions for your SSH sessions to avoid upgrade failures. Using thetmuxcommand prevents network disconnections interrupting the upgrade. If the session terminates, resume as follows:tmux a -
Copy the upgrade ISO file to the destination directory using Secure Copy Protocol or other secure transmission method.
Note: The upgrade ISO file is not the installation ISO file that you downloaded from eDelivery. You can download the Oracle Key Vault 21.16 upgrade software from https://updates.oracle.com/download/40263130.html.
scp user_name@remote_host:remote_path/okv-upgrade-21.16.0.0.0.iso /var/lib/oracle/In this specification:
-
remote_hostis the IP address of the computer containing the ISO upgrade file. -
remote_pathis the directory of the ISO upgrade file. Do not copy this file to any location other than the/var/lib/oracledirectory.
-
-
As
root, make the upgrade accessible by using themountcommand:mount -o loop,ro /var/lib/oracle/okv-upgrade-21.16.0.0.0.iso /images -
Clear the cache using the
clean allcommand:yum -c /images/upgrade.repo clean all -
Apply the upgrade with the
upgrade.rbcommand:ruby /images/upgrade.rb --confirmIf the system is successfully upgraded, then the command will display the following message:
Reboot now to continue the upgrade process.If you see an error message, then check the log file
/var/log/messagesfor additional information.If the upgrade of the Oracle Key Vault system fails with the following message:
Failed to apply update: The Oracle Key Vault upgrade has detected issues with FIPS mode. Please consult the Oracle Key Vault upgrade documentation or contact Oracle Support.Perform the following steps:
- Log in to the Oracle Key Vault server through SSH as user
support, then switch usersuto therootuser.
ssh support@<Oracle_Key_Vault_IP_address> su - root- Run the following command:
/images/preupgrade/okv_check_fips_status_utility fix_fips_mode_consistency-
Follow the instructions displayed in the output and reboot the system when prompted.
-
After the system has successfully rebooted, SSH into the system again. As user
root, mount the upgrade ISO and run the following command to verify that there is no FIPS mode inconsistency on the system:/images/preupgrade/okv_check_fips_status_utility check_for_fips_mode_consistencyThe return value 0 indicates that there is no more FIPS inconsistency.
The return value 1 indicates that there is FIPS mode inconsistency. Run the following command to correct it:
/images/preupgrade/okv_check_fips_status_utility fix_fips_mode_consistency
- Log in to the Oracle Key Vault server through SSH as user
-
Restart the Oracle Key Vault server by running the
rebootcommand:rebootOn the first restart of the computer after the upgrade, assuming that the upgrade ISO file was copied to the
/var/lib/oracledirectory, the system will automatically mount/var/lib/oracle/okv-upgrade-21.16.0.0.0.isoand finish the upgrade process. (If the ISO is not auto-mounted, then the upgrade process will prompt for the ISO to be re-attached.) This can take a few hours. Do not shut down the system during this time.The upgrade is complete when the screen shows the following text:
Oracle Key Vault Server version. This appliance was upgraded from previous_release_version. The revision reflects the upgraded release. -
Confirm that Oracle Key Vault has been upgraded to the correct version.
-
Log in to the Oracle Key Vault management console as a user who has the System Administrator role.
-
Select the System tab, and then select Status.
-
Verify that the version displayed is the latest release number.
The release number is also at the bottom of each page, to the right of the copyright information.
-
-
If your site uses the Commercial National Security Algorithm (CNSA) suite, then re-install these algorithms onto the standalone server.
-
Restart the Oracle Key Vault system.
/sbin/reboot -
Delete the upgrade ISO from the Oracle Key Vault server that was just upgraded. For example:
/bin/rm -f /var/lib/oracle/okv-upgrade-21.16.0.0.0.iso -
Disable SSH access.
Log in to the Oracle Key Vault management console as a user who has the System Administrator role. Select the System tab, then Settings. In the Network Details area, click SSH Access. Select Disabled. Click Save.
Related Topics
Correct System Inconsistencies Before Upgrade
You can correct the system inconsistencies before upgrading to the latest Oracle Key Vault release.
If your upgrade path includes Oracle Key Vault release 21.1 or 21.2 and while running the system at Oracle Key Vault release 21.1 or 21.2 you have enabled or disabled FIPS mode, the upgrade to Oracle Key Vault 21.16 may result in an error. The error is because all components in Oracle Key Vault do not have the same mode when it comes to FIPS, that is, they are not all enabled or all disabled. All the system components should work with the similar FIPS mode, that is, all the components should be with FIPS mode enabled or disabled before you can proceed with upgrade.
You get the following error on upgrade if FIPS mode is not consistent in Oracle Key Vault,
# ruby /images/upgrade.rb --confirm
Power loss during upgrade may cause data loss. Do not power
off during upgrade.
Verifying boot partition before upgrade
Failed to apply update:
The Oracle Key Vault upgrade has detected issues with FIPS mode.
Please consult the Oracle Key Vault upgrade documentation or contact Oracle Support.
Before you upgrade, follow the steps to fix the inconsistent state of FIPS.
-
SSH into the Oracle Key Vault system as user support, then switch to user
root.ssh support@<Oracle_Key_Vault_IP_address> su - root -
Run the following commands:
su - oracle -c "/usr/local/okv/bin/fips_nzzt_enable" su - oracle -c "/usr/local/okv/bin/fips_ogg_enable" FIPS_ENABLED in /usr/local/okv/etc/okv_security.conf updated from "0" to "1": sed -i "/^FIPS_ENABLED=/cFIPS_ENABLED="1"" /usr/local/okv/etc/okv_security.conf -
Reboot the system.
-
Upgrade the system after the reboot is complete.
Step 5: If Necessary, Add Disk Space to Extend Swap Space
If necessary, extend the swap space. Oracle Key Vault release 21.16 requires a hard disk size greater than or equal to 2 TB in size with approximately 64 GB of swap space.
If your system does not meet this requirement, follow these instructions to extend the swap space. You can check how much swap space you have by running the swapon -s command. By default, Oracle Key Vault releases earlier than release 18.1 were installed with approximately 4 GB of swap space. After you complete the upgrade to release 18.1 or later, Oracle recommends that you increase the swap space allocation for the server on which you upgraded Oracle Key Vault. A new Oracle Key Vault installation is automatically configured with sufficient swap space. However, if you upgraded from a previous release, and your system does not have the desired amount of swap space configured, then you must manually add disk space to extend the swap space, particularly if the intention is to convert the upgraded server into the first node of a multi-master cluster.
-
Log in to the server in which you upgraded Oracle Key Vault and connect as
root. -
Check the current amount of swap space.
swapon -sOutput similar to the following appears. This example shows that the system has 4 GB of swap space.
Filename Type Size Used Priority /dev/dm-0 partition 4194300 3368 -1There must be 64 GB of swap space if the disk is greater than 1 TB in size.
-
Run the
vgscommand to determine how much free space is available.vgsThe
VFreecolumn shows how much free space you have (for example, 21 GB). -
Power off the server in order to add a new disk.
/sbin/shutdown -h now -
Add a new disk to the server of a size that will bring the VFree value to over 64 GB.
-
Start the server.
-
Log in to the Oracle Key Vault server through SSH as user
support, then switch usersutoroot.ssh support@okv_server_IP_address su - root -
Run the
fdisk -lcommand to find if there are any available partitions on the new disk.fdisk -lAt this stage, there should be no available partitions.
-
Run the
fdisk disk_device_to_be_addedcommand to create the new partition.For example, to create a disk device named
/dev/sdc:fdisk /dev/sdcIn the prompts that appear, enter the following commands in sequence:
-
nfor new partition -
pfor primary (the primary partition) -
1for partition number -
Accept the default values for cylinder (press Enter twice).
-
wto write and exit
-
-
Use the
pvcreate disk_device_partitioncommand to add the newly added disk to the physical volume.For example, for a disk device named
/dev/sdc1, which is the name of the disk partition that you created (based on the name used for the disk device that was added).pvcreate /dev/sdc1Output similar to the following appears:
Physical volume "/dev/sdc1" successfully created -
Use the
vgextend vg_root disk_device_partitioncommand to extend the logical volume with this disk space that you just added.For example, for the partition
/dev/sdc1, you would run:vgextend vg_root /dev/sdc1Output similar to the following appears:
Volume group "vg_root" successfully extended -
Run the
vgscommand again to ensure thatVFreeshows an increase of 64 GB.vgs -
Disable swapping.
swapoff -v /dev/vg_root/lv_swap -
To extend the swap space, run the
lvresizecommand.lvresize -L +60G /dev/vg_root/lv_swapOutput similar to the following appears:
Size of logical volume vg_root/lv_swap changed from 4.00 GiB (128 extents) to 64.00 GiB (2048 extents) Logical volume lv_swap successfully resized. -
Format the newly added swap space.
mkswap /dev/vg_root/lv_swapOutput similar to the following appears:
mkswap: /dev/vg_root/lv_swap: warning: don't erase bootbits sectors on whole disk. Use -f to force. Setting up swapspace version 1, size = 67108860 KiB no label, UUID=fea7fc72-0fea-43a3-8e5d-e29955d46891 -
Enable swapping again.
swapon -v /dev/vg_root/lv_swap -
Verify the amount of swap space that is available.
swapon -sOutput similar to the following appears:
Filename Type Size Used Priority /dev/dm-0 partition 67108860 0 -1 -
Restart the Oracle Key Vault server.
/sbin/reboot
Step 6: If Necessary, Remove Old Kernels
Oracle recommends that you clean up the older kernels that were left behind after the upgrade.
While the older kernel is not in use, it may be marked as an issue by some code analysis tools.
-
Log in to the Oracle Key Vault server as the
supportuser. -
Switch to the
rootuser.su - root -
Mount
/bootif it was not mounted on the system.-
Check if the
/bootis mounted. The following command should display/bootinformation if it was mounted.df -h /boot; -
Mount it if
/bootis not mounted./bin/mount /boot;For EFI-based systems, you may need to mount
/boot/efiif it is not already mounted./bin/mount /boot/efi
-
-
Check the installed kernels and the running kernel.
-
Search for any kernels that are installed.
rpm -q kernel-uek | sort;The following example output shows that two kernels are installed:
kernel-uek-5.4.17-2136.318.7.2.el8uek.x86_64 kernel-uek-5.4.17-2136.329.3.1.el8uek.x86_64 -
Check the latest kernel.
uname -r;The following output shows an example of a kernel version that was installed at the time:
5.4.17-2136.329.3.1.el8uek.x86_64This example assumes
5.4.17-2136.329.3.1.el8uek.x86_64as the latest version (newer versions may be available by now). Based on the output from the commands above, remove the older kernel(kernel-uek-5.4.17-2136.318.7.2.el8uek.x86_64). You should remove all kernels that are older than the latest kernel.
-
-
Remove the older kernel and its associated RPMs.
For example, to remove the
kernel-uek-5.4.17-2136.318.7.2.el8uek.x86_64yum --disablerepo=* remove `rpm -qa|grep kernel-uek-5.4.17-2136.318.7.2.el8uek`Output similar to the following appears:
Resolving Dependencies --> Running transaction check ---> Package kernel-uek.x86_64 0:4.14.35-2047.504.2.el7uek will be erased ---> Package kernel-uek-devel.x86_64 0:4.14.35-2047.504.2.el7uek will be erased --> Finished Dependency Resolution Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: kernel-uek x86_64 5.4.17-2136.318.7.2.el8uek @avdf-base-os 135 M Transaction Summary ================================================================================ Remove 1 Package Freed space: 135 M Is this ok [y/N]: -
Enter
yto accept the deletion output. -
Repeat these steps starting with Step 4 for all kernels that are older than the latest kernel.
Step 7: If Necessary, Remove SSH-Related DSA Keys
You should remove SSH-related DSA keys left behind after the upgrade, because they can cause problems with some code analysis tools.
-
Log in to the Oracle Key Vault management console as a user with the System Administrator role.
-
Enable SSH.
Log in to the Oracle Key Vault management console as a user who has the System Administrator role. Select the System tab, then Settings. In the Network Details area, click SSH Access. Select IP address(es) and then enter only the IP addresses that you need, or select All. Click Save.
-
Log in to the Oracle Key Vault support account using SSH as the
supportuser and then switch to therootuser.ssh support@OracleKeyVault_serverIPaddresssu - root -
Change directory to
/etc/ssh.cd /etc/ssh -
Rename the following keys.
mv ssh_host_dsa_key.pub ssh_host_dsa_key.pub.retire mv ssh_host_dsa_key ssh_host_dsa_key.retire -
Disable SSH access.
Log in to the Oracle Key Vault management console as a user who has the System Administrator role. Select the System tab, then Settings. In the Network Details area, click SSH Access. Select Disabled. Click Save.
Step 8: Upgrade the Endpoint Software
When you upgrade the Oracle Key Vault server software appliance, also upgrade the endpoint software to get access to the latest enhancements.
Oracle Key Vault client software is backward-compatible. While older versions of Oracle Key Vault client software are fully functional with an upgraded Oracle Key Vault server, some new Oracle Key Vault features are only available with the current client software.
You can upgrade an endpoint by upgrading the endpoint software or re-enrolling the endpoint. Upgrading the endpoint software does not affect the existing endpoint certificate or okvclient.ora, the endpoint configuration file. Re-enrolling an endpoint invalidates an existing endpoint certificate, and a new endpoint certificate as well as okvclient.ora are installed. Oracle recommends that you upgrade the endpoint software for minor version upgrades (for example, from 21.x to 21.y) and consider re-enrolling the endpoint when upgrading across major versions (for example, from 18.x to 21.y).
Before an endpoint that uses Oracle Key Vault for TDE key management can take advantage of new Oracle Key Vault features, for example non-extractable TDE master keys, it must be upgraded to match the new Oracle Key Vault release.
For more information and detailed steps to upgrade an endpoint, see Upgrading Oracle Key Vault Endpoints.
Related Topics
Step 9: Back Up the Upgraded Oracle Key Vault Server
You must perform server backup and user password tasks after completing a successful upgrade.
-
Take a full backup of the upgraded Oracle Key Vault Server Database to a new remote destination. Avoid using the old backup destination for the new backups.
-
Schedule a new periodic incremental backup to the new destination defined in the preceding step.
-
Change the Oracle Key Vault administrative passwords.
Password hashing has been upgraded to a more secure standard than in earlier releases. This change affects the operating system passwords,
supportandroot. You must change Oracle Key Vault administrative passwords after the upgrade to take advantage of the more secure hash.