Wednesday, May 11, 2011

Masterbate On Breasts

Control disk threshold

One of the concerns of every system administrator is the available disk space on the system.
We must avoid a system crash disk occupancy as abnormal IPL such a case will take a long time, and also not sure that is free enough disk space to end without manual intervention from the console.
Our AS400 system has two ways to tell us when the system is coming to the percentage use threshold (default) disk occupation:

( A ) The "whole life": The system operational start sending warning messages when the disk occupancy exceeds the threshold defined in the configuration of the disk, typically 90%. From that moment begins to send the message CPF0907 "Serious storage condition exist May. Press HELP." the operator queue (QSYSOPR) and history of the system (DSPLOG). This message indicates the amount of available storage, the used and the percentage of free storage at that time. If we have created the message queue QSYSMSG (see Message Queue QSYSMSG ) also received on that particular message queue.

To view and / or modify the threshold, we start service tools (DST), to do our user profile must be of type * SECOFR and have at least * SERVICE authority. To enter the DST tool type in that command STRSST , we ask the service user and password.
select the option 3. Work with disk units
Then select 2. Work with disk configuration and then select the option 3. Work with ASP threshold , we show the thresholds of all disk ASP have configured.
To modify the threshold of an ASP, select it with a 1 and press Enter :
Enter the new threshold in% , we want from the i5/OS which we sent the warning message.
To exit DST pressing F3 go and eventually we will confirm to exit by pressing Enter .

( B) The other option is to use the values \u200b\u200bof storage control system, using WRKSYSVAL SYSVAL (* STG) to view:
  • QSTGLOWACN Auxiliary storage lower limit action
  • QSTGLOWLMT Auxiliary storage lower limit
QSTGLOWLMT value system, allows us, together with the value QSTGLOWACN, check that should make the operating system when it reaches a certain limit disk occupation. Its value indicates the percentage of free disk space (lower limit), default is 5%, from which to begin to execute the action defined in QSTGLOWACN value, in this case when the system reaches 95% occupancy on disk.
QSTGLOWACN value system can have the following values, with the first 3 values \u200b\u200bwe worry about what to do cuando el sistema llegue a su limite inferior de almacenamiento:
  • *MSG: Este es el valor por omisión, e indica que se envié el mensaje CPI099C " Critical storage lower limit reached" a la cola del operador QSYSOPR (y por ende al histórico del sistema) y a la cola QSYSMSG, si esta existe.
  • *CRITMSG: Indica que se enviará el mensaje CPI099B "Critical storage condition exists" a los usuarios designados en los atributos de servicio ( CHGSRVA ).
  • *ENDSYS : Indica que finalizara TODOS los trabajos y subsistemas y dejara el sistema en estado restringido (subsistema QCTL o QBASE activo from console). This option is most recommended for development systems, or critical, because, although they may have lost data (as they cancel jobs that are running and we will not serve) instead protects us stop uncontrolled system when it reaches 100% occupancy disk forced us to a abnormal IPL, much slower and allow us to free up space, manually from the console, which will shorten the recovery time of the system.
  • PWRDWNSYS *: Run the command PWRDWSYS leaving the system off. not recommend this option at all , earlier is better to have the value * ENDSYS to leave it restricted.
  • REGFAC *: Run the exit program registered for exit point " QIBM_QWC_QSTGLOWACN ." With this we can get when you reach the lower limit of occupation on disk, the operating system running the program that define us. This program could be run, among other things:
  1. controlled Completion unnecessary applications.
  2. controlled completion of transcribers (printers). Hold
  3. batch job queues.
  4. The elimination of data, or objects, temporary and necessary.
  5. etc ...
  6. If we can not correct the situation, we perform a controlled shutdown of the system to prevent further damage.
To view, define, or change the value of the exit program, run the command WRKREGINF EXITPNT (QIBM_QWC_QSTGLOWACN) and option 8 = Work with exit Programs.

0 comments:

Post a Comment