Si la ligne est administrativement en baisse, n'utilisez l'aucune commande shutdown de redémarrer l'interface.
If the line is administratively down, use the no shutdown command to restart the interface.
Finalement, il vous suffit d'utiliser la commande shutdown dans votre script pour arrêter l'instance quand les tâches sont terminées.
Finally, you can just use the shutdown command in your script to stop the instance when they're done.
Parfois vous aimeriez cependant disposer d'un bouton permettant de l'éteindre proprement sans avoir d'abord à se connecter pour lancer la commande shutdown.
Sometimes you would however like to have a button to properly shut it down without logging first in and running the shutdown command.
Utilisez le tableau ci-dessous pour vérifier que le système se trouve au niveau d'exécution que vous avez spécifié dans la commande shutdown.
Use the following table to verify that the system is at the run level that you specified in the shutdown command.
Arrêtez le noeud du cluster de manière appropriée à l'aide de la commande clnode evacuate, puis de la commande shutdown.
Shut down the cluster node gracefully by using the clnode evacuate command, then the shutdown command.
Bien que la commande shutdown fasse appel à l'utilitaire systemctl pour la fermeture, elle présente l'avantage d'intégrer un argument de temps.
Although the shutdown command will call the systemctl utility to perform the shutdown, it has an advantage in that it also supports a time argument.
Dans cette configuration, la commande shutdown apparaît sous toutes les interfaces, ce qui indique que toutes les interfaces sont actuellement arrêtées.
In this configuration, the shutdown command appears under all interfaces, which indicates all interfaces are currently shut down.
Émettez la commande shutdown puis la commande de mode interface no shutdown sur l'interface associée afin de réactiver manuellement les ports.
Issue the shutdown command and then the no shutdown interface mode command on the associated interface in order to manually reenable the ports.
Dans cette configuration, la commande shutdown apparaît sous toutes les interfaces, ce qui indique que toutes les interfaces sont actuellement arrêtées.
In this configuration you see under all the interfaces the shutdown command, which means all interfaces are currently shutdown.
Par exemple, vous pouvez restreindre l'exécution de la commande shutdown à une page protégée (par un fichier.acces), tout en utilisant la macro control dans toutes les pages non protégées.
For example, you can restrict execution of the shutdown command to protected page (through a.access file), using the control macro in all unprotected pages.
Si je déplace reboot vers /bin/reboot, et que je lance une commande shutdown, elle va échouer en ne trouvant pas le fichier reboot.
If I move reboot to/bin/reboot, and then issue a shutdown command, it will fail because it cannot find the reboot file.
Un exemple d'utilisation de l'alias ALL pour autoriser n'importe quel utilisateur à exécuter la commande shutdown lorsqu'il est connecté localement est
A sample use of the ALL alias to allow any user to execute the shutdown command if he is logged on locally is
N'utilisez pas la commande shutdown pour la simulation de panne VSL, dans la mesure où elle crée une disparité de configuration.
Do not use the shutdown command for VSL failure simulation, as it creates a configuration mismatch.