SAPHanaSR-showAttr(8) | SAPHanaSR-ScaleOut | SAPHanaSR-showAttr(8) |
NAME¶
SAPHanaSR-showAttr - Shows Linux cluster attributes for SAP HANA system replication.
SYNOPSYS¶
SAPHanaSR-showAttr [ --help | --version ]
SAPHanaSR-showAttr [ --sid=SID ] [ --ino=INO ] [ --sort=KEY ]
DESCRIPTION¶
SAPHanaSR-showAttr shows Linux cluster attributes for SAP HANA system replication automation. The overall system replication (SR) state is shown as well as the HANA state on each node. If the HANA srHook method srConnectionChanged() is configured, the respective information is shown as well.
The output shows three sections:
- Global section
-
global (Global)
primary replication site (prim)
secondary replication site (sec)
replication state of secondary site, indicated by systemReplicationStatus.py (sec_sync_state)
replication channel state indicated by srConnectionChanged (srHook) - Site section
- site name (Site)
last primary timestamp (lpt)
landscape synchronisation status (lss)
current master nameserver for that site (mns)
system replication role (srr) - Hosts section
-
hostname (Hosts)
state of the Linux cluster resource (clone_state)
actual and configured roles for HANA on that node (roles)
actual master score on that node (score)
site where the host sits (site)
OPTIONS¶
--help
show help.
--version
show version.
--ino NUM
use SAP instance number NUM. Should be autodetected, if there is only
one SAP HANA instance installed on the local cluster node. The SAP instance
number must be represented by a two digit numer like 00, 05 or 42. Some
numbers ares not allowed, f.e. 98.
--sid SID
use SAP system ID SID. Should be autodetected, if there is only one
SAP HANA instance installed on the local cluster node. The SAP system ID is
a 3 alphanum string with a valid SAP system name like SLE, HAE, FH1, C11, or
P42.
--sort FIELD
sort Hosts section table by field. Allowed values: roles, site. The default
sort is by hostnames.
RETURN CODES¶
0 Successful program execution.
>0 Usage, syntax or execution errors.
EXAMPLES¶
- # SAPHanaSR-showAttr --sort roles
- show all SAPHanaSR attributes in the cluster and sort host table output by roles
FILES¶
- /usr/bin/SAPHanaSR-showAttr
- the program itself.
- /usr/sap/hostctrl/exe/saphostctrl
- the SAP host control command.
BUGS¶
Formatting and content of this script's output will change, since this script is under development. Feedback is welcome, please mail to feedback@suse.com.
SEE ALSO¶
ocf_suse_SAPHanaController(7) ,
ocf_suse_SAPHanaTopology(7) , SAPHanaSR-ScaleOut(7) ,
SAPHanaSR-monitor(8) , cibadmin(8) ,
https://www.suse.com/products/sles-for-sap/resource-library/sap-best-practices.html
,
https://www.susecon.com/doc/2015/sessions/TUT19921.pdf ,
AUTHORS¶
F.Herschel, L.Pinne.
COPYRIGHT¶
(c) 2014 SUSE Linux Products GmbH, Germany.
(c) 2015-2016 SUSE Linux GmbH, Germany.
SAPHanaSR-showAttr comes with ABSOLUTELY NO WARRANTY.
For details see the GNU General Public License at
http://www.gnu.org/licenses/gpl.html
26 Oct 2016 |