SELECT to_char(startup_time,'DD-MON-YYYY HH24:MI:SS') "DB Startup Time" FROM sys.v_$instance;
Result:
DB Startup Time
--------------------
09-MAY-2015 20:23:13
db2dart <dbname> /CHST /WHAT DBBP OFFInfo from here:
db2level
db2 "select substr(comment,1,20) "TYPE", substr(start_time,7,2)||'/'||substr(start_time,5,2)||'/'||substr(start_time,1,4)||' '||substr(start_time,9,2)||':'||substr(start_time,11,2) "START", substr(end_time,7,2)||'/'||substr(end_time,5,2)||'/'||substr(end_time,1,4)||' '||substr(end_time,9,2)||':'||substr(end_time,11,2) "END", SQLCODE "ERROR" from sysibmadm.DB_history Where ENTRY_STATUS='A' and comment like 'DB2 BACKUP%' group by substr(comment,1,20), start_time, end_time, SQLCODE order by end_time desc"
db2 list history BACKUP all for <SID>To view all of the history since a certain date:
db2 list history BACKUP since 20130301 for <SID>To view the archive log history since a certain date:
db2 list history archive log since 20130301 for <SID>
| Username | Password |
|---|---|
| Admin | Admin89 |
| Guest | guest12 |
| Details | Client | Username | Password |
|---|---|---|---|
| RFC to SAP | 000 | OSS_RFC | cpic |
| Comms user | All | SAPCPIC | ADMIN |
| STMS user | All | TMSADM | PASSWORD |
| STMS user | All | TMSADM | $1Pawd2& |
| Earlywatch | 066 | EARLYWATCH | SUPPORT |
| Admin user | All | SAP* | PASS |
| Username | Password |
|---|---|
| admin | admin |
| Username | Password |
|---|---|
| CONTROL | control |
| SUPERDBA | admin |
FILE# NAME
----------------------------------------------
1 /oracle/ECY/sapdata1/system_1/system.data1
2 /oracle/ECY/sapdata1/undo_1/undo.data1
3 /oracle/ECY/sapdata1/sysaux_1/sysaux.data1...
http://<servername>:5<instance>13/
/usr/sap/<SID>/JC<instance>/exe/servicehttp/sapmc
[-t | -task <task>] Specify task (see list below)
[-i | -instance <instance>] Specify SAP system instance (see list below)
[-v | -vhost "<virtual hostname="">[ <virtual hostname="">]*"] Specify virtual host names
[-c | -check] Check database and SAP instance status
[-h | -help] Display help
[-V | -VERSION] Display startsap script version
[-C | -checkVHost] Check virtual host name
check - Check status of database and SAP system instancesr3 | j2ee - Start or stop SAP instances only. You can use either r3 or j2ee, regardless if the instance to be started or stopped is an ABAP or Java instance.
db - Start or stop ABAP database only
jdb - Start or stop Java database only
all | <blank> - Start or stop database and SAP instance
startupsrv - Start or stop sapstartsrv program
DVEBMGS<nn> - ABAP primary application server Instance
D<nn> - ABAP additional application server instance
ASCS<nn> - ABAP central services instance (ASCS instance)
SCS<nn> - Java central services instance (SCS instance)
J<nn> - Java application server instance
TRX<nn> - TREX instance
ERS<nn> - Enqueue replication server instance (ERS instance)
SMDA<nn> - Diagnostics agent instance
W<nn> - Web services instance
G<nn> - Gateway instance