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>.............
Adding NodeID's to the NodeGroup
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
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
Re: Adding NodeID's to the NodeGroup
Thanks Manii. Let me try this.
Re: Adding NodeID's to the NodeGroup
Thanks Manii. Let me try this.