ProVision uses port 22 to communicate with and configure Secure64 infrastructure - please ensure that this is addressed in any ACLs/firewalls ProVision also uses port 53 to do zone checks if the DNS Module is enabled and in use. Please ensure that your Secure64 infrastructure is configured to accept DNS lookups from the ProVision server |
The Secure64 x86 Authoritative server version installed may be 3.x (Secure OS) or 6.x EL (Enterprise Linux, available for Red Hat or Oracle Enterprise Linux deployments). Separate installation instruction callouts are provided where differences exist between the 3.x S and 6.x Secure64 Authority Server versions.
Create new user "provision"
sudo useradd provision sudo passwd provision |
Create a directory called "6c" that will be used for the ProVision exports and set the permissions, so that we can push the configurations:
sudo mkdir --mode=u+rwx,g+wrs,o-rwx /srv/knot/6c sudo chown provision.knot /srv/knot/6c |
sudo mkdir --mode=u+rwx,g+wrs,o-rwx /var/lib/knot/6c sudo chown provision.knot /var/lib/knot/6c |
In order to properly reload the server without asking for a password from ProVision, we must edit the sudoers file to let the user "provision" execute "sudo knotc reload" after push. So, add the following line at the end of /etc/sudoers:
provision ALL=(ALL) NOPASSWD: /sbin/knotc reload |
Add knot to be inside the "provision" group by editing the /etc/group as follows:
provision:x:120:knot |
Add provision to be a part of the knot group (in case knot replaces a zone), so that Provision is able to replace it again on push. So, we must once again edit /etc/group, as follows:
knot:x:119:provision |
Configure ProVision in the S64 server and add the include directive in /etc/knot/knot.conf:
include: /srv/knot/6c/6c_knot.conf |
For the 6.x versions of Secure64 Authority, which deploy on Red Hat or Oracle Enterprise Linux, Secure64 recommends storing zone files and 6connect data under the directory /var/lib/knot instead of /srv/knot. This configuration is more consistent with Enterprise Linux scheme for application data.
|
For 3.x: For 6.x EL: Remote Directory should be set to "/var/lib/knot/6c/" and Knot Conf Path set to "/var/lib/knot/6c/6c_knot.conf"
|