I am a highly skilled and experienced administrator with a strong background in both Windows and Linux systems. I have a deep understanding of network infrastructure, security, and system administration, and am able to effectively troubleshoot and resolve a wide range of technical issues. I am also well-versed in various scripting languages, including PowerShell and Bash, and am able to automate repetitive tasks and improve system efficiency.

Full width home advertisement

Post Page Advertisement [Top]




      High Availability Extension (SLE HA) cluster


  • High Availability Extension (SLE HA) cluster:

    1. crm_mon: This command is used to monitor the status of the cluster and its resources. It shows information about the nodes in the cluster, the resources that are managed by the cluster, and the status of those resources.

    2. crm_resource: This command is used to manage the resources in a cluster. It can be used to start, stop, and move resources between nodes in the cluster.

    3. pcs: This command is used to manage the cluster configuration and resource management. It can be used to create and delete resources, manage resource dependencies, and perform other cluster management tasks.

    4. ha-cluster-init: This command is used to initialize a new cluster. It creates a cluster configuration file and starts the cluster resource manager.

    5. ha-cluster-join: This command is used to add a node to an existing cluster. It copies the cluster configuration to the new node and starts the cluster resource manager on that node.

These are just a few examples of the commands that can be used to manage a SUSE Linux Enterprise HA cluster. For more information and a complete list of available commands, you can refer to the SUSE Linux Enterprise High Availability Extension documentation.

 

Config and Log Files 
• Config files 
'etc./ ntp_conf 
letcjmultipath.cont 
letc/syscontig/sbd 
letcJcorosync/corOsync.COnt 
/ us pservices 
SY ini 
than a/s Hana SR. py 
• Log files 
tvar/log/messag es 
tvar/logipacemaker.loq 
nw/Ih'pacernaker/pengineJpe•input•• .bz2 
(on node) 
(on DC and respective ru»de) 
(on DC node) 
(on n Ode) 
(on resiA:tive node) 
See man sbd. stonith_sbd. sudoers. multipath.cont. corosync.cont, 
SA p H a SR

 

Useful Commands online - plain 
# sg_persist --read-reservation —device=/dev/... 
# —all 
# cs_show_error_patterns -c I grep -v "=.O" 
# —info SSID Snr 
# cs_sum_base_config 
# rear —help 
sapcontrol -nr Snr -function StartSystem 
sapcontrol -nr Snr -function StopSystem ALL 
sapcontrol -nr Snr -function GetSystemlnstanceList 
-s hdbnsutil -sr state 
HDBsettings.sh systemOverview.py 
HDBsettings.sh systemReplicationStatus.py 
HDBsettlngs.sh landscapeHostConfiguration.py

 

Example master+worker+standby 
gh echo RC S? 
> gh gySt&Rep1icationStatug.py; echo RC: $7

 

Useful Commands online - cluster 
# crm mon -IAr 
# crm configure show I grep cli- 
# cs clusterstate -i 
# SAPHanaSR-showAttr 
# SAPHanaSR-monitor

 

Useful Commands offline 
# -g Ssupportconfig_directory 
# •f $supportconfig_directory chk_saphana chk_sleha 
# —all Sdate message-\• 
# crm_simulate -S —xml-file Spengine-input 
# crm_mon —xml_file Spengine-input 
# SAPHanaSR-showAttr —cib=SpathIcib.xmI 
# SAPHanaSR-repIay-archive —format script Scrm_report I \ 
SAPHana•fiIter ••fIterD0ubIe 
19 
19 1303202019; 
2 P ma 
Mm A." 1 g 201 g; 
19 13:03:47 2019: 
19 2019. 
1308162019;

 


No comments:

Post a Comment

Bottom Ad [Post Page]