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 curl -o /tmp/opensvc.latest https://repo.opensvc.com/sunos-pkg/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 sudo pkgadd -d . /tmp/opensvc.latest # 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.