📜 ⬆️ ⬇️

Office in 100 machines, or a story about how I transferred the server from Windows to Centos 7. Prologue

It was 5 years ago, a good friend called me (let it be Irina) and asked me to work as system administrators in the central accounting department of our city. I asked to provide a list of the duties of this employee, to which I received an answer, which drove me into a stupor:
The system administrator must come to the workplace every morning, restart the server, bypass the girls and solve their problems with the programs. It is also necessary to make a monthly report on the work done.

I immediately decided to refuse, because I did not want to lose my time, and hung up. The evening passed in thought of the correctness of my decision and the reasons for which the former employee rode every morning and restarted the server.

image

The next morning began violently. I just got out of the shower and was about to drink, when suddenly the doorbell rang. This came Irina with a cake and started right from the threshold to convince me that I needed this job, and she needed me as a system administrator. After a stormy discussion about my duties at this workplace, I nevertheless agreed to run this enterprise.

Then I just leave the conditions on which I agreed to work
My responsibilities:
  • Every morning, come to the workplace and restart the server
  • Bypass girls and solve their problems with programs
  • Monthly report on the work done.
  • Monitor the health of the server and local network, timely troubleshoot.
  • Solve girls' problems related to programs and hardware as they become available.
  • Keep in touch at any time of the day or night.
  • Implement innovations imposed by higher management.

My rights:
  • After the reporting period from May 1 to May 31, I do not appear at work and do not pick up the phone.
  • I do not appear at work if everything works.
  • The girls do not turn to me directly with the problems, but paint them according to the pattern I have drawn up and send them to the post office.

PS: Official employment, the salary of 8,000 rubles per month, free lunch and tea.

First work day


On my first working day, I decided to be late and informed in advance that I would come by 9:00. It was summer and the weather was great. I left the house and quietly went towards the Central Bank .
')
Upon arrival at the workplace, I first went to see Irina, since she was the director at this institution. The first thing she took me to my workplace and showed the whole front of work. The only phrase in the demonstration of my workplace was:
There is our server in the corner. So you need to restart it every morning.

Glancing around the closet, I realized the whole essence of being. The size of the room was approximately 8 m 2 . It was no longer a server, but a storage room. Everything was littered with boxes, old iron, Christmas toys and tinsel. Somewhere in the corner, filled with boxes of office chairs, I saw a server. He barely puffed on blades, trying to blow dust mattresses that had accumulated over the years of work in this room.

First of all, I began to rake the rubble in the room and study what the server is.

Information about the gland. Centos 6 is already spinning on it, so the display of information is presented in this form.
[root@m1 google]# dmidecode Handle 0x0002, DMI type 2, 8 bytes Base Board Information Manufacturer: Gigabyte Technology Co., Ltd. Product Name: GA-8S661FXM-775 Version: xx Serial Number: Handle 0x0004, DMI type 4, 35 bytes Processor Information Socket Designation: Socket 775 Type: Central Processor Family: Celeron Manufacturer: Intel ID: 41 0F 00 00 FF FB EB BF Signature: Type 0, Family 15, Model 4, Stepping 1 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) DS (Debug store) ACPI (ACPI supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop) HTT (Multi-threading) TM (Thermal monitor supported) PBE (Pending break enabled) Version: Intel(R) Celeron(R) CPU Voltage: 1.3 V External Clock: 133 MHz Max Speed: 4000 MHz Current Speed: 2533 MHz Status: Populated, Enabled Upgrade: Socket 478 L1 Cache Handle: 0x0009 L2 Cache Handle: 0x000A L3 Cache Handle: Not Provided Serial Number: Asset Tag: Part Number: Handle 0x0005, DMI type 4, 35 bytes Processor Information Socket Designation: Socket 775 Type: Central Processor Family: Unknown Manufacturer: Unknown ID: 00 00 00 00 00 00 00 00 Version: Intel(R) Celeron(R) CPU Voltage: 3.3 V External Clock: 133 MHz Max Speed: 4000 MHz Current Speed: 2533 MHz Status: Populated, Disabled By User Upgrade: Socket 478 L1 Cache Handle: 0x000A L2 Cache Handle: 0x000B L3 Cache Handle: Not Provided Serial Number: Asset Tag: Part Number: Handle 0x0007, DMI type 6, 12 bytes Memory Module Information Socket Designation: A0 Bank Connections: 1 2 Current Speed: Unknown Type: DIMM SDRAM Installed Size: 1024 MB (Double-bank Connection) Enabled Size: 1024 MB (Double-bank Connection) Error Status: OK Handle 0x0008, DMI type 6, 12 bytes Memory Module Information Socket Designation: A1 Bank Connections: 3 4 Current Speed: Unknown Type: DIMM SDRAM Installed Size: 256 MB (Single-bank Connection) Enabled Size: 256 MB (Single-bank Connection) Error Status: OK Handle 0x001A, DMI type 17, 27 bytes Memory Device Array Handle: 0x0019 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: A0 Bank Locator: Bank0/1 Type: Unknown Type Detail: None Speed: 400 MHz Manufacturer: Serial Number: Asset Tag: Part Number: Handle 0x001B, DMI type 17, 27 bytes Memory Device Array Handle: 0x0019 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 256 MB Form Factor: DIMM Set: None Locator: A1 Bank Locator: Bank2/3 Type: Unknown Type Detail: None Speed: 400 MHz Manufacturer: Serial Number: Asset Tag: Part Number: 

What is what and what is where?


On the first day after cleaning, I didn’t have enough strength to figure out what the trouble with the server was and why it was still alive. On the second day, I connected a monitor, keyboard and mouse to it. To my surprise, there was Windows Server 2003.

This machine has the following functions:


On the back, goose bumps ran from what I saw. At that time, I knew a little linux and used only the MOPS Linux distribution . By that time, they stopped supporting him and I decided to try CentOS .

From corpses in the workplace, I assembled a work platform and began to explore the capabilities of CentOS. For me it was a novelty, but I quickly settled in and after 2 months a new server started working. The Parus database was killed and the database was accessed only locally on the director’s computer, the 1C server was transferred to a powerful computer and a third-party company began to implement its support.

On a new server, I launched:


Subsequently, I cleared all the rubble in the closet and collected a rack from the profile. I did not appear again. After a year of work, Irina called me and said that the position of the system administrator was reduced and she was very pleased to work with me.

Conclusion


Two months ago, Irina called me again and told me that they had been assigned a static IP address under ViPNet Coordinator and they needed help in setting up my server. As at the beginning of the story, I decided to refuse, since I no longer worked at this enterprise, and any work should be paid.

A month ago, a telephone conversation took place again. This time they said that they would soon open the workplace, they would double the salary and the conditions would remain the same. This time I agreed, but on condition that I’ll get half-time, and the second part is my brother.

The continuation of cooperation was prompted by my own reasons:


This article is the beginning of a series of articles in which I will describe in detail the procedure for launching a server on CentOS 7 for a small office of 100 machines.

Thanks for attention

Source: https://habr.com/ru/post/326240/


All Articles