Hi Denis, I'm glad to hear that the binding issue is straightened out.
About mixing UNIX- and Windows-style file name patterns: I know that the NT client would not like the UNIX-style file name pattern, and would issue a "pattern compilation failed" error message. I would expect the UNIX clients to behave similarly when encountering Windows-style file name patterns, but I do not know for sure. Aside from the error message (which does not otherwise prevent client operations), I do not know what other problems you might encounter. In general, I would not recommend trying to put an option in a client options set that you could not put in a client's options file (the Windows client will not even start if you put the UNIX-style pattern in dsm.opt). Rather, you should have separate client options sets for different platforms. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. "Good enough" is the enemy of excellence. "Denis L'Huillier" <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 03/12/2002 10:37 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject: Re: Clientoption Sets not binding proberly to a management class --Again-- Andy, Thank you very much.. That was it.. I defined the option with double and single quotes. I redefined it and now it works. I have one more question... I was going to create this one option set for all servers in the Harris domain. NT and UNIX. Is this okay? Is there any problems with having an inclexcl for a NT server and an inclexcl for a UNIX server in the same client option set? For example INCLEXCL 10 No include /web/prod/web_logs/.../* 8YR_CLASS INCLEXCL 11 No include D: \web\prod\web_logs\...\* 8YR_CLASS Again... Thanks! Regards, Denis L. L'Huiller 973-360-7739 [EMAIL PROTECTED] Enterprise Storage Forms -> http://admpwb01/misc/misc/storage_forms_main.html Andrew Raibeck To: [EMAIL PROTECTED] <[EMAIL PROTECTED] cc: BM.COM> Subject: Re: Clientoption Sets not binding proberly to a management Sent by: class --Again-- "ADSM: Dist Stor Manager" <[EMAIL PROTECTED] RIST.EDU> 03/12/2002 12:04 PM Please respond to "ADSM: Dist Stor Manager" Hi Denis, I didn't notice this initially, though it is there in your inital post. I believe that the trouble is in the syntax used to define the INCLEXCL option, as you enclosed the file specification and management class name in double quotes. At a guess, I would say you defined the client options something like this: define clientopt harris_opt inclexcl 'include "/web/prod/web_logs/.../* 8YR_CLASS"' ... putting single quotes around the entire INCLUDE parameter and double quotes around the file spec and management class name. as a result, the entire double-quoted string is being treated like a file spec with a space in it, as opposed to a file spec and management class. You can tell by the QUERY INCLEXCL output, which shows the management class name as part of the pattern (normally the QUERY INCLEXCL does not show the management class names). You should delete both of those statements and instead just put quotes around the entire INCLUDE statement, but nowhere in between, like this: define clientopt harris_opt inclexcl "include /web/prod/web_logs/.../* 8YR_CLASS" Verify the results with QUERY INCLEXCL, which should not show the management class name. Then try the backups again. A couple of other points: 1) The /web/prod/web_logs/* file spec is redundant, as it is a subset of /web/prod/web_logs/.../*. So one pattern should cover what you want. 2) Be careful about using DIRMC. If you set DIRMC to a management class whose backup copy group has a RETONLY setting lower than that of the 8YR_CLASS copy group, then you may not be able to restore inactive versions of directories that are part of the /web/prod/web_logs structure, as they will expire when the smaller RETONLY criteria is met. This won't prevent you from restoring the files, but (a) you may need to use the command line interface to restore the files since the GUI depends on the directory structure backups also being present, and (b) the directories will only be recreated, not restored. This may or may not be important to you, but I just wanted to point out the caveats associated with using RETONLY. If you need to keep backups for 8 years, archive might be the better way to go (?). Alternatively, use one node name to back up the files that really need 8 year *backup* retention, and another node name to back up files that don't require such lengthy retention. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. "Good enough" is the enemy of excellence. "Denis L'Huillier" <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 03/12/2002 09:08 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject: Re: Clientoption Sets not binding proberly to a management class --Again-- Andy, Thanks for your response... My TSM Server is AIX 4.3.3 running TSM 4.1.2.0 My TSM Client is HP-UX 11.0 running TSM 4.2.0 And yes... 8YR_CLASS has the highest retonly setting. I guess I can overide that with a DIRMC include statement. The node is associated with the options set. Verified via q node f=d The option set below is the complete option set. However, I am using an include/exclude file on the client. Here it is: # cat adsm.bkuplist Exclude /.../core Exclude /tmp_mnt/.../* Exclude /tmp/.../* Include /mxp/.../* 3YR_CLASS Here's the outputs you requested... (I also attached it to a word doc for readability) tsm> q inclexcl Node Name: PERF01 Session established with server TSM_C01: AIX-RS/6000 Server Version 4, Release 1, Level 2.0 Server date/time: 03/12/02 10:53:50 Last access: 03/12/02 10:48:55 *** FILE INCLUDE/EXCLUDE *** Mode Function Pattern (match from top down) Source File ---- --------- ------------------------------ ----------------- No exclude filespace statements defined. No exclude directory statements defined. Incl All /web/prod/web_logs/* 8YR_CLASS Server Incl All /web/prod/web_logs/.../* 8YR_CLASS Server Incl All /mxp/.../* /opt/tivoli/tsm/client/ba/bin/adsm.bkuplist Excl All /tmp/.../* /opt/tivoli/tsm/client/ba/bin/adsm.bkuplist Excl All /tmp_mnt/.../* /opt/tivoli/tsm/client/ba/bin/adsm.bkuplist Excl All /.../core /opt/tivoli/tsm/client/ba/bin/adsm.bkuplist No DFS include/exclude statements defined. tsm> tsm: TSM_C01>q node perf01 f=d Node Name: PERF01 Platform: HPUX Client OS Level: B.11.00 Client Version: Version 4, Release 2, Level 0.0 Policy Domain Name: HARRIS Last Access Date/Time: 03/12/02 10:53:50 Days Since Last Access: <1 Password Set Date/Time: 06/20/01 12:21:25 Days Since Password Set: 265 Invalid Sign-on Count: 0 Locked?: No Contact: Compression: Client Archive Delete Allowed?: Yes Backup Delete Allowed?: No Registration Date/Time: 06/20/01 12:21:25 Registering Administrator: DENISL Last Communication Method Used: Tcp/Ip Bytes Received Last Session: 231 Bytes Sent Last Session: 1,340 Duration of Last Session: 16.25 Pct. Idle Wait Last Session: 99.91 Pct. Comm. Wait Last Session: 0.00 Pct. Media Wait Last Session: 0.00 Optionset: HARRIS_OPT URL: Node Type: Client Password Expiration Period: Keep Mount Point?: No Maximum Mount Points Allowed: 1 tsm: TSM_C01>q clopt harris_opt Optionset Description Last Update by Managing profile (administrator) ------------------------- ------------------------- --------------- -------------------- HARRIS_OPT Client Option for Harris DENISL Direct Option Sequence Override Option Value number ------------------------- -------- -------- ------------------------------------------------------------ INCLEXCL 10 Yes include "/web/prod/web_logs/.../* 8YR_CLASS" INCLEXCL 11 No include "/web/prod/web_logs/* 8YR_CLASS" (See attached file: optionsetprob.doc) Regards, Denis L. L'Huiller 973-360-7739 [EMAIL PROTECTED] Enterprise Storage Forms -> http://admpwb01/misc/misc/storage_forms_main.html Andrew Raibeck To: [EMAIL PROTECTED] <[EMAIL PROTECTED] cc: BM.COM> Subject: Re: Clientoption Sets not binding proberly to a management Sent by: class --Again-- "ADSM: Dist Stor Manager" <[EMAIL PROTECTED] RIST.EDU> 03/12/2002 09:55 AM Please respond to "ADSM: Dist Stor Manager" INCLUDE and EXCLUDE (without any '.' extensions) affect binding of files only, not directories. If your directories are being bound to 8YR_CLASS, then it is either because you have a DIRMC statement that specifies this class, or it happens to be the class with the longest RETONLY setting. Some questions: 1) What versions of TSM are you running on the TSM client and the TSM server? 2) Is the client options set associated with the specific node name? Issue QUERY NODE with the F=D option for the node name in question to confirm that this is the case. 3) What does the complete client options set look like? I'm not sure if you have provided the entire set or just an extract. 4) Do you have an include-exclude file for the client node? What does it look like? 5) From the client machine, what is the output from this command: QUERY INCLEXCL Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. "Good enough" is the enemy of excellence. "Denis L'Huillier" <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 03/12/2002 07:31 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject: Clientoption Sets not binding proberly to a management class --Again-- Due to lack of overwhelming response (0) I'm gonna send this again... Please help if you can.. Hello, I'm having trouble using client option sets. I want to bind all files in the "/web/prod/web_logs" directory on a unix server to a specific management class called "8YR_CLASS". When I do a backup all Directories are binding to this 8YR_CLASS but the files are going to the default mgm class. I must be missing something here... This is my clientopt... Option Sequence Override Option Value number ------------------------- -------- -------- ------------------------------------------------------------ INCLEXCL 10 Yes include "/web/prod/web_logs/.../* 8YR_CLASS" INCLEXCL 11 No include "/web/prod/web_logs/* 8YR_CLASS" This is the output from ls -lR for the /web directory just to give you an idea of what files I'm testing with.. # ls -lR /web total 0 drwxrwxrwx 3 root sys 96 Feb 28 10:01 prod /web/prod: total 0 drwxrwxrwx 5 root sys 96 Feb 28 10:02 web_logs /web/prod/web_logs: total 0 drwxrwxrwx 2 root sys 96 Feb 28 10:03 anotherdir drwxrwxrwx 2 root sys 96 Feb 28 10:03 denis drwxrwxrwx 2 root sys 96 Feb 28 10:03 testing /web/prod/web_logs/anotherdir: total 2 -rw-rw-r-- 1 root sys 107 Feb 28 10:03 node1 /web/prod/web_logs/denis: total 2 -rw-rw-r-- 1 root sys 39 Feb 28 10:03 node1 /web/prod/web_logs/testing: total 2 -rw-rw-r-- 1 root sys 105 Feb 28 10:03 testingfileforTSMbackup # This is the result of a q backup from the client... tsm> q backup "/web/*" -subdir=yes Size Backup Date Mgmt Class A/I File ---- ----------- ---------- --- ---- 96 02/28/02 10:28:01 8YR_CLASS A /web/prod 96 02/28/02 10:28:01 8YR_CLASS A /web/prod/web_logs 96 02/28/02 10:28:01 8YR_CLASS A /web/prod/web_logs/anotherdir 96 02/28/02 10:28:01 8YR_CLASS A /web/prod/web_logs/denis 96 02/28/02 10:28:01 8YR_CLASS A /web/prod/web_logs/testing 107 02/28/02 10:28:01 DEFAULT A /web/prod/web_logs/anotherdir/node1 39 02/28/02 10:28:01 DEFAULT A /web/prod/web_logs/denis/node1 105 02/28/02 10:28:01 DEFAULT A /web/prod/web_logs/testing/testingfileforTSMbackup tsm> Only the directories are binding to the 8YR_CLASS... I want the files to bind, not the directories.. Any help would be greatly appreciated.. Regards, Denis L. L'Huiller 973-360-7739 [EMAIL PROTECTED] Enterprise Storage Forms -> http://admpwb01/misc/misc/storage_forms_main.html #### optionsetprob.doc has been removed from this note on March 12 2002 by Andrew Raibeck