
UNSOLVED
[NW 9.1] nsradmin Assign client to a group?
Hi,
how can I create a new client resource and assign it to a protection group on networker 9.1?
here there are my attempts:
nsradmin> create type: NSR client; name: dcprvl003.group.local
type: NSR client;
name: dcprvl003.group.local;
Create? n
this works, but no group assigned.
create type: NSR client; name: dcprvl003.group.local; NSR Protection Group: GRP_Produzione_LINUX_Agent
Invalid attribute "NSR Protection Group".
this does not work, even if "nsr protection group" is a valid attribute (you can see it in the visual mode of nsradmin)
nsradmin> create type: NSR client; name: dcprvl003.group.local; group: GRP_Produzione_LINUX_Agent
type: NSR client;
name: dcprvl003.group.local;
Create? y
created resource id 78.0.208.70.0.0.0.0.244.91.227.88.10.92.51.37(1)
this create the client resource but this resource is not assigned to any groups
any hints?
Responses (1)
Solutions (0)

muetzd
18 Posts
1712
0
Posted April 26th, 2017 09:00
Hello antani2,
(1) create the client resource
(2) create the group resource
(2) p type:nsr client;name: to set the query.
(3) use the "update" command to add to the "protection group list:" attribute of the client
update protection group list:
update? yes
(4) print to review the results in the protection group list which is the fifth attribute listed in the output.
NOTE: if the client belongs to a group, the append command can be used instead of the update.
Kind regards,
David