HANA Installation & Configuration
Section 1: Introduction to SAP HANA (Q1–Q10)
- What is SAP HANA?
Ans. SAP HANA is an in-memory database platform optimized for high performance in real-time applications and analytics. - What are the key features of SAP HANA?
Ans. In-memory computing, real-time analytics, columnar storage, data compression, and parallel processing. - Which OS is supported for HANA installation?
Ans. SUSE Linux Enterprise Server (SLES) and Red Hat Enterprise Linux (RHEL). - What are HANA deployment types?
Ans. Single-host, multi-host (scale-out), and system replication. - What are SAP HANA components?
Ans. Index Server, Name Server, Statistics Server, Preprocessor, and XS Engine. - What is the role of the Index Server?
Ans. It handles SQL and MDX statements, data persistence, and query processing. - What is the default port of SAP HANA Studio?
Ans. 39015 (for system DB). - What is a HANA SID?
Ans. A three-character system identifier used to uniquely identify a HANA system. - Where are HANA logs stored?
Ans. Typically in /usr/sap/<SID>/HDB<instance number>/<hostname>/trace. - How do you check HANA version?
Ans. Use command: HDB version
Section 2: Pre-Installation Tasks (Q11–Q30)
- What is the required RAM for HANA installation (minimum)?
At least 128 GB for production, 64 GB for test/dev. - What command checks Linux version?
cat /etc/os-release - What is a mandatory update before HANA installation?
OS patching, latest kernel updates, and glibc. - Which tool is used for package management on SLES?
zypper - How do you update repositories in SLES?
zypper refresh - How to install libaio1 using zypper?
zypper install libaio1 - What is saptune used for?
It applies SAP recommended OS settings. - How to start saptune daemon?
systemctl start saptune - Which saptune solution is used for HANA?
saptune solution apply HANA - How do you verify all saptune settings?
saptune note verify - Which kernel parameters are mandatory for HANA?
vm.nr_hugepages, fs.file-max, and net.core settings. - What is the role of hugepages in HANA?
Improves memory management and performance. - How do you set hugepages in Linux?
Update /etc/sysctl.conf and reboot. - What is the minimum swap size for HANA?
Recommended: 2x RAM if <256 GB, else 1x RAM. - What command lists available disk space?
df -h - Which partitioning is recommended for /hana?
Separate partitions for /hana/data, /hana/log, and /hana/shared. - What is the default filesystem for HANA volumes?
XFS or ext4 (XFS preferred). - What is the command to check memory usage?
free -g or top - How to check if libstdc++ is installed?
rpm -qa | grep libstdc++ - Where to check OS-specific SAP Notes?
On SAP ONE Support Launchpad.
Section 3: HANA Installation (Q31–Q60)
- What is the HANA installer name?
hdblcm (HANA Database Lifecycle Manager) - What are the two installation modes?
GUI mode and command-line mode. - How do you start hdblcm?
./hdblcm - How to install silently using configuration file?
./hdblcm --configfile=install.cfg - What is hdbinst?
Legacy installer, replaced by hdblcm. - Where is the installation log stored?
/var/tmp and <install_dir>/logs - Which user is used for HANA installation?
root user is required. - What is the sapadm user?
Admin user created for managing SAP Host Agent. - What is sidadm user?
OS-level user created for each SAP system. - What directory contains HANA binaries?
/usr/sap/<SID>/HDB<Instance>/exe - What is the default instance number?
00 (can be 00 to 97) - Can HANA be installed without GUI?
Yes, using CLI with config file. - How to check if installation was successful?
Check return code 0 and system status via HDB info. - What if installation fails midway?
Check logs in /var/tmp and fix the error before retrying. - What is a common cause for libaio error?
Missing libaio1 package. - What if glibc version is incompatible?
Update glibc or use a compatible HANA revision. - What is the default HANA system user?
SYSTEM - How to change SYSTEM password post-install?
Login via HANA Studio → User → Change Password. - What is HANA cockpit?
A web-based tool for administration and monitoring. - Is it mandatory to install HANA cockpit?
No, but recommended for ease of management. - How do you start HANA manually?
HDB start - How to stop HANA instance?
HDB stop - What is sapstartsrv?
SAP start service for process monitoring. - What is hdbdaemon?
Background service to start/stop HANA components. - What is the role of nameserver?
Manages topology and landscape of HANA. - What is xsengine used for?
Embedded web server and application layer. - Which file contains instance profile?
DEFAULT.PFL or INSTANCE_PROFILE - What if the index server fails to start?
Check logs in /usr/sap/<SID>/HDB<inst>/trace/ - How to configure system replication?
Use hdbnsutil and hdbreplicate - What is log mode in HANA?
Determines log backup behavior (normal/overwrite).
Section 4: Post-Installation & Troubleshooting (Q61–Q80)
- How do you add a license in HANA?
HANA Studio → License → Install License. - How to check license status?
SQL: SELECT * FROM SYS.M_LICENSE; - What is the log directory for HANA?
/hana/log/<SID>/ - How to backup HANA manually?
BACKUP DATA USING FILE ('backup_name'); - Where are data backups stored?
/hana/backup/data/ - What tool is used for backups?
HANA Studio or HANA Cockpit. - What command shows system status?
HDB info - What if SYSTEM user is locked?
Use hdbsql as sidadm to unlock. - What is SQL for unlocking a user?
ALTER USER SYSTEM ENABLE; - What if HANA is slow post-installation?
Check CPU, RAM, disk I/O, and logs. - What is top used for?
Monitoring CPU/memory usage. - What causes HANA to crash during startup?
Low memory, corrupted files, misconfiguration. - What is default log retention policy?
Configured in global.ini. - How to change log segment size?
Via global.ini or SQL. - How to enable data compression?
Enabled by default for most table types. - What is delta merge?
Combines delta storage into main storage to optimize performance. - How to monitor delta merges?
M_DELTA_MERGE_STATISTICS view. - What is a tenant DB?
A separate database inside a HANA system. - How to list tenant databases?
HDBSQL or M_DATABASES view. - How to restart HANA from OS?
su - <sidadm> → HDB restart
Section 5: Advanced Topics (Q81–Q100)
- How to configure alerts in HANA?
Use HANA Cockpit or SQL-based alerts. - What is table partitioning?
Dividing large tables across different storage for performance. - How to monitor HANA memory usage?
Views: M_MEMORY, M_CS_TABLES - What is auto-host failover?
Automatic switch to standby node in failure. - What is SDA in HANA?
Smart Data Access for accessing external databases. - How to enable system replication?
hdbnsutil -sr_enable --name=PRIM - What is HANA MDC?
Multi-tenant Database Container – supports multiple DBs. - How to create a new tenant DB?
SQL: CREATE DATABASE <DB_NAME> SYSTEM USER PASSWORD <PWD>; - What is global.ini used for?
System-wide configuration parameters. - How to check services on each node?
SQL: SELECT * FROM M_SERVICES - How to monitor disk usage in HANA?
M_DISKS and df -h - What are HANA alerts?
Notifications for performance or fault conditions. - What is the difference between row and column store?
Column store is optimized for analytics; row store for OLTP. - How to optimize queries in HANA?
Use PlanViz, proper indexing, avoid full table scans. - What is persistent memory in HANA?
Memory that retains data after power loss – faster recovery. - What is hdbsql?
Command-line SQL client for HANA. - How to take a full system backup?
Using HANA Studio → Backup → Full Data Backup. - What if installation stops with signal 11 error?
Likely kernel/OS issue. Check SAP Note and upgrade kernel. - How to remove a failed installation?
Run ./hdblcm --uninstall - What is the best way to get installation logs for SAP support?
Ans. Collect logs from /var/tmp and use sapcollect tool.
Most Suggestions:-HANA Installation & Configuration QA: Step-by-Step Guide for Beginners
SAP HANA Setup and Configuration – Common Questions Answered
Complete HANA Installation QA for Linux and Windows Environments
HANA Database Installation & Tuning – Expert QA Session
Quick Answers to SAP HANA Installation & Configuration Issues
HANA Configuration Guide with Troubleshooting QA Tips
Top Questions on HANA Installation and How to Solve Them
HANA Server Installation QA: Real-World Problems and Fixes
HANA System Setup and Configuration – FAQ Based Solutions
HANA Installation Errors, Fixes, and QA Recommendations
0 Comments:
Post a Comment
pawarsolution