sadm_client_sunset.sh

Updated: 2018/11/21
O/S : Aix, Linux, MacOS

 
NAME

sadm_client_sunset.sh   -   Client end of day housekeeping and producing system information files.

 
SYNOPSIS

sadm_client_sunset.sh     [ -v -h  ]    [ -d   0-9  ]   

 
DESCRIPTION
  • This script must be run once a day at the end of the day.
  • It's started via the SADMIN client crontab, by default at 23:23 every night.


  • It run multiple scripts ;
    1. sadm_client_housekeeping.sh - It's the client housekeeping script ;
      • It make sure all files in $SADMIN have proper owner, group and permission.
      • Delete *.rch, *.log, *.nmon files that are older than the number of days specify in SADMIN configuration file.
      • For more details on what the client housekeeping script does, please see "sadm_client_housekeeping.sh" man page.
    2. sadm_dr_savefs.sh - It save filesystems metadata for a Disaster Recovery ;
      • On Linux:
        • The script create a file that contains all the metadata needed to recreate each of the filesystem.
        • This file is used when you run the script 'sadm_dr_recreatefs.sh' to recreate all these filesystem automatically.
      • On Aix:
        • Script create a file containing the list of each physical volume, the VG they belong and space used on each of them.
        • This file is used when you run the script 'sadm_dr_recreatefs.sh' to recreate all the volume group and with the filesystems in them.
      • For more information on the "sadm_dr_savefs.sh" script, please visit the man page.
    3. sadm_create_sysinfo.sh - It create client system information files ;
      • Run automatically every day to collect hardware & software information about the system.
    4. sadm_cfg2html.sh - It generate an HTML page and a text file presenting system information. ;

    Output when running the script


 
OPTIONS

-d
Specify debug level (0-9).
Value of 0 indicate that no debug information is to be displayed.
-h
Display this help and exit.
-v
Output version information and exit.



REQUIREMENTS
 
EXIT STATUS
[0]    An exit status of zero indicates success
[1]    Failure is indicated by a nonzero value, typically ‘1’.

 
AUTHOR
Jacques Duplessis (jacques.duplessis@sadmin.ca.).
Any suggestions or bug report can be sent at http://www.sadmin.ca/support.php

 
COPYRIGHT
Copyright © 2018 Free Software Foundation, Inc. License GPLv3+:
    - GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software, you are free to change and redistribute it.
There is NO WARRANTY to the extent permitted by law.

 
SEE ALSO
sadm_client_housekeeping.sh   (Daily end of day script)
sadm_dr_savefs.sh   (Backup Save Filesystems information in order to recreate them from scratch)
sadm_dr_recreatefs.sh   (Recreate Filesystems from the information save by the "sadm_dr_savefs.sh" script)
sadm_create_sysinfo.sh   (Run automatically every day to collect hardware & software information about the system.)
sadm_cfg2html.sh   (Generate an HTML page and a text file presenting system information.)


 
INDEX
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
REQUIREMENTS
EXIT STATUS
AUTHOR
COPYRIGHT
SEE ALSO

Copyright © 2015-2019 - www.sadmin.ca - Suggestions, Questions or Report a problem at support@sadmin.ca