Instead of using $$PARENT_SERVER_GROUP_ID`, I have used "\"
It is working now..
1 of 1 people found this helpful
you are passing the Id and not the name of the parent group. the createGroupWithParentName wants the NAME of the new group and the NAME of the parent group, so:
SERVER_GROUP1_ID=`blcli StaticServerGroup createGroupWithParentName $SERVER_GROUP1 /`