From d835b2cae8abc71958b69362162e6a70c3d7ef63 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 08:48:59 +0200 Subject: Adding upstream version 4.6.0. Signed-off-by: Daniel Baumann --- .../history-guide/basic-transition.typescript | 22 +++++++++ .../include/history-guide/diff.typescript | 11 +++++ .../include/history-guide/info.typescript | 16 +++++++ .../include/history-guide/nfs-probe-err.typescript | 20 ++++++++ .../history-guide/resource-trace.typescript | 7 +++ .../include/history-guide/resource.typescript | 6 +++ .../include/history-guide/sample-cluster.conf.crm | 54 ++++++++++++++++++++++ .../history-guide/status-probe-fail.typescript | 15 ++++++ .../stonith-corosync-stopped.typescript | 8 ++++ .../history-guide/transition-log.typescript | 13 ++++++ 10 files changed, 172 insertions(+) create mode 100644 doc/website-v1/include/history-guide/basic-transition.typescript create mode 100644 doc/website-v1/include/history-guide/diff.typescript create mode 100644 doc/website-v1/include/history-guide/info.typescript create mode 100644 doc/website-v1/include/history-guide/nfs-probe-err.typescript create mode 100644 doc/website-v1/include/history-guide/resource-trace.typescript create mode 100644 doc/website-v1/include/history-guide/resource.typescript create mode 100644 doc/website-v1/include/history-guide/sample-cluster.conf.crm create mode 100644 doc/website-v1/include/history-guide/status-probe-fail.typescript create mode 100644 doc/website-v1/include/history-guide/stonith-corosync-stopped.typescript create mode 100644 doc/website-v1/include/history-guide/transition-log.typescript (limited to 'doc/website-v1/include/history-guide') diff --git a/doc/website-v1/include/history-guide/basic-transition.typescript b/doc/website-v1/include/history-guide/basic-transition.typescript new file mode 100644 index 0000000..a5a0a31 --- /dev/null +++ b/doc/website-v1/include/history-guide/basic-transition.typescript @@ -0,0 +1,22 @@ +crm(live)history# transition <1> +INFO: running ptest with /var/cache/crm/history/live/sle12-c/pengine/pe-input-1907.bz2 +INFO: starting dotty to show transition graph <2> +Current cluster status: <3> +Online: [ sle12-a sle12-c ] + s-libvirt (stonith:external/libvirt): Started sle12-c + ... + small-apache (ocf::heartbeat:apache): Stopped +Transition Summary: + * Start small-apache (sle12-a) +Executing cluster transition: + * Resource action: small-apache start on sle12-a +Revised cluster status: +Online: [ sle12-a sle12-c ] + s-libvirt (stonith:external/libvirt): Started sle12-c + ... + small-apache (ocf::heartbeat:apache): Started sle12-a + +Transition sle12-c:pe-input-1907 (20:30:14 - 20:30:15): <4> + total 1 actions: 1 Complete +Apr 15 20:30:14 sle12-c crmd[1136]: notice: te_rsc_command: Initiating action 60: start small-apache_start_0 on sle12-a +Apr 15 20:30:14 sle12-a apache(small-apache)[1586]: INFO: AH00558: httpd2: Could not reliably determine the server's fully qualified domain name, using 10.2.12.51. Set the 'ServerName' directive globally to suppress this message diff --git a/doc/website-v1/include/history-guide/diff.typescript b/doc/website-v1/include/history-guide/diff.typescript new file mode 100644 index 0000000..129febc --- /dev/null +++ b/doc/website-v1/include/history-guide/diff.typescript @@ -0,0 +1,11 @@ +crm(live)history# diff -1 0 <1> +--- -1 ++++ 0 +@@ -11 +11 @@ +-primitive small-apache apache params configfile="/etc/apache2/small.conf" meta target-role=Stopped ++primitive small-apache apache params configfile="/etc/apache2/small.conf" meta target-role=Started +crm(live)history# diff -1 0 status <2> +--- -1 ++++ 0 +@@ -15 +14,0 @@ +- small-apache (ocf::heartbeat:apache): Started sle12-a diff --git a/doc/website-v1/include/history-guide/info.typescript b/doc/website-v1/include/history-guide/info.typescript new file mode 100644 index 0000000..d7aae8d --- /dev/null +++ b/doc/website-v1/include/history-guide/info.typescript @@ -0,0 +1,16 @@ +# crm history +crm(live)history# timeframe "Apr 15 20:25" "Apr 15 20:35" +crm(live)history# info +Source: live +Created on: Thu Apr 16 11:32:36 CEST 2015 +By: report -Z -Q -f Wed Apr 15 20:25:00 2015 -t 2015-04-15 20:35:00 /var/cache/crm/history/live +Period: 2015-04-15 20:25:00 - 2015-04-15 20:35:00 +Nodes: sle12-a sle12-c +Groups: nfs-srv nfs-disk +Resources: s-libvirt p_drbd_nfs nfs-vg fs1 virtual-ip nfs-server websrv websrv-ip small-apache +Transitions: 1906 1907 +crm(live)history# peinputs v +Date Start End Filename Client User Origin +==== ===== === ======== ====== ==== ====== +2015-04-15 20:29:59 20:30:01 pe-input-1906 no-client no-user no-origin +2015-04-15 20:30:14 20:30:15 pe-input-1907 no-client no-user no-origin diff --git a/doc/website-v1/include/history-guide/nfs-probe-err.typescript b/doc/website-v1/include/history-guide/nfs-probe-err.typescript new file mode 100644 index 0000000..ca34ba5 --- /dev/null +++ b/doc/website-v1/include/history-guide/nfs-probe-err.typescript @@ -0,0 +1,20 @@ +# crm history resource nfs-server +INFO: fetching new logs, please wait ... +Dec 16 11:53:23 sle12-c nfsserver(nfs-server)[14911]: <1> ERROR: NFS server is up, but the locking daemons are down +Dec 16 11:53:23 sle12-c crmd[2823]: notice: te_rsc_command: Initiating action 54: stop nfs-server_stop_0 on sle12-a +Dec 16 11:53:23 sle12-c crmd[2823]: notice: te_rsc_command: Initiating action 3: stop nfs-server_stop_0 on sle12-c (local) +Dec 16 11:53:23 sle12-c nfsserver(nfs-server)[14944]: INFO: Stopping NFS server ... +Dec 16 11:53:23 sle12-c nfsserver(nfs-server)[14944]: INFO: Stopping sm-notify +Dec 16 11:53:23 sle12-c nfsserver(nfs-server)[14944]: INFO: Stopping rpc.statd +Dec 16 11:53:23 sle12-c nfsserver(nfs-server)[14944]: INFO: NFS server stopped +Dec 16 11:53:23 sle12-c crmd[2823]: notice: te_rsc_command: Initiating action 55: start nfs-server_start_0 on sle12-a +Dec 16 11:53:23 sle12-a nfsserver(nfs-server)[23255]: INFO: Stopping NFS server ... +Dec 16 11:53:23 sle12-a nfsserver(nfs-server)[23255]: INFO: Stopping sm-notify +Dec 16 11:53:23 sle12-a nfsserver(nfs-server)[23255]: INFO: Stopping rpc.statd +Dec 16 11:53:23 sle12-a nfsserver(nfs-server)[23255]: INFO: NFS server stopped +Dec 16 11:53:23 sle12-a nfsserver(nfs-server)[23320]: INFO: Starting NFS server ... +Dec 16 11:53:23 sle12-a nfsserver(nfs-server)[23320]: INFO: Starting rpc.statd. +Dec 16 11:53:24 sle12-a nfsserver(nfs-server)[23320]: INFO: executing sm-notify +Dec 16 11:53:24 sle12-a nfsserver(nfs-server)[23320]: INFO: NFS server started +Dec 16 11:53:24 sle12-a lrmd[6904]: <2> notice: operation_finished: nfs-server_start_0:23320:stderr [ id: rpcuser: no such user ] +Dec 16 11:53:24 sle12-a lrmd[6904]: message repeated 3 times: [ notice: operation_finished: nfs-server_start_0:23320:stderr [ id: rpcuser: no such user ]] diff --git a/doc/website-v1/include/history-guide/resource-trace.typescript b/doc/website-v1/include/history-guide/resource-trace.typescript new file mode 100644 index 0000000..e66ff7c --- /dev/null +++ b/doc/website-v1/include/history-guide/resource-trace.typescript @@ -0,0 +1,7 @@ +# crm resource trace nfs-server monitor 0 +INFO: Trace for nfs-server:monitor is written to /var/lib/heartbeat/trace_ra/ +INFO: Trace set, restart nfs-server to trace non-monitor operations +# crm resource cleanup nfs-server +Cleaning up nfs-server on sle12-a +Cleaning up nfs-server on sle12-c +Waiting for 2 replies from the CRMd.. OK diff --git a/doc/website-v1/include/history-guide/resource.typescript b/doc/website-v1/include/history-guide/resource.typescript new file mode 100644 index 0000000..90f0265 --- /dev/null +++ b/doc/website-v1/include/history-guide/resource.typescript @@ -0,0 +1,6 @@ +crm(live)history# resource small-apache +Apr 15 20:29:59 sle12-c crmd[1136]: notice: te_rsc_command: Initiating action 60: stop small-apache_stop_0 on sle12-a +Apr 15 20:29:59 sle12-a apache(small-apache)[1366]: INFO: Attempting graceful stop of apache PID 9155 +Apr 15 20:30:01 sle12-a apache(small-apache)[1366]: INFO: apache stopped. +Apr 15 20:30:14 sle12-a apache(small-apache)[1586]: INFO: AH00558: httpd2: Could not reliably determine the server's fully qualified domain name, using 10.2.12.51. Set the 'ServerName' directive globally to suppress this message +Apr 15 20:30:14 sle12-c crmd[1136]: notice: te_rsc_command: Initiating action 60: start small-apache_start_0 on sle12-a diff --git a/doc/website-v1/include/history-guide/sample-cluster.conf.crm b/doc/website-v1/include/history-guide/sample-cluster.conf.crm new file mode 100644 index 0000000..8b44663 --- /dev/null +++ b/doc/website-v1/include/history-guide/sample-cluster.conf.crm @@ -0,0 +1,54 @@ +node 167906357: sle12-c +node 167906355: sle12-a +primitive s-libvirt stonith:external/libvirt \ + params hostlist="sle12-a sle12-c" hypervisor_uri="qemu+ssh://hex-10.suse.de/system?keyfile=/root/.ssh/xen" reset_method=reboot \ + op monitor interval=5m timeout=60s +primitive p_drbd_nfs ocf:linbit:drbd \ + params drbd_resource=nfs \ + op monitor interval=15 role=Master \ + op monitor interval=30 role=Slave \ + op start interval=0 timeout=300 \ + op stop interval=0 timeout=120 +primitive nfs-vg LVM \ + params volgrpname=nfs-vg +primitive fs1 Filesystem \ + params device="/dev/nfs-vg/fs1" directory="/srv/nfs" fstype=ext3 \ + op monitor interval=30s +primitive virtual-ip IPaddr2 \ + params ip=10.2.12.100 +primitive nfs-server nfsserver \ + params nfs_shared_infodir="/srv/nfs/state" nfs_ip=10.2.12.100 \ + op monitor interval=30s +primitive websrv apache \ + params configfile="/etc/apache2/httpd.conf" \ + op monitor interval=30 +primitive websrv-ip IPaddr2 \ + params ip=10.2.12.101 +primitive small-apache apache \ + params configfile="/etc/apache2/small.conf" +group nfs-disk nfs-vg fs1 +group nfs-srv virtual-ip nfs-server +ms ms_drbd_nfs p_drbd_nfs \ + meta notify=true clone-max=2 +location nfs-pref virtual-ip 100: sle12-a +location websrv-pref websrv 100: sle12-c +colocation vg-with-drbd inf: nfs-vg ms_drbd_nfs:Master +colocation c-nfs inf: nfs-srv nfs-disk +colocation c-websrv inf: websrv websrv-ip +colocation small-apache-with-virtual-ip inf: small-apache virtual-ip +# need fs1 for the NFS server +order o-nfs inf: nfs-disk nfs-srv +# websrv serves requests at IP websrv-ip +order o-websrv inf: websrv-ip websrv +# small apache serves requests at IP virtual-ip +order virtual-ip-before-small-apache inf: virtual-ip small-apache +# drbd device is the nfs-vg PV +order drbd-before-nfs-vg inf: ms_drbd_nfs:promote nfs-vg:start +property cib-bootstrap-options: \ + dc-version=1.1.12-ad083a8 \ + cluster-infrastructure=corosync \ + cluster-name=sle12-test3l-public \ + no-quorum-policy=ignore \ + last-lrm-refresh=1429192263 +op_defaults op-options: \ + timeout=120s diff --git a/doc/website-v1/include/history-guide/status-probe-fail.typescript b/doc/website-v1/include/history-guide/status-probe-fail.typescript new file mode 100644 index 0000000..d1024e8 --- /dev/null +++ b/doc/website-v1/include/history-guide/status-probe-fail.typescript @@ -0,0 +1,15 @@ +# crm status +Last updated: Tue Dec 16 11:57:04 2014 +Last change: Tue Dec 16 11:53:22 2014 +Stack: corosync +Current DC: sle12-c (167906357) - partition with quorum +Version: 1.1.12-ad083a8 +2 Nodes configured +10 Resources configured +Online: [ sle12-a sle12-c ] +[...] + nfs-server (ocf::heartbeat:nfsserver): Started sle12-a +[...] +Failed actions: + nfs-server_monitor_0 on sle12-c 'unknown error' (1): call=298, status=complete, + last-rc-change='Tue Dec 16 11:53:23 2014', queued=0ms, exec=135ms diff --git a/doc/website-v1/include/history-guide/stonith-corosync-stopped.typescript b/doc/website-v1/include/history-guide/stonith-corosync-stopped.typescript new file mode 100644 index 0000000..1bca5ac --- /dev/null +++ b/doc/website-v1/include/history-guide/stonith-corosync-stopped.typescript @@ -0,0 +1,8 @@ +# crm history node sle12-c +INFO: fetching new logs, please wait ... +Dec 19 14:36:18 sle12-c corosync[29551]: [MAIN ] Corosync Cluster Engine ('2.3.3'): started and ready to provide service. +Dec 19 14:36:19 sle12-c corosync[29545]: Starting Corosync Cluster Engine (corosync): [ OK ] +Dec 19 14:36:20 sle12-a pengine[6906]: warning: pe_fence_node: Node sle12-c will be fenced because our peer process is no longer available +Dec 19 14:36:20 sle12-a pengine[6906]: warning: stage6: Scheduling Node sle12-c for STONITH +Dec 19 14:36:20 sle12-a crmd[6907]: notice: te_fence_node: Executing reboot fencing operation (65) on sle12-c (timeout=60000) +Dec 19 14:36:20 sle12-a crmd[6907]: notice: peer_update_callback: Node return implies stonith of sle12-c (action 65) completed diff --git a/doc/website-v1/include/history-guide/transition-log.typescript b/doc/website-v1/include/history-guide/transition-log.typescript new file mode 100644 index 0000000..eb689ec --- /dev/null +++ b/doc/website-v1/include/history-guide/transition-log.typescript @@ -0,0 +1,13 @@ +crm(live)history# transition log +INFO: retrieving information from cluster nodes, please wait ... +Apr 15 20:30:14 sle12-c crmd[1136]: notice: do_state_transition: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_FSA_INTERNAL origin=abort_transition_graph ] +Apr 15 20:30:14 sle12-c stonithd[1132]: notice: unpack_config: On loss of CCM Quorum: Ignore +Apr 15 20:30:14 sle12-c pengine[1135]: notice: unpack_config: On loss of CCM Quorum: Ignore +Apr 15 20:30:14 sle12-c pengine[1135]: notice: LogActions: Start small-apache#011(sle12-a) +Apr 15 20:30:14 sle12-c crmd[1136]: notice: do_te_invoke: Processing graph 123 (ref=pe_calc-dc-1429122614-234) derived from /var/lib/pacemaker/pengine/pe-input-1907.bz2 +Apr 15 20:30:14 sle12-c crmd[1136]: notice: te_rsc_command: Initiating action 60: start small-apache_start_0 on sle12-a +Apr 15 20:30:14 sle12-c pengine[1135]: notice: process_pe_message: Calculated Transition 123: /var/lib/pacemaker/pengine/pe-input-1907.bz2 +Apr 15 20:30:14 sle12-a stonithd[1160]: notice: unpack_config: On loss of CCM Quorum: Ignore +Apr 15 20:30:14 sle12-a apache(small-apache)[1586]: INFO: AH00558: httpd2: Could not reliably determine the server's fully qualified domain name, using 10.2.12.51. Set the 'ServerName' directive globally to suppress this message +Apr 15 20:30:14 sle12-a crmd[1164]: notice: process_lrm_event: Operation small-apache_start_0: ok (node=sle12-a, call=69, rc=0, cib-update=48, confirmed=true) +Apr 15 20:30:15 sle12-c crmd[1136]: notice: run_graph: Transition 123 (Complete=1, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-1907.bz2): Complete -- cgit v1.2.3