the system in an unstable state, or even damage the hardware device in some systems.With the shutdown command before the system shuts down, the system administrator notifies all logged-on users that the system will be closed. And the login command is frozen, that is, the new user can no longer log in. It is possible to shut down directly or delay a certain amount of time before shutting down, and it may be possible to restart the computer. This is de
There is no route to the host this problem is common, mostly by the machine's firewall not shutting down.Ubuntu
View firewall status
ufw status
Shutting down the firewall
disableCentos6
View firewall status
service iptables status
Shutting down the firewall
off Centos7
View firewall status
fire
The Keepalived+nginx is available in both master and dual-active modes. Master and Standby mode to provide a VIP, while only one server to work, the other for the standby machine, the two-way external to provide two VIP, both machines for backup, the following detailed instructions to build the test steps.Main Standby modeArchitecture diagram:Configuration:
Host
Ip
Operating system
Software
Note
nginx01
172.27.9.91
Centos7
Nginx Port
the possible interactions between them, and most importantly the shutdown process.
It turns out that shutting down a fully asynchronous system in a clean way is a very complex task. Trying to shut down 1000 moving parts, some of which work, some idle, some in the boot process, some of which have been self-closing, prone to various race conditions, resource leaks and similar situations. Shutting down a subs
SwitchUnrecognized command "switch", try "help"Dgmgrl> Help SwitchoverSwitch roles between the primary database and a standby databaseSyntax:Switchover to Dgmgrl> switchover to DG;Performing switchover now, please wait ...NEW Primary Database "DG" is opening ...Operation requires shutdown of instance "PROD1" on Database "Prod1"Shutting down instance "PROD1" ...Ora-01109:database not openDatabase dismounted.ORACLE instance shut down.Operation requires
virtual consoles is that when a program fails to cause a system deadlock, you can switch to another virtual Console to work and close the program.Command two: ShutdownThe role of the shutdown command is to shut down the computer, and its use rights are super users.Shutdown [-H][-I][-K][-M][-T]3. Important Parameters-T: Tell the INIT program how long it will shut down before changing to another runlevel.-K: Not really shut down, just send a warning signal to each login.-H: Power off after
before shutting down, and it may be possible to restart the computer. This is the signal that the system will receive from all Processes (process) (signal)Decision-making. This allows programs like VI to have time to store documents that are currently being edited, while programs like Mail (mail) and news (news) can leave normally and so on.Shutdown performs its job of sending a signal (signal) to the INIT program, requiring it to change the runlevel
There are shutdown, halt, reboot, and Init in the Linux Shimonoseki and reboot system, for whom their internal working process is different.1. Shutdown commandIt can be used to safely shut down the system, but when the system is shut down, all logged-in users will be notified that the system will be closed and all instructions will be frozen, that is, all new users will not be able to log in again, and that the instruction may be shut down or restarted immediately and delayed for a period of tim
a shutdown can cause data loss to the process, leave the system in an unstable state, or even damage the hardware device in some systems.With the shutdown command before the system shuts down, the system administrator notifies all logged-on users that the system will be closed. And the login command is frozen, that is, the new user can no longer log in. It is possible to shut down directly or delay a certain amount of time before shutting down, and i
command before the system shuts down, the system administrator notifies all logged-on users that the system will be closed.And the login command is frozen, that is, the new user can no longer log in. Shut down directly or delay a certain amount of time before shutting down the machineIs possible and may be restarted. This is the signal that the system will receive from all Processes (process) (signal)Decision-making. This allows programs like VI to h
Because under Linux, every program (or service) runs in the background, so there may be quite a few people working on your console at the same time behind a screen you can't see, and if you just press the power switch to shut down, it could cause other people's data to be interrupted. In addition, the biggest problem is that if the abnormal shutdown, due to the late to write data back to the file, which may cause the file system damage. Therefore, the correct Linux system shutdown posture is ver
before changing to another runlevel.-K: Not really shut down, just send a warning signal to each login.-H: Power off after shutting down the machine.-c:cancel Current process cancels the currently executing shutdown program. So this option certainly does not have a time parameter, but you can enter a message to interpret, and this information will be sent to each user.-F: Forces fsck to restart the computer.-time: Set the time before
log in. It is possible to shut down directly or delay a certain amount of time before shutting down, and it may be possible to restart the computer. This is the signal that the system will receive from all processes (process)(signal)Decision-making. This allows programs like VI to have time to store documents that are currently being edited, rather like processing mail (mail) andThe program of news (news) can leave normally and so on.Shutdown perform
, leave the system in an unstable state, or even damage the hardware device in some systems.With the shutdown command before the system shuts down, the system administrator notifies all logged-on users that the system will be closed. And the login command is frozen, that is, the new user can no longer log in. It is possible to shut down directly or delay a certain amount of time before shutting down, and it may be possible to restart the computer. Thi
=yes
Bootproto=static
netmask=255.255.255.0
ipaddr=192.168.84.101
gateway=192.168.84.2
DNS1= 192.168.84.2
ipv6init=no
arpcheck=noMake sure the following parameters are set
Onboot=yes
Nm_controlled=yes
Bootproto=static
5 Restart Network Service after saving to ensure normal operation.
[root@testateway=192 ~]# Service network restart
shutting down interface eth0: [ OK ]
shutting
import/export operations do not want other users to connect to the database operation data, data loading, specific migration or upgrade operations. (2) STARTUP FORCE The command actually forcibly closes the database (Shutdown Abort) and start the database (Startup) A synthesis of two commands. This command is used only if you have problems shutting down the database and you cannot close the database. (3) ALTER DATABASE OPEN READ only; This comm
this command are described:
-K: Just send a warning message to the user
-R: Reboot the system after shutting down the system
-H: Do not reboot the system after shutting down the system
-F: Fast shutdown of the system, but no disk detection on reboot (the system was found to enter the BIOS interface during the experiment, but no action was possible)
-N: Quickly shutdown the system without the INIT prog
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.