Free tools Windows power users keep installed
One-click scans. No signup required.
iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Need a server to try this on? Antihost offers Linux VPS plans with NVMe storage, full root access and a 14-day free trial.
Configure one Ubuntu Redis server as the primary and a second as its replica by setting replicaof on the replica, supplying matching authentication, restarting or reloading both services, and checking INFO replication and ROLE. Redis replication is asynchronous and keeps a copy current, but it does not elect a replacement primary; automatic failover requires Sentinel or another high-availability system.
What Redis replication does
Redis uses a primary-replica model. Clients normally send writes to the primary, which streams the resulting writes, key expirations, and evictions to one or more replicas. Replicas reconnect automatically after a network interruption and can request a partial resynchronization when the primary still has the required history in its replication backlog. If that history is unavailable, Redis performs a full synchronization instead.
The default mode is asynchronous: a successful write on the primary does not mean every replica has already applied it. Replication therefore improves read scale and reduces the impact of a single-node failure, but it is not a backup, a consistency guarantee, or an automatic failover mechanism. Keep independent RDB or AOF persistence and a tested restore process for recovery from deletion, corruption, or operator error.
Plan the two Ubuntu nodes first
Choose stable private addresses and decide which networks may reach Redis. Permit TCP port 6379 only from trusted application, administration, and replication networks. Do not expose an unauthenticated Redis listener to the public internet. The exact service name, configuration-file path, and firewall command vary with the Ubuntu release and Redis package, so confirm those details on each host before changing anything.
#1 Best Overall
- Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
- With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
- Wide Application: attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
- Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
- Economical &Reusable: Built durable materials with a long-lasting battery,our CAGIWIRU air duster it's a sustainable alternative to disposable air cans.
| Node | Purpose | Typical settings | Client behavior |
|---|---|---|---|
| Primary | Accepts writes and serves reads | Private bind address, protected mode, authentication, persistence as required |
Applications write here unless an intentional read-routing design says otherwise |
| Replica | Applies the primary’s stream and serves read-only queries | replicaof, matching authentication, read-only mode |
Use for reads or promotion; do not treat it as an independent writable database |
Record the primary’s private address, the replica’s private address, the Redis port, the selected authentication model, and the firewall rules. Resolve hostnames from both machines before editing Redis; a name that works on one host may not resolve on the other.
Configure the primary Redis server
Back up and locate the active configuration
Make a copy of the configuration file before editing it. Use the file loaded by the running service, not an unused example file. You can identify the process and unit with the package’s documented Ubuntu service workflow and inspect the service status before making changes. Store secrets outside shell history and source control.
Bind Redis to a private interface
Set bind to the primary’s private address and loopback. Replace the address below with the interface reachable by the replica:
bind <primary-private-address> 127.0.0.1
protected-mode yes
Keep protected-mode yes unless you have a deliberately controlled, authenticated network design that requires another choice. Binding to all interfaces while relying only on an application firewall makes mistakes much more costly.
Choose authentication
For legacy password authentication, set a long random secret on the primary:
Rank #2
- Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
- Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
- Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
- Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
- Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth
requirepass <long-primary-secret>
Redis 6 and later support ACLs and are usually better served by named users with narrowly scoped permissions. Create a dedicated replication identity rather than sharing an application administrator account. The account must be enabled, have a secret, and be allowed to run the replication-related commands required by your installed Redis version. Redis ACL syntax and command categories should be checked against that version; do not assume a permission set from another release.
Recommended Free Tools
When using ACL authentication, keep the default user and application users separate from the replication user. Give application accounts only the commands and key patterns they need. The replica will use masteruser and its secret to authenticate this connection.
Configure the replica
Point the replica at the primary
Edit the replica’s active Redis configuration and add the primary’s private address and port:
replicaof <primary-private-address> 6379
masterauth <long-primary-secret>
replica-read-only yes
masterauth is required when the primary expects a password. With ACLs, add the replication identity as well:
masteruser <replication-user>
masterauth <replication-user-secret>
Do not put a different password in masterauth than the one configured for the selected primary user. Keep replica-read-only yes. Redis warns that writable replicas can accept changes that never came from the primary, creating divergence when the primary later synchronizes or the replica is promoted.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Rank #3
- 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
- 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
- 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
- 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
- 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.
Understand an existing dataset
Pointing a replica at a primary may replace the replica’s current dataset during synchronization. Treat the replica as disposable until you have verified the source data and your persistence policy. If the host already contains important keys, take an appropriate backup and schedule the initial synchronization for a maintenance window.
Apply the configuration on Ubuntu
Use the service-management procedure documented by the Redis package installed on the host. On many Ubuntu packages the unit is named redis-server, but verify the unit name instead of assuming it:
- Check the unit and current health with the package’s service-status command.
- Restart or reload the primary after saving its configuration, then confirm it returns to an active state.
- Restart or reload the replica after saving its configuration and watch its service log while it attempts the connection.
- Record the final configuration in the file so a later restart does not discard a runtime-only change.
Redis also supports changing replication at runtime. From an authenticated administrative client connected to the replica, run:
REPLICAOF <primary-private-address> 6379
The command changes the replica’s relationship immediately. Persist the same values in redis.conf; otherwise the next restart can return the node to its previous role. Runtime changes such as CONFIG SET are useful for controlled operations, but they should not become the only record of production configuration.
Verify that synchronization is working
Inspect both roles
Connect with an authenticated administrative client on each node and run:
Rank #4
- 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
- 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
- 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
- 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
- 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.
INFO replication
ROLE
On the primary, ROLE should identify a primary and list connected replicas. On the replica, it should identify a replica and show the expected primary address and port. The replication section also exposes the link state and offsets. A healthy connected replica normally reports an up link; offsets should advance as the primary receives writes.
Run a disposable end-to-end test
- Connect to the primary and write a key whose name clearly marks it as a test, such as
replication-check-2026-10-15. - Read that key from the replica. Allow for a short delay because replication is asynchronous.
- Remove the test key from the primary after confirming the result.
- Run
INFO replicationagain and retain the relevant status output in your change record.
Do not use a production credential, customer value, or unbounded key scan for this check. A successful test proves the path, authentication, and basic synchronization; it does not establish a maximum lag, durability guarantee, or failover time.
What to record
- The primary and replica addresses and Redis versions.
- The primary’s connected-replica count and the replica’s reported primary address.
- The replica link status, offsets, and any synchronization state shown by
INFO replication. - The exact configuration-management or package-service action used to apply the change.
Troubleshoot a replica stuck in CONNECTING
| Symptom | Likely causes | Checks and corrective action |
|---|---|---|
| Authentication errors in the replica log | Wrong password, wrong ACL user, disabled user, or insufficient permissions | Match masterauth to the primary’s requirepass or replication user. If using ACLs, verify the user is enabled and permitted to run the replication commands required by this Redis version. |
| Replica cannot establish a TCP connection | Incorrect address or port, primary bound only to loopback, firewall or network ACL denial | Test reachability from the replica to the primary’s private address and port. Check the primary’s bind setting, host firewall, cloud network rules, and the Redis service status. |
| Protected-mode or access-denied messages | Cross-host access without an appropriate private bind and authentication design | Keep protected mode enabled where possible, bind only to trusted interfaces, and provide authentication. Do not solve the error by exposing an unauthenticated listener. |
| Replica is stale after a brief outage | Unstable link or a backlog too small to cover the interruption | Review link stability and the primary’s replication backlog configuration. Redis may be attempting partial resynchronization; if the required history is gone, it will need a full synchronization. |
| Writes appear to succeed on the replica | replica-read-only was disabled or the command was sent to a promoted node |
Check CONFIG GET replica-read-only and ROLE. Re-enable read-only mode unless writable-replica behavior is an explicitly justified design, then investigate any divergent keys. |
| Operators expect a new primary automatically | Basic replication has no leader election | Use a monitored high-availability layer such as Redis Sentinel or another orchestration system. Replication alone cannot promote a node after failure. |
When logs are inconclusive, reduce the problem to four tests: can the replica reach the primary’s address and port, does the primary accept the selected credentials, does the primary recognize the replica connection, and are the reported offsets moving? Check one condition at a time so a firewall change is not confused with an authentication fix.
Authentication and network security
A password by itself does not encrypt Redis traffic. Redis authentication is sent as a normal command; without TLS, anyone able to observe the connection could potentially capture it. On a trusted isolated network this may be an accepted risk, but cross-host replication across shared or untrusted networks should use TLS.
Use TLS for replication when required
Configure certificates, private keys, trusted certificate authorities, and identity or hostname checks consistently on both nodes. On the replica, tls-replication yes makes its outgoing replication connection use TLS. The primary must have its TLS listener and certificate policy configured as well, and clients must use the matching protocol and port. Test certificate expiry, trust-chain validation, and hostname mismatches before production cutover.
Best Value
- 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
- 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
- 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
- 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
- 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.
Limit exposure
- Bind only to interfaces needed by clients and replication.
- Allow port 6379 only from known application, administration, and replication networks.
- Use ACL users with least privilege where Redis 6 or later is available.
- Keep secrets out of shell history, tickets, and public configuration repositories.
- Monitor failed authentication, unexpected clients, and configuration changes.
Replication recovery and backlog behavior
After a short disconnection, a replica can often continue from the primary’s in-memory replication backlog instead of copying the entire dataset. This partial resynchronization reduces recovery work, but it is not guaranteed. A longer outage, a backlog that has wrapped, a restarted primary without the needed history, or incompatible state can force a full synchronization.
Choose backlog capacity and retention with your outage patterns, write rate, memory budget, and Redis version in mind. There is no universal backlog size or recovery-time number: the right value depends on workload and network conditions. Observe reconnect frequency, synchronization duration, and offset gaps in your own environment, then test the chosen settings by interrupting the replication path in a controlled window.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsManual promotion and automatic failover
Promote a replica manually
If the primary is unavailable and you have decided that the replica contains the dataset to serve, connect to the replica and run:
REPLICAOF NO ONE
This stops replication and leaves the replica with its current dataset as an independent primary. Before directing clients to it, fence or isolate the old primary so both nodes cannot accept writes at the same time. Update the application endpoint or service discovery record, verify writes, and document the promotion time and observed replication state.
When the old primary returns, do not simply point it at clients. Decide which dataset is authoritative, back up anything needed for investigation, and reconfigure the recovered node as a replica of the chosen primary. A manual promotion is an operational procedure, not a conflict-resolution system.
Add monitored failover
Redis Sentinel can monitor instances, detect a failed primary, promote a suitable replica, and inform clients. Sentinel itself must be configured with authentication and network security, and every Redis instance must use compatible credentials and access rules. Test quorum behavior, client reconnection, fencing, DNS or endpoint updates, and the case where the network is partitioned. If your availability requirements exceed what you can operate safely, evaluate a managed Redis service instead of treating a second Ubuntu VM as a complete high-availability design.
Choose an operating model
| Model | Operational effort | Failover behavior | Security and control | Best fit |
|---|---|---|---|---|
| Manual primary plus replica | Lowest initial complexity; operators handle checks, promotion, and reconfiguration | Manual REPLICAOF NO ONE promotion |
Full control of Ubuntu networking, Redis configuration, ACLs, and TLS | Development, secondary read capacity, or teams with a documented runbook |
| Primary, replicas, and Sentinel | Higher design and testing effort; monitor the monitors and client behavior | Sentinel can perform monitored promotion when quorum and safety conditions are met | You control credentials, topology, certificates, and failure policy | Self-managed production systems that need automated failover |
| Managed Redis service | Less host maintenance; provider-specific limits and procedures apply | Provider-controlled or configurable automatic failover | Less infrastructure control, with provider security and networking features | Teams that prefer service operations over maintaining Ubuntu nodes |
Replication, Sentinel, and managed operation solve different problems. Replication copies state; Sentinel coordinates promotion; a managed service additionally removes much of the operating-system and infrastructure work. Select the smallest model that meets your recovery, security, and staffing requirements, then test it under realistic failure conditions.
Quick Recap
Production checklist
- Primary and replica use private, reachable addresses and restricted firewall rules.
- The primary’s
bind, protected mode, and authentication settings are intentional. - The replica has matching
masterauthand, for ACLs, the correctmasteruserpermissions. replica-read-only yesremains enabled unless a documented exception exists.- Final settings are persisted in the active configuration file, not only changed at runtime.
INFO replicationandROLEshow the intended roles, link state, and advancing offsets.- A disposable write/read test succeeds without exposing production data.
- Persistence, backups, restore tests, replication backlog, and monitoring are handled separately from replication setup.
- The team has a manual promotion runbook or has deployed and tested Sentinel or another high-availability layer.
- TLS is enabled for replication whenever the network trust boundary requires encryption.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

