text
stringlengths
85
296
<s>[INST] How do I check the cluster status? [/INST] Use the command: pcs cluster status to display the status of the cluster nodes. </s>
<s>[INST] How can I get a detailed status of the cluster? [/INST] Run the command: pcs status --full to display detailed cluster status of nodes and resources. </s>
<s>[INST] How do I view the status of all resources and resource groups? [/INST] Use the command: pcs resource to display the status of all resources and resource groups. </s>
<s>[INST] How can I place a node in standby mode? [/INST] Execute the command: pcs cluster standby to place a node in standby mode. </s>
<s>[INST] How do I remove a node from standby mode? [/INST] Run the command: pcs cluster unstandby to remove a node from standby mode. </s>
<s>[INST] How can I move a resource to another node? [/INST] Use the command: pcs resource move [resource_name] node name to move the resource. </s>
<s>[INST] How do I restart a resource on the current node? [/INST] Execute the command: pcs resource restart [resource_name] to restart the resource. </s>
<s>[INST] How can I start a resource on the current node? [/INST] Use the command: pcs resource enable [resource_name] to start the resource. </s>
<s>[INST] How do I stop a resource on the current node? [/INST] Run the command: pcs resource disable [resource_name] to stop the resource. </s>
<s>[INST] How can I debug-start a resource and see detailed information? [/INST] Use the command: pcs resource debug-start [source_name] to force the resource to start on the current node while displaying debug information. Add --full for more detailed output. </s>
<s>[INST] How can I debug-stop a resource and see detailed information? [/INST] Execute the command: pcs resource debug-stop [source_name] to force the resource to stop on the current node while showing debug information. Use --full for a more verbose output. </s>
<s>[INST] How do I force a resource to be monitored with debug information? [/INST] Run the command: pcs resource debug-monitor [source_name] to force the resource to be monitored on the node where the command is executed while showing debug information. Add --full for more detailed output. </s>
<s>[INST] How can I list available resource agents? [/INST] Use the command: pcs resource agents to list available resource agents. </s>
<s>[INST] How do I view configuration settings for a resource? [/INST] Run the command: pcs resource describe [resource] to list the configuration setting for the resource. </s>
<s>[INST] How can I create a resource? [/INST] Execute the command: pcs resource create [resource id][resource] options… to create a resource. </s>
<s>[INST] How do I view the current configuration settings of a resource? [/INST] Use the command: pcs resource show [resource id] to display the currently configured settings of the resource. </s>
<s>[INST] How can I update a resource configuration? [/INST] Run the command: pcs resource update [resource id] options… to update the resource configuration. </s>
<s>[INST] How do I delete a resource? [/INST] Execute the command: pcs resource delete [resource id] to delete the resource. </s>
<s>[INST] How can I clean up resource failures? [/INST] Use the command: pcs resource cleanup [resource id] to clean up resource failures. </s>
<s>[INST] How do I list available fence agents? [/INST] Run the command: pcs stonith list to list available fence agents. </s>
<s>[INST] How can I view configuration settings for a fence agent? [/INST] Use the command: pcs stonith describe [fence agent] to list the configuration settings for the fence agent. </s>
<s>[INST] How can I create a stonith agent? [/INST] Execute the command: pcs stonith create [stonith_id][resource] options… to create a stonith agent. </s>
<s>[INST] How do I view the current configuration of a stonith agent? [/INST] Use the command: pcs stonith show [stonith_id] to display the currently configured settings of the stonith agent. </s>
<s>[INST] How can I update the configuration of a stonith agent? [/INST] Run the command: pcs stonith update [stonith_id] options… to update the stonith configuration. </s>
<s>[INST] How do I delete a stonith agent? [/INST] Execute the command: pcs stonith delete [stonith_id] to delete the stonith agent. </s>
<s>[INST] How can I clean up failures of a stonith agent? [/INST] Use the command: pcs stonith cleanup [stonith_id] to clean up stonith agent failures. </s>
<s>[INST] How do I clean up the stonith history? [/INST] Run the command: pcs stonith history cleanup * to clean up the stonith history. </s>
<s>[INST] How do I show a unit's dependencies? [/INST] Use the command: systemctl list-dependencies </s>
<s>[INST] How can I list sockets and what activates them? [/INST] Run the command: systemctl list-sockets </s>
<s>[INST] How do I view active systemd jobs? [/INST] Use the command: systemctl list-jobs </s>
<s>[INST] How can I see unit files and their states? [/INST] Execute the command: systemctl list-unit-files </s>
<s>[INST] How do I check if units are loaded or active? [/INST] Run the command: systemctl list-units </s>
<s>[INST] How can I list the default target (similar to run level)? [/INST] Use the command: systemctl get-default </s>
<s>[INST] How do I stop a running service? [/INST] Execute the command: systemctl stop service </s>
<s>[INST] How can I start a service? [/INST] Run the command: systemctl start service </s>
<s>[INST] How do I restart a running service? [/INST] Use the command: systemctl restart service </s>
<s>[INST] How can I reload all config files in a service? [/INST] Execute the command: systemctl reload service </s>
<s>[INST] What command must I run to reload changed unit files? [/INST] Use the command: systemctl daemon-reload </s>
<s>[INST] How do I check if a service is running or enabled? [/INST] Run the command: systemctl status service </s>
<s>[INST] How can I see services that failed to run? [/INST] Use the command: systemctl --failed </s>
<s>[INST] How do I reset units from a failed state? [/INST] Execute the command: systemctl reset-failed </s>
<s>[INST] How can I enable a service to start on boot? [/INST] Run the command: systemctl enable service </s>
<s>[INST] How do I prevent a service from starting at boot? [/INST] Use the command: systemctl disable service </s>
<s>[INST] How can I view the properties of a service or another unit? [/INST] Run the command: systemctl show service </s>
<s>[INST] How do I create a snippet to drop into a unit file? [/INST] Execute the command: systemctl edit service </s>
<s>[INST] How can I edit the entire unit file for a service? [/INST] Use the command: systemctl edit --full service </s>
<s>[INST] How do I run any systemctl command remotely? [/INST] Execute the command: systemctl -H host [command], for example: systemctl -H host status network </s>
<s>[INST] How can I reboot the system? [/INST] Run the command: systemctl reboot </s>
<s>[INST] How do I power off the system? [/INST] Use the command: systemctl poweroff </s>
<s>[INST] How can I put the system into emergency mode? [/INST] Execute the command: systemctl emergency </s>
<s>[INST] How do I go back to the default target? [/INST] Run the command: systemctl default </s>
<s>[INST] How can I view all collected log messages? [/INST] Use the command: journalctl </s>
<s>[INST] How do I see messages related to the network service? [/INST] Execute the command: journalctl -u network.service </s>
<s>[INST] How can I follow log messages as they appear? [/INST] Run the command: journalctl -f </s>
<s>[INST] How do I only display kernel messages? [/INST] Use the command: journalctl -k </s>