Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mauricio-Castro-Code/suse-linux-db-lab

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
10 Commits
 
 

Repository files navigation

SAP Basis Infrastructure Simulation Lab 🛠️

🎯 Objective

This project serves as a hands-on simulation of an enterprise SAP back-end environment. The goal is to demonstrate practical proficiency in Linux system administration, command-line operations, and relational database management—core competencies required for a Junior SAP Basis / TMS Engineer.

💻 Tech Stack & Environment

  • Operating System: openSUSE Leap 16.0 (AArch64) - Headless Server setup
  • Database Engine: PostgreSQL
  • Virtualization: Parallels Desktop (running on Apple Silicon / ARM architecture)
  • Core Tools: Bash CLI, zypper package manager, systemd

⚙️ Key Operations Executed

1. Headless Server Deployment & Navigation

  • Deployed an openSUSE environment without a Graphical User Interface (GUI) to simulate real-world server conditions.
  • Navigated and administered the system exclusively via the Command Line Interface (CLI).

2. Package & Service Management

  • Utilized SUSE's native package manager (zypper) to fetch, install, and configure the PostgreSQL server.
  • Managed background services (daemons) using systemctl, ensuring the database engine is enabled for persistence (systemctl enable) and monitoring its health status (systemctl status).

3. Database Administration & SQL

  • Switched user environments securely (su - postgres) to manage the database engine.
  • Created a test database (sap_test) and structured tables to simulate an SAP user registry.
  • Executed standard SQL queries (CREATE, INSERT, SELECT) to validate data integrity and operational success.

📸 Lab Evidence

Note: The following screenshots validate the successful execution of CLI commands and database operations.

1. Service Monitoring (systemctl)

Demonstrating the PostgreSQL service actively running and enabled on the SUSE server. Captura de pantalla 2026-03-04 a la(s) 1 00 10 p m

2. Database Creation & SQL Queries

Demonstrating successful connection to the DB engine, table creation, and querying synthetic SAP user data. Captura de pantalla 2026-03-04 a la(s) 1 04 12 p m


4. Synthetic Data Generation & Automation

  • Developed a Python script utilizing the psycopg2 adapter to automate the generation and injection of 500+ synthetic SAP user records.
  • Demonstrated intermediate scripting capabilities and database connectivity without relying on external network protocols (Unix sockets).

📸 Evidence

Developing a custom Python automation script using the psycopg2 adapter to generate and structure 500+ synthetic SAP user records.

Captura de pantalla 2026-03-04 a la(s) 2 57 42 p m

Executing the Python script via the command-line interface to securely inject the synthetic data volume directly into the PostgreSQL engine.

Captura de pantalla 2026-03-04 a la(s) 3 32 56 p m

5. Disaster Recovery & Logical Backups

  • Simulated a critical data loss incident by dropping the production database.
  • Executed logical backups using pg_dump and successfully performed a full system restoration, guaranteeing data persistence and SLA compliance.

📸 Evidence

Performing a full logical backup of the populated database utilizing native PostgreSQL tools (pg_dump) to ensure data preservation.

Captura de pantalla 2026-03-04 a la(s) 3 10 40 p m

Intentionally dropping the primary database to simulate a critical system failure and validate our disaster recovery protocols.

Captura de pantalla 2026-03-04 a la(s) 3 13 41 p m

Demonstrating the successful restoration of 500+ records after a simulated database crash.

Captura de pantalla 2026-03-04 a la(s) 3 18 37 p m

6. Automated System Health Monitoring (Bash & Cron)

  • Developed a custom Bash script (health_check.sh) to proactively monitor critical server resources, including available RAM, root disk capacity, and PostgreSQL daemon status.
  • Configured automated background execution and log generation by scheduling a cronjob to run the health check every 5 minutes, ensuring continuous system observability.

📸 Evidence

Developing a custom Bash script via CLI to query system resources and database health status, outputting the results to an audit log.

Captura de pantalla 2026-03-08 a la(s) 8 42 04 p m

Validating the script execution and reviewing the generated audit log containing timestamped resource metrics.

Captura de pantalla 2026-03-08 a la(s) 8 43 59 p m

Scheduling the monitoring script as a background task using crontab for continuous, unattended execution every 5 minutes.

Captura de pantalla 2026-03-08 a la(s) 8 53 26 p m

Created as a practical portfolio project - March 2026

About

A hands-on simulation of an enterprise SAP back-end environment. Deployed a headless openSUSE server to demonstrate proficiency in Linux CLI administration, systemd service management, and PostgreSQL database operations for SAP Basis.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.