SoftLayer虚拟访客主机状态列表 [英] SoftLayer Virtual Guest host Status list

查看:74
本文介绍了SoftLayer虚拟访客主机状态列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

创建虚拟访客时,我需要了解虚拟访客有关运行,活动和配置脚本执行结果的信息.

When I create a Virtual Guest, I need to know the Virtual Guest about Running, Active, and provision scripts execution result.

众所周知,对于硬件,主机配置具有以下状态:

As we know for the Hardware there have below status for the host provisioning:

* '''ACTIVE''': This server is active and in use.
* '''DEPLOY''': Used during server provisioning.
* '''DEPLOY2''': Used during server provisioning.
* '''MACWAIT''': Used during server provisioning.
* '''RECLAIM''': This server has been reclaimed by SoftLayer and is awaiting de-provisioning.
* 
* Status from SoftLayer Host Power State:
* '''Halted''': This Virtual Server Power State is Power off
* '''Running''': This Virtual Server Power State is Power on

所以我想知道Virtual Guest Object的完整状态列表以及SoftLayer主机电源状态的完整列表.

So I want to know the full status list for Virtual Guest Object, and full list of SoftLayer Host Power State.

推荐答案

虚拟机的状态为:

SoftLayer虚拟访客状态的状态: *''ACTIVE'':虚拟访客处于活动状态并且正在使用中.

Status for SoftLayer Virtual Guest State: * '''ACTIVE''': The virtual guest is active and in use.

  • '''DISABLED''':虚拟访客已禁用.
  • '''INACTIVE''':虚拟来宾处于非活动状态.
  • '''DELETED''':虚拟访客已被回收.
  • 'ACTIVE UTILITY'":这是针对Net Scaler的.
  • '''DISCONNECTED''':当出于安全原因断开网络接口时使用.
  • '''RESOURCE RESERVE''':下订单时使用,保留一个实例,然后将其删除.
  • '''DISABLED''': The virtual guest is disabled.
  • '''INACTIVE''': The virtual guest is inactive.
  • '''DELETED''': The virtual guest has been reclaimed.
  • '''ACTIVE UTILITY''': This is for Net Scalers.
  • '''DISCONNECTED''': This is used when the network interfaces were disconnected for security reasons.
  • '''RESOURCE RESERVE''': This is used when an order has been placed, an instance is reserved, after that, it’s removed.

SoftLayer虚拟客户机电源状态的状态:

Status for SoftLayer Virtual Guest Power State:

  • '''Halted''':此虚拟访客电源状态已关闭
  • '''正在运行''':此虚拟访客电源状态已打开
  • '''已暂停''':此虚拟访客已被暂停
  • '''已暂停''':此状态是在删除VSI之前设置的
  • ''``未知'''':
  • '''Halted''': This virtual guest power state is Powered off
  • '''Running''': This virtual guest power state is Powered on
  • '''Paused''': This virtual guest has been paused
  • '''Suspended''': This status is set before the VSI is deleted
  • '''Unknown''':

关于知道配置脚本的结果,目前没有任何状态,唯一的方法是登录到计算机,并查看脚本是否运行以获取更多信息,请参见此

regarding to know the result of the provisioning scripts, currenlty there is no status for that, the only way is loggin into the machine and see if the script ran for more information please see this https://sldn.softlayer.com/blog/jarteche/getting-started-user-data-and-post-provisioning-scripts

此外,正如您所看到的那样,这是部署过程中的VSI没有状态,如果您想知道这一点,我建议您看一下事务.当部署,重新加载或升级过程正在运行时,将创建一个事务,您可以通过调用以下方法来查看相关事务:

Also as you can see the VSIs do not have status when this is deploy proccess, in case you want to know this I recomend you to take a look the transaction. When a deploy or reload or upgrade proccess is running a transaction is created and you can see the related transaction by calling this method:

http://sldn.softlayer.com/reference/services/SoftLayer_Virtual_Guest/getActiveTransaction

如果结果不同于空值(表示事务正在运行),则事务本身包含有关正在运行的过程的更多信息

if the result is different from empty that means that a transaction is running, the transaction itself contains more information about the proccess that is running

我希望对您有帮助

致谢

这篇关于SoftLayer虚拟访客主机状态列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆