Upgrading Centos from 7 to 8 with ZFS

yum install -y epel-release 
yum install -y yum-utils
yum install -y rpmconf
rpmconf -a
package-cleanup --leaves
package-cleanup --orphans
yum install -y dnf
dnf -y remove yum yum-metadata-parser
rm -Rf /etc/yum
dnf upgrade
dnf -y upgrade http://mirror.bytemark.co.uk/centos/8/BaseOS/x86_64/os/Packages/centos-release-8.0-0.1905.0.9.el8.x86_64.rpm
dnf -y upgrade https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf clean all
rpm -e zfs
rpm -e kmod-zfs
rpm -e `rpm -q kernel`
rpm -e --nodeps sysvinit-tools
dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync 
dnf -y install kernel-core
dnf -y groupupdate "Core" "Minimal Install"
cat /etc/redhat-release
yum install http://download.zfsonlinux.org/epel/zfs-release.el8_0.noarch.rpm
yum -y update
yum -y install zfs
zpool upgrade -v
zpool scrub geekpool 

Your pool name instead of geekpool in the last command

random blocking Java database connections

So I came across a problem with a Java App not being able to open a connection to an Oracle Database.  It wasn’t a problem with Credentials or the SID but a failure to connect.  After a bit of digging I found that there wasn’t enough entropy in the system to get the required amount of bytes from /dev/random – the solution is to edit java.security to use /dev/urandom instead:

securerandom.source=file:/dev/urandom