[ENT-1876]: Make clear in documentation that you need to run db migration before starting node. (#1007)

This commit is contained in:
Michele Sollecito 2018-06-15 13:44:35 +01:00 committed by GitHub
parent f3fb03a455
commit e2ac5f3315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 5 deletions

View File

@ -163,14 +163,17 @@ handling, and ensures the Corda service is run at boot.
11. Provision the required certificates to your node. Contact the network permissioning service or see
:doc:`permissioning`
12. **SystemD**: You can now start a node and its webserver and set the services to start on boot by running the
12. Depending on the versions of Corda and of the CorDapps used, database migration scripts might need to run before a node is able to start.
For more information refer to :doc:`database-management`
13. **SystemD**: You can now start a node and its webserver and set the services to start on boot by running the
following ``systemctl`` commands:
* ``sudo systemctl daemon-reload``
* ``sudo systemctl enable --now corda``
* ``sudo systemctl enable --now corda-webserver``
12. **Upstart**: You can now start a node and its webserver by running the following commands:
13. **Upstart**: You can now start a node and its webserver by running the following commands:
* ``sudo start corda``
* ``sudo start corda-webserver``
@ -264,11 +267,14 @@ at boot, and means the Corda service stays running with no users connected to th
10. Provision the required certificates to your node. Contact the network permissioning service or see
:doc:`permissioning`
11. Run the batch file by clicking on it or from a command prompt
11. Depending on the versions of Corda and of the CorDapps used, database migration scripts might need to run before a node is able to start.
For more information refer to :doc:`database-management`
12. Run ``services.msc`` and verify that a service called ``cordanode1`` is present and running
12. Run the batch file by clicking on it or from a command prompt
13. Run ``netstat -ano`` and check for the ports you configured in ``node.conf``
13. Run ``services.msc`` and verify that a service called ``cordanode1`` is present and running
14. Run ``netstat -ano`` and check for the ports you configured in ``node.conf``
* You may need to open the ports on the Windows firewall

View File

@ -90,3 +90,8 @@ After the nodes are started up, you can use ``docker ps`` command to see how the
(Community Edition) is enough. Please refer to `Docker CE documentation <https://www.docker.com/community-edition>`_
and `Docker Compose documentation <https://docs.docker.com/compose/install/>`_ for installation instructions for all
major operating systems.
Database migrations
-------------------
Depending on the versions of Corda and of the CorDapps used, database migration scripts might need to run before a node is able to start.
For more information refer to :doc:`database-management`.