Skip to content

Commit

Permalink
[doc]upgrade guide (vesoft-inc#11)
Browse files Browse the repository at this point in the history
* [doc]upgrade guide

* delete spaces

* fix comments and udpate links

* update
  • Loading branch information
amber-moe authored and Liuxue-Yang committed Jun 11, 2020
1 parent 0d24f4d commit 9c01d15
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/manual-CN/5.appendix/upgrade-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Nebula Graph 升级指南

本文档介绍如何升级 Nebula Graph。对应版本升级指南见下文。

## 从 Nebula Graph RC3 升级至 RC4

- 首先停止所有机器的 Nebula 服务
- 在每一台机器执行 `scripts/nebula.service stop all` 命令
- 然后执行 `scripts/nebula.service status all` 命令确认进程已经退出
- 在每一台机器(根据系统环境)安装新的 `rpm`
- 下载安装包:`https://github.com/vesoft-inc/nebula/releases/tag/v1.0.0-rc4`
- 安装 Nebula:`rpm -Uvh nebula-1.0.0-rc4.el7-5.x86_64.rpm`
- 如果下载速度过慢,国内用户可在 OSS 下载对应安装包。
- [CentOS 6.5](https://nebula-graph.oss-cn-hangzhou.aliyuncs.com/package/1.0.0-rc4/nebula-1.0.0-rc4.el6-5.x86_64.rpm)
- [CentOS 7.5](https://nebula-graph.oss-cn-hangzhou.aliyuncs.com/package/1.0.0-rc4/nebula-1.0.0-rc4.el7-5.x86_64.rpm)
- [Ubuntu 16.04](https://nebula-graph.oss-cn-hangzhou.aliyuncs.com/package/1.0.0-rc4/nebula-1.0.0-rc4.ubuntu1604.amd64.deb)
- [Ubuntu 18.04](https://nebula-graph.oss-cn-hangzhou.aliyuncs.com/package/1.0.0-rc4/nebula-1.0.0-rc4.ubuntu1804.amd64.deb)
- 启动 Nebula 服务
- 在所有机器执行 `scripts/nebula.service start all` 命令
- 然后执行 `scripts/nebula.service status all` 确认进程正常启动
- **重新导入数据**
2 changes: 2 additions & 0 deletions docs/manual-CN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* [导入 .csv 文件](3.build-develop-and-administration/3.deploy-and-administrations/server-administration/storage-service-administration/data-import/import-csv-file.md)
* [加载 .sst 文件](3.build-develop-and-administration/3.deploy-and-administrations/server-administration/storage-service-administration/data-import/download-and-ingest-sst-file.md)
* [Nebula Graph 客户端](1.overview/2.quick-start/3.supported-clients.md)

* 系统设计与架构
* [设计总览](1.overview/3.design-and-architecture/1.design-and-architecture.md)
* [存储层架构](1.overview/3.design-and-architecture/2.storage-design.md)
Expand Down Expand Up @@ -157,6 +158,7 @@

* [Gremlin VS nGQL](5.appendix/gremlin-ngql.md)
* [Cypher V.S. nGQL](5.appendix/cypher-ngql.md)
* [升级 Nebula Graph](5.appendix/upgrade-guide.md)

## 其他

Expand Down
16 changes: 16 additions & 0 deletions docs/manual-EN/5.appendix/upgrade-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Nebula Graph Upgrading Guide

This document describes how to upgrade Nebula Graph. Find the corresponding upgrade guide to your version below.

## Upgrading From Nebula Graph RC3 t RC4

- Stop all the Nebula services
- Run `scripts/nebula.service stop all` command on each machine
- Then run `scripts/nebula.service status all` command to confirm all services have exited successfully
- Install the new `rpm` package on each machine
- Run `https://github.com/vesoft-inc/nebula/releases/tag/v1.0.0-rc4` command to download the package
- Then run `rpm -Uvh nebula-1.0.0-rc4.el7-5.x86_64.rpm` command to install Nebula
- Start Nebula services
- Run `scripts/nebula.service start all` command on each machine
- Then run `scripts/nebula.service status all` command to confirm all services have started successfully
- **Reimport your data**
1 change: 1 addition & 0 deletions docs/manual-EN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ It is the optimal solution in the world capable of hosting graphs with dozens of

* [Gremlin V.S. nGQL](5.appendix/gremlin-ngql.md)
* [Cypher V.S. nGQL](5.appendix/cypher-ngql.md)
* [Upgrading Nebula Graph](5.appendix/upgrade-guide.md)

## Misc

Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ nav:
- Appendix:
- Cypher & nGQL: manual-EN/5.appendix/cypher-ngql.md
- Gremlin & nGQL: manual-EN/5.appendix/gremlin-ngql.md
- Upgrading Nebula Graph: manual-EN/5.appendix/upgrade-guide.md




Expand Down

0 comments on commit 9c01d15

Please sign in to comment.