<?php require_once( dirname(dirname(dirname( __FILE__ ))) . '/wp-load.php' ); ?>
<!-- START of header -->
<?php get_header(); ?>
<!-- END of header -->

<!-- warapper -->

<div class="docs-content">
<!-- START of page navigation -->
<?php get_template_part( 'docs_navigation' ); ?>
<!-- END of page navigation -->
<!-- START of pusher -->
<div class="docs-content-body">
<div id="content" class="docs-content-body__inner">

<div id="outline-container-1" class="outline-3">
<h1 id="sec-1"><span class="section-number-3">6.4</span> Upgrading the Editions </h1>
<div class="outline-text-3" id="text-1">


<p>
Follow the procedure below to update the software.
</p>
<ul>
<li>
Stop the cluster
</li>
<li>
Stop the node
</li>
<li>
Make a backup copy of the definition file, database file and event log file
</li>
<li>
Update the software
</li>
<li>
Start the node
</li>
<li>
Configure the cluster

</li>
</ul>

<p>An example of the command execution in a machine in which the nodes have been started is shown below.
</p>
<p>
[Command execution example] 
</p>
    
<pre class="example">
$ gs_stopcluster -u admin/admin
$ gs_stopnode -u admin/admin
$ cp -rp /var/lib/gridstore/data /xxx/shelter  # copy just in case
$ cp -rp /var/lib/gridstore/log /xxx/shelter   # copy just in case
$ cp -rp /var/lib/gridstore/conf /xxx/shelter  # copy just in case
$ su
# rpm -Uvh griddb-server-Y.Y.Y-linux.x86_64.rpm
# rpm -Uvh griddb-client-Y.Y.Y-linux.x86_64.rpm
# rpm -Uvh griddb-docs-Y.Y.Y-linux.x86_64.rpm
# exit
$ gs_startnode
$ gs_joincluster -c configured cluster name -u admin/admin</pre>
<p>
*Y.Y.Y: Version of GridDB to update
</p>
</div>
</div>

</div>
</div>
</div>
<!-- / main -->

<?php get_footer(); ?>
