Once you have completed file system and OS configuration, you are now ready to install Xpand.
Log into each Xpand node as either the root Linux user, or a non-root Linux user that has sudo privileges.
Download the Xpand installation, then untar and run the installer script:
|shell> tar xvf xpand-current_version.el7.tar.bz2|
shell> cd xpand-current_version
shell> sudo ./xpdnode_install.py
The installer will present you with a list of options based on your server specifications. You may use the default values for most.
These network ports are required for communication between Xpand nodes. They must each be accessible by other nodes within the cluster.
|TCP||22||SSH||Administration and upgrade|
|TCP, UDP||2048||Control Port||Xpand specialized administrative tool|
|TCP, UDP||2424||Nanny Port||nanny - Xpand process manager|
|TCP||7888||clxdbi||Database interface for XpandGUI|
|TCP, UDP||24378 - 24410||Multiport||Xpand internode communication|
These network ports are used to access Xpand externally from your applications and for cluster administration.
|TCP||22||SSH||Remote management and cluster access|
|TCP||3581||Health Check||Heartbeat monitor for cluster|
*For root installation, XpandGUI uses port 80.
Repeat these steps on each node using the same configuration options.
Xpand requires a number of ports to be accessible by external applications and for internode communication. This step should be performed for all nodes.
Xpand recommends placing nodes within a secure environment and allowing access between all nodes on all ports.
From a single node only, connect to Xpand using the default mysql (MariaDB) client.
shell> sudo mysql
You can confirm you are running Xpand by examining the clustrix_version variable:
sql> SELECT @@clustrix_version;
Next, set a password for the root user, set the license and form a cluster:
Then run the following SQL commands to set the cluster's license:
sql> SET GLOBAL license = 'license key';
You are now ready to cluster your nodes.
shell> ALTER CLUSTER ADD ' node2_ip_address', 'node3_ip_address';
After the ALTER CLUSTER command, there will be a brief period of unavailability while the cluster forms.
To verify that all nodes are in the cluster, run the following query:
|select * from system.nodeinfo;|
All the nodes you added to the cluster should appear in this list.
Now that you have completed installation, proceed to Configure SSH Authentication.