Hello, Habr! My name is Sergey, and at DataLine I am working on improving monitoring systems. We have already talked a lot about monitoring engineering and network infrastructure. But besides it, there is also the task of tracking IT equipment.
When we are monitoring in a data center, it is important to know where each server is located and who owns it. This information is stored in a special system for accounting components of information systems, or Configuration management database (CMDB). It is important to immediately update the data on the location of the servers, otherwise there is a problem of "ghost servers" for which no one is responsible.
All this information can be driven into the system by hand. But when it comes to tens of thousands of racks, I want to automate the process. We are developing our automation system and are constantly looking for how to improve it. The idea of ββa βsmart rackβ has been in the air for a long time, which itself knows what equipment it has installed in which unit. In our data center, we decided to conduct an experiment and test several new technologies to solve this problem. I'll show you the results of these experiments and will be happy to discuss how the community solves this problem.
About accounting tasks and current problems
- . , . - -. CMDB: . . . , . . . . , .
, . , CMDB.
, . CMDB, , , . :
, : , . , . : , .
, , , . CMDB. , ββ. , .
, . . - , . , , , . - . .
, :
, ;
.
. .
RFID
βData center asset managementβ, , RFID. β , , . . .
. , RFID . UHF RFID:
. RFID- , . . ββ : β - β.
RFID . .
. RFID-, . , . RFID- .
, . , RSSI, .
, , . .
, AliExpress.
4- RFID UHF R2000 (CF-RU6403). : US $274.55.
ββ CF-RU6403 SDK.
RFID UHF EPC-. : US $1.
:
β 1. . : 5 , :
β .
: . , , .
. : .
. , , , β . -.
β 2. GSM-. :
RSSI dBm, . :
|
|
|||||
|
13 dBm |
14 dBm |
15 dBm |
16 dBm |
18 dBm |
20 dBm |
20000A |
63 |
65 |
60 |
56 |
63 |
62 |
20000B |
- |
- |
- |
- |
58 |
62 |
20000C |
82 |
84 |
68 |
64 |
70 |
74 |
20000D |
73 |
75 |
79 |
54 |
81 |
80 |
20000E |
71 |
72 |
72 |
- |
74 |
76 |
20000F |
- |
- |
- |
- |
- |
45 |
|
||||||
2000008 |
- |
- |
55 |
- |
57 |
- |
2000010 |
- |
- |
51 |
- |
51 |
54 |
, β . , . ββ . , ββ . .
β 3. . , :
RSSI. :
|
|
||||
|
15 dBm |
16 dBm |
20 dBm |
25 dBm |
30 dBm |
20000A |
- |
- |
- |
- |
- |
20000B |
- |
- |
49 |
49 |
64 |
20000C |
48 |
52 |
50 |
55 |
60 |
20000D |
57 |
57 |
59 |
60 |
- |
20000E |
- |
- |
- |
- |
- |
20000F |
57 |
59 |
61 |
65 |
74 |
|
|||||
2000008 |
- |
- |
- |
- |
- |
2000010 |
- |
- |
50 |
- |
- |
2000011 |
- |
46 |
50 |
56 |
- |
25 30 dBm . . .
, , , . , RFID- . .
BLE
RFID bluetooth low energy, BLE. , , , .
. , , . BLE-, . . :
10 .
. . : , .
. . β .
ID :
β |
ID |
1 |
891 |
2 |
1583 |
3 |
1632 |
4 |
6143 |
:
.
. .
β 38 .
.
.
:
;
;
( ).
, .
β 1. C . BLE ββ. RSSI. ID , , :
β |
Tag ID |
ID |
ID max.RSSI |
|
1 |
03027136-727c-4c6e-924a-012ee05ffa0b |
1632 |
1583 |
ERROR |
2 |
076243f5-b12e-4bf4-a510-9dd0f2380696 |
6143 |
6143 |
OK |
3 |
081cec6d-e058-4607-b4e7-a0bb4b614fd2 |
6143 |
6143 |
OK |
4 |
09a14423-142e-4d2b-92b9-eec610be6f76 |
1632 |
1632 |
OK |
5 |
0e23455f-9812-4a1c-a490-5f81d06a3a40 |
6143 |
6143 |
OK |
6 |
0fd874d7-9c53-44d0-b54d-87e5bf6ff407 |
1583 |
891 |
ERROR |
7 |
20df07a2-346c-47e2-98d7-ab95c79a0fd8 |
891 |
891 |
OK |
8 |
27fa42e5-c842-4fa0-9430-533564c5d2bd |
1583 |
1583 |
OK |
9 |
305bfdcf-9d7b-4623-85db-786e5bbe1e5e |
1583 |
891 |
ERROR |
10 |
31d1c178-5e84-43af-b151-04eb47f2c23a |
891 |
891 |
OK |
11 |
4452725a-6481-43c4-ac12-11ae805e7269 |
1583 |
1583 |
OK |
12 |
46ce9c03-fd4d-4877-b254-ab2e2b3a39e7 |
1583 |
1583 |
OK |
13 |
49403290-3d68-45bb-8daa-ca11fec40784 |
891 |
891 |
OK |
14 |
4d2ee2b9-349d-464d-a03b-052653207d0f |
6143 |
6143 |
OK |
15 |
5543038e-682d-492a-9dd7-f9665d76c88a |
1583 |
1583 |
OK |
16 |
593573d1-96da-49f7-85d4-2c886b61e694 |
1583 |
1583 |
OK |
17 |
5edc8736-1a7e-4556-b189-32bfd09f8150 |
6143 |
6143 |
OK |
18 |
6b14dd3b-2d1a-4dad-abed-7b261936fae2 |
891 |
891 |
OK |
19 |
6f1aed32-34b8-414a-a2af-32d78182aeb9 |
1632 |
1632 |
OK |
20 |
7dff4df1-0749-4b9d-81ef-7bd3e408e046 |
1632 |
1632 |
OK |
21 |
8454d30f-e2ea-44fe-acd5-e68087849547 |
1583 |
1583 |
OK |
22 |
86090904-1521-4565-9d93-f98cd8766513 |
1632 |
ERROR |
ERROR |
23 |
87d4a663-2c52-4ac1-9124-7218ebcbc19b |
891 |
891 |
OK |
24 |
970a43fa-d21f-4def-b3cf-e77dc2e4e758 |
6143 |
6143 |
OK |
25 |
a34f4e16-f7ec-4993-8fa4-7af8058e10c3 |
891 |
891 |
OK |
26 |
a4cb5650-b7bb-4888-99ed-91066080ae1d |
1632 |
1632 |
OK |
27 |
b5061940-95f1-450f-8a54-7a3061bdd7d6 |
891 |
891 |
OK |
28 |
bc7e45c8-9fe2-458a-9be2-527863e928a0 |
891 |
891 |
OK |
29 |
c808334f-4549-4abe-98d4-a78ca132ece4 |
6143 |
6143 |
OK |
30 |
c816484e-d7c2-4ca6-8369-528c67546662 |
1632 |
1632 |
OK |
31 |
ce169bb2-9356-4240-a191-b4a87b2abd7b |
891 |
891 |
OK |
32 |
d08d6816-bebd-4f10-a661-0761641ca448 |
6143 |
6143 |
OK |
33 |
d29fc25d-a096-4cf7-b076-991c0adb613d |
6143 |
6143 |
OK |
34 |
dbb80eb0-41ba-4396-bde4-e94b5cfcb8af |
6143 |
6143 |
OK |
35 |
ddf3ccd7-1d54-4eca-8ab5-e26e52c4ac62 |
891 |
891 |
OK |
36 |
e49c683d-48aa-4655-99c7-c402c3dee175 |
1632 |
6143 |
ERROR |
37 |
e8837b76-e92a-4bc4-bc97-34cea0b0321f |
891 |
891 |
OK |
38 |
f09ce83d-bb2b-4e1e-a9d0-9106d6e5bca7 |
1583 |
1583 |
OK |
39 |
fcb2affb-4e45-481e-8275-08a60efa926c |
1632 |
1583 |
ERROR |
5 - (#22). : . , . 5/38*100% = 13%.
, . 3 ββ . 2 :
β |
Tag ID2 |
163 |
6143 |
1583 |
891 |
1 |
03027136-727c-4c6e-924a-012ee05ffa0b |
|
|
10 |
|
2 |
076243f5-b12e-4bf4-a510-9dd0f2380696 |
|
10 |
|
|
3 |
081cec6d-e058-4607-b4e7-a0bb4b614fd2 |
|
10 |
|
|
4 |
09a14423-142e-4d2b-92b9-eec610be6f76 |
10 |
|
|
|
5 |
0e23455f-9812-4a1c-a490-5f81d06a3a40 |
|
10 |
|
|
6 |
0fd874d7-9c53-44d0-b54d-87e5bf6ff407 |
|
|
1 |
9 |
7 |
20df07a2-346c-47e2-98d7-ab95c79a0fd8 |
|
|
|
10 |
8 |
27fa42e5-c842-4fa0-9430-533564c5d2bd |
|
|
10 |
|
9 |
305bfdcf-9d7b-4623-85db-786e5bbe1e5e |
|
|
|
10 |
10 |
31d1c178-5e84-43af-b151-04eb47f2c23a |
|
|
|
10 |
11 |
4452725a-6481-43c4-ac12-11ae805e7269 |
|
|
10 |
|
12 |
46ce9c03-fd4d-4877-b254-ab2e2b3a39e7 |
|
|
10 |
|
13 |
49403290-3d68-45bb-8daa-ca11fec40784 |
|
|
2 |
10 |
14 |
4d2ee2b9-349d-464d-a03b-052653207d0f |
|
10 |
|
|
15 |
5543038e-682d-492a-9dd7-f9665d76c88a |
|
|
10 |
|
16 |
593573d1-96da-49f7-85d4-2c886b61e694 |
|
|
10 |
|
17 |
5edc8736-1a7e-4556-b189-32bfd09f8150 |
2 |
10 |
|
|
18 |
6b14dd3b-2d1a-4dad-abed-7b261936fae2 |
|
|
|
10 |
19 |
6f1aed32-34b8-414a-a2af-32d78182aeb9 |
10 |
|
|
|
20 |
7dff4df1-0749-4b9d-81ef-7bd3e408e046 |
10 |
|
|
|
21 |
8454d30f-e2ea-44fe-acd5-e68087849547 |
|
|
10 |
|
22 |
87d4a663-2c52-4ac1-9124-7218ebcbc19b |
|
|
|
10 |
23 |
970a43fa-d21f-4def-b3cf-e77dc2e4e758 |
|
10 |
|
|
24 |
a34f4e16-f7ec-4993-8fa4-7af8058e10c3 |
|
|
|
10 |
25 |
a4cb5650-b7bb-4888-99ed-91066080ae1d |
10 |
|
|
|
26 |
b5061940-95f1-450f-8a54-7a3061bdd7d6 |
|
|
|
10 |
27 |
bc7e45c8-9fe2-458a-9be2-527863e928a0 |
|
|
|
10 |
28 |
c808334f-4549-4abe-98d4-a78ca132ece4 |
|
10 |
|
|
29 |
c816484e-d7c2-4ca6-8369-528c67546662 |
8 |
|
2 |
|
30 |
ce169bb2-9356-4240-a191-b4a87b2abd7b |
|
|
|
10 |
31 |
d08d6816-bebd-4f10-a661-0761641ca448 |
|
10 |
|
|
32 |
d29fc25d-a096-4cf7-b076-991c0adb613d |
|
10 |
|
|
33 |
dbb80eb0-41ba-4396-bde4-e94b5cfcb8af |
|
10 |
|
|
34 |
ddf3ccd7-1d54-4eca-8ab5-e26e52c4ac62 |
|
|
|
10 |
35 |
e49c683d-48aa-4655-99c7-c402c3dee175 |
|
10 |
|
|
36 |
e8837b76-e92a-4bc4-bc97-34cea0b0321f |
|
|
|
10 |
37 |
f09ce83d-bb2b-4e1e-a9d0-9106d6e5bca7 |
|
|
10 |
|
38 |
fcb2affb-4e45-481e-8275-08a60efa926c |
|
|
10 |
|
β 2. . . β 13% (5 38). β 13% (5 38).
β 3. . 28,9% (11 38). β 18,4% (7 38).
β 4. . , . 22 (57%) 3 (7,8%).
β 5. . , 12 (31%).
. , . β . , , .
, . , .
. , , /QR-.
. . . β .
β . . β , . β , CMDB .
. β , . : ?