Redis Labs Enterprise Cluster Documentation Page 1
Total Page:16
File Type:pdf, Size:1020Kb
Redis Labs Enterprise Cluster Documentation Version 4.2.1-30 – September 21, 2015 Copyright© 2015 Redis Labs Ltd. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form by any means, electronic, mechanical, photocopying, recording or otherwise without the prior written permission of Redis Labs Ltd. Redis Labs Ltd. reserves the right to change or improve its products and accompanying technical literature without specific notice of changes or improvements. Table of Contents Overview ....................................................................................................................................................... 4 The technology behind RLEC ................................................................................................................ 5 Installing and Upgrading ............................................................................................................................... 8 Hardware and software requirements ....................................................................................................... 8 Accessing and installing the setup package............................................................................................ 10 Uninstalling .............................................................................................................................................. 11 Upgrading ................................................................................................................................................ 11 Initial setup – creating a new cluster ........................................................................................................... 13 How to set the cluster name (FQDN) ...................................................................................................... 14 Cluster Administration ................................................................................................................................. 16 Joining a new node to a cluster ............................................................................................................... 16 Replacing a faulty node ........................................................................................................................... 17 Removing a node .................................................................................................................................... 17 Taking a node offline............................................................................................................................ 17 Permanently removing a node ............................................................................................................. 18 Replacing a faulty node ....................................................................................................................... 18 Replacing a healthy node .................................................................................................................... 18 Rebalancing nodes .................................................................................................................................. 19 Viewing and defining cluster settings ...................................................................................................... 19 Managing general settings ................................................................................................................... 19 Managing users ................................................................................................................................... 20 Managing cluster alerts ........................................................................................................................ 21 Viewing cluster metrics ............................................................................................................................ 21 Viewing node metrics .............................................................................................................................. 21 Viewing the log ........................................................................................................................................ 22 Best practices .......................................................................................................................................... 22 Configuration of AWS instances .......................................................................................................... 22 Using a single DNS server ................................................................................................................... 23 Persistent and ephemeral storage ....................................................................................................... 23 Disk size requirements for extreme write scenarios ............................................................................ 23 Synchronizing cluster server clocks to Network Time Protocol (NTP) ................................................ 24 Updating web server SSL certificates .................................................................................................. 24 Performance optimization .................................................................................................................... 24 Redis Labs Enterprise Cluster Documentation Page 1 Machine ports configuration ................................................................................................................. 25 CentOS / RHEL 7 firewall configuration............................................................................................... 26 Client prerequisites for mDNS ............................................................................................................. 26 Multi-IP & IPv6 support ........................................................................................................................ 27 Database configuration ............................................................................................................................... 29 Creating a new database......................................................................................................................... 29 Database memory limit ............................................................................................................................ 30 Database replication ................................................................................................................................ 31 Database persistence .............................................................................................................................. 31 Database clustering ................................................................................................................................. 31 Database eviction policy .......................................................................................................................... 34 Replica of ................................................................................................................................................. 35 Database backup ..................................................................................................................................... 38 Periodic backup ................................................................................................................................... 38 Ad-hoc backup - Export ....................................................................................................................... 38 Backup of a sharded database ............................................................................................................ 38 Database alerts ....................................................................................................................................... 38 Importing data to a database ................................................................................................................... 39 Exporting data from a database .............................................................................................................. 39 Updating database configuration ............................................................................................................. 40 Deleting a database ................................................................................................................................. 40 Viewing database metrics........................................................................................................................ 40 Database metrics ................................................................................................................................. 40 Shard metrics ....................................................................................................................................... 41 Viewing Redis Slow Log .......................................................................................................................... 41 Rack-zone awareness ................................................................................................................................. 44 rladmin Command Line Interface (CLI) ....................................................................................................... 45 System architecture ...................................................................................................................................