-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #207 from fmherschel/angi-ScaleOut
Angi scale out
- Loading branch information
Showing
112 changed files
with
4,752 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
= SAPHanaSR-showAttr-adoc(1) | ||
Lars Pinne, Fabian Herschel | ||
v1.001 | ||
:doctype: manpage | ||
:manmanual: SAPHanaSR-showAttr-adoc | ||
:mansource: SAPHanaSR-showAttr-adoc | ||
:man-linkstyle: pass:[blue R < >] | ||
|
||
== Name | ||
|
||
SAPHanaSR-showAttr - Shows Linux cluster attributes for SAP HANA system replication. | ||
|
||
== Synopsis | ||
|
||
SAPHanaSR-showAttr [ --help | --version | --path2table ] | ||
|
||
SAPHanaSR-showAttr\fR [ --sid=SID[:INO] ] [ --select=SELECTION ] [ --sort=FIELD ] [ --format=FORMAT ] [ --cib=OFFLINE_CIB_FILE ] | ||
|
||
== | ||
|
||
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. | ||
Because the HANA srHook methods srConnectionChanged() and preTakeover() are | ||
used, respective information shows up as well. | ||
The information is fetched from the Linux cluster information base (CIB), not | ||
from HANA directly. | ||
Fields to be shown can be specified by pre-defined selections via command line option. | ||
|
||
The output shows four sections, containing all or some of the listed | ||
fields: | ||
|
||
Global section | ||
|
||
*global (Global)*:: | ||
constant | ||
|
||
*cib-time*:: | ||
date and time of record | ||
|
||
== Exit status | ||
|
||
TODO | ||
|
||
*0*:: | ||
TODO 0 | ||
|
||
*1*:: | ||
TODO 1 | ||
|
||
== Resources | ||
|
||
== Copying | ||
|
||
Copyright (C) 2014 {author}. + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -223,9 +223,6 @@ clone cln_SAPHanaFil_SLE_HDB00 rsc_SAPHanaFil_SLE_HDB00 \\ | |
meta clone-node-max="1" notify="true" interleave="true" | ||
.RE | ||
.PP | ||
* Example configuration for a SAPHanaFilesystem resource on HANA scale-out. | ||
.PP | ||
The HANA consists of two sites with several nodes each. An additional cluster node | ||
* Example configuration for a SAPHanaFilesystem resource for HANA scale-out. | ||
.PP | ||
The HANA consists of two sites with several nodes each. An additional cluster node | ||
|
@@ -249,7 +246,7 @@ clone cln_SAPHanaFil_SLE_HDB00 rsc_SAPHanaFil_SLE_HDB00 \\ | |
.br | ||
meta clone-node-max="1" notify="true" interleave="true" | ||
.PP | ||
location SAPHanaFil_not_on_majority_maker cln_SAPHanaFIL_SLE_HDB00 -inf: vm-majority | ||
location SAPHanaFil_not_on_majority_maker cln_SAPHanaFil_SLE_HDB00 -inf: vm-majority | ||
.RE | ||
.PP | ||
* Example on showing the current SAPHanaFilesystem rescource configuration on scale-out. | ||
|
@@ -311,7 +308,7 @@ for the NFS server in use. See manual pages nfs(5) and fstab(5) for details. | |
nfs1:/export/SLE/shared/ /hana/shared/SLE/ auto defaults,rw,hard,proto=tcp,intr,noatime,vers=4,lock 0 0 | ||
.RE | ||
.PP | ||
* Example for temporarily blocking HANA filesystems. | ||
* Example for temporarily blocking HANA access to local filesystems. | ||
.PP | ||
This could be done for testing the SAPHanaFilesystem RA integration. | ||
Blocking the HANA filesystem is dangerous. This test should not be done on production | ||
|
@@ -340,6 +337,37 @@ Note: Understand the impact before trying. | |
5. Check HANA and Linux cluster for clean idle state. | ||
.RE | ||
.PP | ||
* Example for temporarily blocking HANA access to NFS filesystems. | ||
.PP | ||
This could be done for testing the SAPHanaFilesystem RA integration. | ||
Blocking the HANA filesystem is dangerous. This test should not be done on production | ||
systems. | ||
Used TCP port is 2049. See also SUSE TID 7000524. | ||
.br | ||
Note: Understand the impact before trying. | ||
.PP | ||
.RS 2 | ||
1. Check HANA and Linux cluster for clean idle state. | ||
.PP | ||
2. On secondary, block /hana/shared/SLE/ filesystem. | ||
.RS 2 | ||
# sync /hana/shared/SLE/ | ||
.br | ||
# iptables -I OUTPUT -p tcp -m multiport --ports 2049 -j ACCEPT | ||
.br | ||
Note: The ACCEPT needs to be replaced by appropriate action. | ||
.RE | ||
.PP | ||
3. Check system log for SAPHanaFilsystem entries. | ||
.PP | ||
4. On secondary, unblock /hana/shared/SLE/ filesystem. | ||
.RS 2 | ||
# iptables -D OUTPUT -p tcp -m multiport --ports 2049 -j ACCEPT | ||
.RE | ||
.PP | ||
5. Check HANA and Linux cluster for clean idle state. | ||
.RE | ||
.PP | ||
.\" | ||
.SH FILES | ||
.TP | ||
|
@@ -409,7 +437,9 @@ Please report any other feedback and suggestions to [email protected]. | |
.br | ||
https://documentation.suse.com/sbp/sap/ , | ||
.br | ||
https://www.suse.com/support/kb/doc/?id=000019904 | ||
https://www.suse.com/support/kb/doc/?id=000019904 , | ||
.br | ||
https://www.suse.com/support/kb/doc/?id=000016649 | ||
.PP | ||
.\" | ||
.SH AUTHORS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -351,6 +351,27 @@ It does not touch any fencing device. | |
# crm_attribute -t status -N 'node2' -G -n terminate | ||
.RE | ||
.PP | ||
\fB*\fR Example for killing HANA hdbindexserver process. | ||
.PP | ||
This could be done for testing the HA/DR provider hook script integration. | ||
Killing HANA processes is dangerous. This test should not be done | ||
on production systems. | ||
Please refer to SAP HANA documentation. See also manual page killall(1). | ||
.br | ||
Note: Understand the impact before trying. | ||
.PP | ||
1. Check HANA and Linux cluster for clean idle state. | ||
.PP | ||
2. On secondary master name server, kill the hdbindexserver process. | ||
.RS 2 | ||
# killall -9 hdbindexserver | ||
.RE | ||
.PP | ||
3. Check the nameserver tracefile for srServiceStateChanged() events. | ||
.PP | ||
4. Check HANA and Linux cluster for clean idle state. | ||
.RE | ||
.PP | ||
.\" | ||
.SH FILES | ||
.TP | ||
|
@@ -423,7 +444,7 @@ Please report any other feedback and suggestions to [email protected]. | |
\fBocf_suse_SAPHanaTopology\fP(7) , \fBocf_suse_SAPHanaController\fP(7) , | ||
\fBSAPHanaSR-hookHelper\fP(8) , | ||
\fBSAPHanaSR-manageProvider\fP(8) , \fBcrm\fP(8) , \fBcrm_attribute\fP(8) , | ||
\fBpython3\fP(8) , | ||
\fBpython3\fP(8) , \fBkillall\fP(1) , | ||
.br | ||
https://help.sap.com/docs/SAP_HANA_PLATFORM?locale=en-US | ||
.br | ||
|
Oops, something went wrong.