Different management class for different domains + dsm.opt

totalstu

ADSM.ORG Member
Joined
May 7, 2009
Messages
111
Reaction score
0
Points
0
Location
Toronto, Canada
Hi,

Below is the contents of one of our servers dsm.opt file.

NODENAME xxxxx-SQL1
TCPSERVERADDRESS xx.xxx.xx.xx
PASSWORDACCESS GENERATE
EXCLUDE.DIR "*:\users\*"
EXCLUDE.DIR "c:\users\...\*"
EXCLUDE.DIR "C:\Users\*"
EXCLUDE.BACKUP "*:\...\windows\serviceprofiles\localservice\appdata\*.dat"
EXCLUDE.BACKUP "*:\...\windows\serviceprofiles\localservice\*.log1"
EXCLUDE.BACKUP "*:\...\windows\serviceprofiles\localservice\appdata\local\*.dat"
EXCLUDE.BACKUP "*:\...\windows\serviceprofiles\networkservice\ntuser.dat.log1"
EXCLUDE.DIR "*:\SQLdatafiles\*"
EXCLUDE.BACKUP "*:\...\*.mp3"
EXCLUDE.BACKUP "*:\...\*.mp4"
EXCLUDE.DIR "e:\sqldatafiles"
EXCLUDE.DIR "e:\sqldatafiles\*\"
EXCLUDE.DIR "f:\sqllogfiles"
EXCLUDE.DIR "f:\sqllogfiles\*\"
SNAPSHOTPROVIDERFS VSS
RESOURCEUTILIZATION 2
schedlogretention 15 s
errorlogretention 15 s
SNAPSHOTPROVIDERIMAGE VSS
DOMAIN "\\xxxxx-sql1\c$"
DOMAIN "\\xxxxx-sql1\d$"
DOMAIN "\\xxxxx-sql1\e$"
DOMAIN "\\xxxxx-sql1\f$"
DOMAIN "SYSTEMSTATE"

We want C, D, and Systemstate to use a Management Class called sql_servers.
We want E to use a Management Class called sql_db
We want F to use a Management Class called sql_log

I've been doing some searching/reading and I'm somewhat lost. OK, a lot lost. I have the Management Classes defined in the policy domain these servers reside in. How would I set this in the opt file?

Thanks
 
Sorry for the beginners question I'm about to ask.

Do I put these includes just above the SnapShotProviderFS entry?

Thanks
 
I typically place the includes above the excludes.
TSM processes the dsm.opt file in a bottom-up manor... so just make sure that anything new you add will not negate or be negated by entries below.

NODENAME xxxxx-SQL1
TCPSERVERADDRESS xx.xxx.xx.xx
PASSWORDACCESS GENERATE
include * sql_servers
include e:\...\* sql_db
include f:\...\* sql_log
EXCLUDE.DIR "*:\users\*"
EXCLUDE.DIR "c:\users\...\*"
EXCLUDE.DIR "C:\Users\*"
EXCLUDE.BACKUP "*:\...\windows\serviceprofiles\localservice\appda ta\*.dat"
EXCLUDE.BACKUP "*:\...\windows\serviceprofiles\localservice\*.log 1"
EXCLUDE.BACKUP "*:\...\windows\serviceprofiles\localservice\appda ta\local\*.dat"
EXCLUDE.BACKUP "*:\...\windows\serviceprofiles\networkservice\ntu ser.dat.log1"
EXCLUDE.DIR "*:\SQLdatafiles\*"
 
One last question.

On my includes/excludes I ssem to have " " surrounding the path of what I'm trying to exclude/include. Is that necessary? I notice the includes you gave for the MC there are no quotations.

Thanks
 
EXCLUDE.BACKUP "*:\...\windows\serviceprofiles\localservice\a ppda ta\*.dat"

The above line has spaces so it is required...

In the includes I wrote there is no spaces in the directory structure.
Just personal preference if you want the syntax to be the same. (CAPS, " ", spacing)
 
There actually isn't spaces in those lines. I copied and pasted and things got mucked up.

So what you're saying is that as long as the line doesn't have spaces quotes are not need but they don't do harm if they are there. Good to know.

Thanks for the assistance.
 
Back
Top