Method and apparatus for getting dump of a computer system
First Claim
1. A method for getting dump of a computer system that adopts virtual storage management by which virtual storage is available using main storage, auxiliary storage, and an address translation table for indicating a location in the main storage or in the auxiliary storage to which an individual virtual-storage area is allocated, said method comprising the steps of:
- providing said auxiliary storage with first auxiliary storage and second auxiliary storage;
operating the computer system using either of the first auxiliary storage or the second auxiliary storage;
determining a location to which the address translation table is allocated, when occurrence of a failure in the computer system is detected;
determining a location in the main storage, or in the auxiliary storage, where information in the virtual-storage area is stored, which is described in the address translation table;
transferring the content of the virtual-storage area from the main storage to the auxiliary storage, if the content of the virtual-storage area is allocated to the main storage; and
switching the first auxiliary storage to the second auxiliary storage for use if the first auxiliary storage is used for operation, or switching the second auxiliary storage to the first auxiliary storage for use if the second auxiliary storage is used for operation.
1 Assignment
0 Petitions
Accused Products
Abstract
According to the present invention, as regards a computer system that uses virtual storage management, because content of auxiliary storage utilized by paging is used, dump information can be obtained by outputting only a part of the content of the auxiliary storage at the time of occurrence of an abnormal system condition. As a result, time required to restart the computer system and business can be shortened. What is more, because it is not necessary to add a special external storage for obtaining dump information, computer resources can be utilized more efficiently.
31 Citations
8 Claims
-
1. A method for getting dump of a computer system that adopts virtual storage management by which virtual storage is available using main storage, auxiliary storage, and an address translation table for indicating a location in the main storage or in the auxiliary storage to which an individual virtual-storage area is allocated, said method comprising the steps of:
-
providing said auxiliary storage with first auxiliary storage and second auxiliary storage;
operating the computer system using either of the first auxiliary storage or the second auxiliary storage;
determining a location to which the address translation table is allocated, when occurrence of a failure in the computer system is detected;
determining a location in the main storage, or in the auxiliary storage, where information in the virtual-storage area is stored, which is described in the address translation table;
transferring the content of the virtual-storage area from the main storage to the auxiliary storage, if the content of the virtual-storage area is allocated to the main storage; and
switching the first auxiliary storage to the second auxiliary storage for use if the first auxiliary storage is used for operation, or switching the second auxiliary storage to the first auxiliary storage for use if the second auxiliary storage is used for operation. - View Dependent Claims (2, 3)
-
-
4. An apparatus for getting dump of a computer system that adopts virtual storage management by which virtual storage is available, said apparatus comprising:
-
auxiliary storage comprising first auxiliary storage and second auxiliary storage;
a means for operating the computer system using either of the first auxiliary storage or the second auxiliary storage;
a means for determining a location in main storage, or in the auxiliary storage, where information in a virtual-storage area is stored, according to an address translation table when occurrence of a failure in the computer system is detected;
a means for transferring content of the virtual-storage area from the main storage to the auxiliary storage if content of the virtual-storage area is allocated to the main storage, and if the content of the virtual-storage area has been updated since the virtual-storage area was allocated to the main storage; and
a means for switching the first auxiliary storage to the second auxiliary storage for use if the first auxiliary storage is used for operation, and for switching the second auxiliary storage to the first auxiliary storage for use if the second auxiliary storage is used for operation.
-
-
5. An apparatus for getting dump of a computer system that uses virtual storage, said apparatus comprising:
-
auxiliary storage comprising first auxiliary storage and second auxiliary storage;
an address translation table for indicating a location in main storage, or in auxiliary storage, where information in a virtual-storage area is stored;
a means for transferring content of the virtual-storage area from the main storage to the auxiliary storage according to the address translation table when occurrence of a failure in the computer system is detected, if the content of the virtual-storage area is allocated to the main storage, and if the content of the virtual-storage area has been updated since the virtual-storage area was allocated to the main storage; and
a means for switching the first auxiliary storage to the second auxiliary storage for use if the first auxiliary storage is used for operation, and for switching the second auxiliary storage to the first auxiliary storage for use if the second auxiliary storage is used for operation.
-
-
6. A method for getting dump of a computer system that uses virtual storage, said method comprising the steps of:
-
controlling the virtual storage according to an address translation table that indicates a location in main storage, or in first auxiliary storage, where information in a virtual-storage area is stored;
storing content of the virtual-storage area, which has been updated since the virtual-storage area was allocated to the main storage, in the first auxiliary storage according to the address translation table when occurrence of a failure in the computer system is detected; and
switching the first auxiliary storage, which is working, to the second auxiliary storage.
-
-
7. A method for getting dump of a computer system that uses a plurality of pieces of virtual storage, said method comprising the steps of:
-
controlling each of the plurality of pieces of virtual storage according to an address translation table corresponding to each virtual storage, which indicates a location in main storage, or in first auxiliary storage, where information in each area of the plurality of pieces of virtual storage is stored;
storing content in each area of the plurality of pieces of virtual storage, which has been updated since the area of the virtual storage was allocated to the main storage, in the first auxiliary storage according to the address translation table when occurrence of a failure in the computer system is detected; and
switching the first auxiliary storage, which is working, to the second auxiliary storage.
-
-
8. A method for getting dump of a computer system that uses virtual storage, said method comprising the steps of:
-
controlling the virtual storage according to an address translation table that indicates a location in main storage, or in first auxiliary storage, where information in a virtual-storage area is stored;
saving the address translation table in the first auxiliary storage if page-out occurs in the address translation table; and
storing content of the virtual-storage area, which has been updated since the virtual-storage area was allocated to the main storage, in the first auxiliary storage according to the address translation table when occurrence of a failure in the computer system is detected; and
restoring the address translation table, which has been saved in the first auxiliary storage, in the main storage before switching the first auxiliary storage, which is working, to second auxiliary storage.
-
Specification