University WiFi network billing system upgrade: how to design the old and new Radius Proxy splits
- It's not."Change the system."It's so simple.
The university's Authentication & Billing system, which is often used for many years, has long been connected to the old system with operators and campus systems. The most taboo thing about the University WiFi network billing system upgrades is that"Push it backwards."The safer approach in reality is to have both old and new systems coexist for a period of time, allowing authentication requests to be transferred by rules between the two systems. The technology core of the parallel storage period is not how data are moved, but how certification requests are divided: which users are still in the old system, which users are already in the new system, and the rules are the answer. Understanding this diversion mechanism will determine the success or failure of upgrading rather than tangled with which new systems are being chosen.
Parallel architecture: front-end proxy plus backend
Old and new storage is usually used"Front-end agent, back-end spin", the new system is deployed as a Radius Proxy server at the front end of the authentication chain to receive requests for certification from the terminal; the original system is used as a backend AAA server to continue to perform some user validation and basic data verification. The authentication portals seen on the terminal are unchanged, and changes occur within the new system: it decides whether to process requests by default or entrap them into standard Radius packages. The value of this is that the teacher/pupil certification experience during upgrades is continuous without having to be re-reading the login process because the system has been replaced.
Diversion rules: User, Area, Terminal 3 Dimensions
The agent's not forwarding it."Turn all of it."or"Leave all", but by the fine rules"Users of the new system"and"Users of old system"The rules support multi-conditional combinations, with three dimensions used: one is the user range, which is passed to the old system (class 2022 and previous accounts), and the new account number is moved directly; the other is the access area, which is transferred to the old system, such as the uncovered old teaching building VLAN; and the third is the type of terminal, such as fixed terminals tied to the old system's white list, which continues to be certified by the old system.——The transition period will be expanded gradually after a small number of users are deployed to the new system.
Properties map is consistent with protocol parameters
The transmission is not possible, depending on the compatibility of the agreement and consistency of parameters. The text of the Radius protocol, encryption, field definition of the two old systems must be correct, requesting that the old system be sealed to correctly interpret and return the result. The attribute map is cross-checked by fields at the conflation stage: username, call address, shared key, there are no different definitions, forwarding will fail or return the error result. This link cannot be aligned with a document, but it needs to be verified by real requests.
Cost field consistency: basis of reconciliation
The most problematic aspect of the parallel life is the consistency of the billing field. After authentication, the new system starts to send billings to the old system under RFC 2866 and ends up sending billing reports when the terminal is offline, including the words " online time frame ", traffic consumption, and thus maintaining historical billing integrity.——For example, the length of time, traffic statistics don't match.——The billings for the old and new systems are not aligned and the reconciliation is unclear. So the map of the billing field and the calculator check are as important as the authentication field, to be done together at the bridging stage rather than being online before remediation.
Data inconsistencies and failures retreat
The inconsistent user data of the old system are normal: for example, passwords have been changed on one side and there is no synchronization on the other. Designing conflict-management rules: authentication results are based on the response of the original system, while recording data discrepancies logs to generate a daily consistency report for feeder reconciliation. When the former system temporarily fails, it cannot be completely disconnected: the new system regularly uses heart beats to test the old system, successive failure triggers a spin strategy, requests to switch to local authentication of the new system (a synchronous user cache) and alerts the transport platform. The cache can be configured and the older system recovered.
Borders: no commitment"Zero-up online."
The boundary that has been upgraded to the same level will be secured by several: no commitment"Zero-modification direct migration"No promise."You don't need to connect."No promise."Any old system can be connected unconditionally.". The upgrades can be made in parallel with the storage, but landing depends on the properties map, the terms of the match and the integrity of the retreat programme. Operator links, campus systems, are evaluated separately, and single-link verification cannot be pushed out to all chains. Borders need to be clear at the start of a project that implementation will not run.
Operational companion to the rules on diversion
The transition rate, the forwarding rule, the cache period are parameters that need to be recorded and clearly documented. Once the release period is over, the rules should be cleared as a whole so that no residual transfer configuration will affect the following dimensions. Before each rule becomes effective, test the environment with a real account number to confirm whether the new account or old system is in line with expectations and then put into production. These seemingly thin moves determine the authentication accuracy of the parallel life cycle.