11.01.2013 Views

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Live dumps are small dumps that do not require a system restart. Only components that are<br />

registered for live dumps, and are requested to be included, are dumped. Use the dumpctrl<br />

command to obtain information about which components are registered for live dumps.<br />

Live dumps can be initiated by software programs or by users with root user authority.<br />

Software programs use live dumps as part of recovery actions, or when the runtime<br />

error-checking value for the error disposition is ERROR_LIVE_DUMP. If you have root user<br />

authority, you can initiate live dumps when a subsystem does not respond or behaves<br />

erroneously. For more information about how to initiate and manage live dumps, see the<br />

livedumpstart and dumpctrl commands in <strong>AIX</strong> V6.1 command reference manuals, which<br />

are downloadable at the following site:<br />

http://publib.boulder.ibm.com/infocenter/pseries/v6r1/index.jsp<br />

Unlike system dumps, which are written to a dedicated dump device, live dumps are written to<br />

the file system. By default, live dumps are placed in the /var/adm/ras/livedump directory. The<br />

directory can be changed by using the dumpctrl command.<br />

In <strong>AIX</strong> V6.1, only serialized live dumps are available. A serialized live dump causes a system<br />

to be frozen or suspended when data is being dumped. The freeze is done by stopping all<br />

processors, except the processor running the dump. When the system is frozen, the data is<br />

copied to the live dump heap in pinned kernel memory. The data is then written to the file<br />

system, but only after the system is unfrozen. Live dump usually freezes the system for no<br />

more than 100 ms.<br />

The heapsz attribute (heap size) can be set to zero (0), meaning that at dump initialization<br />

time, the system calculates the live dump heap size based on the amount of real memory,<br />

which is the minimum of 16 MB or 1/64 the size of real memory (whichever is smaller).<br />

Duplicate live dumps that occur rapidly are eliminated to prevent system overload and to save<br />

file system space. Eliminating duplicate dumps requires periodic (once every 5 minutes)<br />

scans of the live dump repository through a cron job. Duplicate elimination can be stopped via<br />

the dumpctrl command.<br />

Each live dump has a data priority. A live dump of info priority is for informational purposes,<br />

and a live dump of critical priority is used to debug a problem. Info priority dumps can be<br />

deleted to make room for critical priority dumps.<br />

You can enable or disable all live dumps by using the dumpctrl ldmpon/ldmpoff command, or<br />

by using the SMIT fastpath:<br />

smitty livedump<br />

Note: Persistent options can be used to set state on further boots.<br />

2.3.5 The dumpctrl command<br />

There is also the need to modify component, live, and system dump properties from one<br />

command. To achieve this, the dumpctrl command has been implemented in <strong>AIX</strong> V6.1. The<br />

dumpctrl command is used to query and modify global system and live dump properties, as<br />

well as per-component system and live dump properties, where appropriate.<br />

Note: Live dumps are compressed and must be uncompressed with the dmpumcompress<br />

command.<br />

26 <strong>IBM</strong> <strong>AIX</strong> <strong>Continuous</strong> <strong>Availability</strong> <strong>Features</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!