-
Notifications
You must be signed in to change notification settings - Fork 694
Remotely Upgrade a Photon OS Machine With Lightwave Client and Photon Management Daemon Installed
Remotely Upgrade a Single Photon OS Machine With Lightwave Client and Photon Management Daemon Installed
After you have a configured the Photon Management Daemon on a machine, you can remotely upgrade any installed package on that machine. You can use the root
user credentials.
Upgrade process uses pmd-cli
that is supported from both Lightwave and Photon Management Daemon. You can initiate the upgrade process from any machine that has Photon Management Daemon CLI installed.
Prerequisites
- Have an installed Lightwave server with configured domain controller on it.
- Have an installed Lightwave client that is joined to the domain.
- Have an installed Photon Management Daemon on the client.
- Have in installed Photon Management Daemon CLI (pmd-cli) on a machine from which you perform the updates.
Procedure
-
To initiate remote upgrade, log in to a machine that has Photon Management Daemon CLI installed over SSH.
-
Identify packages that can be upgraded on the client machine. 2. List the available updates for the machine.
`# pmd-cli --server-name <machine-IP-address> --user root pkg list updates`
-
Verify the currently installed version of a package, for example
sed
.#
# pmd-cli --server-name --user root pkg installed sed` The installed version number shows as earlier than the one listed under the available updates.
-
-
Initiate the upgrade, in this example of the
sed
package, enter password, and wait for the command to complete.# pmd-cli --server-name <machine-IP-address> --user root pkg update sed
-
(Optional) Verify that the client machine package was upgraded successfully.
-
Log in to the machine that was upgraded over SSH.
-
List the installed version of the
sed
package.# pmd-cli --server-name <machine-IP-address> --user root pkg installed sed
-
- Home
- Download Photon OS
- User Documentation
- FAQ
- Security Advisories
- Related Information