Appearance
Your first router on Hive-Sync
In this tutorial you take one lab MikroTik router from nothing to a first canary migration. You will join the Hive-Sync hubs, run in shadow mode, read what Hive-Sync would do, and move one customer.
Use a lab router
Do not follow this on a router that serves paying customers. The point of the lab is that a mistake costs nothing.
Before you start
You need:
- A lab MikroTik router running RouterOS 7.20 or later. See Requirements.
- A UISP server with at least one organization and a few test services. UISP version 3.1.70 with CRM 4.6.17 is the tested pair.
- A test customer device (or a PPPoE client on a laptop) to log in with.
- Your Hive-Sync onboarding details: hub endpoints and hub public keys. Hive-Sync gives you these; do not reuse keys from another router.
Step 1. Join the hubs
Follow Connect a MikroTik router over WireGuard. When you finish, the router shows a recent handshake with both hubs.
Check: in Hive-Sync, the router appears as connected to hub 1 and hub 2.
Step 2. Prepare one test service in UISP
Follow Prepare UISP service fields for a single test customer. Use a username such as test-customer-01 and a throwaway password.
Check: the service shows the username, password, router, network and access type in UISP.
Step 3. Start in shadow mode
New routers begin in shadow mode. Hive-Sync reads UISP and the router, and records what it would change. It changes nothing. The reasons are in Why a shadow comes first.
Open the shadow report as described in Read the shadow report. You should see your test service listed with the speed Hive-Sync would apply and the status it would enforce.
Check: the report has no entries marked as errors for your test service. If it does, fix the UISP fields first.
Step 4. Run the first canary
A canary is a batch of one customer. Follow Run a migration batch and choose your test service.
Hive-Sync applies the change to the router with a self-undo timer, reads the result back, and then keeps it. If you log in with the test PPPoE client, the session should authenticate through RADIUS and receive the speed from the plan.
Check: the test client is online and the batch reports the customer as back online.
Step 5. Suspend and restore the test customer
In UISP, suspend the test service. Within a short time the session moves to the slow lane and a web page request lands on the pay page. Then mark it as paid, or unsuspend it, and confirm that full speed returns. Details are in Suspend and restore a customer.
What you learned
You joined a router to Hive-Sync, watched without changing anything, moved one customer, and saw suspension and restore work. The next lesson, From UISP plan to router speed, shows how a plan becomes a speed.