Nsradmin
Nsradmin
Nsradmin
#4/2007 11/26/07 / cr
Unfortunately, nsradmin is not described in the NetWorker Administration Guide - the only assistance you get is from the Command Line Reference (the manual pages) and from the built-in online help. This is the reason why i decided to write this document.
page 1 of 27
#4/2007 11/26/07 / cr
2. General usage
To start the program, simply execute the command: nsradmin [-i file] [-s server] [-p {prognum | progname}] There are a few more options available. However, they are so specific that i will not explain them here. For a complete reference, please read the nsradmin manual pages. And this is what you will see if you call the online help: C:\>nsradmin NetWorker administration program. Use the "help" command for help. nsradmin> help Legal commands are: bind [query] create attrlist delete [query] edit [query] help [command] print [query] (set current query) server [name] show [attrlist] types update attrlist append attrlist quit visual [query] option [list] unset [list] . [query] ? [command] Where: query ::= attrlist attrlist ::= attribute [; attribute]* attribute ::= name [: [value [, value]* ] nsradmin> If you are a programmer, you will most likely understand it. However, for the ordinary administrator, this information is not really helpful. Fortunately, you can survive with these essential commands: create delete print show update append quit option unset . creates a new NetWorker resource deletes an obsolete NetWorker resource lists the result of a query controls the resource attributes to be displayed updates a NetWorker resource attribute adds a new value to NetWorker resource list attribute exits the program switches an option on switches an option off queries the resource database page 2 of 27
#4/2007 11/26/07 / cr
Be aware of the following rules: All resource information supports UNIX text format. Consequently, for Windows specific resources, you must - substitute the backslash (\) with a \\ - wrap text containing spaces with hyphens - specify all parameters correctly (Unix pathnames are case sensitive) To explain the general usage i want to use examples.
#4/2007 11/26/07 / cr
However, if you have more than one resoruce of the same type, this will not lead to a unique result: nsradmin> . type: NSR policy Current query set nsradmin> print type: name: comment: period: number of periods: type: name: comment: period: number of periods: type: name: comment: period: number of periods: type: name: comment: period: number of periods: type: name: comment: period: number of periods: type: name: comment: period: number of periods: nsradmin> In this case, you need to combine multiple attributes, using a semicolon (;) as operator:
NSR policy; Decade; ; Years; 10; NSR policy; Week; ; Weeks; 1; NSR policy; Month; ; Months; 1; NSR policy; Quarter; ; Months; 3; NSR policy; Year; ; Years; 1; NSR policy; Day; ; Days; 1;
nsradmin> . type: NSR policy; Current query set nsradmin> print type: name: comment: period: number of periods: nsradmin>
name: Quarter
page 4 of 27
#4/2007 11/26/07 / cr
Do not end the line with a semicolon (;) - in this case the program waits for a new input, at least a Carriage Return character. If you use nsradmin interactively, you will directly become aware of this behavior - however, if you do this within a parameter file, it will most likely not work. nsradmin> . type: NSR policy; <cr> Current query set nsradmin> print type: name: comment: period: number of periods: nsradmin> name: Quarter;
In some cases, you might even need more than two attributes to query a certain resource: nsradmin> . type: NSR policy; Current query set nsradmin> print type: name: comment: period: number of periods: type: name: comment: period: number of periods: type: name: comment: period: number of periods: type: name: comment: period: number of periods: nsradmin> As you see, the result is not unique. number of periods: 1
NSR policy; Week; ; Weeks; 1; NSR policy; Month; ; Months; 1; NSR policy; Day; ; Days; 1; NSR policy; Year; ; Years; 1;
page 5 of 27
#4/2007 11/26/07 / cr
An additional attribute clarifies the query: nsradmin> . type: NSR policy; Current query set nsradmin> print type: name: comment: period: number of periods: nsradmin> number of periods: 1, name: Day
Obviously, the commands are not case sensitive, neither for the attribute values ...
nsradmin> . type: nSR policy; Current query set nsradmin> print type: name: comment: period: number of periods: nsradmin> ... nor for the attribute names:
nsradmin> . Type: NSR policy; Current query set nsradmin> print type: name: comment: period: number of periods: nsradmin>
Please be aware that the query will not change automatically - consequently, there is no need to repeat it all the time.
page 6 of 27
#4/2007 11/26/07 / cr
page 7 of 27
#4/2007 11/26/07 / cr
Here is a direct comparison for the result without and with options: nsradmin> . type: NSR policy; number of periods: 1; name: day Current query set nsradmin> print type: NSR policy; name: Day; comment: ; period: Days; number of periods: 1; nsradmin> nsradmin> option Resource ID; hidden Hidden display option turned on Resource ID display option turned on Display options: Dynamic: Off; Hidden: On; Raw I18N: Off; Resource ID: On; nsradmin> nsradmin> . type: NSR policy; Current query set nsradmin> print type: name: comment: period: number of periods: hostname: administrator:
ONC program number: ONC version number: ONC transport: resource identifier: nsradmin>
NSR policy; Day; ; Days; 1; avusxp; "group=Administratoren,host=avusxp", "user=administrator,host=avusxp", "user=system,host=avusxp"; 390109; 2; TCP; 61.0.128.3.168.72.68.71.195.214.75.152(1);
page 8 of 27
#4/2007 11/26/07 / cr
page 9 of 27
#4/2007 11/26/07 / cr
This is useful if you want to produce a general report for a certainattribute of all resources. Here is an example to display an overview for the storage node attributes of all your NetWorker clients: nsradmin> . type: NSR client Current query set nsradmin> show type; name; storage nodes nsradmin> print type: NSR client; name: redhat4; storage nodes: redhat4; type: NSR client; name: netapp; storage nodes: nsrserverhost; type: NSR client; name: avusxp; storage nodes: nsrserverhost; type: NSR client; name: ultra60; storage nodes: nsrserverhost; nsradmin> Another nice example is to generate a list of all licenses: nsradmin> . type: NSR license Current query set nsradmin> show name nsradmin> print name: \ "NetWorker for Windows, Power Edition (10 clients per server)/1 server"; name: Storage Nodes/21; name: Storage Nodes/21; name: ClientPaks for UNIX/22; name: DiskBackup Tier 1; name: "Autochanger Module, Unlimited Slots/32767"; name: Update for NetWorker 7.3; name: NDMP Client Connections/1; nsradmin>
Unfortunately, there is no way to direct the output to a file. For such purpose you can only mark the output in a command line window and copy and paste it into a text file.
page 10 of 27
#4/2007 11/26/07 / cr
Of course you can also generate a list of all enablers: nsradmin> Will show nsradmin> nsradmin> show all attributes show enabler code print enabler code: fb6e7d-xxxxxx-81b841; enabler code: 6deaef-xxxxxx-dea637; enabler code: 6eebf0-xxxxxx-d9a134; enabler code: 63e0e5-xxxxxx-13e529; enabler code: 838e7a-xxxxxx-2790c9; enabler code: 8abb0c-xxxxxx-52e6d0; enabler code: 150397-xxxxxx-54605f; enabler code: 6dc0ef-xxxxxx-4cfc37; nsradmin> The marked show command is important - if you would just execute another show [attrlist] command, the new attribute will just be added to the list.
Here is the example: nsradmin> show name nsradmin> print name: \ "NetWorker for Windows, Power Edition (10 clients per server)/1 server"; enabler code: fb6e7d-xxxxxx-81b841; name: Storage Nodes/21; enabler code: 6deaef-xxxxxx-dea637; name: Storage Nodes/21; enabler code: 6eebf0-xxxxxx-d9a134; name: ClientPaks for UNIX/22; enabler code: 63e0e5-xxxxxx-13e529; name: "Autochanger Module, Unlimited Slots/32767"; enabler code: 838e7a-xxxxxx-2790c9; name: DiskBackup Tier 1; enabler code: 8abb0c-xxxxxx-52e6d0; name: NDMP Client Connections/1; enabler code: 6dc0ef-xxxxxx-4cfc37; name: Update for NetWorker 7.3; enabler code: 150397-xxxxxx-54605f; nsradmin> page 11 of 27
#4/2007 11/26/07 / cr
page 12 of 27
#4/2007 11/26/07 / cr
However, append simply adds the new value to the attribute - it does not change the sequence. For this purpose you must use the command update and specify all values (again). Here is the example: nsradmin> . type: NSR client; name: redhat4 Current query set nsradmin> show name; storage nodes nsradmin> print name: redhat4; parallelism: 4; storage nodes: redhat4, ultra60, nsrserverhost; nsradmin> update storage nodes: redhat4 storage nodes: redhat4; Update? y updated resource id 25.0.44.2.236.10.75.71.195.214.75.152(7) nsradmin> print name: redhat4; parallelism: 4; storage nodes: redhat4; nsradmin> update storage nodes: redhat4, nsrserverhost storage nodes: redhat4, nsrserverhost; Update? y updated resource id 25.0.44.2.236.10.75.71.195.214.75.152(8) nsradmin> print name: redhat4; parallelism: 4; storage nodes: redhat4, nsrserverhost; nsradmin>
page 13 of 27
#4/2007 11/26/07 / cr
nsradmin> create type: NSR device; name: "Z:\\BU_DEV1" type: NSR device; name: "Z:\\BU_DEV1"; Create? y create failed: Device Z:\BU_DEV1 is not a valid 4mm device. nsradmin> Note the double backslash as this is a Windows directory. However, without the correct media type, NetWorker simply assumes the wrong one and fails this time. Also, do not forget that some characters are significant: nsradmin> create type: NSR device; media type: file; name: Z:\\BU_DEV1 Resource parse error: unterminated value list type: NSR device; media type: file; name: Z:\\BU_DEV1 ^ usage: create attrlist nsradmin> nsradmin> nsradmin> create type: NSR device; media type: file; name: "Z:\\BU_DEV1" type: NSR device; name: "Z:\\BU_DEV1"; media type: file; Create? y created resource id 34.0.44.2.236.10.75.71.195.214.75.152(1) nsradmin> The resource id is generated automatically and will be used for the resources filename - it is nothing else but the hexadecimal representation of the resource id. Of course you should verify the new resource: nsradmin> . type: NSR device; name: "Z:\\BU_DEV1" Current query set nsradmin> show Will show all attributes nsradmin> option Display options: Dynamic: Off; Hidden: On; Raw I18N: Off; Resource ID: Off; nsradmin>
page 14 of 27
#4/2007 11/26/07 / cr
And this is the result: nsradmin> unset hidden Hidden display option turned off Display options: Dynamic: Off; Hidden: Off; Raw I18N: Off; Resource ID: Off; nsradmin> print type: name: comment: description: message_I18N: message: volume name: media family: media type: enabled: read only: target sessions: max sessions: parent jukebox: cleaning required: cleaning interval: date last cleaned: auto media management: ndmp: dedicated storage node: remote user: password: hardware id: CDI: TapeAlert Critical: TapeAlert Warning: TapeAlert Information: WORM capable: DLTWORM capable: WORM cartridge present: device serial number: nsradmin>
NSR device; "Z:\\BU_DEV1"; ; ; " "; " "; ; disk; file; Yes; No; 4; 512; ; No; ; ; No; No; No; ; ; ; Not used; ; ; ; No; No; No; ;
But if you want to create a new client resource, you just have to specify the name: nsradmin> create type: NSR client; name: redhat3 type: NSR client; name: redhat3; Create? y created resource id 35.0.44.2.236.10.75.71.195.214.75.152(1) nsradmin>
page 15 of 27
#4/2007 11/26/07 / cr
page 16 of 27
#4/2007 11/26/07 / cr
3. Useful examples
If you understand the general usuage of nsradmin, you may now use the program in some practical situations. For demonstration purposes, i especially want to concentrate on operations which are not available from the NetWorker Administration GUI.
If you then compare the files, you will notice the difference. page 17 of 27
This is the contents of the file daemon.raw: 42506 1196178961 2 0 0 1492 1536 0 avusxp nsrd 9 %s %s: %s 3 0 6 server 0 6 notice 49 14 7324 7 started 10100 1196178962 2 0 0 1628 1484 0 avusxp nsrmmdbd 27 media db is checking btrees 0 9870 1196178962 2 0 0 1628 1484 0 avusxp nsrmmdbd 45 media db is consistency checking the database 0 10106 1196178962 2 0 0 1628 1484 0 avusxp nsrmmdbd 29 media db is open for business 0 0 1196178968 2 0 0 1492 1536 0 avusxp nsrd 2 %s 1 0 9 NetWorker 0 1196178968 2 0 0 1492 1536 0 avusxp nsrd 2 %s 1 0 13 7.4.Build.187 0 1196178968 2 0 0 1492 1536 0 avusxp nsrd 2 %s 1 0 3 187 0 1196178968 2 0 0 1492 1536 0 avusxp nsrd 2 %s 1 0 24 Fri Jun 8 18:12:50 2007 0 1196178968 2 0 0 1492 1536 0 avusxp nsrd 2 %s 1 0 18 Build arch.: nt86 0 1196178968 2 0 0 1492 1536 0 avusxp nsrd 2 %s 1 0 10 DBG=0,OPT= 9513 1196178968 2 0 0 736 1548 0 avusxp nsrindexd 42 Running nsrck to check client file indices 0 42506 1196178968 2 0 0 1492 1536 0 avusxp nsrd 9 %s %s: %s 3 0 5 index 0 6 notice 49 46 9352 24 checking \\ index for '%s' 1 0 7 ultra60 42506 1196178971 2 0 0 1492 1536 0 avusxp nsrd 9 %s %s: %s 3 0 5 index 0 6 notice 49 90 31713 36 %s contains \\ %s records occupying %s 3 23 20 Z:\nsr\index\ultra60 36 1 0 0 4 0 KB 42506 1196178971 2 0 0 1492 1536 0 avusxp nsrd 9 %s %s: %s 3 0 5 index 0 6 notice 49 45 9352 24 checking \\ index for '%s' 1 0 6 netapp 42506 1196178971 2 0 0 1492 1536 0 avusxp nsrd 9 %s %s: %s 3 0 5 index 0 6 notice 49 89 31713 36 %s contains \\ %s records occupying %s 3 23 19 Z:\nsr\index\netapp 36 1 0 0 4 0 KB 42506 1196178971 2 0 0 1492 1536 0 avusxp nsrd 9 %s %s: %s 3 0 5 index 0 6 notice 49 46 9352 24 checking \\ index for '%s' 1 0 7 redhat4 42506 1196178971 2 0 0 1492 1536 0 avusxp nsrd 9 %s %s: %s 3 0 5 index 0 6 notice 49 90 31713 36 %s contains \\ %s records occupying %s 3 23 20 Z:\nsr\index\redhat4 36 1 0 0 4 0 KB 42506 1196178971 2 0 0 1492 1536 0 avusxp nsrd 9 %s %s: %s 3 0 5 index 0 6 notice 49 45 9352 24 checking \\ index for '%s' 1 0 6 avusxp 42506 1196178971 2 0 0 1492 1536 0 avusxp nsrd 9 %s %s: %s 3 0 5 index 0 6 notice 49 89 31713 36 %s contains \\ %s records occupying %s 3 23 19 Z:\nsr\index\avusxp 36 1 0 0 4 0 KB 42506 1196178971 2 0 0 1492 1536 0 avusxp nsrd 9 %s %s: %s 3 0 5 index 0 6 notice 49 48 9354 32 Completed \\ checking %d client(s) 1 1 1 4 12112 1196178993 2 0 0 1492 1536 0 avusxp nsrd 13 Power Edition 0 12116 1196178993 2 0 0 1492 1536 0 avusxp nsrd 16 License Summary: 0 12117 1196178993 2 0 0 1492 1536 0 avusxp nsrd 79 Available: sv=%d, ws=%d, clu=%d, clu_nt=%d, clu_unix=%d, \\ clu_linux=%d, ndmp=%d 7 1 2 10 1 1 0 1 1 0 1 1 2 1 1 0 1 1 0 1 1 1 12118 1196178993 2 0 0 1492 1536 0 avusxp nsrd 91 Borrowed: sv_borrowed=%d, clu_borrowed_nt=%d, \\ clu_borrowed_unix=%d, clu_borrowed_linux=%d 4 1 1 0 1 1 0 1 1 0 1 1 0 12119 1196178993 2 0 0 1492 1536 0 avusxp nsrd 79 Remaining: sv=%d, ws=%d, clu=%d, clu_nt=%d, clu_unix=%d, \\ clu_linux=%d, ndmp=%d 7 1 2 10 1 1 0 1 1 0 1 1 2 1 1 0 1 1 0 1 1 1 .....
published irregularly
page 18 of 27
11/26/07 / cr
#4/2007
And this is the contents of the new file daemon.log - which version would you prefer? 42506 27.11.2007 16:56:01 nsrd server notice: started 10100 27.11.2007 16:56:02 nsrmmdbd media db is checking btrees 9870 27.11.2007 16:56:02 nsrmmdbd media db is consistency checking the database 10106 27.11.2007 16:56:02 nsrmmdbd media db is open for business 0 27.11.2007 16:56:08 nsrd NetWorker 0 27.11.2007 16:56:08 nsrd 7.4.Build.187 0 27.11.2007 16:56:08 nsrd 187 0 27.11.2007 16:56:08 nsrd Fri Jun 8 18:12:50 2007 0 27.11.2007 16:56:08 nsrd Build arch.: nt86 0 27.11.2007 16:56:08 nsrd DBG=0,OPT= 9513 27.11.2007 16:56:08 nsrindexd Running nsrck to check client file indices 42506 27.11.2007 16:56:08 nsrd index notice: checking index for 'ultra60' 42506 27.11.2007 16:56:11 nsrd index notice: Z:\nsr\index\ultra60 contains 0 records occupying 0 KB 42506 27.11.2007 16:56:11 nsrd index notice: checking index for 'netapp' 42506 27.11.2007 16:56:11 nsrd index notice: Z:\nsr\index\netapp contains 0 records occupying 0 KB 42506 27.11.2007 16:56:11 nsrd index notice: checking index for 'redhat4' 42506 27.11.2007 16:56:11 nsrd index notice: Z:\nsr\index\redhat4 contains 0 records occupying 0 KB 42506 27.11.2007 16:56:11 nsrd index notice: checking index for 'avusxp' 42506 27.11.2007 16:56:11 nsrd index notice: Z:\nsr\index\avusxp contains 0 records occupying 0 KB 42506 27.11.2007 16:56:11 nsrd index notice: Completed checking 4 client(s) 12112 27.11.2007 16:56:33 nsrd Power Edition 12116 27.11.2007 16:56:33 nsrd License Summary: 12117 27.11.2007 16:56:33 nsrd Available: sv=10, ws=0, clu=0, clu_nt=2, clu_unix=0, clu_linux=0, ndmp=1 12118 27.11.2007 16:56:33 nsrd Borrowed: sv_borrowed=0, clu_borrowed_nt=0, clu_borrowed_unix=0, \\ clu_borrowed_linux=0 12119 27.11.2007 16:56:33 nsrd Remaining: sv=10, ws=0, clu=0, clu_nt=2, clu_unix=0, clu_linux=0, ndmp=1 33526 27.11.2007 16:56:38 nsrmmd#1 Start nsrmmd #1, with PID 1756, at HOST avusxp 33526 27.11.2007 16:56:40 nsrmmd#2 Start nsrmmd #2, with PID 1436, at HOST avusxp
published irregularly
Interesting enough - even the new message IDs at the beginning of each line will be preserved.
page 19 of 27
11/26/07 / cr
#4/2007
#4/2007 11/26/07 / cr
The Hardware id is just greyed out and not available for any input.
But this only seems to be a GUI problem - as long as you have a DDS license in place, nsradmin will help you to overcome the problem: nsradmin> create type: NSR device; media type: file; \\ name: "Z:\\BU_DEV2"; hardware id: dds_1 type: NSR device; name: "Z:\\BU_DEV2"; media type: file; hardware id: dds_1; Create? y created resource id 23.0.240.3.236.70.76.71.195.214.75.152(1) nsradmin> create type: NSR device; media type: file; \\ name: "rd=avusxp:Z:\\BU_DEV2"; hardware id: dds_1 type: NSR device; name: "rd=avusxp:Z:\\BU_DEV2"; media type: file; hardware id: dds_1; Create? y created resource id 25.0.240.3.236.70.76.71.195.214.75.152(1) nsradmin>
page 20 of 27
#4/2007 11/26/07 / cr
By the way - the creation of the Hardware id is just a problem for a standalone device. If you define an autochanger with DDS devices, there will be no obstacle.
page 21 of 27
#4/2007 11/26/07 / cr
page 22 of 27
#4/2007 11/26/07 / cr
Now you must create an appropriate input file for the nsradmin creation process: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: ..... create type: create type: create type: create type: create type: create type: create type: create type: create type: create type: NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: "Z:\\BU_DEV1"; media type: file "Z:\\BU_DEV2"; media type: file "Z:\\BU_DEV3"; media type: file "Z:\\BU_DEV4"; media type: file "Z:\\BU_DEV5"; media type: file "Z:\\BU_DEV6"; media type: file "Z:\\BU_DEV7"; media type: file "Z:\\BU_DEV8"; media type: file "Z:\\BU_DEV9"; media type: file "Z:\\BU_DEV10"; media type: file "Z:\\BU_DEV11"; media type: file "Z:\\BU_DEV12"; media type: file "Z:\\BU_DEV13"; media type: file "Z:\\BU_DEV14"; media type: file "Z:\\BU_DEV15"; media type: file "Z:\\BU_DEV16"; media type: file "Z:\\BU_DEV17"; media type: file "Z:\\BU_DEV18"; media type: file "Z:\\BU_DEV19"; media type: file "Z:\\BU_DEV20"; media type: file "Z:\\BU_DEV21"; media type: file "Z:\\BU_DEV22"; media type: file "Z:\\BU_DEV23"; media type: file "Z:\\BU_DEV24"; media type: file "Z:\\BU_DEV25"; media type: file "Z:\\BU_DEV26"; media type: file "Z:\\BU_DEV27"; media type: file "Z:\\BU_DEV28"; media type: file "Z:\\BU_DEV29"; media type: file "Z:\\BU_DEV30"; media type: file "Z:\\BU_DEV31"; media type: file "Z:\\BU_DEV32"; media type: file "Z:\\BU_DEV33"; media type: file "Z:\\BU_DEV34"; media type: file "Z:\\BU_DEV35"; media type: file "Z:\\BU_DEV36"; media type: file "Z:\\BU_DEV37"; media type: file "Z:\\BU_DEV38"; media type: file "Z:\\BU_DEV39"; media type: file "Z:\\BU_DEV60"; "Z:\\BU_DEV61"; "Z:\\BU_DEV62"; "Z:\\BU_DEV63"; "Z:\\BU_DEV64"; "Z:\\BU_DEV65"; "Z:\\BU_DEV66"; "Z:\\BU_DEV67"; "Z:\\BU_DEV68"; "Z:\\BU_DEV69"; media media media media media media media media media media type: type: type: type: type: type: type: type: type: type: file file file file file file file file file file
page 23 of 27
#4/2007 11/26/07 / cr
Finally - on a new installation with a Power Edition plus a Disk Backup enabler - execute the following command: C:\>nsradmin -i Z:\create_devices.txt created resource id 109.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 110.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 111.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 112.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 113.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 114.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 115.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 116.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 117.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 118.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 119.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 120.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 121.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 122.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 123.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 124.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 125.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 126.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 127.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 128.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 129.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 130.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 131.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 132.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 133.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 134.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 135.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 136.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 137.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 138.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 139.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 140.0.116.0.147.115.76.71.195.214.75.152(1) create failed: Cannot create device (too many devices). Maximum number of devices that can be created on this server is 32. Add Storage Node enabler to allow more devices. ..... create failed: Cannot create device (too many devices). Maximum number of devices that can be created on this server is 32. Add Storage Node enabler to allow more devices. C:\>
page 24 of 27
#4/2007 11/26/07 / cr
Now add a Power Edition Storage Node enabler and repeat the operation: C:\>nsradmin -i Z:\create_devices.txt create failed: device Z:\BU_DEV1 already exists create failed: device Z:\BU_DEV2 already exists create failed: device Z:\BU_DEV3 already exists ..... create failed: device Z:\BU_DEV30 already exists create failed: device Z:\BU_DEV31 already exists create failed: device Z:\BU_DEV32 already exists created resource id 142.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 143.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 144.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 145.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 146.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 147.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 148.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 149.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 150.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 151.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 152.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 153.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 154.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 155.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 156.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 157.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 158.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 159.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 160.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 161.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 162.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 163.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 164.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 165.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 166.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 167.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 168.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 169.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 170.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 171.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 172.0.116.0.147.115.76.71.195.214.75.152(1) created resource id 173.0.116.0.147.115.76.71.195.214.75.152(1) create failed: Cannot create device (too many devices). Maximum number of devices that can be created on this server is 64. Add Storage Node enabler to allow more devices. ..... create failed: Cannot create device (too many devices). Maximum number of devices that can be created on this server is 64. Add Storage Node enabler to allow more devices. C:\>
This proves that a Power Edition Storage Node enabler license allows the creation of the same number of devices as the Base enabler.
page 25 of 27
#4/2007 11/26/07 / cr
After the test you should delete the devices again. For this purpose, modify the input file as follows ... delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: ..... delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: delete type: NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR NSR device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; device; name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: name: "Z:\\BU_DEV1"; media type: file "Z:\\BU_DEV2"; media type: file "Z:\\BU_DEV3"; media type: file "Z:\\BU_DEV4"; media type: file "Z:\\BU_DEV5"; media type: file "Z:\\BU_DEV6"; media type: file "Z:\\BU_DEV7"; media type: file "Z:\\BU_DEV8"; media type: file "Z:\\BU_DEV9"; media type: file "Z:\\BU_DEV10"; media type: file "Z:\\BU_DEV11"; media type: file "Z:\\BU_DEV12"; media type: file "Z:\\BU_DEV13"; media type: file "Z:\\BU_DEV14"; media type: file "Z:\\BU_DEV15"; media type: file "Z:\\BU_DEV16"; media type: file "Z:\\BU_DEV17"; media type: file "Z:\\BU_DEV18"; media type: file "Z:\\BU_DEV19"; media type: file "Z:\\BU_DEV20"; media type: file "Z:\\BU_DEV21"; media type: file "Z:\\BU_DEV22"; media type: file "Z:\\BU_DEV23"; media type: file "Z:\\BU_DEV24"; media type: file "Z:\\BU_DEV25"; media type: file "Z:\\BU_DEV26"; media type: file "Z:\\BU_DEV27"; media type: file "Z:\\BU_DEV28"; media type: file "Z:\\BU_DEV29"; media type: file "Z:\\BU_DEV30"; media type: file "Z:\\BU_DEV31"; media type: file "Z:\\BU_DEV32"; media type: file "Z:\\BU_DEV33"; media type: file "Z:\\BU_DEV34"; media type: file "Z:\\BU_DEV35"; media type: file "Z:\\BU_DEV36"; media type: file "Z:\\BU_DEV37"; media type: file "Z:\\BU_DEV38"; media type: file "Z:\\BU_DEV39"; media type: file "Z:\\BU_DEV61"; "Z:\\BU_DEV62"; "Z:\\BU_DEV63"; "Z:\\BU_DEV64"; "Z:\\BU_DEV65"; "Z:\\BU_DEV66"; "Z:\\BU_DEV67"; "Z:\\BU_DEV68"; "Z:\\BU_DEV69"; media media media media media media media media media type: type: type: type: type: type: type: type: type: file file file file file file file file file
page 26 of 27
#4/2007 11/26/07 / cr
Then execute the same command again - just with the correct input file: C:\>nsradmin -i Z:\delete_devices.txt deleted resource id 109.0.116.0.147.115.76.71.195.214.75.152(64) deleted resource id 110.0.116.0.147.115.76.71.195.214.75.152(63) deleted resource id 111.0.116.0.147.115.76.71.195.214.75.152(62) deleted resource id 112.0.116.0.147.115.76.71.195.214.75.152(61) deleted resource id 113.0.116.0.147.115.76.71.195.214.75.152(60) deleted resource id 114.0.116.0.147.115.76.71.195.214.75.152(59) deleted resource id 115.0.116.0.147.115.76.71.195.214.75.152(58) deleted resource id 116.0.116.0.147.115.76.71.195.214.75.152(57) deleted resource id 117.0.116.0.147.115.76.71.195.214.75.152(56) deleted resource id 118.0.116.0.147.115.76.71.195.214.75.152(55) deleted resource id 119.0.116.0.147.115.76.71.195.214.75.152(54) deleted resource id 120.0.116.0.147.115.76.71.195.214.75.152(53) deleted resource id 121.0.116.0.147.115.76.71.195.214.75.152(52) deleted resource id 122.0.116.0.147.115.76.71.195.214.75.152(51) deleted resource id 123.0.116.0.147.115.76.71.195.214.75.152(50) deleted resource id 124.0.116.0.147.115.76.71.195.214.75.152(49) deleted resource id 125.0.116.0.147.115.76.71.195.214.75.152(48) deleted resource id 126.0.116.0.147.115.76.71.195.214.75.152(47) deleted resource id 127.0.116.0.147.115.76.71.195.214.75.152(46) deleted resource id 128.0.116.0.147.115.76.71.195.214.75.152(45) deleted resource id 129.0.116.0.147.115.76.71.195.214.75.152(44) deleted resource id 130.0.116.0.147.115.76.71.195.214.75.152(43) deleted resource id 131.0.116.0.147.115.76.71.195.214.75.152(42) deleted resource id 132.0.116.0.147.115.76.71.195.214.75.152(41) deleted resource id 133.0.116.0.147.115.76.71.195.214.75.152(40) deleted resource id 134.0.116.0.147.115.76.71.195.214.75.152(39) deleted resource id 135.0.116.0.147.115.76.71.195.214.75.152(38) ..... deleted resource id 160.0.116.0.147.115.76.71.195.214.75.152(14) deleted resource id 161.0.116.0.147.115.76.71.195.214.75.152(13) deleted resource id 162.0.116.0.147.115.76.71.195.214.75.152(12) deleted resource id 163.0.116.0.147.115.76.71.195.214.75.152(11) deleted resource id 164.0.116.0.147.115.76.71.195.214.75.152(10) deleted resource id 165.0.116.0.147.115.76.71.195.214.75.152(9) deleted resource id 166.0.116.0.147.115.76.71.195.214.75.152(8) deleted resource id 167.0.116.0.147.115.76.71.195.214.75.152(7) deleted resource id 168.0.116.0.147.115.76.71.195.214.75.152(6) deleted resource id 169.0.116.0.147.115.76.71.195.214.75.152(5) deleted resource id 170.0.116.0.147.115.76.71.195.214.75.152(4) deleted resource id 171.0.116.0.147.115.76.71.195.214.75.152(3) deleted resource id 172.0.116.0.147.115.76.71.195.214.75.152(2) deleted resource id 173.0.116.0.147.115.76.71.195.214.75.152(1) no resources to delete! no resources to delete! no resources to delete! no resources to delete! no resources to delete! C:\>
page 27 of 27