• 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.

Modifying Maintenance script

okriss

ADSM.ORG Member
Joined
Nov 6, 2015
Messages
133
Reaction score
0
Points
0
Hello,

I would like to ask some help with maintenance scripts!

I would like to modify the maintenance scripts, but i have no idea where i can find it.
If i list the admin scripts i can only see, the DB backup (full and inc + expire), but i cannot see the reclamation, migration....etc for stgpools.
I can find it on OC, but i cannot modify here...i did not find any opportunity to open it in editor or something....
I found this:
https://www.ibm.com/support/knowledgecenter/es/SSGSG7_7.1.0/com.ibm.itsm.srv.doc/t_maint_modify.html
I cannot find ACTION...
I think my user is admin user, so i would see all of the menu.

Spectrum Protect: 7.1.3
OC: 7.1.3

Do you have any idea?
Thank you!
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,615
Reaction score
578
Points
0
Location
Canada
Website
www-947.ibm.com
To see the list of scripts, use QUERY SCRIPT
To see the content of a script, use: QUERY SCRIPT {scriptname} F=D
For syntax on updating a script: HELP UPDATE SCRIPT
 

CoMaboy

ADSM.ORG Senior Member
Joined
Jun 4, 2012
Messages
75
Reaction score
13
Points
0
Perhaps the reclamation and migration are started by an administrative schedule without using a script.
Try QUERY SCHED T=A F=D
 

okriss

ADSM.ORG Member
Joined
Nov 6, 2015
Messages
133
Reaction score
0
Points
0
Hello,

Thanks for your answer!

query sched t=a -->
DBBACKUP 2017.08.03 08:00:00 5 H (*)
DBBACKUP_INCR 2017.08.03 09:00:00 119 M 2 H Any
EXPINV 2017.08.02 18:00:00 12 H (*)

q script:

CS Client_schedules
DBBACKUP Daily db backup
DBBACKUP_INCR DB backup incremental
Q_EXC query event -1 day

So i cannot list the scripts what are listable on Operation Center.
I think (maybe...) most of the scripts on OC are preconfigured script (maybe the installation process determined them and asked the needed details during the server configuration)

Any idea?
 

okriss

ADSM.ORG Member
Joined
Nov 6, 2015
Messages
133
Reaction score
0
Points
0
This is the scripts what i can see on OC:

maintenance_script_OC.JPG
 

okriss

ADSM.ORG Member
Joined
Nov 6, 2015
Messages
133
Reaction score
0
Points
0
These scripts were created during the server installation...cmd means that i started the process with cmd...Automatic means, it was generated during the storagepool creation..

https://www.ibm.com/support/knowled...sm.perf.doc/t_srv_disable_auto_processes.html

I have no idea how it can be suspended, im afraid, there isnt any way to do it, because if i set the value for migprocess, the manually created script wont run.
I have only one chance, creating new scripts what will run and perform what u want...
 

dyna

ADSM.ORG Member
Joined
Mar 17, 2006
Messages
43
Reaction score
2
Points
0
Website
Visit site
update stgpool <stgpoolname> reclaim=100
This will stop the automatic reclamation.
 

okriss

ADSM.ORG Member
Joined
Nov 6, 2015
Messages
133
Reaction score
0
Points
0
update stgpool <stgpoolname> reclaim=100
This will stop the automatic reclamation.
Hi,
Thank you for your asnwer!
If is set it, will the manually added migration and reclamation scripts run?
 

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: 18 18.2%
  • Keep using TSM for Spectrum Protect.

    Votes: 61 61.6%
  • Let's be formal and just say Spectrum Protect

    Votes: 12 12.1%
  • Other (please comement)

    Votes: 8 8.1%

Forum statistics

Threads
31,750
Messages
135,360
Members
21,746
Latest member
NasriSaleh
Top