FAQ Listing

[ Home ] [Back to FAQ Listing] [Search FAQ's]


How do I safely and cleanly shut down and restart my Realtime System ?

Cure

SHUTTING DOWN AND STARTING UP THE REALTIME SYSTEM

PICK / D3 System Administration

Stopping the Pick/D3 Virtual Machine and shutting down your server

Shutting down the system is a two-fold process. 
First -  Pick/D3 must be shut down, and then, AIX / Linux must be shut down. 

 You must be logged on to the dm account to shut down Pick.  First, check that all users are logged off the system (if possible).  There may be instances when the system is hung or in a condition where it is not possible to have users log off gracefully.  In that case, the shutdown will log them off, but there is a possibility of data corruption.

The command listu at TCL will list all active users on the system.

Then the shutdown command should be issued.  The system will prompt for confirmation of shutdown - respond by enter ‘y’ to continue.  All print jobs will be terminated, as well as all other processes.  A screen similar to the one below will appear.

 

:listu                                                                         

pib# pid.. user........ udate utime account........ mdate mtime location......                                                                              
* 0 22464 dm           09/09 15:03 dm              09/09 15:03                
:shutdown                                                                      
Shutting down "pick0:AIX"                                                      
Do you wish to continue (Y/N/0)?y                                              
Terminating all print jobs...                                                                                                                                  

Wrapping up process on line 0                                                  
Wrapping up process on line 1                                                  
Wrapping up process on line 2                                                  
Wrapping up process on line 3                                                  
Wrapping up process on line 4                                                  
Wrapping up process on line 5
....................... 
Wrapping up process on line 342                                                
Wrapping up process on line 343                                                
Wrapping up process on line 344                                                
Wrapping up process on line 345                                                 |
Wrapping up process on line 346                                                
Wrapping up process on line 347                                                
Wrapping up process on line 348                                                
Wrapping up process on line 349                                                
Wrapping up process on line 350                                                
Wrapping up process on line 359                                                
Wrapping up current process on line 18                                          
Pause for wrapup processing to complete...                                                                                                                     

Flushing memory, boot when disk is quiescent...                                 
Disconnected from Virtual Machine 'pick0:AIX'   
                               

 When Pick has successfully shutdown you should  be at the  (#) prompt. If you are returned to a
Login prompt, simply login to your Realtime server as the root user in order to get to the (#) prompt.
Then, if necessary, you may then shutdown your AIX or Linux server as outlined below:

 For AIX:         #shutdown -F               (This shuts the system down to power down.)
                             or
                         #shutdown -Fr              (This shuts the system down to reboot itself automatically.)

 For LINUX:   #shutdown                   (This shuts the system down to power down.)
                             or
                          #reboot                        (This shuts the system down to reboot itself automatically.)
 

PICK / D3 System Administration 

Starting your server and the Pick/D3 Virtual Machine

After re-starting your AIX / Linux system and logging in as root,  at the (#) prompt - type:

d3 -0        <enter>

The system will display a summary of certain PICKD3 system configuration options – you screen will look similar to this:

6.1.X.M34B 08 Dec 1994                                                         
Virtual machine.... pick0:AIX        Line 0............. /dev/pts/2            
Key................ 10               Memory (K)......... 27648                 
Pibs............... 350              Phantom Processes.. 8                     
Shared BASIC size  1024K                                                       
ABS locked                                                                     
Boot in single user mode                                                       
Disk  0: /dev/rpick                       450560 Blocks                        
Disk  1: /dev/rpick1                      614400 Blocks                        
Tape  0: /dev/rfd0h                       Record size   500 Type 0             
Tape  1: /dev/rfd0l                       Record size   500 Type 0             
Tape  2: /dev/rmt0.1                      Record size 16384 Type 3        
Tape  3: /dev/rmt0.5                      Record size 16384 Type 3             
Tape  4: /dev/rmt1.1                      Record size 16384 Type 5             
Tape  5: /dev/px.gate                     Record size   500 Type 2             
Tape  6: /home/ap/tape/abs611             Record size   500 Type 0             
Tape  7: /tmp/trilogy/rpl-load            Record size   500 Type 0             

Options: F)ile only, A)BS only, X) eXecute. Q)uit =

Type X to execute the PICK/D3 Database and start the system running.

The following options should only be used if instructed by Realtime Software !!!
Use of these options unless instructed can result in the loss of all system data !

 Option A is used to reload the ABS (absolute frames) area.  The ABS area is where the Pick virtual code resides. 

Option F is used to create or restore a complete Pick file system.  This option will destroy the current filesystem prior to loading on the files from the backup media, and all current data will be lost.


Last changed: 09/29/10