Get the App
SLTechnology News&Howtos  ›  Servers  › 

What are the commands commonly used in linux clusters

Shulou Source: shulou.com Published: 2022-06-03 06:42:30 09月16日 Update

What are the commands commonly used in linux clusters? I believe that there are many people do not understand, today, in order to let you know more about linux cluster commonly used commands, so give you a summary of the following content, let's look down.

Cluster technology is a relatively new technology. Through cluster technology, we can obtain relatively high benefits in terms of performance, reliability and flexibility at a lower cost, and its task scheduling is the core technology of the cluster system.

1. Common system shutdown commands:

Halt, init 0, poweroff, shutdown-h now, shutdown-h 10

two。 Common system restart commands:

Reboot, shutdown-r now, init 1

3. Add hostname and IP mapping

[root@controller ~] # vi / etc/hosts192.168.48.10 controller192.168.48.20 compute

4.shell

#! / bin/bash

# of the above! Is a convention tag that tells the system what kind of interpreter the script needs to execute

The basic format of 5.crontab task configuration:

* * command

Minute (0-59) hour (0-23) date (1-31) month (1-12) week (0-6 for Sunday) order

For example:

0 1 * / home/testuser/test.sh

/ home/testuser/test.sh is called at 1: 00 every night.

* / 10 * / home/testuser/test.sh

Call / home/testuser/test.sh every 10 minutes

Which commands are commonly used in linux cluster are shared here. I hope the above content can be used as a reference for everyone. If you like this article, you might as well share it for more people to see.

Tags: Commands clusters commonly used technology systems tasks content week learning for application hosts for example representatives value reliability hours performance situation costs benefits articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Linux Shulou Technology Redmi vpn