hidden:Starting and Stopping HPSS: Difference between revisions
From Lsdf
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== |
==Activate/deactivate HPSS on either hpsscr04 or hpsscr05== |
||
1.'''Activate HPSS''' |
|||
/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 |
|||
2.'''Deactivate HPSS active core''' |
|||
/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 |
|||
==Stop HPSS using the hpss command line== |
|||
1.'''Start the command line on the core server and stop all server''' |
1.'''Start the command line on the core server and stop all server''' |
||
1.1. [root@hpsstcr03 scripts]# /opt/hpss/bin/hpssadm.pl -U hpssssm -a /var/hpss/etc/hpss.unix.keytab |
1.1. [root@hpsstcr03 scripts]# /opt/hpss/bin/hpssadm.pl -U hpssssm -a /var/hpss/etc/hpss.unix.keytab |
||
hpssadm> server shutdown -all |
hpssadm> server shutdown -all |
||
hpssadm> server list -all |
hpssadm> server list -all |
||
List |
|||
ID Status Type Subtype Subsystem Op State Server Name Host Execute Host UUID |
|||
0 Connected SSMSM Enabled SSM System Manager hpsstcr03.lsdf.kit.edu hpsstcr03 264216ec-0752-11e4-9b61-40f2e9724ad2 |
|||
1 Connected SUD Enabled Startup Daemon (hpsstcr03) hpsstcr03.lsdf.kit.edu hpsstcr03 58cea534-0767-11e4-8c5a-40f2e9724ad2 |
|||
hpssadm> quit |
hpssadm> quit |
||
1.2.'''Stop startup daemon''' |
1.2.'''Stop startup daemon''' |
||
Line 24: | Line 36: | ||
/opt/hpss/bin/hpssadm.pl -U hpssssm -a /var/hpss/etc/hpss.unix.keytab |
/opt/hpss/bin/hpssadm.pl -U hpssssm -a /var/hpss/etc/hpss.unix.keytab |
||
hpssadm>server start -all |
hpssadm>server start -all |
||
hpssadm>server list -all |
hpssadm>server list -all |
||
Execute flag not set (SSM_ESTART_NO_EXEC) (Server = STK_02 PVR) (server 18) |
|||
Servers |
|||
Time Created by System Manager Aug 4, 2016 1:51:33 PM |
|||
Time Updated by System Manager Aug 24, 2016 5:13:02 PM |
|||
Time Received by Client Aug 24, 2016 5:13:04 PM |
|||
List |
|||
ID Status Type Subtype Subsystem Op State Server Name Host Execute Host UUID |
|||
0 Connected SSMSM Enabled SSM System Manager hpsscr.lsdf.kit.edu hpsscr d05ca280-bef7-11e3-a434-40f2e9722522 |
|||
1 Connected SUD Enabled Startup Daemon (hpsscr) hpsscr.lsdf.kit.edu hpsscr ec6ae47e-bf19-11e3-9061-40f2e9722522 |
|||
2 Connected LS Enabled Location Server hpsscr.lsdf.kit.edu hpsscr 0e9dbfd0-bf1a-11e3-9061-40f2e9722522 |
|||
3 Connected CORE Subsystem #1 Enabled Core Server hpsscr.lsdf.kit.edu hpsscr 1f000e32-bf1a-11e3-9061-40f2e9722522 |
|||
4 Connected LOGD Enabled Log Daemon hpsscr.lsdf.kit.edu hpsscr 6f338618-bf1a-11e3-9061-40f2e9722522 |
|||
5 Connected LOGC Enabled Log Client (hpsscr) hpsscr.lsdf.kit.edu hpsscr d9358ed0-bf1a-11e3-9061-40f2e9722522 |
|||
6 Connected MPS Subsystem #1 Enabled Migration/Purge Server hpsscr.lsdf.kit.edu hpsscr 5c228a3c-bf1b-11e3-9061-40f2e9722522 |
|||
7 Connected PVL Enabled PVL hpsscr.lsdf.kit.edu hpsscr b668344c-bf1b-11e3-9061-40f2e9722522 |
|||
8 Connected PVR STK Enabled STK_01_GridKa hpsscr.lsdf.kit.edu hpsscr b6a93d86-29a2-11e6-832b-40f2e9722522 |
|||
9 Connected PVR STK Enabled STK_01 PVR hpsscr.lsdf.kit.edu hpsscr b6eb3b56-bf1d-11e3-9061-40f2e9722522 |
|||
10 Connected MOVER Enabled Mover Tape MVR01 hpsscr.lsdf.kit.edu hpsscr 2f1588ce-bf1f-11e3-9061-40f2e9722522 |
|||
11 Connected MOVER Enabled Mover Disk MVR01 hpsscr.lsdf.kit.edu hpsscr a0b80d36-bf1e-11e3-9061-40f2e9722522 |
|||
12 Connected MOVER Enabled Mover Disk MVR02 hpsscr.lsdf.kit.edu hpsscr c9a13cf0-bf22-11e3-9061-40f2e9722522 |
|||
13 Connected MOVER Enabled Mover Tape MVR02 hpsscr.lsdf.kit.edu hpsscr ec39acc0-bf22-11e3-9061-40f2e9722522 |
|||
14 Connected MOVER Enabled Mover Disk MVR03 hpsscr.lsdf.kit.edu hpsscr 05b92c52-bf23-11e3-9061-40f2e9722522 |
|||
15 Connected MOVER Enabled Mover Tape MVR03 hpsscr.lsdf.kit.edu hpsscr 20bd053c-bf23-11e3-9061-40f2e9722522 |
|||
16 Connected MOVER Enabled Mover Disk MVR04 hpsscr.lsdf.kit.edu hpsscr 34c9ea7c-bf23-11e3-9061-40f2e9722522 |
|||
17 Connected MOVER Enabled Mover Tape MVR04 hpsscr.lsdf.kit.edu hpsscr 497424d8-bf23-11e3-9061-40f2e9722522 |
|||
19 Connected MOVER Enabled Mover Disk MVR01-2 hpsscr.lsdf.kit.edu hpsscr ed3ee018-1742-11e4-9ee4-40f2e9722522 |
|||
20 Connected MOVER Enabled Mover Disk MVR02-2 hpsscr.lsdf.kit.edu hpsscr b473a2c6-1744-11e4-9ee4-40f2e9722522 |
|||
21 Connected MOVER Enabled Mover Disk MVR03-2 hpsscr.lsdf.kit.edu hpsscr 56fb561a-1745-11e4-9ee4-40f2e9722522 |
|||
22 Connected PVR SCSI Enabled IBM_IU1_01 PVR hpsscr.lsdf.kit.edu hpsscr be446d0e-b6a8-11e4-bad8-40f2e9722522 |
|||
hpssadm> quit |
hpssadm> quit |
||
Revision as of 14:19, 4 January 2021
Activate/deactivate HPSS on either hpsscr04 or hpsscr05
1.Activate HPSS /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 2.Deactivate HPSS active core /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
Stop HPSS using the hpss command line
1.Start the command line on the core server and stop all server 1.1. [root@hpsstcr03 scripts]# /opt/hpss/bin/hpssadm.pl -U hpssssm -a /var/hpss/etc/hpss.unix.keytab hpssadm> server shutdown -all hpssadm> server list -all hpssadm> quit 1.2.Stop startup daemon root@hpsstcr03 scripts]# /opt/hpss/bin/rc.hpss -d stop 1.3.Stop system manager root@hpsstcr03 scripts]# /opt/hpss/bin/rc.hpss -m stop 2.Stop the database 2.1.[root@hpsstcr03 scripts]# /opt/hpss/bin/rc.hpss stop SQL1064N DB2STOP processing was successful.
Start HPSS and the database
as user root on the core server
/opt/hpss/bin/rc.hpss start /opt/hpss/bin/hpssadm.pl -U hpssssm -a /var/hpss/etc/hpss.unix.keytab hpssadm>server start -all hpssadm>server list -all hpssadm> quit
Alternatively you can stop 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 (hpsscr) [root@hpsscr ~]# /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