Before installing and running dux, ensure your environment meets the following requirements.
Host system requirements
SSH
-
Verify that SSH is installed and running on your local Mac/Linux/Windows machine.
-
Configure the SSH keys
Ensure that the SSH keys are set up for users to log in to the remote VMs (where the container is to be deployed) securely without passwords.
To generate SSH keys:- Run the command
ssh-keygen -t rsa. - Follow the prompts to create the SSH keys.
Linux/macOS (default):
- Private key:~/.ssh/id_rsa
- Public key:~/.ssh/id_rsa.pub
Windows (default):C:\Users\<user_name>\.ssh\ - Copy the contents of the public key (
id_rsa.pub) to the remote VM's~/.ssh/authorized_keysfile.ssh-copy-id username@remote_host
Note: Windows do not includessh-copy-id. Manually copy the public key using scp, sftp, or paste toauthorized_keys.
- Run the command
-
If you want to enable
ssh_host_key_checkin the manifest (example,ts_manifest.yml), ensure that theknown_hostsfile exists on your local machine.
This file is used to store information about host keys for SSH connections.
If it does not exist, it is created automatically when you connect to a remote host for the first time/when running dux commands.
Host key verification
If you want to enable ssh_host_key_check in the manifest (example, ts_manifest.yml), ensure that the known_hosts file exists on your local machine.
This file is used to store information about host keys for SSH connections.
If it does not exist, it is created automatically when you connect to a remote host for the first time on running dux commands.
Container Image
Download the container Docker image bundle (tar.gz) from Customer Connect. After dux is installed and the folder structure is created, copy the image to the default path.
Note: To use a custom folder, provide the full directory path in the manifest file.
| Operating System | Default Path |
|---|---|
| Linux | /opt/omnissa/dux/images/ |
| macOS (Intel/AMD64) | /usr/local/var/opt/omnissa/dux/images/ |
| macOS (Apple Silicon/ARM64) | /opt/homebrew/var/opt/omnissa/dux/images/ |
| Windows | <INSTALL_DIR>\images where INSTALL_DIR is the directory chosen by the user during installation of dux. Ensure the complete full directory path is provided in the manifest file if using a custom folder. |
Configuration files for EIC Container
Based on the platform, the following files must be uploaded to the eic-config directory under the default dux directory. If these directories do not exist already, they are created by the dux init command.
policies.jsonlogback.xmlapplication.yaml
Remote virtual machines/hosts requirements
The Linux VMs or hosts where you deploy the container must meet the following requirements.
SSH Server
- Ensure SSH is enabled on the remote VM.
- Verify the SSH daemon (
sshd) is running. For example, check on AlmaLinux ifsshdis running:systemctl status sshd
Docker or Podman
- Install Docker CE (Snap Docker for Ubuntu is not supported) or Podman or Podman-docker.
- If using Podman, create a symbolic link to ensure compatibility using dux commands.
dux deploy -d - Alternatively, manually create the link using the command:
sudo ln -sf $(which podman) /usr/bin/docker
To configure passwordless sudo:
- SSH to the remote VM with administrative privileges.
- Edit the sudoers file using the command
sudo visudo. - Add the following line (replace username with the actual username):
username ALL=(ALL) NOPASSWD: ALL - Save and exit the sudoers file.
To add user to docker group:
- Run the command:
sudo usermod -aG docker <username>. - Log out and login again for the changes to take effect.
- Verify the user's access to Docker:
docker ps
If the command runs without any errors, the user has sufficient permissions.
Network connectivity
Ensure the remote VM has connectivity.
| Container | Component |
|---|---|
| Tunnel | - Workspace ONE UEM Console API - AWCM - Front-end to back-end connection (direct or load-balanced) if running in cascade mode. |
| PAC Reader | Workspace ONE UEM Console API |
| SEG | - Workspace ONE UEM Console - API Email Server (exchange) |
| Content Gateway | - Workspace ONE UEM Console API - AWCM |
| EIC | Connectivity to Tunnel container |
Deploying container on dux VM
To deploy a container on the same Linux VM as dux, and to use dux commands locally without the need to use ssh:
In the 'address' field under the 'hosts' group, use any of the following for localhost deployment:
127.0.0.1, localhost, the host's interface IP, or the hostname
¿Le resultó útil esta página?