Friday, 22 March 2024

An overview of XSA commands for beginners

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

An overview of XSA commands for beginners

2. List of XSA component installed: xs lc

An overview of XSA commands for beginners

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

An overview of XSA commands for beginners

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

An overview of XSA commands for beginners

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

An overview of XSA commands for beginners

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

An overview of XSA commands for beginners

7. To List all defined spaces: xs spaces

An overview of XSA commands for beginners

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

An overview of XSA commands for beginners

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:

An overview of XSA commands for beginners

No comments:

Post a Comment