14 Sep 14:42
Re: Creating a multi-boot nodegroup
Tsai Li Ming <ltsai <at> osgdc.org>
2010-09-14 12:42:48 GMT
2010-09-14 12:42:48 GMT
On Tuesday 14,September,2010 10:40 AM, George Goh wrote:
> Hi,
>
> Can someone show me how to create a proper multiboot nodegroup? I have tried
> the following, but the node disappears when moving a node from diskless to
> multiboot (this is not actually a diskless machine, I just don't want to
> touch the disks):
>
> <BEGIN TRANSCRIPT>
>
> [root <at> gg-kusu ~]# python
> Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
> [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from kusu.core.database import *
>>>> db = DB('postgres', 'kusudb', 'apache')
>>>> multiboot = NodeGroups(ngname='localboot', nameformat='localboot#NNN',
> installtype='multiboot', type='compute')
>>>> multiboot.kparams = 'hd0'
>>>> multiboot.networks=[db.Networks.selectfirst_by(type='provision')]
>>>> db.flush()
>>>>
> [root <at> gg-kusu ~]# ngedit -l
> unmanaged : : other
> installer-centos-5.5-x86_64 : : installer
> compute-centos-5.5-x86_64 : : compute
> compute-imaged-centos-5.5-x86_64 : : compute-imaged
> compute-diskless-centos-5.5-x86_64 : : compute-diskless
> groupA : clone : compute-diskless
(Continue reading)
RSS Feed