• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Client sched vs Admin sched

TaSMania

ADSM.ORG Member
#1
First of all, I hope it's under correct topic, configuration. Sorry if not and please move to correct topic.

So I know we schedule Client's backup with DEFINE ASSOCIATION.
How does Admin Schedule works or scheduled?

Example: FULL database backup @ 5PM

in ACTLOG I see:
ANR2750I Starting scheduled command PROD_DB_BACKUP -" assuming this name was created for schedule"

and then
ANR2017I Administrator Admin001 issued command: RUN PROD_DB_BACKUP (SESSION: 1600554)

and....
ANR2017I Administrator Admin001 issued command: BACKUP DB DEVC=DBBACK_FILEDEV TYPE=full NUMSTREAMS=4 WAIT=yes (SESSION: 1600554)

Noticed PROD_DB_BACKUP appear when I :
Q SCRIPT F=D and Q SCHED * Type=admin f=d

So I'm thinking, DEFINE ASSOC is not what I want because it requires domain parameter.
My guess would be DEFINE SCHEDULE for admin command? admin ref 7.1.4 page 332

so was it setup like this?
DEF SCH PROD_DB_BACKUP Type=admin starttime=17:00 "the rest is default?"
or
RUN SCRIPT?
 

moon-buddy

ADSM.ORG Moderator
#2
First of all, I hope it's under correct topic, configuration. Sorry if not and please move to correct topic.

So I know we schedule Client's backup with DEFINE ASSOCIATION.
How does Admin Schedule works or scheduled?

Example: FULL database backup @ 5PM

in ACTLOG I see:
ANR2750I Starting scheduled command PROD_DB_BACKUP -" assuming this name was created for schedule"

and then
ANR2017I Administrator Admin001 issued command: RUN PROD_DB_BACKUP (SESSION: 1600554)

and....
ANR2017I Administrator Admin001 issued command: BACKUP DB DEVC=DBBACK_FILEDEV TYPE=full NUMSTREAMS=4 WAIT=yes (SESSION: 1600554)

Noticed PROD_DB_BACKUP appear when I :
Q SCRIPT F=D and Q SCHED * Type=admin f=d

So I'm thinking, DEFINE ASSOC is not what I want because it requires domain parameter.
My guess would be DEFINE SCHEDULE for admin command? admin ref 7.1.4 page 332

so was it setup like this?
DEF SCH PROD_DB_BACKUP Type=admin starttime=17:00 "the rest is default?"
or
RUN SCRIPT?
See help define schedule - HELP is your friend.

In newer TSM server versions, there will be 2 help entries: one for client and one for admin schedules.

Define association is ONLY for client schedules.

DB backups are defines under admin schedules. So, to define a DB backup schedule as an example:

define schedule DB_backup type=admin cmd="backup db devclass=<DEVCLASS_Name> type=full numstreams=2 wait=<yes_or_no>" starttime=06:00 active=yes

OR, with a script:

define schedule DB_backup type=admin cmd="run BACKUP_SCRIPT_name" starttime=06:00 active=yes
 

TaSMania

ADSM.ORG Member
#3
I was already there. That's why I added Reference 7.1.4. page 332.
Since you pointed me to where I was. I assumed I'm at the right spot.
DEFINE SCH - is that just creating the sch or execute it.
Hope I word my question correctly.

for client backup.
1. define sch - creating schedule
2. define assoc - creating schedule to the node

so for admin sch, don't I have to assoc the schedule to something, in this case not node.
I'm thinking there's a run command I have to set up.
 

moon-buddy

ADSM.ORG Moderator
#4
I was already there. That's why I added Reference 7.1.4. page 332.
Since you pointed me to where I was. I assumed I'm at the right spot.
DEFINE SCH - is that just creating the sch or execute it.
Hope I word my question correctly.

for client backup.
1. define sch - creating schedule
2. define assoc - creating schedule to the node

so for admin sch, don't I have to assoc the schedule to something, in this case not node.
I'm thinking there's a run command I have to set up.
define association (see help define association) associates nodes to a client schedule.

I repeat, there is NO DEFINE ASSOCIATION for admin schedules. If you want an admin schedule to run script, see my example or see help define schedule for admin.
 

TaSMania

ADSM.ORG Member
#5
Yes I know there's NO define association for admin sch.
I think I understand it now. Just one command setup the the admin sched.
Thank you much.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 9 20.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 23 52.3%
  • Let's be formal and just say Spectrum Protect

    Votes: 8 18.2%
  • Other (please comement)

    Votes: 4 9.1%

Forum statistics

Threads
31,055
Messages
132,235
Members
21,274
Latest member
ctauber
Top