Configuring Secure64 x86 Support
Table of Contents |
---|
Note | ||
---|---|---|
| ||
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 initial setup of the Secure64 x86 Authoritative server is as follows: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.
Configuring Secure64 x86 Authority Server
- Using the terminal, SSH to the desired S64 x86 server. All the configurations and zones will be pushed in /srv/knot/6c/
Create new user "provision"
Code Block language bash 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 in /srv/knot/:
Code Block language bash title For 3.x Secure OS sudo mkdir --mode=u+rwx,g+wrs,o-rwx /srv/knot/6c sudo chown provision.knot /srv/knot/6c
Code Block language bash title For 6.x EL (Enterprise Linux) 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:
Code Block language bash provision ALL=(ALL) NOPASSWD: /sbin/knotc reload
Add knot to be inside the "provision" group by editing the /etc/group as follows:
Code Block language bash title For All Versions 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:
Code Block language bash title For All Versions knot:x:119:provision
Configure ProVision in the S64 server and add the include directive in /etc/knot/knot.conf:
Code Block language bash title For 3.x Secure OS include: /srv/knot/6c/6c_knot.conf
Info title 6.x EL Versions 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.
Code Block language bash title For 6.x EL Versions include: /var/lib/knot/6c/6c_knot.conf
- Open the ProVision UI and navigate to the DNS section to add the S64x86 server. While adding server settings, you must verify that Post Command is set to “sudo knotc reload” and the configuration path is set to:
- Configuration path for 3.x: “/srv/knot/6c/6c_knot.conf”
- Configuration path for 6.x EL: "/var/lib/knot/6c/6c_knot.conf"
- An example server configuration for the S64 x86 server is shown below:
...
Expand | |||||
---|---|---|---|---|---|
| |||||
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"
|
...