Hi, today I tried to start a Percona XtraDB Cluster on Ubuntu 16.04, I’m using vestacp control panel, so Mysql is already installed.
In the first step of installing written in the percona website in third note of Prerequisites, I saw this note:
Very bad, dangerous and unacceptable solution by Percona!!!
As mentioned in comment sections of this tutorial, Disabling AppArmor in a wrong way will break your Ubuntu 14x -16x system and will remove a lot of programs!!
I tried sudo apt-get remove apparmor which was the solution of Percona, and I got this:
As you can see it is going to uninstall the Mysql, and as a result, it will break my whole vestacp server! Fortunately, I answered No and was able to save my life!
My question is what is the right solution to install PXC when Mysql is already installed?
[HR][/HR]PS: I was googling the whole day and found this tutorial:
But I couldn’t understand it completely, it was a little confusing.
1- First of all, Is it the solution I need for installing PXC when Mysql is already installed
2- What is that Start iterating title mean? Is it a mandatory step?
3- In top of the tutorial is written “you can just grab my profile”
Can I skip all the steps for even first node, and do these below steps for all nodes (without doing anything else! none of the other steps!)
(first installing apparmor-utils which is not mentioned in “Copy the profile” section):
apt install apparmor-utils