Page tree

Versions Compared

Key

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

...

You must perform the MySQL installation using the installer script with the mysql argument. Run the following command.

Shell

curl "http://www.4psa.com/software/voipnowinstaller.sh" -o voipnowinstaller.sh -L

Run the installer with the mysql argument.


Shell
sh voipnowinstaller.sh mysql

When asked, enter the local server IP. This will be used later on, when installing the Infrastructure Controller.

...

A file called voipnowcredentials.conf will be generated. Its contents will be required when installing the Infrastructure Controller. If you want to add MySQL slaves, you can provision the infrastructure now and add them later. This will not affect the system uptime. However, to provision slave MySQL nodes, run the following command.

Shell
sh voipnowinstaller.sh mysql slave


Note
Please note that this command will only add the node. No MySQL replication will be performed.

Anchor
ic_setup
ic_setup

Install the Infrastructure Controller

...

Make sure that VoipNow knows where MySQL is installed by setting the shell environment variables below. You can copy these variables from the voipnowcredentials.conf file generated on the MySQL node installation.

Shell

export ALT_DB_HOST=<hostname>
export ALT_DB_PORT=<port>
export ALT_DB_USER=<user>
export ALT_DB_PASSWD=<password>
export ALT_DB_NAME=<database>

VoipNow will provision the system using the MySQL node that has been specified in the ALT_DB_HOST value as the master.

...

Click on the Infrastructure Properties button. Set up the infrastructure properties according to your physical infrastructure organization as described in the Infrastructure Advice section.

Note

In order to be able to add new nodes, you need to enable the distributed firewall rules by running the following command:

/usr/local/voipnow/admin/sbin/voipnow_firewall -o apply -d -t false


Anchor
provision_node
provision_node

...

Install VoipNow on the server where you want to run the Node. This container might have been already prepared. The installation of VoipNow must be performed in Stand-By Mode. For this purpose, run the following commands:

Shell
export VNSTANDBY=1
sh voipnowinstaller.sh


Note
VoipNow will be installed, but beware that this installation will not be able to run independently! The container is prepared to run a node at a later point, once it receives indications from the Infrastructure Controller.

Use the command below to get the node on this container.

Shell

/usr/local/voipnow/bin/nodeconfig --scenario activate --controller <infrastructure controller ip> --sessionkey <sessionkey>

The command is the one you got when you assigned the role on the offline node.

...

Note

For more info on VoipNow's upgrade procedure, visit this page.


4psarelated
NameRelated Topics

Set Up Infrastructure Properties

Add Node and Role

Set Up Role Parameters

...



Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.