Vous êtes sur la page 1sur 8

Installation Path /usr/sap

Home directory /usr/sap/<SID>/home


Home of the login shell /bin/sh
Data volumes usr/sap/<sid>/global/hdb/data
Log volumes /usr/sap/<sid>/global/hdb/log

Configuration files: /hana/shared/$SID/global/hdb/custom/config.

/usr/sap/<sid>/SYS/global/hdb/custom/config

/usr/sap/<sid>/HDB/<instance number>/<server name>

Sapcontrole path:
Action Command

Start the system /usr/sap/hostctrl/exe/sapcontrol -nr <instance_number> -function


StartSystem HDB

Stop the system /usr/sap/hostctrl/exe/sapcontrol -nr <instance_number> -function


StopSystem HDB

Query current status of all hosts /usr/sap/hostctrl/exe/sapcontrol -nr <instance_number> -function


in the system GetSystemInstanceList

ADDING HOST

/hana/shared/HDM/global/hdb/install/bin/hdbaddhost

log and trace files path


/usr/sap/<SID>/HDB<nn>/<hostname>/trace Or $DIR_INSTANCE/<hostname>/trace

backups made using third-party backup tools path

/usr/sap/<SID>/SYS/global/hdb/backint.

SAP support asks you to provide diagnostic information from the SAP HANA instance.

A. Run the fullSystemInfoDump.py script on the SAP HANA server as <SID>adm


B. Login using <sid>adm
C. Go to /usr/sap/<SID>/<INST>/exe/python_support
D. Run python fullSystemInfoDump.py
E. Provide database user ID and password
F. The system dump will be zipped and written to /tmp/system_dump
G. Execute Diagnosis Files -> Diagnosis Information -> Collect function in the SAP HANA studio

Load the all tables into the memory using python support

/usr/sap/<sid>/HDB<inst_id>/exe/python_support/loadAllTables.py

Under the global directory you'll have the following sub-directories:

--global

--security --sapcontrol --hdb -install

bin
| -hdbuninst
| -hdbaddhost
| -hdbrename
|--data
|--data_volume_0000...99999
|--log
|--hdb0001...99999
|--log_segment_000_00000000.dat
|--log_segment_000_00000000.dat

User asks to resend EWA-

In some case either due to technical issue or some or other reason user did not
received EWA report or may be skipped or deleted from the mail box and asks BASIS
team to send it again. Go to T CODE: SOLUTION_WORKCENETER
Navigate to system monitoring tab

Go to Reports

It will display the list of all the system which are configured for EWA.
Select the particular or required system.

In the case I made the document for a BI System. Click on that.

Click on BI 7.0. It will take some time and will show all alert report that has been
generated since configured.

Scroll down for required date and go to right hand side of the report to see the
following beside each report. Click on specs symbol to display the report.
It will ask for options.

Click on standard and see at bottom for

Report is generated
Click on Email as marked in the above snap. It will ask for To: Write the recipient
email id and send.

You can verify the same using TCODE SOST whether the report is went to the
concerned email.

Eugene Kondrashev wrote:


> * What are the processes relevant to Hana Db?

This is still changing pretty much ...


Anyhow, just check the running services in HANA studio (landscape tab) and you have all the process at hand.

> * What is the signature of starting command?

What is that supposed to mean?

> * How can I identify running Hana Db instance on a host having shell access?

How about the HDB command?

SUSE Linux Enterprise Server 11 (x86_64)

/usr/sap/HAN/HDB00> HDB help


Usage: /usr/sap/HAN/HDB00/HDB {
start|stop|reconf|restart|version|info|proc|admin|kill|kill-<sig>|term }
kill or kill-9 should never be used in productive environment!

/usr/sap/HAN/HDB00> HDB info


USER PID PPID %CPU VSZ RSS COMMAND
hanadm 14682 14677 0.0 85580 2180 sshd: hanadm@pts/0
hanadm 14683 14682 3.3 16768 2980 \_ -bash
hanadm 14756 14683 18.1 13652 1680 \_ /bin/sh /usr/sap/HAN/HDB00/HDB info
hanadm 14782 14756 0.0 6620 892 \_ psfx -U hanadm -o
user,pid,ppid,pcpu,vsz,rss,args
hanadm 31638 1 0.0 42624 1820
sapstartpf=/usr/sap/HAN/SYS/profile/HAN_HDB00_vml3012
hanadm 31645 31638 0.0 528216 151400 \_
/usr/sap/HAN/HDB00/vml3012/trace/HDB.sapHAN_HDB00 -d -nw -f
/usr/sap/HAN/HDB00/vml3012/daemon.ini pf=/usr/sap/HAN/SYS/profi
hanadm 31665 31645 0.5 5001972 1002844 \_ hdbnameserver
hanadm 31723 31645 0.0 4367024 244336 \_ hdbpreprocessor
hanadm 31744 31645 1.9 5664496 1779448 \_ hdbindexserver
hanadm 31752 31645 3.6 7197924 3359440 \_ hdbstatisticsserver
hanadm 31759 31645 0.6 5289164 1507684 \_ hdbxsengine
hanadm 32017 31645 0.0 429188 124344 \_
sapwebdisp_hdbpf=/usr/sap/HAN/HDB00/vml3012/wdisp/sapwebdisp.pfl -f
/usr/sap/HAN/HDB00/vml3012/trace/dev_webdisp
hanadm 31527 1 0.0 292676 110380
/usr/sap/HAN/HDB00/exe/sapstartsrvpf=/usr/sap/HAN/SYS/profile/HAN_HDB00_vml3012 -D
> * Does Hana DB started with SAP start profile? If so, could someone point me to the example of such a profile?

This is still changing pretty much ...

Could you please give some more info? Is it changing on per version basis, or what do you mean?

Anyhow, just check the running services in HANA studio (landscape tab) and you have all the process at hand.

As I said, I have only shell access, so no gui or similar apps applicable, only console commands.

But now i see that i can grepps -aef with<SAPSID>_HDB<Instance_No>_<host_name> pattern matching
sapstartpf=/usr/sap/HAN/SYS/profile/HAN_HDB00_vml3012

That is what i mean saying about signature:


sapstartpf=<Path_to_Profile>

So, is it correct that every sapstartpf=<SAPSID>_HDB<Instance_No>_<host_name> process means Hana Db


instance running? Meaning one-to-one relation?

?? seriously... take a guess

Ok, I just needed command signatures in that profile, I don't think it would raise any security issues or something..

A few additional questions:


where can i find hanadb version information? Some config file or command?
How can I retrieve list of schemas of current Hana db instance?

As for last question I guess it should be some sql query. But I have no clue what client to use( /usr/sap/hbdclient ?)
and what exact sql.

Vous aimerez peut-être aussi