[Networker] Adding Clients to Group
2011-09-19 13:18:15
Hi Suhas,
YO (Yes & No).
1. Everything that is possible in the GUI must be possible from the command
line.
2. However, the GUI does not always reflect to the true relations. For clients
& groups you actually must add a client to a group (as you do it from the
client resource).
Here is a Windows example - the visual mode is only available from the UNIX
command:
C:\>nsradmin -s nw761
NetWorker administration program.
Use the "help" command for help.
nsradmin> create type: nsr group; name: ABC
Invalid attribute "nsr resource".
type: nsr group;
name: ABC;
Create? y
created resource id 29.0.196.7.0.0.0.0.212.115.119.78.0.0.0.0.195.214.100.100(1)
nsradmin>
nsradmin> . type: nsr client; name: nw761
Current query set
nsradmin> print
type: NSR client;
name: nw761;
server: nw761;
client id: \
ca3c9a8a-00000004-4e6e6100-4e6e60ff-00010c00-e28f8f29;
scheduled backup: Enabled;
comment: ;
Save operations: ;
archive services: Disabled;
schedule: Default;
browse policy: Month;
retention policy: Year;
statistics: elapsed = 676, index size (KB) = 1,
amount used (KB) = 1, entries = 8;
directive: ;
group: Default;
save set: All;
Backup renamed directories: Disabled;
Checkpoint enabled: Disabled;
Checkpoint granularity: Directory;
priority: 500;
File inactivity threshold: 0;
File inactivity alert threshold: 0;
remote access: ;
remote user: ;
password: ;
backup command: ;
application information: ;
ndmp: No;
NDMP array name: ;
De-duplication backup: No;
De-duplication node: ;
Pool: ;
Data Domain backup: No;
Probe resource name: ;
virtual client: No;
physical host: ;
Proxy backup type: ;
Proxy backup host: ;
executable path: ;
server network interface: ;
aliases: nw761;
index path: ;
owner notification: ;
parallelism: 12;
archive users: ;
storage nodes: nsrserverhost;
recover storage nodes: ;
clone storage nodes: ;
hard links: Disabled;
short filenames: Disabled;
BMR: Disabled;
BMR options: ;
backup type: ;
client OS type: Windows NT Server on Intel;
CPUs: 1;
NetWorker version: 7.6.1.6.Build.472;
enabler in use: Yes;
licensed applications: ;
licensed PSPs: ;
nsradmin>
nsradmin> update group: Default, ABC
group: Default, ABC;
Update? y
updated resource id 76.0.60.6.0.0.0.0.240.96.110.78.0.0.0.0.195.214.100.100(4)
nsradmin>
nsradmin> print
type: NSR client;
name: nw761;
server: nw761;
client id: \
ca3c9a8a-00000004-4e6e6100-4e6e60ff-00010c00-e28f8f29;
scheduled backup: Enabled;
comment: ;
Save operations: ;
archive services: Disabled;
schedule: Default;
browse policy: Month;
retention policy: Year;
statistics: elapsed = 767, index size (KB) = 1,
amount used (KB) = 1, entries = 8;
directive: ;
group: Default, ABC;
save set: All;
Backup renamed directories: Disabled;
Checkpoint enabled: Disabled;
Checkpoint granularity: Directory;
priority: 500;
File inactivity threshold: 0;
File inactivity alert threshold: 0;
remote access: ;
remote user: ;
password: ;
backup command: ;
application information: ;
ndmp: No;
NDMP array name: ;
De-duplication backup: No;
De-duplication node: ;
Pool: ;
Data Domain backup: No;
Probe resource name: ;
virtual client: No;
physical host: ;
Proxy backup type: ;
Proxy backup host: ;
executable path: ;
server network interface: ;
aliases: nw761;
index path: ;
owner notification: ;
parallelism: 12;
archive users: ;
storage nodes: nsrserverhost;
recover storage nodes: ;
clone storage nodes: ;
hard links: Disabled;
short filenames: Disabled;
BMR: Disabled;
BMR options: ;
backup type: ;
client OS type: Windows NT Server on Intel;
CPUs: 1;
NetWorker version: 7.6.1.6.Build.472;
enabler in use: Yes;
licensed applications: ;
licensed PSPs: ;
nsradmin>quit
C:\>
You may also add the commands to a text file and provide this as input file for
nsradmin.
+----------------------------------------------------------------------
|This was sent by carsten_reinfeld AT avus-cr DOT de via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|