Scheduler Usage
http://scheduler-usage.com/

Adding NodeID's to the NodeGroup
http://scheduler-usage.com/viewtopic.php?f=8&t=4141
Page 1 of 1

Author:  Gopikkd [ 07 Dec 2016 9:49 ]
Post subject:  Adding NodeID's to the NodeGroup

Hi Team,

Is there any option with ctmnodegrp utility to add more than one NodeID to the specified Node group.

ctmnodegrp -edit -nodegrp ****** -appltype OS -add <nodeid>.............

Author:  Manii [ 23 Dec 2016 2:38 ]
Post subject:  Re: Adding NodeID's to the NodeGroup

Hi ,

Could not find direct command to do that , however this can be done with small for loop script .

step 1
Create a file.txt which contain nodes to be added to nodegroup
step 2
Write a shell script addnode.sh as below
================================
for node in $(cat read.txt)

do
ctmnodegrp -EDIT -NODEGRP <Node group name> -APPLTYPE OS -ADD $node
done
====================================================

Hope this will help

Author:  Gopikkd [ 24 Jan 2017 11:17 ]
Post subject:  Re: Adding NodeID's to the NodeGroup

Thanks Manii. Let me try this.

Author:  Gopikkd [ 24 Jan 2017 11:18 ]
Post subject:  Re: Adding NodeID's to the NodeGroup

Thanks Manii. Let me try this.

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/