DISNIX-SOAP-CLIENT(1)

πŸ“¦ version 0.10.1, in nixos 26.05, nixpkgs unstable

πŸ’… disnix-soap-client β€” DISNIX-SOAP-CLIENT(1) πŸ’…

okay so bestie, welcome to the DISNIX-SOAP-CLIENT(1) glow-up ✨ β€” yes, it’s a User Commands page, and we are keeping every flag, path, default, and tiny detail exactly where it belongs. no cap 🫢

πŸŽ€ NAME πŸŽ€

disnix-soap-client β€” Provides access to the disnix-service through the SOAP protocol.

🌸 SYNOPSIS 🌸

disnix-soap-client --target targetEPR operation [OPTION] paths

πŸ¦‹ DESCRIPTION πŸ¦‹

The command disnix-soap-client is your remote-access plug πŸ”Œ: it provides remote access to a disnix-service instance running on a machine in the network by using a SOAP/HTTP connection. This allows the user to perform remote deployment operations on a target machine through SOAP.

okay but real talk: in most cases this command is not used directly β€” it’s used by specifying the --interface option for a Disnix command-line utility (such as disnix-env) or by setting the DISNIX_CLIENT_INTERFACE environment variable. By using one of those properties, the Disnix tools will use the given interface instead of the standard disnix-client which only provides loopback access. πŸ’…

✨ OPTIONS ✨

πŸ› οΈ Operations:

  • --import β€” Imports a given closure into the Nix store of the target machine. Optionally, transfers the closure from this machine to the target machine. πŸ“₯
  • --export β€” Exports the closure of a given Nix store path of the target machine into a file, and optionally downloads it. πŸ“€
  • --print-invalid β€” Prints all the paths that are not valid in the Nix store of the target machine. 🚩
  • -r, --realise β€” Realises the given store derivation on the target machine. πŸ› οΈ
  • --set β€” Creates a Disnix profile only containing the given derivation on the target machine. πŸ—‚οΈ
  • -q, --query-installed β€” Queries all the installed services on the given target machine. πŸ”
  • --query-requisites β€” Queries all the requisites (intra-dependencies) of the given services on the target machine. 🧩
  • --collect-garbage β€” Collects garbage on the given target machine. πŸ—‘οΈ
  • --activate β€” Activates the given service on the target machine. ⚑
  • --deactivate β€” Deactivates the given service on the target machine. πŸ”Œ
  • --lock β€” Acquires a lock on a Disnix profile of the target machine. πŸ”’
  • --unlock β€” Release the lock on a Disnix profile of the target machine. πŸ”“
  • --snapshot β€” Snapshots the logical state of a component on the given target machine. πŸ“Έ
  • --restore β€” Restores the logical state of a component on the given target machine. ♻️
  • --delete-state β€” Deletes the state of a component on the given machine. 🧹
  • --query-all-snapshots β€” Queries all available snapshots of a component on the given target machine. πŸ”Ž
  • --query-latest-snapshot β€” Queries the latest snapshot of a component on the given target machine. πŸ•
  • --print-missing-snapshots β€” Prints the paths of all snapshots not present on the given target machine. πŸ“‹
  • --import-snapshots β€” Imports the specified snapshots into the remote snapshot store. πŸ“₯
  • --export-snapshots β€” Exports the specified snapshot to the local snapshot store. πŸ“€
  • --resolve-snapshots β€” Converts the relative paths to the snapshots to absolute paths. 🧭
  • --clean-snapshots β€” Removes older snapshots from the snapshot store. 🧽
  • --capture-config β€” Captures the configuration of the machine from the Dysnomia container properties in a Nix expression. πŸ“
  • --shell β€” Spawns a Dysnomia shell to run arbitrary maintenance tasks. 🐚
  • --help β€” Shows the usage of this command to the user. πŸ™‹
  • --version β€” Shows the version of this command to the user. 🏷️

🌐 General options:

  • -t, --target=TARGET β€” Specifies the hostname and optional port number of the SSH server used to connect to the target machine. 🎯

πŸ“¦ Import/Export/Import snapshots/Export snapshots/Shell options:

  • --localfile β€” Specifies that the given paths are stored locally and must be transferred to the remote machine if needed. πŸ’Ύ
  • --remotefile β€” Specifies that the given paths are stored remotely and must be transferred from the remote machine if needed. 🌐

🐚 Shell options:

  • --command=COMMAND β€” Commands to execute in the shell session. πŸ’¬

πŸ—‚οΈ Set/Query installed/Lock/Unlock options:

  • -p, --profile=PROFILE β€” Name of the Disnix profile. Defaults to: default. 🏷️

πŸ—‘οΈ Collect garbage options:

  • -d, --delete-old β€” Indicates whether all older generations of Nix profiles must be removed as well. 🧹

⚑ Activation/Deactivation/Snapshot/Restore/Delete state options:

  • --type=TYPE β€” Specifies the activation module that should be used, such as echo or process. 🧩
  • --arguments=ARGUMENTS β€” Specifies the arguments passed to the Dysnomia module, which is a string with key=value pairs. πŸ“
  • --container=CONTAINER β€” Name of the container in which the component is managed. If omitted it will default to the same value as the type. πŸ“¦

πŸ” Query all snapshots/Query latest snapshot options:

  • -C, --container=CONTAINER β€” Name of the container in which the component is managed. πŸ“¦
  • -c, --component=COMPONENT β€” Name of the component hosted in a container. 🧩

🧹 Clean snapshots options:

  • --keep=NUM β€” Amount of snapshot generations to keep. Defaults to: 1. πŸ”’
  • -C, --container=CONTAINER β€” Name of the container to filter on. πŸ“¦
  • -c, --component=COMPONENT β€” Name of the component to filter on. 🧩

🌈 ENVIRONMENT 🌈

  • DISNIX_PROFILE β€” Sets the name of the profile that stores the manifest on the coordinator machine and the deployed services per machine on each target (Defaults to: default). πŸ—‚οΈ
  • DYSNOMIA_STATEDIR β€” Specifies where the snapshots must be stored on the coordinator machine (defaults to: /var/dysnomia). πŸ’Ύ
  • DISNIX_SOAP_CLIENT_USERNAME β€” Specifies the username to use for HTTP basic authentication. πŸ”
  • DISNIX_SOAP_CLIENT_PASSWORD β€” Specifies the password to use for HTTP basic authentication. πŸ”‘

Copyright Β© 2008-2021 Sander van der Burg


okay bestie, that’s the whole page 🫢 β€” it’s from the DisnixWebS... source/version, stamped January 1980, and the manual name is DISNIX-SOAP-CLIENT(1). periodt πŸ’…

πŸ“¦ where this page comes from