, the value is bigger the priority is higher)
advert_int 1 #VRRP multicast broadcast cycle seconds
authentication {
Auth_ Type pass #VRRP认证方式, the primary must consistently
Auth_pass 1111 # (password)
}
}
virtual_ipaddress {
192.168.8.100/24 #VRRP ha virtual address
}
The scripting source method is as follows:
#!/bin/bash
count = ' ps aux | grep-v grep | grep haproxy | wc-l '
if [$count > 0]; then
exit 0
E LSE
exit 1
fi
3, start keepalived:keepa
/keepalived.conf
To view the log message:
Tail-f/var/log/messages
After starting master Node A, the log is: The ARP message is broadcast
[root@srv4 ~]# tail-f/var/log/messages Sep 01:45:29 srv4 keepalived_vrrp:configuration is using: 34546 Bytes Sep 01:45:29 srv4 keepalived_vrrp:vrrp sockpool: [IfIndex (2), Proto (FDS), FD (8,9)] Sep 01:45:30 srv4 Ke Epalived_v
are provided, which are omitted here, starting from step 1.
Note that I have directly created the spfile file. After modifying the parameter file, you can use create spfile from pfile to create the file.
1) Use spfile on the slave database to start to nomount.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 318046208 bytes
Fixed Size 1299652 bytes
Variable Size 297798460 bytes
Database Buffers 12582912 bytes
Redo Buffers 6365184 bytes
SQL>
2) Start the master database
name of the user and group (UID and GID will be mentioned in account management!). )-R: Reverse output of the sorting results, for example: the original file name from small to large, the reverse is from large to small;-R: Together with the subdirectory contents, all the files in that directory will be displayed;-S: Sort by file size, not by filename;-T: Sort by time, not by file name. --color=never: Do not give color display according to the file characteristics;--color=always: Display color--
During the test, the following error occurred, causing the remote SSH connection to fail, resulting in a failure of the test result. The system log is as follows: Sep 1 03:15:03 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.17.222. Sep 1 03:15:03 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.142.6. Sep 1 03:15:09 node3
default.
After the Managedchannel instance construct is complete, you can create the Clientcall and initiate the RPC call.
After the Managedchannelimpl is created, a new Clientcall instance is initiated by Managedchannelimpl. The use of Clientcall is the message scheduling and processing of the business application layer, and its typical usage is as follows:
__fri Sep 2017 09:46:36 gmt+0800 (CST) ____fri Sep
There is a problem with the computer, but do not want to reload the system again and again, what can be done? Ghost's emergence has solved these thorny problems for us. Ghost is an abbreviation for general hardware oriented Software transfer, meaning "software delivery for generic hardware", a software for backup/recovery systems produced by Symantec. Ghost can restore the original backup system in just a few minutes, and the computer as it is. Ghos
Deploy and build an https (SSL/TLS) Local test environment under IIS In Win10 System
Sometimes we want to deploy some XX projects in the company as https sites to Encrypt transmission at the transmission layer to prevent others from sniffing important site data, the http method we use is usually plain text transmission, which is very insecure and easy to be stolen by others. In some cases, you need to build an https environment locally for testing. The following describes how to build an https t
-scale reporting will bring more potential users to Skype.
Second, the failure of the crisis PR case
Crisis PR success stories are not many, more are failure cases, including the Procter and Gamble Sk-ⅱ Storm and Norton manslaughter incident.
Let's take a look at Symantec's handling of the manslaughter incident. May 18, 2007, Symantec's Norton Antivirus software manslaughter of a simplified Chinese version of Windows XP system files, causing the system to break. As
The database is generated of it already has been, I can # initialize the Connec
tion. Try:self._conn = Sqlite3.connect (self.__dbfile) self._cursor = Self._conn.cursor () except Exception, W
Hy:print ("Unable to connect to database \%s\":%s. ")
% (Self.__dbfile, why)) Log.debug ("Connected to SQLite database \%s\". "% Self.__dbfile) def _generate (self):
"" "creates database structure in a SQLite file. ' "' If Os.path.exists (self.__dbfile): return False Db_dir = Os.
HTTP headers. The configuration is as follows:Two ways of writing expiresbytype image/gif A2592000 # html expiresbytype text/html M604800 ExpiresByType application/x-javascript "access plus 30 days"represents the JS resource settingExpiresand theCache-Control: max-ageHead, whichExpiresThe value is based on the time that the client accesses the resource 30 days after the baseline ,Cache-Control: max-ageThe value is 3600x24x30 seconds. There is a difference between the two ways, in front of th
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.