| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
If you don't specify a type then RHEL6's KVM default it to 'raw'.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 boot_base.sh
|
|
|