How to set up NVIDIA DGX Spark for Landscape management¶
See also: Landscape and NVIDIA DGX Spark.
This guide describes how to register an existing NVIDIA DGX Spark with Landscape and prepare the system to run NVIDIA’s Landscape reference scripts.
This guide doesn’t cover installing or reinstalling DGX Spark, see NVIDIA’s DGX Spark documentation for more information.
Before you begin¶
You need:
A DGX Spark running DGX OS
A Landscape SaaS account or self-hosted Landscape Server deployment
Install and register Landscape Client¶
Register the DGX Spark with Landscape so that it appears in your Landscape account as a managed instance.
On the DGX Spark, install and register Landscape Client:
sudo pro enable landscape
This command installs Landscape Client and starts the registration wizard.
When prompted, provide your Landscape account name and a descriptive title. If you register the DGX Spark with a self-hosted Landscape Server, also provide the server URL.
In the Landscape web portal, accept the pending instance if your account requires manual acceptance, then confirm that the DGX Spark appears as a managed instance before continuing.
For non-interactive registration, see How to enable Landscape in the Ubuntu Pro Client. To register several DGX Spark systems as part of provisioning them, you can also install and register Landscape Client with cloud-init. See How to install Landscape Client for the Landscape Client settings, and NVIDIA’s custom installation documentation for the DGX Spark provisioning workflow.
Enable remote script execution¶
NVIDIA provides Landscape reference scripts for selected DGX Spark management operations. These scripts run locally on the DGX Spark through Landscape Client. Remote script execution is disabled by default, so you must enable the script execution plugin before you can run these scripts.
On the DGX Spark:
Enable the script execution plugin and authorize the system users that the scripts run as:
sudo landscape-config \ --include-manager-plugins=ScriptExecution \ --script-users=root,landscape,nobody
This allows the
root,landscape, andnobodysystem users to run scripts. Adjust--script-usersto match the run-as user required by the NVIDIA script you intend to use.Restart Landscape Client to apply the change:
sudo systemctl restart landscape-client
For other configuration options, see Enable script execution in the Landscape Client configuration guide.
Tag the DGX Spark systems¶
Tag each DGX Spark with a consistent identifier, such as dgx-spark, so that you can target these systems as a group in a mixed fleet. A shared tag lets you run NVIDIA scripts against every DGX Spark at once and filter them from other Ubuntu instances in your Landscape account.
Landscape manages a DGX Spark as an ordinary Ubuntu instance and doesn’t automatically distinguish it from your other machines, so a tag is the recommended way to group these systems.
Next steps¶
Now that the DGX Spark is registered and set up for remote script execution, continue to Use NVIDIA DGX Spark management scripts with Landscape to add and run NVIDIA’s reference scripts on your DGX Spark systems.