Add blank line to start of Document Contents (link otherwise not rendered correctly by web site); move upgrade documents into their own directory; modify poll.c to fix problem relating to cloned DCBs.
This commit is contained in:
19
Upgrading/Upgrading-To-MaxScale-1.1.0.md
Normal file
19
Upgrading/Upgrading-To-MaxScale-1.1.0.md
Normal file
@ -0,0 +1,19 @@
|
||||
# Upgrading MaxScale from 1.0 to 1.1
|
||||
|
||||
This document describes upgrading MaxScale from version 1.0.5 to 1.1.0 and the major differences in the new version compared to the old version. The major changes can be found in the `Changelog.txt` file in the installation directory and the official release notes in the `ReleaseNotes.txt` file.
|
||||
|
||||
## Installation
|
||||
|
||||
If you are installing MaxScale from a RPM package, we recommend you back up your configuration and log files and that you remove the old installation of MaxScale completely. If you choose to upgrade MaxScale instead of removing it and re-installing it afterwards, the init scripts in `/etc/init.d` folder will be missing. This is due to the RPM packaging system but the script can be re-installed by running the `postinst` script found in the `/usr/local/mariadb-maxscale` folder.
|
||||
|
||||
```
|
||||
# Re-install init scripts
|
||||
cd /usr/local/mariadb-maxscale
|
||||
./postinst
|
||||
```
|
||||
|
||||
The 1.1.0 version of MaxScale installs into `/usr/local/mariadb-maxscale` instead of `/usr/local/skysql/maxscale`. This will cause external references to MaxScale's home directory to stop working so remember to update all paths with the new version.
|
||||
|
||||
## MaxAdmin changes
|
||||
|
||||
The MaxAdmin client's default password in MaxScale 1.1.0 is `mariadb` instead of `skysql`.
|
||||
24
Upgrading/Upgrading-To-MaxScale-1.2.0.md
Normal file
24
Upgrading/Upgrading-To-MaxScale-1.2.0.md
Normal file
@ -0,0 +1,24 @@
|
||||
# Upgrading MaxScale from 1.1 to 1.2
|
||||
|
||||
This document describes upgrading MaxScale from version 1.1.1 to 1.2 and the major differences in the new version compared to the old version. The major changes can be found in the `Changelog.txt` file in the installation directory and the official release notes in the `ReleaseNotes.txt` file.
|
||||
|
||||
## Installation
|
||||
|
||||
Before starting the upgrade, we recommend you back up your configuration, log and binary log files in `/usr/local/mariadb-maxscale/`.
|
||||
|
||||
Upgrading MaxScale will copy the `MaxScale.cnf` file in `/usr/local/mariadb-maxscale/etc/` to `/etc/` and renamed to `maxscale.cnf`. Binary log files are not automatically copied and should be manually moved from `/usr/local/mariadb-maxscale` to `/var/lib/maxscale/`.
|
||||
|
||||
## File location changes
|
||||
|
||||
MaxScale 1.2 follows the [FHS-standard](http://www.pathname.com/fhs/) and installs to `/usr/` and `/var/` subfolders. Here are the major changes and file locations.
|
||||
|
||||
* Configuration files are located in `/etc/` and use lowercase letters: `/etc/maxscale.cnf`
|
||||
* Binary files are in `/usr/bin/`
|
||||
* Libraries and modules are in `/usr/lib64/maxscale/`. If you are using custom modules, please make sure they are in this directory before starting MaxScale.
|
||||
* Log files are in the `var/log/maxscale/` folder
|
||||
* MaxScale's PID file is located in `/var/run/maxscale/maxscale.pid`
|
||||
* Data files and other persistent files are in `/var/lib/maxscale/`
|
||||
|
||||
## Running MaxScale without root permissions
|
||||
|
||||
MaxScale can run as a non-root user with the 1.2 version. RPM and DEB packages install the `maxscale` user and `maxscale` group which are used by the init scripts and systemd configuration files. If you are installing from a binary tarball, you can run the `postinst` script included in it to manually create these groups.
|
||||
Reference in New Issue
Block a user