<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<html>
|
<head>
|
<!--
|
! CDDL HEADER START
|
!
|
! The contents of this file are subject to the terms of the
|
! Common Development and Distribution License, Version 1.0 only
|
! (the "License"). You may not use this file except in compliance
|
! with the License.
|
!
|
! You can obtain a copy of the license at
|
! trunk/opends/resource/legal-notices/OpenDS.LICENSE
|
! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
|
! See the License for the specific language governing permissions
|
! and limitations under the License.
|
!
|
! When distributing Covered Code, include this CDDL HEADER in each
|
! file and include the License file at
|
! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
|
! add the following below this CDDL HEADER, with the fields enclosed
|
! by brackets "[]" replaced with your own identifying information:
|
! Portions Copyright [yyyy] [name of copyright owner]
|
!
|
! CDDL HEADER END
|
!
|
! Copyright 2007-2008 Sun Microsystems, Inc.
|
! -->
|
<meta content="text/html; charset=ISO-8859-1"
|
http-equiv="content-type">
|
<title>upgrage_cli</title>
|
</head>
|
<body>
|
<br>
|
<table style="width: 100%; text-align: left;" border="1" cellpadding="2"
|
cellspacing="2">
|
<tbody>
|
<tr>
|
<td style="vertical-align: top;">Test ID</td>
|
<td style="vertical-align: top;">upgrade_cli</td>
|
</tr>
|
<tr>
|
<td style="vertical-align: top;">Panel<br>
|
</td>
|
<td style="vertical-align: top;"><big><big><small> </small></big></big>OpenDS
|
CLI upgrade command : upgrade and revert<br>
|
</td>
|
</tr>
|
<tr>
|
<td style="vertical-align: top;">Items<br>
|
</td>
|
<td style="vertical-align: top;">- Install OpenDS previous
|
build in {opends-path}, using setup CLI command
|
(http://www.opends.org/promoted-builds/)<br>
|
- Verify the server is running <br>
|
- In the {opends-path}, run the command upgrade<br>
|
$ ./upgrade -f {path to latest build zip file}<br>
|
- After the upgrade, verify that the server is running and that it's
|
the correct build number (for example run start-ds --version)<br>
|
<br>
|
Then revert the upgrade using upgrade CLI command<br>
|
- In the {opends-path}, run the command upgrade<br>
|
$ ./upgrade -r <br>
|
- After the revert upgrade, verify that the server is running and that
|
it's the correct build (for example run start-ds --version)<br>
|
<br>
|
</td>
|
</tr>
|
<tr>
|
<td style="vertical-align: top;">Specific checks</td>
|
<td style="vertical-align: top;">You can also use the interactive
|
mode<br>
|
Note: as of January 2008 , for revert feature, interactive mode is OK
|
and
|
the non interactive mode as well (issues 2506 and 2508 FIXED) </td>
|
</tr>
|
</tbody>
|
</table>
|
<br>
|
<br>
|
<br>
|
</body>
|
</html>
|