The first episode

What is the operation and maintenance? What is the game operation and maintenance?

1) refers to the operation and maintenance of large organizations have established a good network of hardware and software maintenance, on-line is to ensure the normal operation of the business and, in the course of his operation, as for him to maintain his collection of networks, systems, databases, development, security, monitoring in-one technology, but also includes a variety of operation and maintenance, have DBA operation and maintenance, site operation and maintenance, operation and maintenance of virtualization, monitoring, operation and maintenance, operation and maintenance and so on game
2) operation and maintenance another division game, points for the development of operation and maintenance, application operation and maintenance (service operation and maintenance) and system maintenance
development operation and maintenance: Yes to the application operation and maintenance development operation and maintenance tools and operation and maintenance platform
application operation and maintenance: is for the line of business, maintenance and do troubleshooting with the development of operation and maintenance of tools developed for on-line services, maintenance and troubleshooting to do
system maintenance: the application is to provide operation and maintenance of infrastructure on the business, such as: system, network monitoring, hardware, etc.

Summary: The development of operation and maintenance and system maintenance to provide operation and maintenance applications on "Tools" and "infrastructure" to support
the development of operation and maintenance, operation and maintenance of applications and systems operation and maintenance of their work is closely interlinked

2, at work, operation and maintenance personnel often need to deal with operational staff, ask operations staff is doing the work?
Game operators to do a thing except for coordination, but also need to communicate with each platform, make open service time, the number of open service, the amount of the user guide, activities planned

3, you now three hundred servers, how do you manage them?
Management 3 million servers ways:
1) setting springboard machine, using a unified account login, easy to considerations of security and login.
2) the use of salt, ansiable, puppet unified unified management and configuration of the system.
3) to establish a simple system server configuration, cmdb information management applications. Easy access to a variety of information recorded on each server.

4, briefly raid0 raid1 raid5 three operating principle mode of operation and characteristics of
RAID, the hard drive can be integrated into a large disk, you can then partition on a large disk, put the data
there is a big function, multi-block disk together may be redundant (backup)
the RAID integrated manner there are many commonly used: 01,510

RAID 0, may be a combination of a disc and the disc of the N
advantage of fast read and write, a RAID best
disadvantages: there is no redundancy, a bad on the whole no data

RAID 1, only two discs, the disc may not be the same size, with a small subject
10G + 10G only 1OG, the other for backup. It has 100% redundancy, Cons: waste of resources, high costs

RAID 5, 3 block disk capacity is calculated 10 * (n-1), a loss of disc
characteristics, generally read and write performance, read a little better, write well

Redundancy from good to bad: RAID1 RAID10 RAID 5 RAID0
performance from good to bad: RAID0 RAID10 RAID5 RAID1
cost from low to high: RAID0 RAID5 RAID1 RAID10

Single server: It is important not much disk, the system disk, RAID1
database server: the main library: RAID10 from the library RAID5RAID0 (for maintenance costs, RAID10)
the WEB server, if there is not much data, then, RAID5, RAID0 (single disc)
have Taiwan, monitoring, application server, RAID0 RAID5
we will need to store and access data, to match the corresponding RAID level

5, LVS, Nginx, HAproxy What is the difference? Work how you choose?
LVS: it is based on the forward four-storey
HAproxy: Forwarding is based on four and seven, is the professional proxy server
Nginx: a WEB server, cache server, but also a reverse proxy server, you can do seven forwards

Difference: LVS forward because it is based on four layers so can only do port forwarding, and based on this directory URL forwarding LVS can not do the
job selection:
HAproxy and Nginx can do because the seven-forwarding, URL and so forwarding directory can be done in a large amount of concurrent time we will choose LVS, like small and medium sized company if concurrency is not so large, select HAproxy or Nginx enough already, due HAproxy by a professional proxy server, simple configuration, so small and medium enterprises recommended HAproxy
6, Squid, Nginx and Varinsh What is the difference, work how you choose?
Squid, Varinsh and Nginx is a proxy server
What is a proxy server:
can become for users to access the public network, and be able to access the data cache to the local server, and so next time users access the same resources when the proxy server directly from the local response to the user when no local, I replace you to access the public network, I am receiving your request, I will find in my own local cache, if my local cache there, I directly from my local cache back to you, if I do not you want to access cached data found in my local, then the proxy server will replace you to access the public network
differences:
1) originally Nginx reverse proxy / web server, you can use the plug-in doing this sideline but it does not support a lot characteristics, can only cache static files
2) these functions from. varnish and squid cache service is professional, and nginx These are third-party modules to complete
3) varnish own technical advantages than squid, which uses Visual Page Caching

On the use of memory, Varnish advantages over Squid, higher performance than Squid.
There are strong through Varnish management port, you can use regular expressions to quickly remove the bulk part of the cache
it is a memory cache, speed class, but also limits its memory cache capacity, cache pages and pictures are generally very good
4) squid the advantage of a huge cache of complete technical information, and a lot of application production environment

Work options:
do cache service, we definitely have to choose a professional service cache, preference squid or varnish.

7, Tomcat and Resin What is the difference, work how you choose?
Difference: Tomcat number of multi-user, multi-refer to the documentation, Resin small number of users, consider less documentation
the main difference is the Tomcat is a standard java container, but the performance is worse than the resin
but compatible stability and java program sex, should be better than the resin

Work select: big companies are now using resin, the pursuit of performance; and small and medium sized companies are compatible with Tomcat, and the pursuit of stability programs
8, what is middleware? What is jdk?
Introduction Middleware:
Middleware is a separate system software or service program, distributed applications using this software to share resources between different technologies
middleware is located above the operating system of the client / server, and management of computer resources network communication
is connected to two separate software applications or standalone system. The system is connected, even if they have different interfaces

But still the exchange of information between the middleware through each other. One of the key means of implementing middleware is the transmission of information, through middleware, applications can work on multiple platforms or OS environment.

jdk: jdk is Java Development Kit, which is a release for building applications on the Java platform, applet and component development environment
9, say something about the meaning of Tomcat8005,8009,8080 three ports?
8005 == "closed using
8009 ==" as AJP port, i.e. containers, such as Apache Tomcat through AJP protocol access port 8009
8080 == "General applications using

10. What is CDN?
That content distribution network
and its purpose is to add a new layer of network architecture in the existing Internet, the website will publish content to the network edge closest to the user, the user can go to obtain the desired content, improve user access to the site speed
source:
http://www.yunweipai.com/archives/27983.html

Guess you like

Origin www.cnblogs.com/Juvenile/p/12602855.html