Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
_GoBack
_GoBack
REDIS Authentication with Password

...

Edit eagle/estar/tpe/cfg/eaglemc2s/redis/redis.conf file. Uncomment the requirepass parameter and set a long string as the password:

...

requirepass

...

MyVeryLongAndComplexPasword12345

The password should not have commas.

...

Uncomment the requirepass and masterauth parameter and set a long string as the password, use same password:

...

masterauth

...

MyVeryLongAndComplexPasword12345

...

requirepass

...

MyVeryLongAndComplexPasword12345

The password should not have commas.

...

Uncomment sentinel auth-pass parameter and set it to the same password as used in redis.conf:

sentinel

...

auth-pass

...

masterid

...

MyVeryLongAndComplexPasword12345

Where Where masterid is  is the master name from sentinel monitor parameter

Make sure this parameter is after parameter sentinel monitor in the configuration file.

Example:

sentinel

...

monitor

...

o171s031

...

10.80.105.93

...

20438

...

1
sentinel

...

auth-pass

...

o171s031

...

AhhhHHHHdddtttqqqYYYYYYY22222888777jjjjjjjjjZ

Delete all lines after this line:

...

cd eaglemgr
./start starweb redis extractservice