summaryrefslogtreecommitdiffstats
path: root/templates/node.xml
Commit message (Collapse)AuthorAgeFilesLines
* Remove bash autocluster script and supporting filesMartin Schwenke2019-03-251-35/+0
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Move shared disk presence logic from nodes into shared disk codeMartin Schwenke2014-07-021-1/+1
| | | | | | | | | | | | | | | | | | | Currently this is distributed around the node logic and is hard to manage. Instead, introduce 2 new functions (well, meta-functions, called using call_func): * is_dedicated_storage_node() Defaults to false. Is true for sofs_storage. * node_has_shared_disks() Defaults to false. True for sofs_storage. True for sofs_front when there are no dedicated storage nodes. Signed-off-by: Martin Schwenke <martin@meltin.net>
* New configuration variable NETWORKS - IPBASE, IPNET* no longer usedMartin Schwenke2013-03-051-15/+1
| | | | | | | | | Much more flexible network configuration. Replace canned host_setup/etc/libvirt/qemu/networks/*.xml with setup_networks.sh script. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Explicitly set disk image type to $SYSTEM_DISK_FORMAT in node.xml.Martin Schwenke2011-02-101-1/+1
| | | | | | If you don't specify a type then RHEL6's KVM default it to 'raw'. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Make the disk cache types configurable.Martin Schwenke2010-02-251-1/+1
| | | | | | | | | New options SYSTEM_DISK_CACHE and SHARED_DISK_CACHE can be used to configure the cache type of the disks. Valid values are: default, none, writeback, writethrough - or as specified in the libvirt XML documentation. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Split DISK_TYPE into SYSTEM_DISK_TYPE and SHARED_DISK_TYPE. DISK_PREFIX too.Martin Schwenke2009-08-171-1/+1
| | | | | | | | | This allows IDE to be used for system disks and some other type, perhaps virtio, to be used for the shared disks. I seem to be seeing some corruption issues with the combination of qcow2 and virtio, so this will allow me to experiment with the raw shared disks and virtio. Signed-off-by: Martin Schwenke <martin@meltin.net>
* When forcing writeback caching don't specify the image type.Martin Schwenke2009-08-131-1/+1
| | | | | | | libvirt 0.6.1-0ubuntu5.1 tries to pass a "fmt" option instead of a "format" option and kvm barfs. It seems fine without the image type. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Force writeback caching on qcow2 disk images.Martin Schwenke2009-08-131-0/+1
| | | | | | | | Some versions of kvm disable all caching on qcow2 disk images to guarantee data integrity on host failure. We need caching to get decent performance so we enable writeback caching by default. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Parameterise disk type and the corresponding device file prefix.Martin Schwenke2009-08-131-1/+1
| | | | | | | The version of kvm under RHEL5.4 does not support the SCSI emulation. So allow the use of ide or virtio instead. Signed-off-by: Martin Schwenke <martin@meltin.net>
* New -e option for debugging.Martin Schwenke2009-04-211-2/+2
| | | | | | | | | | | | | | The new -e option accepts a bash expression, which is evaluated and then autocluster exits. This option is like --dump in that it can be given only once because it triggers an immediate exit. The -e option is most useful for debugging template substitution - see the example in README. Remove extra variable NODEMEM from create_node() and node.xml - just use MEM instead. The body of create_node() is now in a subshell to contain changes to MEM. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add support for template file variables within templates.Martin Schwenke2009-04-201-24/+1
| | | | | | | | | | | | | | | | | | | Templates can now contain "indirect variables" surrounded in 3 '@' symbols, such as @@@VAR@@@. Such variables are assumed to contain filenames referring to templates whose contents should be substituted. These can nest up to 10 levels. Previously adding similar variables required a code change because they were handled as special cases. Remove setup_indirects() function. Now use @@@YUM_TEMPLATE@@@ in basic-postinstall.sh, @@@POSTINSTALL_TEMPLATE@@@ (rather than intermediate @@EXTRA_POSTINSTALL@@) in kickstart templates and new variable @@@STANDARD_POSTINSTALL@@@ (rather than manufactured @@AUTOCLUSTER_POSTINSTALL@@) also in kickstart templates. Move definition of SHAREDDISKSIZE back to 00base.defconf and add new variable SHAREDDISK_TEMPLATE that is used in the standard node template node.xml. Signed-off-by: Martin Schwenke <martin@meltin.net>
* fixed memory in nodesAndrew Tridgell2008-07-121-2/+2
|
* added multipath support to autoclusterAndrew Tridgell2008-07-111-4/+1
|
* fixed MAC addressesAndrew Tridgell2008-07-101-1/+1
|
* - disabled double shared disksAndrew Tridgell2008-07-101-0/+2
| | | | - fixed boot_base.sh
* moved to template based configurationroot2008-07-101-0/+72