hidden:Starting and Stopping HPSS

From Lsdf

Activate/deactivate HPSS on either hpsscr04 or hpsscr05

1.Activate HPSS 
run: /hat/core_manual/bin/hpss_activate_node.ksh
This script:
- activates hpss volume groups
- mounts hpss file systems
- sets IPs of the productive HPSS core
- starts hpss and DB2
- copies /hat/core_manual/etc/root_active_crontab over /var/spool/cron/root
2.Deactivate HPSS active core 
run: /hat/core_manual/bin/hpss_deactivate_node.ksh
This script:
- stops HPSS and DB2
- umounts all HPSS file systems
- deactivates all HPSS volume groups
- takes away all HPSS productive IPs
- deletes /var/spool/cron/root

Please note:
- if you solely want to stop HPSS and DB2 but have access to HPSS file systems
please see below how only stop hpss
- if you want to set a cronjob on the active core, write it in 
/hat/core_manual/etc/root_active_crontab
to be activeted at the next run of 
/hat/core_manual/bin/hpss_activate_node.ksh

Stop/Start HPSS and DB2 on the active core without deactivating it

1.Stop all HPSS processes and DB2 in one step
/opt/hpss/bin/rc.hpss stop

2.Alternatively, stop HPSS and DB2 in more steps for a better overview 

2.1.Start the command line on the core server and stop all server 
/opt/hpss/bin/hpssadm.pl -U hpssssm -a /var/hpss/etc/hpss.unix.keytab
hpssadm> server shutdown -all
hpssadm> server list -all  
hpssadm> quit
2.2.Stop startup daemon
/opt/hpss/bin/rc.hpss -d stop
2.3.Stop system manager
/opt/hpss/bin/rc.hpss -m stop
2.4.Stop DB2
2.5.Stop DB2 using rc.hpss:
/opt/hpss/bin/rc.hpss stop
Please note:
rc.hpss will try to stop all hpss processes
rc.hpss will find all hpss processes stopped (had been stopped in step 2.3)
rc.hpss will only stop DB2
DB2 can also be stopped using DB2 manager
su - hpssdb
db2stop
exit
3. Start HPSS and DB2
as user root on the core server
rc.hpss starts all hpss processes and DB2 as well
/opt/hpss/bin/rc.hpss start

check if all servers are running
start hpss admin tool
/opt/hpss/bin/hpssadm.pl -U hpssssm -a /var/hpss/etc/hpss.unix.keytab
check if all servers are running
hpssadm>server list -all  
ID    Status     Type   Subtype  Subsystem     Log Policy  Op State  Server Name                   Host                     Execute Host  UUID                                  
 1000  Connected  SSMSM                         Default     Enabled   SSM System Manager            hpsscr04-d.scc.kit.edu   hpss          d05ca280-bef7-11e3-a434-40f2e9722522  
 1001  Connected  SUD                           Default     Enabled   Startup Daemon (hpss)         hpss.scc.kit.edu         hpss          ec6ae47e-bf19-11e3-9061-40f2e9722522  
 1002  Connected  LS                            Default     Enabled   Location Server               hpss.scc.kit.edu         hpss          0e9dbfd0-bf1a-11e3-9061-40f2e9722522  
    1  Connected  CORE            Subsystem #1  Default     Enabled   Core Server                   hpss.scc.kit.edu         hpss          1f000e32-bf1a-11e3-9061-40f2e9722522  
hpssadm> quit


Alternatively you can stop/start HPSS servers using HPSS GUI

In this case stopping is done in two steps. 
First in the GUI all hpss servers are to be stopped and then the database is to be stopped.
1. open the HPSS GUI on the active Core-Server
/opt/hpss/bin/hpssgui.pl &
2. click on Operations --> Shutdown --> All Non-SSM Servers
3. then Operations --> Shutdown --> System Manager

Then stop the database:

/opt/hpss/bin/rc.hpss stop



back to HPPS main page