Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
kimveasna_xyz
Explorer

Motivation


I have kept bad habits and hobbies from my student years: I like to mount my own PC, tweak it, upgrade it, dismantle it, and so on. And of course, from the beginning of my SAP career, I have tried to make sure I was able to have my own installation by my side, serving as my personal sandbox for exploring configuration scenarios, and for playing with my custom ABAP programs, etc.

I have not put a lot of details in installation steps, my post is more a testimony of an installation of S/4 in a small box. I suggest to read blog post from Mahesh Sardesa which is a must read for anyone wanting to go through a full installation.

 

This blog post is split into many parts:

  1. Gather hardware for your data center

  2. First building block of your home cloud: ESXi hypervisor

  3. Install and prepare SUSE Linux

  4. Install SAP HANA 2 and S/4HANA


 




Gather hardware for your data center


My idea, I believe is the idea many of us have been wondering: is it possible to install S/4HANA on a consumer-grade machine?

Simple answer is yes. I was able to find all parts in online shops and surprisingly Amazon was the main place to shop from: huge choice, competitive prices and excellent customer service. To be fair, parts can be pricey especially when it comes to gather 256GB of RAM.

I have different configurations and my last one was built around the last Intel Xeon-D 2100 platform which supports up to 512GB of RAM in a tiny Mini-ITX size. My BOM is mainly composed of :

  • X11SDV-4C-TLN2F (Intel Xeon D-2123IT)

  • 4x Crucial CT64G4LFQ424 64GB, for a total of 256GB of RAM

  • SSD NVMe Samsung 960 EVO 1TB + NVMe to PCIe adapter

  • SSD SATA Samsung 850 EVO 2TB

  • Pico PSU 120W + AC-DC adapter block

  • Minimal Mini-ITX case


 



 

This picture does not reveal it but this is going to be packed solid.



 

Compared to my last X10SDV-16C-TLN4F, this motherboard has no NVMe slot. Two options are available to plug my NVMe SSD:

  • OCuLink to U.2 PCIE cable + U.2 to M.2 adapter (as show in the first picture)

  • PCIe 1x to M.2 adapter (below picture), this is the last option I have chosen






 

Once assembled, parts, PSU, SSD drives and cables are heavily packed in the tiny size case. To be true, it rapidly lead to heating issues and I had to move it all to a larger case.





This looks handicraft, especially the 3 tiny fans set directly on the motherboard ;-). But these 3 noiseblocker 2000RPM fans are totally silent and help a lot in cooling processor and PCB. At the opposite side, 2 more fans will be added to improve airflow.



Let's now close the shoe box. Everything is ready to start our home cloud.



As a size comparison, my macbook pro 15" on top of my box:



 

This is a stylish box for home cloud, plus, it will empower S/4HANA.

 




First building block of your home cloud: ESXi hypervisor


Unless you really mean to deal with your physical hardware and do not want to mess around with an additional layer, I highly recommend to install a VM hypervisor.

Supermicro motherboards come with an onboard IPMI BMC (Baseboard Management Controller) which is very helpful: all you need is to connect your machine to your network, retrieve its IP address and launch the BMC webpage.



From there, you have access to low level information and commands (switch on/off, reset, temperature sensors, etc.). I manage the installation of ESXi through iKVM/HTML or JAVA based KVM: I found the HTML version of KVM not convenient to reach the BIOS settings (because of a less responsive keyboard redirection?) in order to update boot sequence and be able to install from my USB stick.



Once your system is booting from USB, no issue should prevent you from accomplishing the full installation within 5 minutes. Depending on your preferences, beware of your keyboard layout (make sure it is actually what you expect) otherwise you may not be able to retrieve your password.



Once done, you can head to ESXi management GUI via your browser. Et voilà. User is root, and password is the one you set during installation.



 

Let's now move on to the installation of SLES 15!




Install and prepare SUSE Linux


Download SUSE installation media


I recommend to download the SAP-optimized version of SUSE server, that is SUSE LINUX ENTERPRISE SERVER FOR SAP APPLICATIONS 15.

For your information, we can as well use another version of SUSE. Actually I have done it many times with the basic SUSE Linux Enterprise Server (SLES). The difference is not really visible to me, from an installation perspective the SAP-optimized version comes with pre-installed tools (saptune for example) which slightly speed up installation process.

One remark which may be obvious but was not to me: SUSE license fees. Unless terms have changed, you have to know license fee is not mandatory in order to use SUSE. That is you can use it forever free of charges, and you need to purchase license should you require enterprise grade support from SUSE.

Once ISO files are downloaded, copy them to one of the ESXi datastores so that they are available to your VM: we will virtually mount the ISO files as CD/DVD for the installation. You have many ways to perform it, whether using a USB stick to transfer to ESXi (there is a tricky part to mount it on host instead of making it available to VMs), or copy with ESXi GUI (this is my recommended method, a bit slower but far simpler).

 

Create a new virtual machine and allocate 120GB of RAM


Nothing really complicated here, allocate as much memory as possible (I am limited to 128GB with my current configuration). Some hints though:

  • add as much CPU as possible to improve performance (especially during installation)

  • allocate enough memory to GPU so that you are not limited with your virtual desktop size

  • add a USB 3.0 controller to enable file transfer to/from your VM

  • mount all ISO files and register the installation medias during setup to avoid any missing file

  • unless you really like command lines, telnet, ssh and vi, I would recommend to install a facing desktop UI like Gnome and benefit from the many desktop tools, and RDP

  • adjust the default partition table, as per default for me not all disk space was allocated


 

 

1275776 - Linux: Preparing SLES for SAP environments


This is a no brainer step, just read the SAP note 1275776 and follow the instructions. As mentioned earlier, saptune is already installed for example.

 



 

 

2684254 – SAP HANA DB: RECOMMENDED OS SETTINGS FOR SLES 15 / SLES FOR SAP APPLICATIONS 15




 



 




 

Install SAP HANA 2 and S/4HANA


I repeat it, go and read blog post from Mahesh Sardesa. But instead of running command lines for HANA installation, I'd rather use the GUI.

 

Run HANA Life Cycle Manager (hdblcmgui)




 



This is it for HANA DB, it took only a couple of minutes.

Install S/4 (empty box)


This is quick too, but not as fast as installing HANA DB. Follow steps as described in blog post from Mahesh Sardesa, be patient and you're done.

Interesting things to play with: number of processes. I am not sure I have found the optimal numbers, but I have tried to increase it as much as possible



And this had an impact on my CPU of course:



 

This lead to some overheat in my tiny box (CPU up to 100°C), so I had to balance a bit though to get back to normal around 75°C. I must admit I had to leave my case opened during the rest of the installation.



 

Be patient, and voilà.



 

This is actually not very long, you can easily have it all setup within a couple of hours. And this is nothing compared to the long journey of installing SAP best practices.

 

Conclusion


This testimony is meant to prove it is easy for anyone to setup a SAP box for development purpose, training or demo a POC.

But why would you install S/4HANA at home, in your home data center, waste valuable time whereas it is so easy to go and provision a virtual machine in the cloud (only a couple of minutes)?

Because you CAN ;-).

And from my experience, advantages I found over cloud are:

  • 100% control of your hardware and VM

  • 24/7 availability at limited cost (yes, hardware is a bit expensive to buy, I know)

  • (relative) mobility, you can bring it to any private network, any place (you can shine at dinner with friends)

  • once installed, you can copy, test, break and brick your S/4, it does not matter, copy-paste to recover from backup (no fear-of-pressing-the-button syndrom)


Enjoy!

 
10 Comments
Labels in this area