3.11 Resetting a Virtual Partition

     

It is not inconceivable that an instance of HP-UX will hang, possibly due to a software or hardware fault. On a non-vPar server/n-Par, we can deal with this in two ways: We can issue a hard reset (the RS command from the GSP/console) or a soft reset (the TC command from the GSP/console, invoking a system crashdump ). If we perform either of these tasks on a vPar-enabled server/n-Par, we will reset all vPars and vpmon not a good idea. If we want to issue a hard or soft reset on an individual vPar, we use the vparreset command. The “h option is a hard reset (the RS command). The “t option is a soft reset (the TC command).

 

 root @uksd3 #  vparreset -p vPar1 -t  Reset virtual partition vPar1? [n]  y  ******** TOC -- Processor 2: HPA 0xfffffffffc27c000  Entity ID: 10 ********* General Registers 0 - 31 00-03  0000000000000000  000000000401521c  00000000043d3950  0000000000000000 04-07  0000000001540790  000000000153a000  000000000153a9b0  0000000004c48fd0 08-11  0000000004c74430  0000000004a87080  0000000004b7a080  0000000004b7c080 12-15  0000000004b7a080  0000000004b7c080  0000000004b7c080  0000000004ada1a0 16-19  0000000000000064  000000004008fd00  0000000000000000  0000000000000002 20-23  0000000000000000  0000000007ae04e0  0000000700000000  00000000049dcb80 24-27  fffffff000000000  0000000000000040  fffffff0ffffffff  0000000004b84080 28-31  fffffff0ffffffff  0000000007ae0350  0000000007ae0310  0000000004156c08 Control Registers 0 - 31 00-03  000000007d3c35f0  0000000000000000  0000000000000000  0000000000000000 04-07  0000000000000000  0000000000000000  0000000000000000  0000000000000000 08-11  000000000000ba0f  000000000000945c  00000000000000c0  0000000000000038 12-15  0000000000000000  0000000000000000  000000000400a000  fffffff0ffffffff 16-19  00000140924adab5  0000000000000000  00000000043d3950  00000000e81f1d05 20-23  000000001034001e  00000000b82e1300  000000000804021f  0000000000000000 24-27  000000000153a000  000000000465d1d6  000000004008fd00  000000004006cd80 28-31  000000000153a000  00000140921e233e  0000000000007c37  0000000007ae0310 Space Registers 0 - 7 00-03  000000000b049000  00000000024f8000  000000000a30a400  0000000000000000 04-07  0000000000000000  00000000ffffffff  0000000009886000  0000000000000000 IIA Space                    = 0000000000000000 IIA Offset                   = 00000000043d3954 CPU State                    = 0x9e000001 root @uksd3 # 

The hex data is gathered from the Processor Information Module (PIM). This will be displayed whenever we perform a hard or soft reset of a vPar. After a TOC, we will find the crashdump under the directory configured to store crashdumps, /var/adm/crash by default. It should be noted that any root user logged into a vPar within a server/n-Par is able to reset any other vPar within the same server/n-Par.



HP-UX CSE(c) Official Study Guide and Desk Reference
HP-UX CSE(c) Official Study Guide and Desk Reference
ISBN: N/A
EAN: N/A
Year: 2006
Pages: 434

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net