upgrade_cli.html revision 6f93ab0823430550df0e4836b30e3712e83b0270
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ! CDDL HEADER START
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ! The contents of this file are subject to the terms of the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ! Common Development and Distribution License, Version 1.0 only
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ! (the "License"). You may not use this file except in compliance
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder ! with the License.
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder ! You can obtain a copy of the license at
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ! See the License for the specific language governing permissions
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ! and limitations under the License.
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich ! When distributing Covered Code, include this CDDL HEADER in each
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich ! file and include the License file at
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich ! add the following below this CDDL HEADER, with the fields enclosed
a737caf82de97c1907027c03e4b4509eb492b4b8Christian Maeder ! by brackets "[]" replaced with your own identifying information:
68d10d143f29fcff3c637ba24f90e983995ceae6Christian Maeder ! Portions Copyright [yyyy] [name of copyright owner]
01e383014b555bbcf639c0ca60c5810b3eff83c0Christian Maeder ! CDDL HEADER END
df29370ae8d8b41587957f6bcdcb43a3f1927e47Christian Maeder ! Copyright 2007-2008 Sun Microsystems, Inc.
ce8b15da31cd181b7e90593cbbca98f47eda29d6Till Mossakowski <meta content="text/html; charset=ISO-8859-1"
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder<table style="width: 100%; text-align: left;" border="1" cellpadding="2"
2e2094a642e3775b0d76b890556407941d3a53b6Christian Maeder cellspacing="2">
e8db9a65830cf71504e33c6f441a67b4d184a3caChristian Maeder <td style="vertical-align: top;">Test ID</td>
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder <td style="vertical-align: top;">upgrade_cli</td>
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich <td style="vertical-align: top;"><big><big><small> </small></big></big>OpenDS
b1f59a4ea7c96f4c03a4d7cfcb9c5e66871cfbbbChristian MaederCLI upgrade command : upgrade and revert<br>
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder <td style="vertical-align: top;">- Install OpenDS previous
356fa49fe3e6a8398f92d13e9f920d0f093697ecChristian Maederbuild in {opends-path}, using setup CLI command
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder(http://www.opends.org/promoted-builds/)<br>
55adfe57a4de1f36adc3e3bfc16f342e44a7d444Christian Maeder- Verify the server is running <br>
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder- In the {opends-path}, run the command upgrade<br>
8d97ef4f234681b11bb5924bd4d03adef858d2d2Christian Maeder$ /upgrade -f {path to latest build zip file}<br>
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder- After the upgrade, verify that the server is running and that it's
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maederthe correct build number (for example run start-ds --version)<br>
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederThen revert the upgrade using upgrade CLI command<br>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder- In the {opends-path}, run the command upgrade<br>
1aee4aaddde105264c1faf394d88e302c05094ffChristian Maeder- After the revert upgrade, verify that the server is running and that
1aee4aaddde105264c1faf394d88e302c05094ffChristian Maederit's the correct build (for example run start-ds --version)<br>
c3053d57f642ca507cdf79512e604437c4546cb9Christian Maeder <td style="vertical-align: top;">Specific checks</td>
dcbd32289a7bdf1e6edd06c6ab0698c6a9dbf37aChristian Maeder <td style="vertical-align: top;">You can also use the interactive
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian MaederNote: as of January 2008 , for revert feature, interactive mode is OK
b886e9e5db2098d0112cc4f70aeba232962939ddChristian Maederthe non interactive mode as well (issues 2506 and 2508 FIXED) </td>