Skip to content

Commit

Permalink
v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bokuore committed Nov 3, 2018
1 parent 3322129 commit 325787c
Show file tree
Hide file tree
Showing 17 changed files with 71 additions and 8 deletions.
12 changes: 7 additions & 5 deletions docs/deployment.rst
Expand Up @@ -23,12 +23,12 @@ Installer会自行选择最合适的配置进行建议, **对于初次安装Na

安装Nano平台,只需要解压并执行Installer即可。只需要选择需要在当前服务器部署的模块,Installer会自动完成参数配置、依赖安装和模块部署。

以v0.4.1为例,在shell执行以下指令:
以v0.5.1为例,在shell执行以下指令:

::

$wget https://nanos.cloud/media/nano_installer_0.4.1.tar.gz
$tar zxfv nano_installer_0.4.1.tar.gz
$wget https://nanos.cloud/media/nano_installer_0.5.1.tar.gz
$tar zxfv nano_installer_0.5.1.tar.gz
$cd nano_installer
$./installer

Expand Down Expand Up @@ -175,11 +175,13 @@ NFS Server配置完成后,在Web门户上选择"Storage"=>"Create"创建新的

共享存储创建完成后,可以修改已有计算池的关联存储或者新建一个新的计算池,当新的Cell节点加入资源池后,Nano会自动同步并设置存储配置,无需用户干预。

已修改默认计算池default为例,在"Resource Pool"的资源池清单中,点击default资源池的"modify"图标,在编辑界面下拉菜单中选择新建的nfs-pool1
以修改默认计算池default为例,在"Resource Pool"的资源池清单中,点击default资源池的"modify"图标,在编辑界面下拉菜单中选择新建的nfs-pool1。

建议需要保证云主机实例高可用的用户打开"Failover/故障迁移"开关,当故障迁移生效时,如果Nano检测到某一Cell节点失联,会将该节点承载的云主机实例自动迁移到集群内其他节点恢复服务,详见“平台管理-故障迁移”章节。

.. image:: images/2_modify_pool.png

保存后查看资源池清单属性检查是否生效
修改后检查清单中相应属性和图标是否生效

.. image:: images/2_modify_pool_success.png

Expand Down
Binary file modified docs/images/2_modify_pool.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/2_modify_pool_success.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/3_1_create_instance.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/3_2_blank_system.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/3_3_prebuilt_image.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/3_4_ci_image.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/3_migrate_all_instance.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/3_migrate_all_instance_confirm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/3_migrate_instance.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/3_migrate_instance_confirm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/3_migrate_instance_finish.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/4_disable_cell.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/4_enable_failover.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions docs/index.rst
Expand Up @@ -9,7 +9,7 @@ Nano快速入门手册

本手册将快速而简要的介绍Nano平台从安装部署到日常管理的主要流程和常见功能,其他更详细内容请访问 `产品Wiki <https://github.com/project-nano/releases/wiki>`_ 了解

本手册内容对应 Nano v0.4.1 版本
本手册内容对应 Nano v0.5.1 版本

欢迎访问官方网站 https://nanos.cloud/ 或者加入官方QQ群 Nano Cloud( **819161083** )了解更多内容

Expand All @@ -33,11 +33,11 @@ Nano追求尽最大可能采用智能化和自动化手段替代繁琐易出错
最新功能一览
==============

- **资源池管理** :资源节点增删、云主机调度、实时资源用量监控(CPU/内存/磁盘/网络)、多层级资源下钻(集群/资源池/节点/实例)
- **资源池管理** :资源节点增删与禁用恢复、云主机调度、实时资源用量监控(CPU/内存/磁盘/网络)、多层级资源下钻(集群/资源池/节点/实例)
- **存储后端支持** :本地磁盘存储、NFS共享存储
- **云主机功能** :

- 生命周期管理:创建、释放、起停
- 生命周期管理:创建、释放、起停、实例迁移、故障迁移
- 配置管理:核心数、内存修改,磁盘扩容、压缩
- 虚拟机操作系统:重置密码、CPU/内存用量监控、磁盘自动格式化/挂载、修改主机名
- 远程管理:内嵌HTML5监控端、第三方VNC连接支持、VNC连接加密
Expand All @@ -48,6 +48,7 @@ Nano追求尽最大可能采用智能化和自动化手段替代繁琐易出错
- **平台管理** :自动识别组网、连接检测、模块起停、运行状态检测
- **辅助工具** :Installer安装包
- **浏览器支持** :Chrome/Firefox
- **语言支持** :中文/English


章节
Expand Down
35 changes: 35 additions & 0 deletions docs/instance.rst
Expand Up @@ -17,9 +17,11 @@ Nano中云主机是基于资源池创建的,Core收到创建云主机请求时
- 资源池:承载该实例的资源池名称,Nano会在指定资源池中选择合适的Cell节点进行创建
- 核心数:为云主机分配的核心数量,不建议设置超过Cell的最大物理线程数
- 内存:为云主机分配的内存大小,不能超过Cell的最大物理内存
- 系统版本:Nano会根据选择的版本对云主机硬件设置进行优化,在保证兼容性的情况提供更好的性能
- 系统磁盘:选择云主机系统磁盘的数据源,详情见后
- 数据磁盘:选择是否为云主机挂载额外的数据盘
- 开机启动:启用后,当Cell服务器开机时,会自动启动云主机实例
- 系统镜像:是否从预制镜像生成云主机系统盘的数据

.. image:: images/3_1_create_instance.png

Expand Down Expand Up @@ -167,3 +169,36 @@ Nano中云主机是基于资源池创建的,Core收到创建云主机请求时
此时,点击弹出镜像功能即可将光盘镜像从实例中卸载

.. image:: images/3_21_eject_media.png

实例迁移
==========

为了方便管理员手工优化资源配置和进行日常停机维护,Nano提供了云主机实例迁移功能。 **请注意,实例迁移必须基于后端共享存储使用。**

单实例迁移
------------

单实例迁移可以将一个实例迁移到指定Cell节点,用于优化资源配置或者服务性能。在云主机清单中选择已停机的实例,点击“Migrate/迁移”功能

.. image:: images/3_migrate_instance.png

在弹出菜单中选择迁移目标节点,确认后等待迁移完成即可。

.. image:: images/3_migrate_instance_confirm.png

迁移完成后可以看到云主机承载节点已变更(如果使用第三方远程管理工具,请注意此时监控地址也已经迁移到新Cell节点,请查看云主机详情获取新地址)

.. image:: images/3_migrate_instance_finish.png

全节点迁移
------------

全节点迁移是将一个Cell节点的所有实例迁移到其他节点上,通常用于停机维护或者服务器搬迁。

在Cell节点列表中,点击“Migrate/迁移”功能

.. image:: images/3_migrate_all_instance.png

在弹出菜单中选择迁移目标节点,确认后等待迁移完成即可。

.. image:: images/3_migrate_all_instance_confirm.png
25 changes: 25 additions & 0 deletions docs/platform.rst
Expand Up @@ -59,3 +59,28 @@ Nano可以将任意云主机的系统磁盘制作成磁盘镜像,然后从镜


当镜像制作完毕后,你就可以在新建云主机时选择从该镜像克隆实例了。

故障迁移
==========

当计算资源池使用共享存储作为后端存储时,可以开启故障迁移(Failover)开关。功能开启后,如果Nano平台检测到某一Cell节点失联,会自动将该节点管理的云主机实例迁移到集群内的一个或者多个Cell节点上。

.. image:: images/4_enable_failover.png

如果原实例设置了自动启动,则迁移完成后,系统会自动将实例启动进入服务状态。

**如果失联Cell节点恢复并重新加入Nano集群,系统将自动清除该Cell上的所有实例,并将该Cell置于禁用状态,管理员需要手动重新启用节点。**

禁用节点
==========

默认情况下,Nano会在资源池中选择负载较低的活动Cell节点创建云主机实例,但是用户可以选择手动禁用Cell节点,来避免在该节点上分配新的云主机实例,便于进行维护或者控制节点负载。

.. image:: images/4_disable_cell.png

禁用的节点上云主机依然正常运行和管理,不受影响。禁用节点可以稍后手动重新启用,恢复承接新实例。

多语言
========

Nano管理页面目前支持中文、英文两种语言,可以在界面开关切换,Nano会记住用户选项,只需选择一次,不用反复设置。

0 comments on commit 325787c

Please sign in to comment.