Changing a Nominode's Configuration
Switching from a Local Database to a Remote Database
- Open a local, telnet or ssh session with your server.
- Navigate to the folder where your Nominode software is installed and execute these commands:
./docker-compose exec mysql mysqldump -u root -pmysqlroot nomnomdata | grep -v "Using a password" > backup.sql
docker run -i mysql:8 mysql -h <host> -P <port> -u <user> --password=<password> <database> < backup.sql
Edit the
config.ini file in the
config folder under the folder where your Nominode software is installed and change these lines:
[DATABASE]
hostname = <host>
port = <port>
username = <user>
password = <password>
database = <database>
db_engine = mysql
- For <host> specify the DNS name or IP of the MySQL server hosting your remote database.
- For <port> specify the port number that your MySQL server is listening on. 3306 is the usual port number.
- For <user> specify the user name of an account with write access to your remote database.
- For <password> specify the password corresponding to the account with write access to your remote database.
- For <database> specify the name of your remote database.
4. Execute this command to pickup the configuration changes and begin using the remote database:
Changing the DNS name of a Nominode
- Open a local, telnet or ssh session with your server.
- Navigate to the folder where your Nominode software is installed.
- Edit the .env file.
- Change the value after DNS_HOSTNAME= to match the new DNS name.
- Execute this command to pickup the configuration change:
./docker-compose up -d
- You should also update your Nominode's name and URI by following these steps:
- Open https://my.nomnomdata.com and click on the Login button in the upper right hand corner of the website.
- Log in using your Nom Nom Data account.
- Select Nominodes under the Manage menu in the upper right hand area of the website.
- Click on the name of the Nominode that you want to update.
- Change the Name and URI fields as desired.
- Regardless of changes made to your Nominode's name, URI or DNS, it will remain uniquely identified by it's UUID.
Related Articles
Nominode Installation and Configuration
Installing a Nominode 1. Create a Nom Nom Data account at https://auth.nomnomdata.com/sign-up 2. If the Nominode will be used by multiple people in your organization, setup the organization ...
Nominode Task Updates via CLI
Below, we will discuss retrieving, updating, creating and deleting a Task using the Nominode SDK. Command line interaction with Tasks and other components is a cornerstone for integrating your Nominode with source control systems and continuous ...
Performing Debug Steps on a Nominode
There are many pieces of information that can be gathered and commands that can be run when a Nominode is in an unhealthy state to investigate the source of the issue and to recover from it. All of the commands described below should be run in the ...
Managing Sequences on a Nominode
Sequences are used to schedule one or more Tasks to execute at specific times on a recurring basis. Sequences are also used allow one Task to begin execution after another Task completes its execution, rather than at a specific time. Creating a ...
Managing Shared Configs on a Nominode
Shared Configs are used to store a set of option values for use with multiple Tasks. Both Connections and Shared Configs are used for storing pieces of information shared across multiple Tasks. Connections are used to store the sensitive pieces ...