propertiesFormat: chage option USERNAME-M: Minimum use time-M : Maximum use time-I: Inactivity periodSuch as:#chage-M 2 testing9. IdView your account informationFormat: ID option USERNAME-U UID: View account ID-G GID: View Group IDSuch as:# Id-u Testing10, SuSwitch usersFormat su option USERNAMESuch as:# Su-rootComprehensive Exercises:1 , create users Mandriva, its ID to be 2200 , the Base Group is distro, the group ID is 3300, and the additional group is Peguin ;[[email protected]/]# groupadd
: [email protected]:~$ PS aux | Grep-w'Z' + 2211 1.2 0.0 0 0? Z -: - 6: -[Chromium-browse] + 4400 0.0 0.0 0 0? Z October 160:xx[FCITX] + 10871 0.0 0.0 0 0pts/4z+ A: + 0:xx[Zombie] as can be seen from the above, there is a zombie process in the system. But if the parent process wakes up after waking up, we look at the system process information again and find that the zombie process is missing. [ema
independent video card, has 384 stream processors, this is the GeForce 940M GDDR5 Memory Edition, but the bit width still is 64-bit,geforce 940M specification and the performance is equivalent to the desktop on the GT 640 D5 video card.
Interestingly, in the official Nvidia introduction, the GeForce 940MX performance score is 4 times times the Intel HD Graphics 4400, and the most recent popular game "watch pioneer" minimum configur
Computer
N
400
5
Chemical
N
500
6
Mathematical
N
Some students choose to take several courses at the same time (100,200) Some students choose only one course (300,400,500). Students taking multiple courses are asked to choose a course as their major, with the major flag written in Y. Students who choose only one course, majoring in flag n (in fact, if written in Y, will not have the following trouble, in order to give
selected master course ID
The simple idea is to execute two different SQL statements to query.Condition 1--Condition 1: Only one course of students selected std_id, MAX (class_id) as Main_classfrom Studentclassgroup by Std_idhaving COUNT (*) = 1;Execution Results 1std_id main_class------ ---------- 4400 5500 6Condition 2-Condition 2: Select std_id for multiple courses, class_id as Main_classfrom studentclasswhere main_class_fl
shutdownNDB_MGM-E shutdownStartup of the cluster:1. Start the Management node:Bin/ndb_mgmd-f/opt/mysql-cluster/etc/config.ini--reload--configdir=/opt/mysql-cluster #修改配置文件后要加上--reload will take effect.2. Start the Data node:BIN/NDBD--connect-string= "nodeid=2;host=172.16.48.204:1186" #各个数据节点的nodeid可以在管理节点上show看到3. Start the SQL node:Bin/mysqld_safe--defaults-file=/opt/mysql-cluster/etc/my.cnf--basedir=/opt/mysql-cluster--datadir=/opt/ Mysql-cluster/data--user=mysql Report:Config.ini file detail
($IPVSADM).$IPVSADM-c//purge rule$IPVSADM-A-t 192.168.232.1:80-s WLC -P 3//The WLC here is an algorithm that can write RR etc;-a adds a rule that specifies whether NAT mode or IP tunnel mode, or Dr mode;-T followed by distribution IP;-S Specifies the algorithm for the external network of the device,-p specifies its timeout, 3 seconds to access the a server up, can be set 0, if set 0 cannot execute this scr
Model-m:nat model-W: Weight2. Modification:-E3. Delete:-D ipvsadm-d-t|u|f service-address-r server-address3. Managing view of Cluster services1.ipvsadm-l|l [Options]OPTIONS:-N: Digital format display--stats Statistical information--rate: Statistical rate--timeout: Shows the session timeout length for TCP, Tcpinfo, and UDP-C: Number of connection clients4. Situation counter: ipvsadm-z [-t|u|f service-address] 5. Situation rule: Ipvsadm–c 6. Save the rule:1.ipvsadm-s >/path/to/somefile2.ipvsadm-s
1.lvs Load ModeStatic: Based on algorithm only(1) RR Polling(2) WRR Weighted Polling(3) The SH source address hash, which binds a user's access session to a fixed server in a KV structure, can be considered as one of the load balancing cluster-preserving sessions.(4) DH Target Address hash, column: With DH to the proxy server load balancing, intranet host access to the Web page, the conference KV structure store User IP and website address, improve the proxy server cache hit ratio.Dynamic: Based
About LVSLVS IntroductionLVS is the acronym for Linux Virtual Server, which means that a virtual servers cluster system, which belongs to the 4-tier load balancerThe relationship between Ipvs and IpvsadmWhen we use the configuration LVs, we can not directly configure the kernel Ipvs, need to use Ipvs management tool IPVSADM for managementLVS TerminologyLVS Forwarding PrincipleThe LVS load balancer accepts all inbound requests and determines which realserver processes the request based on the sch
WLC
The minimum connection based on locality locality-based Least Connections LBLC
Locally-based minimal connection with replication locality-based Least Connections with Replication LBLCR
Destination Address hash dispatch Destination Hashing DH
Source Address Hash Dispatch source Hashing Shlvs NAT mode build
Preparatory work
Three machines
Dispatcher, also known as the Scheduler (dir)
Intranet: 21.128, Extranet: 110.
1 overview
Ipvs Scheduler in LVs a total of Ten in the scheduling algorithm: Rr,wrr,lc,wlc,lblc,lblcr,dh,sh,sed,nq,VS depending on the schedule, consider whether the RS The current load state is divided into two main categories: static and dynamic, in which the more complex the algorithm, the more efficient the server is (performance)
2 static Methodsstatic methods are only dispatched according to the algorithm itself, which is concerned w
(RR), weighted polling (WRR), Minimum Connection (LC), and weighted least connection (WLC).
Polling (RR): The received access requests are dispatched sequentially to different servers, regardless of the actual number of connections to the backend real server and the system load.
Weighted polling (WRR): To set the weight of the RS, the higher the weight, then the more the number of requests distributed, the value of the weight range 0–100
equalization algorithm is suitable for long-connected processing of request services, such as FTP.WLC: weighted least link (Weighted Least Connections)The default scheduling method. in the case of large difference of server performance in the cluster system, the scheduler uses this scheduling algorithm to optimize load balancing performance, and the server with higher weights will bear a large proportion of active connection load. The scheduler can automatically inquire about the load of the r
that 10 years ago, some areas of mobile network local DNS were updated only one day.
The second disadvantage: the Service scheduling algorithm only supports WRR. If you have a limited range of users, there is a problem of unbalanced load. Third drawback: attack defense is very weak, each attack by a machine against.
For the lack of DNS, introduced the concept of virtual server, that is, the most front-end has a portal equipment to balance the flow of traffic to the back-end of the Apache, wheth
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.