Download the lastest OpenSVC package available for your operating system of choice from https://repo.opensvc.com.
# Red Hat, CentOS, Fedora, SuSe Linux curl -o /tmp/opensvc.rpm https://repo.opensvc.com/rpms/1.9/current # Debian, Ubuntu Linux curl -o /tmp/opensvc.latest https://repo.opensvc.com/deb/1.9/current # Solaris pkg curl -o /tmp/opensvc.latest https://repo.opensvc.com/sunos-pkg/1.9/current # Solaris ips curl -o /tmp/opensvc.p5p https://repo.opensvc.com/sunos-ips/1.9/current # Mac OS X curl -o /tmp/opensvc.latest https://repo.opensvc.com/macos-pkg/1.9/current
Depending on the operating system, and operating system version, you might need to download dependencies in the
# Red Hat, CentOS, Fedora Linux sudo yum install /tmp/opensvc.rpm # SuSE Linux sudo zypper install /tmp/opensvc.rpm # Debian, Ubuntu Linux sudo dpkg -i /tmp/opensvc.latest # Solaris pkg sudo pkgadd -d /tmp/opensvc.latest opensvc # Solaris ips sudo pkg install –g /tmp/opensvc.p5p opensvc # Mac OS X installer -pkg /tmp/opensvc.latest -target /
The package post-installation steps are handled by the
<OSVCROOT>/bin/postinstall script. This script can be safely executed on a node where OpenSVC is already installed.
On Unix systems, if the root account has no rsa key, a 2048 bits rsa key is generated by the package post-install. A production node key must be trusted on all nodes of its cluster (PRD and DRP), whereas the keys of disaster recovery servers must not be trusted by any production nodes. This setup is used for rsync file transfers.