February 12, 2009"> 8"> gnt-debug"> Debian"> GNU"> GPL"> ]> 2006 2007 2008 2009 Google Inc. &dhdate; &dhucpackage; &dhsection; ganeti 2.0 &dhpackage; debug commands &dhpackage; command arguments... DESCRIPTION The &dhpackage; is used for debugging the ganeti system. COMMANDS ALLOCATOR allocator --debug --dir DIRECTION --algorithm ALLOCATOR --mode MODE --mem MEMORY --disks DISKS --disk-template TEMPLATE --nics NICS --os-type OS --vcpus VCPUS --tags TAGS instance Executes a test run of the iallocator framework. The command will build input for a given iallocator script (named with the option), and either show this input data (if DIRECTION is in) or run the iallocator script and show its output (if DIRECTION is out). If the MODE is allocate, then an instance definition is built from the other arguments and sent to the script, otherwise (MODE is relocate) an existing instance name must be passed as the first argument. This build of ganeti will look for iallocator scripts in the following directories: @CUSTOM_IALLOCATOR_SEARCH_PATH@; for more details about this framework, see the HTML or PDF documentation. DELAY delay --debug --no-master -n NODE duration Run a test opcode (a sleep) on the master (internally in the command) and on selected nodes (via an RPC call). This server no other purpose but to execute a test operation. The option can be given multiple times to select the nodes for the RPC call. By default, the delay will also be executed on the master, unless the option is passed. The delay argument will be interpreted as a floating point number. SUBMIT-JOB submit-job opcodes_file This command builds a list of opcodes from JSON-format files and submits for each file a job to the master daemon. It can be used to test some options that are not available via the command line. &footer;