Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
SumB
Explorer

Overview:

In this article I'll try to explain the expected outcome of XSA commands when executed in Linux environment via command line (xs cli). This blog is aimed at helping understand the xs commands. At first, I also faced the similar dilemma of how XS command works and what is expected outcome. So learning by my experience, sharing most commonly used commands which you can easily use to understand and monitor xs too.

 

Pre-requisite:
1. OS level access via <sid>adm on HANA DB host

2. User credentials of xsa_admin

 

XS Commands:

  1. This command gives an output in form of version of XS, support, api info ertc. and also service URLs: xs version

SumB_0-1710925519174.png

 2. List of XSA component installed: xs lc

SumB_1-1710925519178.png

3. List all applications available in the target user space: xs apps

SumB_2-1710925519189.png

4. Self-diagnosis to check if certificate, internal users or configuration: XSA diagnose

SumB_1-1710948408563.png

 

5. Backup XSA at file system level(comes handy during system refresh): XS backup-ssfs, XSA backup-fss

SumB_4-1710925519200.png

6. Checking status of XSA process status (check last 4 process): sapcontrol -nr <instance_number> -function GetProcessList

SumB_5-1710925519205.png

7. To List all defined spaces: xs spaces

SumB_6-1710925519206.png

8. To check domain certificates added in XS: xs domain-certificates

SumB_7-1710925519209.png

9. To change a domain name, go to path:

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

and update xscontroller.ini file, edit only deafult_domain parameter:

SumB_8-1710925519211.png

That's it for this time. Happy Learning!!!

Additionally, you may refer link of SAP's standard documentation on XS command line interface for more detailed information. The XS Command-Line Interface Reference | SAP Help Portal

 

Regards,

Sumit

Labels in this area