Sounds good to me.
Another way was to inform the user that the group does not exist and ask if
it should be created. But I think it's better to not have interactivity, so
your proposed solution would be the better one.


Mit freundlichen Grüßen / Kind regards

Jonathan (Nathan) Hermann
IT Specialist
Global Technology Services / Data Center Services
                                                                                
    
                                                                                
    
                                                                                
    
 Mobile: +49-160-98976942                                               IBM 
Allee 1 
 E-mail: [email protected]                                Ehningen, 
71139 
                                                                            
Germany 
                                                                                
    


IBM Deutschland Infrastructure Technology Services GmbH
Geschäftsführung: Ulrike Hetzel
Sitz der Gesellschaft: Ehningen
Registergericht: Amtsgericht Stuttgart, HRB 727973



From:   Jarrod B Johnson <[email protected]>
To:     "xCAT Users Mailing list" <[email protected]>
Date:   31.03.2014 16:17
Subject:        [xcat-user] Require explicit group declaration?



So on the console server, it supports the concepts of groups.  Currently
I've done it similar to xCAT where if you add a group that does not exist
to a node through something akin to 'nodech', the group is created
implicitly.  At the same time, changing a group to add a node that doesn't
exist will create the node (not possible in xCAT today).

Some recent events have made me consider requiring a node exist before it
can be added to a group and a group to exist before it can be added to a
node.  I've seen typos bite people in commands enough that I thought
warning them that 'ipmp' is not a group would be better than just making a
new group 'ipmp' and completely missing the inheritence they intended..
The good news is that I don't think any additional tedium needs to happen
to make a new group compared today.  Today I'd do 'nodech <noderange>
groups,=newgroup' to make a new group and in this model, a command like
'nodegroupadd newgroup nodes=<noderange>' would be similarly terse and to
the point.

Thoughts?
------------------------------------------------------------------------------

_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user



------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to