Installing the Lightwave Client on a Photon Image and Joining the Client to a Domain
After you have set up a Lightwave domain controller, you can join Photon clients to that domain. You install the Lightwave client first. After the client is installed, you join the client to the domain.
- Prepare a Photon OS client for the Lightwave client installation.
- Verify that the hostname of the client can be resolved.
- Verify that you have 184 MB free for the Lightwave client installation.
- Log in to your Photon OS client over SSH.
Install the Lightwave client by running the following command.
# tdnf install lightwave-client -y
iptablesfirewall rules configuration file to allow connections on port
2020as a default setting.
The default Photon OS 2.0 firewall settings block all incoming, outgoing, and forwards so that you must configure the rules.
Open the iptables settings file.
# vi /etc/systemd/scripts/iptables
Add allow information over tcp for port 2020 in the end of the file, save, and close the file.
iptables -A INPUT -p tcp -m tcp --dport 2020 -j ACCEPT
Run the following command to allow the required connections without restarting the client.
# iptables -A INPUT -p tcp -m tcp --dport 2020 -j ACCEPT
Join the client to the domain by running the
domainjoin.shscript and configuring the domain controller FQDN, domain, and the password for the
# domainjoin.sh --domain-controller <lightwave-server-FQDN> --domain <your-domain> --password '<administrator-user-password>
In a browser, go to https://*Lightwave-Server-FQDN* to verify that the client appears under the tenants list for the domain.