nxc start
Starts a set of nodes using the previous build.
ROLE_DISTRIBUTION_FILE is and optional YAML file describing how many instance of each role are expected.
Examples
-
nxc startStart the last built composition.
-
nxc start role-distrib.yamlWith the file
role-distrib.yamlwritten as this:nfsServerNode: 1 nfsClientNode: 2Instantiates two nodes with the role
nfsClientNodeand one only with the rolenfsServerNode. Of course, these roles have to be described beforehand in acomposition.nixfile.
Usage
nxc start [OPTIONS] [ROLES_DISTRIBUTION_FILE]
Options
-
-I, --interactivedrop into a python repl with driver functions Default:False -
-m, --machine-filefile that contains remote machines names to (duplicates are considered as one). -
-W, --wait-machine-filewait machine-file creation Default:False -
-s, --sshspecify particular ssh command Default:ssh -l root -
-S, --sudospecify particular sudo command Default:sudo -
--push-pathremote path where to push image, kernel and kexec_script on machines (use to re-kexec) -
--reusesupposed a previous succeded start (w/ root access via ssh) Default:False -
--remote-deployment-infodeployement info is served by http (in place of kernel parameters) Default:False -
--portPort to use for the HTTP server Default:0 -
-c, -C, --compositionspecify composition, can specify flavour e.g. composition::flavour -
-f, --flavourspecify flavour -
-t, --test-scriptexecute testscript Default:False -
--file-test-scriptalternative testscript -
-w, --sigwaitwait any signal to exit after a start only action (not testscript execution or interactive use Default:False -
-k, --kernel-paramsadditional kernel parameters, this option is flavour dependent -
-r, --role-distributionspecify the number of nodes or nodes' name for a role (e.g. compute=2 or server=foo,bar ). -
roles_distribution_file -
--compose-infospecific compose info file -
-i, --identity-filepath to the ssh public key to use to connect to the deployments -
-s, --setupSelect setup variant -
-p, --parameterParameter added to deployment file (for contextualization phase) -
-P, --parameter-fileJson file contains parameters added to deployment file (for contextualization phase) -
-d, --deployment-fileDeployement json file use for the deployment (skip generation) Warning parametrization not supported (upto now) -
--ip-rangeIP range (for now only usable with nspawn flavour) Default: `` -
--helpShow this message and exit. Default:False