source/adminguide/locale/zh_CN/LC_MESSAGES/virtual_machines.po (1,745 lines of code) (raw):

# SOME DESCRIPTIVE TITLE. # Copyright (C) # This file is distributed under the same license as the Apache CloudStack Administration Documentation package. # # Translators: msgid "" msgstr "" "Project-Id-Version: Apache CloudStack Administration RTD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-06-30 12:52+0200\n" "PO-Revision-Date: 2014-06-30 12:05+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Chinese (China) (http://www.transifex.com/projects/p/apache-cloudstack-administration-rtd/language/zh_CN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" # 825181279d9643c3ae9e1a485765f79a #: ../../virtual_machines.rst:18 msgid "Working with Virtual Machines" msgstr "使用虚拟机" # 8ef9955cc01742fb833f6f4cb20ddc40 #: ../../virtual_machines.rst:21 msgid "About Working with Virtual Machines" msgstr "关于虚拟机的使用" # 5dfc79c076ae4bcf9b78cbc7e7998fb1 #: ../../virtual_machines.rst:23 msgid "" "CloudStack provides administrators with complete control over the lifecycle " "of all guest VMs executing in the cloud. CloudStack provides several guest " "management operations for end users and administrators. VMs may be stopped, " "started, rebooted, and destroyed." msgstr "CloudStack在云中为管理员提供了完整的管理所有来宾VMs整个生命周期的功能。CloudStack为终端用户和管理员提供了许多来宾虚机管理操作。VMs能被关机、开机、重启和销毁。" # a74753cd5a1e4e87b2b25bb214d76583 #: ../../virtual_machines.rst:28 msgid "" "Guest VMs have a name and group. VM names and groups are opaque to " "CloudStack and are available for end users to organize their VMs. Each VM " "can have three names for use in different contexts. Only two of these names " "can be controlled by the user:" msgstr "来宾VMs有名称和组。VM的名称和组对于CloudStack是不透明的,对终端用户整理他们的VMs可用。每个VM可以有三个用于不同环境的名称。其中有两个名字受用户控制:" # 33b7dd1035fe468788852c131410d355 #: ../../virtual_machines.rst:33 msgid "" "Instance name – a unique, immutable ID that is generated by CloudStack and " "can not be modified by the user. This name conforms to the requirements in " "IETF RFC 1123." msgstr "实例名称 – 一个唯一的,不可变的由CloudStack生成的ID,此ID不能被用户修改。此名称符合 IETF RFC 1123中的要求。" # f1b72ed931524f89a7d072ed361a635e #: ../../virtual_machines.rst:37 msgid "" "Display name – the name displayed in the CloudStack web UI. Can be set by " "the user. Defaults to instance name." msgstr "显示名称 – 在CloudStack UI中显示的名称。可以由用户设置。默认跟实例名称一致。" # adc0efb3ff154603a38bf9294009ac65 #: ../../virtual_machines.rst:40 msgid "" "Name – host name that the DHCP server assigns to the VM. Can be set by the " "user. Defaults to instance name" msgstr "名称 – 由DHCP服务器分配给VM的主机名。可以由用户设置。默认跟实例名称一致。" # 14d2256532ea4ba9ab19bed35890856a #: ../../virtual_machines.rst:44 msgid "" "You can append the display name of a guest VM to its internal name. For more" " information, see `“Appending a Display Name to the Guest VM’s Internal " "Name” <#appending-a-display-name-to-the-guest-vms-internal-name>`_." msgstr "你能把来宾VM的显示名附加到它的内部名称上。更多信息,请参考 `“将显示名附加到VM的内部名称” <#appending-a-display-name-to-the-guest-vms-internal-name>`_." # a8d661456c4f45b28ad427c44e9b6325 #: ../../virtual_machines.rst:48 msgid "" "Guest VMs can be configured to be Highly Available (HA). An HA-enabled VM is" " monitored by the system. If the system detects that the VM is down, it will" " attempt to restart the VM, possibly on a different host. For more " "information, see HA-Enabled Virtual Machines on" msgstr "来宾VMs可以配置成高可用(HA)。启用了HA的VM由系统监控。如果系统检测到此VM宕机,它可能将尝试在不同的主机上重启VM。更多信息,请参考在虚拟机上启用HA" # 5305c3fec9d94b62aa5980618331557e #: ../../virtual_machines.rst:53 msgid "" "Each new VM is allocated one public IP address. When the VM is started, " "CloudStack automatically creates a static NAT between this public IP address" " and the private IP address of the VM." msgstr "每个新VM都有一个公共网络IP地址。当VM启动后,CloudStack为此VM的公共网络IP地址与内网IP地址自动创建一个静态NAT。" # 587dd3d141fc46bca48b617989e96f59 #: ../../virtual_machines.rst:57 msgid "" "If elastic IP is in use (with the NetScaler load balancer), the IP address " "initially allocated to the new VM is not marked as elastic. The user must " "replace the automatically configured IP with a specifically acquired elastic" " IP, and set up the static NAT mapping between this new IP and the guest " "VM’s private IP. The VM’s original IP address is then released and returned " "to the pool of available public IPs. Optionally, you can also decide not to " "allocate a public IP to a VM in an EIP-enabled Basic zone. For more " "information on Elastic IP, see `“About Elastic IP” <networking2.html#about-" "elastic-ip>`_." msgstr "如果使用了弹性IP(与Netscaler负载均衡同时使用),初始分配给新VM的IP地址并没有标记为弹性的。用户必须将自动配置IP改为获得一个弹性IP,并在新IP与来宾VM的内网IP之间设置静态NAT映射。VM的原始IP地址随后会被释放到可用公共网络IPs池中。同样,你也可以在启用了EIP的基础zone中不为VM分配公网IP。关于弹性IP的更多信息,请参考`“关于弹性IP” <networking2.html#about-elastic-ip>`_。" # 6fbeb0da9ef448f98d0a7a11b1032be6 #: ../../virtual_machines.rst:67 msgid "" "CloudStack cannot distinguish a guest VM that was shut down by the user " "(such as with the “shutdown” command in Linux) from a VM that shut down " "unexpectedly. If an HA-enabled VM is shut down from inside the VM, " "CloudStack will restart it. To shut down an HA-enabled VM, you must go " "through the CloudStack UI or API." msgstr "CloudStack不能区分是VM突然关机还是用户对来宾VM进行的关机操作(像Linux中的“shutdown”命令)。如果从启用了HA功能的VM系统中执行了关机操作,CloudStack会重启它。要对启用了HA功能的VM进行关机操作,你必须通过CloudStack UI或者API。" # 9787aabb3dc94e8db7a5de0c51ea7443 #: ../../virtual_machines.rst:75 msgid "Best Practices for Virtual Machines" msgstr "虚拟机的最佳实践" # 6372fe37d9ed4beeb1424ae97b03ad24 #: ../../virtual_machines.rst:77 msgid "" "For VMs to work as expected and provide excellent service, follow these " "guidelines." msgstr "为了让VMs能够按照预期的工作并提供最好的服务,请按照下面的指导进行操作。" # d2a792bb33c2418bba1e90839b5208d4 #: ../../virtual_machines.rst:82 msgid "Monitor VMs for Max Capacity" msgstr "监视VMs的最大容量" # aaa155f7b055496592fb19179ed93f73 #: ../../virtual_machines.rst:84 msgid "" "The CloudStack administrator should monitor the total number of VM instances" " in each cluster, and disable allocation to the cluster if the total is " "approaching the maximum that the hypervisor can handle. Be sure to leave a " "safety margin to allow for the possibility of one or more hosts failing, " "which would increase the VM load on the other hosts as the VMs are " "automatically redeployed. Consult the documentation for your chosen " "hypervisor to find the maximum permitted number of VMs per host, then use " "CloudStack global configuration settings to set this as the default limit. " "Monitor the VM activity in each cluster at all times. Keep the total number " "of VMs below a safe level that allows for the occasional host failure. For " "example, if there are N hosts in the cluster, and you want to allow for one " "host in the cluster to be down at any given time, the total number of VM " "instances you can permit in the cluster is at most (N-1) \\* (per-host-" "limit). Once a cluster reaches this number of VMs, use the CloudStack UI to " "disable allocation of more VMs to the cluster." msgstr "管理员应该监视每个集群中的虚拟机实例的总数,如果总量快达到hypervisor允许的最大虚拟机数量时,不再向此群集分配虚拟机。并且,要注意为主机预留一定的计算能力,以防止群集中有主机发生故障,因为发生故障的主机上的虚拟机需要重新部署在这些预留主机上。请咨询您所选择hypervisor的文档,了解此hypervisor能支持的最大虚拟机数量,并将此数值设置在CloudStack的全局设置里。监控每个群集里虚拟机的活跃程序,并将活跃虚拟机保持在一个安全线内。这样,CloudStack就能允许偶尔的主机故障。举个示例:如果集群里有N个主机,而你只能让其中任一主机的停机时间不超过特定时间。那么,你能在此集群部署的最多虚拟主机数量值为:(N-1) \\* (每主机最大虚拟量数量限值)。一旦群集中的虚拟机达到此数量,必须在CloudStack的用户界面中禁止向此群集分配新的虚拟机。" # e6554027f7f9466a8a5ab12bbbf30fb9 #: ../../virtual_machines.rst:103 msgid "Install Required Tools and Drivers" msgstr "安装需要的工具和驱动" # 6b07dcd845a944ea872a6ace009f7f24 #: ../../virtual_machines.rst:105 msgid "Be sure the following are installed on each VM:" msgstr "确认在每个VM上都安装了下列软件和驱动:" # 31fe2e3e61ec4b15865970eafecc35df #: ../../virtual_machines.rst:107 msgid "" "For XenServer, install PV drivers and Xen tools on each VM. This will enable" " live migration and clean guest shutdown. Xen tools are required in order " "for dynamic CPU and RAM scaling to work." msgstr "对于XenServer,在每个VM上安装PV驱动和Xen tools。这将启用动态迁移和干净的来宾虚机关机。安装Xen tools也是为了使动态的CPU和RAM扩展能够工作。" # 59c6618b482a4e8590293c7da8aaf7ef #: ../../virtual_machines.rst:111 msgid "" "For vSphere, install VMware Tools on each VM. This will enable console view " "to work properly. VMware Tools are required in order for dynamic CPU and RAM" " scaling to work." msgstr "对于vSphere,在每台VM上安装VMware Tools。这是为了能让控制台查看正常工作。安装VMware Tools也是为了使动态的CPU和RAM扩展能够工作。" # 0054a653c9ee4d008cb5fff30bcb3de8 #: ../../virtual_machines.rst:115 msgid "" "To be sure that Xen tools or VMware Tools is installed, use one of the " "following techniques:" msgstr "使用下面其中一个方法确认已经安装了Xen tools或VMware Tools:" # 183593c0142745a49f4f2a3791981e31 #: ../../virtual_machines.rst:118 msgid "" "Create each VM from a template that already has the tools installed; or," msgstr "从已经安装了tools的模板创建的每个VM;或者," # 4ad9dec1226046d48a5dba3598abbf0a #: ../../virtual_machines.rst:121 msgid "" "When registering a new template, the administrator or user can indicate " "whether tools are installed on the template. This can be done through the UI" " or using the updateTemplate API; or," msgstr "当注册一个新的模板时,管理员或者用户可以标示出哪个在模板上安装了tools。这可以通过UI或者使用updateTemplate API来做;或者," # 3a12a213c40345018c066a0ec37e65a9 #: ../../virtual_machines.rst:125 msgid "" "If a user deploys a virtual machine with a template that does not have Xen " "tools or VMware Tools, and later installs the tools on the VM, then the user" " can inform CloudStack using the updateVirtualMachine API. After installing " "the tools and updating the virtual machine, stop and start the VM." msgstr "如果用户通过一个没有安装Xen tools或者VMware Tools的模板部署虚机,然后在VM上安装了tools,之后用户可以使用updateVirtualMachine API告知CloudStack。在安装tools和更新虚拟机之后,请重启虚拟机。" # b7a0169d017a496787e38b9e50311a88 #: ../../virtual_machines.rst:133 msgid "VM Lifecycle" msgstr "虚拟机的生命周期" # 0af797cf30df4ac984c7b8d11ede977e #: ../../virtual_machines.rst:135 msgid "Virtual machines can be in the following states:" msgstr "虚拟机可能处于下列状态:" # f5d2991885b4440f8c7062a60633f065 #: ../../virtual_machines.rst:137 msgid "|basic-deployment.png|" msgstr "|basic-deployment.png|" # 4c2d3ebcce3744b481035492578b6e3c #: ../../virtual_machines.rst:139 msgid "" "Once a virtual machine is destroyed, it cannot be recovered. All the " "resources used by the virtual machine will be reclaimed by the system. This " "includes the virtual machine’s IP address." msgstr "一旦一个虚拟机被销毁,那么它就不能被恢复。该虚拟机使用的所有资源被系统回收。其中包括虚拟机的IP地址。" # 08c95a701e5348e789bd295aa7819d86 #: ../../virtual_machines.rst:143 msgid "" "A stop will attempt to gracefully shut down the operating system, which " "typically involves terminating all the running applications. If the " "operation system cannot be stopped, it will be forcefully terminated. This " "has the same effect as pulling the power cord to a physical machine." msgstr "停止操作是比较稳妥的关闭操作系统的方式,因为这样做能正常的关闭所有正在运行的应用程序。如果操作系统不能被停止,才要强制关闭它。这么做跟拔掉物理机器的电源线是一个效果。" # 6d5fb2afbc1e44ad842f052187cc201f #: ../../virtual_machines.rst:149 msgid "A reboot is a stop followed by a start." msgstr "重启是关机再开机的过程。" # eb78f755807e4fe59ff45bc534fa6dc5 #: ../../virtual_machines.rst:151 msgid "" "CloudStack preserves the state of the virtual machine hard disk until the " "machine is destroyed." msgstr "CloudStack会保存虚机硬盘的状态直到它被销毁。" # e18941c1f49b40d4ae53034763c41e57 #: ../../virtual_machines.rst:154 msgid "" "A running virtual machine may fail because of hardware or network issues. A " "failed virtual machine is in the down state." msgstr "正在运行的虚机可能会因为硬件或者网络故障而出现问题。出现问题的虚机是down状态。" # 73bd5337e5854464a320f36cca3d4964 #: ../../virtual_machines.rst:157 msgid "" "The system places the virtual machine into the down state if it does not " "receive the heartbeat from the hypervisor for three minutes." msgstr "如果系统在三分钟内收不到hypervisor的心跳信号,那么它就会将虚机切换至down状态。" # a45ff69a534b47189b4457ff2d058d8c #: ../../virtual_machines.rst:160 msgid "The user can manually restart the virtual machine from the down state." msgstr "用户能够手动从down状态下重启虚机。" # 42d0a445aab2404abad8ce54e6ff5947 #: ../../virtual_machines.rst:162 msgid "" "The system will start the virtual machine from the down state automatically " "if the virtual machine is marked as HA-enabled." msgstr "如果虚机被标记上启用了HA,那么系统会自动地重启down状态中的虚机。" # fdeb58579e7749fe88bdf405f79049e5 #: ../../virtual_machines.rst:167 msgid "Creating VMs" msgstr "创建VMs" # 7453d7d0a14e4a9dab16d5580766c5d5 #: ../../virtual_machines.rst:169 msgid "" "Virtual machines are usually created from a template. Users can also create " "blank virtual machines. A blank virtual machine is a virtual machine without" " an OS template. Users can attach an ISO file and install the OS from the CD" "/DVD-ROM." msgstr "虚拟机通常是从模板创建的。用户也能创建空白虚拟机。空白虚拟机就是一个重新安装的操作系统。用户可以通过CD/DVD-ROM加载ISO文件安装。" # 3edf15d4b2054f90ae481e9bde143346 #: ../../virtual_machines.rst:175 msgid "" "You can create a VM without starting it. You can determine whether the VM " "needs to be started as part of the VM deployment. A request parameter, " "startVM, in the deployVm API provides this feature. For more information, " "see the Developer's Guide." msgstr "你可以创建一个VM,但不要启动它。你来决定此VM是否需要作为VM部署的一部分而启动。在deployVm API里面提供了一个startVM参数,提供了这个功能。更多信息,请参考开发者指导。" # e3cf740a72c247ea8cdb5ff298a2e7b3 #: ../../virtual_machines.rst:180 msgid "To create a VM from a template:" msgstr "从模板创建一个VM。" # 6b4fb12f7826449389052e48b175bf9a # 1c346e18dafd4ac7977a7dc98d85926c # 4d63920f853642a68b92f2632d3a1ba1 # d667b7df24994fc4ac857e47436efd5d #: ../../virtual_machines.rst:182 ../../virtual_machines.rst:212 #: ../../virtual_machines.rst:330 ../../virtual_machines.rst:366 msgid "Log in to the CloudStack UI as an administrator or user." msgstr "用管理员或用户账号登录CloudStack UI。" # 243b4d8b914d49d19dd68312aae2042a # fbbc9105a1f14883918e0460b902a681 # 74fc4567c9104ff0ae51ec0d88dc5006 #: ../../virtual_machines.rst:184 ../../virtual_machines.rst:214 #: ../../virtual_machines.rst:368 msgid "In the left navigation bar, click Instances." msgstr "在左侧导航栏,点击实例" # be1be45993694cb6ab943a5c229ac71e # 7d1b7b4f15c349c68567df62e225bc34 #: ../../virtual_machines.rst:186 ../../virtual_machines.rst:216 msgid "Click Add Instance." msgstr "点击添加实例。" # 64202b2c542d459596118bf9dd4ad508 # 7f1cbee620c946a88f43e9b6c8f1e9bf #: ../../virtual_machines.rst:188 ../../virtual_machines.rst:218 msgid "Select a zone." msgstr "选择一个区域。" # a0aa0f810b974edcb1d8f305c1b24a5d #: ../../virtual_machines.rst:190 msgid "" "Select a template, then follow the steps in the wizard. For more information" " about how the templates came to be in this list, see `*Working with " "Templates* <templates.html>`_." msgstr "选择一个模板,然后按照向导中的步骤操作。更多关于如何上传模板的更多信息,请参考`*使用模板* <templates.html>`_。" # 33bbf5e131484a929c10053278adddde #: ../../virtual_machines.rst:194 msgid "" "Be sure that the hardware you have allows starting the selected service " "offering." msgstr "确认​你​的​硬​件​设​备​满足​运​行​所​选​的​服​务条件。" # 9a01eecf26a748e198056df4f7e9b825 # 82109b204e5841308ff5e74b12cf24a4 #: ../../virtual_machines.rst:197 ../../virtual_machines.rst:222 msgid "Click Submit and your VM will be created and started." msgstr "点击提交,你的VM就会被创建并启动。" # 7a2965e6d5004b7088a5e5bc18da649c #: ../../virtual_machines.rst:200 msgid "" "For security reason, the internal name of the VM is visible only to the root" " admin." msgstr "出于安全原因,VM的内部名称仅root管理员可见。" # c19e66233eaa4d00b5b615550ebc0c11 #: ../../virtual_machines.rst:203 msgid "To create a VM from an ISO:" msgstr "从ISO创建虚拟机:" # ff3d83c8dc1b40baab04b8c1bcfe3619 #: ../../virtual_machines.rst:206 msgid "" "(XenServer) Windows VMs running on XenServer require PV drivers, which may " "be provided in the template or added after the VM is created. The PV drivers" " are necessary for essential management functions such as mounting " "additional volumes and ISO images, live migration, and graceful shutdown." msgstr "(XenServer)XXenServer上运行的Windows VMs需要安装PV驱动,它可能在模板中或在创建完VM后添加。PV驱动对于基本的管理功能是必要的,比如挂载额外的卷和ISO镜像、在线迁移和正常关机。" # aceacbbcfec4422e939ff1ed89aa25c5 #: ../../virtual_machines.rst:220 msgid "Select ISO Boot, and follow the steps in the wizard." msgstr "选择ISO启动,然后按照向导中的步骤进行操作。" # a843dc7f749c44d89ba116d3c6af89f8 #: ../../virtual_machines.rst:226 msgid "Accessing VMs" msgstr "访问VMs" # 0bf035db01dd401abc60fc76e71330ba #: ../../virtual_machines.rst:228 msgid "" "Any user can access their own virtual machines. The administrator can access" " all VMs running in the cloud." msgstr "任​何​用​户​都可​以​访​问​他​们​自​己​的​虚​拟​机​。​管​理​员​能​够​访​问​在​云​中​运​行​的​所​有​虚​拟​机​。" # ff40a54bdc2e4f3f8b310d37998c096b # b719e6aa6218441b864dbd9dbb664b20 #: ../../virtual_machines.rst:231 ../../virtual_machines.rst:555 msgid "To access a VM through the CloudStack UI:" msgstr "通过CloudStack UI访问VM:" # 72fdf34366e84d53a902f30170e96826 # 3b5b89a3e29346439a79e6c9625ab11a # 5d3ec5e17ef1449a85064c70381209dc # 151cdfe9cd414184908d5b1c15cc7de9 # 995bd5571b2446418ec4a6f27a17fe5f #: ../../virtual_machines.rst:233 ../../virtual_machines.rst:557 #: ../../virtual_machines.rst:618 ../../virtual_machines.rst:792 #: ../../virtual_machines.rst:820 msgid "Log in to the CloudStack UI as a user or admin." msgstr "使用用户或管理员登录到CloudStack用户界面。" # c09833ddb4424c4e82d2b49397dbf82e #: ../../virtual_machines.rst:235 msgid "Click Instances, then click the name of a running VM." msgstr "点击实例,然后点击运行VM的名字。" # 7276130f1e014d969cbd9246b1310121 #: ../../virtual_machines.rst:237 msgid "Click the View Console button |console-icon.png|." msgstr "点击查看控制台按钮 |console-icon.png|。" # c06df9b367c1493a908523e863cade69 #: ../../virtual_machines.rst:239 msgid "To access a VM directly over the network:" msgstr "通过网络直接访问VM:" # 3a9997d1c0444c66b00f908de1b14f74 #: ../../virtual_machines.rst:241 msgid "" "The VM must have some port open to incoming traffic. For example, in a basic" " zone, a new VM might be assigned to a security group which allows incoming " "traffic. This depends on what security group you picked when creating the " "VM. In other cases, you can open a port by setting up a port forwarding " "policy. See `“IP Forwarding and Firewalling” <networking2.html#ip-" "forwarding-and-firewalling>`_." msgstr "VM必须开通相关端口以便外部访问。比如,在基础zone中,新的VM可能被关联到一个允许流量进入的安全组。但这取决于你在创建VM的时候选择的安全组。在其他情况下,你可以通过设置端口转发策略来打开一个端口。请参考 `“IP转发及防火墙” <networking2.html#ip-forwarding-and-firewalling>`_。" # aa1d9ea00c0f47d58155e9aa67793a80 #: ../../virtual_machines.rst:248 msgid "" "If a port is open but you can not access the VM using ssh, it’s possible " "that ssh is not already enabled on the VM. This will depend on whether ssh " "is enabled in the template you picked when creating the VM. Access the VM " "through the CloudStack UI and enable ssh on the machine using the commands " "for the VM’s operating system." msgstr "如果打开端口后,你仍然不能使用SSH访问VM,那么可能是VM中没有启用SSH。这取决于当你创建VM的时候选的模板是否启用了SSH。通过CloudStack UI访问VM,然后使用VM操作系统中的命令行启用SSH。" # af42226ae2f845c4ae39472cd44d62cf #: ../../virtual_machines.rst:254 msgid "" "If the network has an external firewall device, you will need to create a " "firewall rule to allow access. See `“IP Forwarding and Firewalling” " "<networking2.html#ip-forwarding-and-firewalling>`_." msgstr "如果网络中有外部防火墙设备,你需要创建一个防火墙策略来允许访问。请参考`“IP转发及防火墙” <networking2.html#ip-forwarding-and-firewalling>`_。" # 334cb66ea0fd46fab55d62d6c94401cc #: ../../virtual_machines.rst:260 msgid "Stopping and Starting VMs" msgstr "停止和启动VMs" # 194b6682b53b4c028e9387e57f318392 #: ../../virtual_machines.rst:262 msgid "" "Once a VM instance is created, you can stop, restart, or delete it as " "needed. In the CloudStack UI, click Instances, select the VM, and use the " "Stop, Start, Reboot, and Destroy buttons." msgstr "一旦VM实例被创建,你可以根据需要停止、重启或删除它。在CloudStack UI里,点击实例,选择VM,然后使用停止、启动、重启和销毁按钮。" # 3475020a222a4190b9e4e184a4be143c #: ../../virtual_machines.rst:268 msgid "Assigning VMs to Hosts" msgstr "将VMs指定到主机" # ab04e4134ad1499abbfb64970cd8d83b #: ../../virtual_machines.rst:270 msgid "" "At any point in time, each virtual machine instance is running on a single " "host. How does CloudStack determine which host to place a VM on? There are " "several ways:" msgstr "在任何时刻,每个虚拟机实例都运行在一台主机上。CloudStack如何决定在哪个主机上放置VM呢?通常是这几种方式:" # c9fcda8e47454c1b9ccdd115dc618ffb #: ../../virtual_machines.rst:274 msgid "" "Automatic default host allocation. CloudStack can automatically pick the " "most appropriate host to run each virtual machine." msgstr "自动分配默认主机。CloudStack可以自动的选取最合适的主机来运行每个虚机。" # 13722d82fe934c8fbe47baadf772e4b3 #: ../../virtual_machines.rst:277 msgid "" "Instance type preferences. CloudStack administrators can specify that " "certain hosts should have a preference for particular types of guest " "instances. For example, an administrator could state that a host should have" " a preference to run Windows guests. The default host allocator will attempt" " to place guests of that OS type on such hosts first. If no such host is " "available, the allocator will place the instance wherever there is " "sufficient physical capacity." msgstr "实例类型偏好设置。CloudStack管理员可以指定专门为某些特殊来宾实例做过优化的主机。比如,管理员指定为Windows来宾实例做过优化的主机。默认主机分配器会尝试将此类来宾实例运行到这些主机上。如果这些主机不够用,分配器会把实例运行在容量充足的物理机上。" # a32cedb1c3d54276bafa87b47914776e #: ../../virtual_machines.rst:285 msgid "" "Vertical and horizontal allocation. Vertical allocation consumes all the " "resources of a given host before allocating any guests on a second host. " "This reduces power consumption in the cloud. Horizontal allocation places a " "guest on each host in a round-robin fashion. This may yield better " "performance to the guests in some cases." msgstr "纵向和横向定位。纵向定位是指,在消耗完当前主机提供的所有资源的时候会将所有来宾虚机定位到第二台主机上。这会云中的节省电力成本。横向定位在每个主机上使用轮询的方式放置来宾虚机。在某些情况下这样会给来宾虚机带来更好的性能。" # cc5699db1af34f3a9b499307c558a058 #: ../../virtual_machines.rst:291 msgid "" "End user preferences. Users can not control exactly which host will run a " "given VM instance, but they can specify a zone for the VM. CloudStack is " "then restricted to allocating the VM only to one of the hosts in that zone." msgstr "最终用户偏好设置。用户不能控制VM实例运行在哪台主机上,但是他们能为VM指定区域。这样CloudStack就只能将VM分配到该区域中的主机上。" # 0411284295194622b05a0cb1879eeb76 #: ../../virtual_machines.rst:296 msgid "" "Host tags. The administrator can assign tags to hosts. These tags can be " "used to specify which host a VM should use. The CloudStack administrator " "decides whether to define host tags, then create a service offering using " "those tags and offer it to the user." msgstr "主机标签。管理员可以给主机分配标签。这些标签是用来指定VM该使用哪台主机的。CloudStack管理员自己决定如何定义主机标签,然后使用这些标签创建一个服务方案来提供给用户。" # ead4cb40fadd4eefa3f8eeddf36bea8e #: ../../virtual_machines.rst:301 msgid "" "Affinity groups. By defining affinity groups and assigning VMs to them, the " "user or administrator can influence (but not dictate) which VMs should run " "on separate hosts. This feature is to let users specify that certain VMs " "won't be on the same host." msgstr "关联性组。依靠定义关联性组并把VMs分配给它们,用户或管理员可以影响(但不是指令)VMs运行在不同的主机上。这个功能是让用户可以规定某些VMs不会运行在同一台主机上。" # 475f207be88542b496285e35e6edb937 #: ../../virtual_machines.rst:306 msgid "" "CloudStack also provides a pluggable interface for adding new allocators. " "These custom allocators can provide any policy the administrator desires." msgstr "CloudStack为添加新的分配器提供了一个插件似的接口。这些自定义的分配器可以提供任何管理员想要的策略。" # 838c2813c99f4ea89cb67e8b2ff25abd #: ../../virtual_machines.rst:312 msgid "Affinity Groups" msgstr "关联性组" # d72b6ebfff7246118fbc4df220e6f966 #: ../../virtual_machines.rst:314 msgid "" "By defining affinity groups and assigning VMs to them, the user or " "administrator can influence (but not dictate) which VMs should run on " "separate hosts. This feature is to let users specify that VMs with the same " "“host anti-affinity” type won’t be on the same host. This serves to increase" " fault tolerance. If a host fails, another VM offering the same service (for" " example, hosting the user's website) is still up and running on another " "host." msgstr "依靠定义关联性组并把VMs分配给它们,用户或管理员可以影响(但不是指令)VMs运行在不同的主机上。这个功能是让用户可以规定某些VMs运行在同“host anti-affinity”类型的而非同一台主机上。这写类服务器增强了容错功能。如果一个主机出现问题,那么另一个提供同样服务的VM(比如,运行用户的网站)依然在别的主机上运行。" # 7dad3924b6fe49e9b9e6ed13a6316bbf #: ../../virtual_machines.rst:322 msgid "The scope of an affinity group is per user account." msgstr "一个关联性组的作用域是针对每个用户账号的。" # 537f3770162d4c7db20724e2cd3a6d25 #: ../../virtual_machines.rst:326 msgid "Creating a New Affinity Group" msgstr "创建一个新的关联性组" # 89ec84e3b1004702a136fe33ae40a620 #: ../../virtual_machines.rst:328 msgid "To add an affinity group:" msgstr "要添加一个关联性组:" # 2e4c181542d24eceadbedafacef6a048 # 129e5d65a94748d49cc72d49901d7982 # bfe6c54e9b1d4b95b230d06a783465c2 #: ../../virtual_machines.rst:332 ../../virtual_machines.rst:382 #: ../../virtual_machines.rst:397 msgid "In the left navigation bar, click Affinity Groups." msgstr "在左侧的导航条,点击关联性组。" # 2d49709c41b24dcfa6cbec72f9655ecb #: ../../virtual_machines.rst:334 msgid "" "Click Add affinity group. In the dialog box, fill in the following fields:" msgstr "点击添加关联性组。在对话框中的下列区域中输入:" # 8f2541aa578d480ab600f234860b710f #: ../../virtual_machines.rst:337 msgid "Name. Give the group a name." msgstr "名称。组的名称。" # 283fc43838584136ada4a8670741a62f #: ../../virtual_machines.rst:339 msgid "" "Description. Any desired text to tell more about the purpose of the group." msgstr "描述。给出更多关于这个组的说明。" # 6ad15d35202c4aa3829229be0b4dc5a3 #: ../../virtual_machines.rst:342 msgid "" "Type. The only supported type shipped with CloudStack is Host Anti-Affinity." " This indicates that the VMs in this group should avoid being placed on the " "same host with each other. If you see other types in this list, it means " "that your installation of CloudStack has been extended with customized " "affinity group plugins." msgstr "" # 9dd18a72cf94423295b7f4e16ebdd474 #: ../../virtual_machines.rst:351 msgid "Assign a New VM to an Affinity Group" msgstr "将一个新的VM分配给一个关联性组" # f986290eacc04fcd88cddb44e54dd110 #: ../../virtual_machines.rst:353 msgid "To assign a new VM to an affinity group:" msgstr "要将一个新的VM分配给一个关联性组:" # b7ecd6311df24770b2f5ff16290be095 #: ../../virtual_machines.rst:355 msgid "" "Create the VM as usual, as described in `“Creating VMs” " "<virtual_machines.html#creating-vms>`_. In the Add Instance wizard, there is" " a new Affinity tab where you can select the affinity group." msgstr "如何创建VM,在 `“Creating VMs” <virtual_machines.html#creating-vms>`_中有描述。在添加实例向导中,有一个新的关联性组标签,你可以选择关联性组。" # d887ac9c84494254beaf5d7c2d1d8b17 #: ../../virtual_machines.rst:362 msgid "Change Affinity Group for an Existing VM" msgstr "给已有的VM更改关联性组" # ac05d8cab3d84c0fb5fecc7ff5be7a41 #: ../../virtual_machines.rst:364 msgid "To assign an existing VM to an affinity group:" msgstr "要将已有的VM添加到关联性组:" # 406004d08a994c7e83f19eb8d3d5ccb4 #: ../../virtual_machines.rst:370 msgid "Click the name of the VM you want to work with." msgstr "点击你想更改的VM的名称。" # 5198d04fabab4aba81bb176cafd9cd5f #: ../../virtual_machines.rst:372 msgid "Stop the VM by clicking the Stop button." msgstr "点击停止按钮,将此VM关机。" # d7c213c32fa64651beb6d71b29a2f881 #: ../../virtual_machines.rst:374 msgid "Click the Change Affinity button. |change-affinity-button.png|" msgstr "点击变更关联性组按钮。 |change-affinity-button.png|" # 7964ffac44554385887c85ac33410324 #: ../../virtual_machines.rst:378 msgid "View Members of an Affinity Group" msgstr "查看关联性组的成员" # 60958f4621bd45d68c4c4e5ff8e6166b #: ../../virtual_machines.rst:380 msgid "" "To see which VMs are currently assigned to a particular affinity group:" msgstr "要查看当前哪些VMs被分配到指定的关联性组:" # 44277c6e70cc49f5a0262172b42602cd # 84c34fd8f1024bc3b3b89c6074d25602 #: ../../virtual_machines.rst:384 ../../virtual_machines.rst:399 msgid "Click the name of the group you are interested in." msgstr "点击要查看的组的名称。" # d621ae0b24c54f108a31c5dc8cf05476 #: ../../virtual_machines.rst:386 msgid "Click View Instances. The members of the group are listed." msgstr "点击查看实例。组的成员会列在此处。" # 43f372265bc14aa89389bbc7b9584816 #: ../../virtual_machines.rst:388 msgid "" "From here, you can click the name of any VM in the list to access all its " "details and controls." msgstr "在这里,你可以点击列表中任何VM的名称来访问它所有的详细信息并控制它。" # c126741a86364834b153814dff481a58 #: ../../virtual_machines.rst:393 msgid "Delete an Affinity Group" msgstr "删除一个关联性组" # 41b2a9676116417a9cc26ddecd8e35c0 #: ../../virtual_machines.rst:395 msgid "To delete an affinity group:" msgstr "要删除关联性组:" # 97c32e0a3b4d4a039f0167b916626e38 #: ../../virtual_machines.rst:401 msgid "Click Delete." msgstr "点击删除。" # 2f1e052c0a0441988e9ccb2459b64996 #: ../../virtual_machines.rst:403 msgid "" "Any VM that is a member of the affinity group will be disassociated from the" " group. The former group members will continue to run normally on the " "current hosts, but if the VM is restarted, it will no longer follow the host" " allocation rules from its former affinity group." msgstr "任何属于关联性组的VM都会被踢出此组。之前组里的成员会继续在当前主机上正常的运行,但是如果VM重启了,它就不再按照之前关联性组的主机分配策略。" # 1500b2cdf2f8433f9dc55740099c7554 #: ../../virtual_machines.rst:411 msgid "Virtual Machine Snapshots" msgstr "虚拟机快照" # 352168175d0f45c7944fb134e5e1ccb0 # f1ff6b7e77974160b7eb0e268b6c8adf #: ../../virtual_machines.rst:413 ../../virtual_machines.rst:643 msgid "(Supported on VMware and XenServer)" msgstr "(支持XenServer、KVM和VMware)" # 4b76741f3c964e48b09015a19ac9ffe6 #: ../../virtual_machines.rst:415 msgid "" "In addition to the existing CloudStack ability to snapshot individual VM " "volumes, you can take a VM snapshot to preserve all the VM's data volumes as" " well as (optionally) its CPU/memory state. This is useful for quick restore" " of a VM. For example, you can snapshot a VM, then make changes such as " "software upgrades. If anything goes wrong, simply restore the VM to its " "previous state using the previously saved VM snapshot." msgstr "利用CloudStack的VM卷快照功能,你可以对VM做快照像保存它的CPU/内存状态一样保护VM的数据卷(可选的)。这对快速还原一个VM来说是非常有用的。比如,你可以对一个VM做快照,然后做了一些像软件升级的操作。如果期间有问题出现,使用之前保存的VM快照就可以将VM恢复到之前的状态了。" # 9ea94fa6d9804e22af343c5c65a0362d #: ../../virtual_machines.rst:423 msgid "" "The snapshot is created using the hypervisor's native snapshot facility. The" " VM snapshot includes not only the data volumes, but optionally also whether" " the VM is running or turned off (CPU state) and the memory contents. The " "snapshot is stored in CloudStack's primary storage." msgstr "快照的创建使用的是 hypervisor本地快照工具。VM快照不但包括数据卷还可选择性的包括VM的运行或关机时(CPU状态)和内存内容的状态。快照保存在CloudStack的主存储里。" # b710a2e6c248420bb55ebfa8f0f376dc #: ../../virtual_machines.rst:428 msgid "" "VM snapshots can have a parent/child relationship. Each successive snapshot " "of the same VM is the child of the snapshot that came before it. Each time " "you take an additional snapshot of the same VM, it saves only the " "differences between the current state of the VM and the state stored in the " "most recent previous snapshot. The previous snapshot becomes a parent, and " "the new snapshot is its child. It is possible to create a long chain of " "these parent/child snapshots, which amount to a \"redo\" record leading from" " the current state of the VM back to the original." msgstr "VM快照存在父/子关系。同一个VM的每次快照都是之前快照的子级。每次你对同一VM追加的快照,它仅仅保存两次快照之间系统状态差异。之前的快照变成父级,新的快照变成子级。它可能对这些父/子快照创建一个长链,它实际上是一个从当前的VM状态还原到之前的\"还原\"记录。" # efe6658a42c34ba1badb3bb03008f9f0 #: ../../virtual_machines.rst:438 msgid "" "If you need more information about VM snapshots on VMware, check out the " "VMware documentation and the VMware Knowledge Base, especially " "`Understanding virtual machine snapshots " "<http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1015180>`_." msgstr "如果你需要了解更多关于VMware的VM快照,请转去VMware文档中心和VMwareBK库,查找 `了解虚拟机的快照-英文 <http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1015180>`_、`了解虚拟机的快照-中文<http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2075429>`_。" # 8fb9c61d831b4840801c19c568c3e2f7 #: ../../virtual_machines.rst:445 msgid "Limitations on VM Snapshots" msgstr "VM快照的限制" # b40a26e614ff482b83dd6fe7ca66a097 #: ../../virtual_machines.rst:447 msgid "" "If a VM has some stored snapshots, you can't attach new volume to the VM or " "delete any existing volumes. If you change the volumes on the VM, it would " "become impossible to restore the VM snapshot which was created with the " "previous volume structure. If you want to attach a volume to such a VM, " "first delete its snapshots." msgstr "如果一个VM存储了一些快照,你就不能给他附加新卷或删除存在的卷。如果你更改了VM的卷,他将不能通过之前卷结构下所做快照来进行恢复。如果你想给这样一个VM附加卷,请先删除快照。" # 137adaa8ad304bad8e6a62a539a5b277 #: ../../virtual_machines.rst:453 msgid "" "VM snapshots which include both data volumes and memory can't be kept if you" " change the VM's service offering. Any existing VM snapshots of this type " "will be discarded." msgstr "如果你更改了VM的服务方案,那么包含了数据卷和内存的VM快照就不能保留了,任何已有的此类型的VM快照都将被丢弃。" # 9890e43dc8174a959a93587c2843f753 #: ../../virtual_machines.rst:457 msgid "" "You can't make a VM snapshot at the same time as you are taking a volume " "snapshot." msgstr "你不能同时对VM在做卷快照和VM快照。" # 0ffbf8b4539648a4884ee457c3ab1cb1 #: ../../virtual_machines.rst:460 msgid "" "You should use only CloudStack to create VM snapshots on hosts managed by " "CloudStack. Any snapshots that you make directly on the hypervisor will not " "be tracked in CloudStack." msgstr "你只能使用CloudStack来创建其管理的主机上的VM快照。你在hypervisor上直接创建的任何快照都不能被CloudStack识别。" # 77f6cb8f4c0f41fcb04fe4aa2c2f5268 #: ../../virtual_machines.rst:466 msgid "Configuring VM Snapshots" msgstr "配置VM快照" # 8582f7496ba340e7b18f0ec535fc74c1 #: ../../virtual_machines.rst:468 msgid "" "The cloud administrator can use global configuration variables to control " "the behavior of VM snapshots. To set these variables, go through the Global " "Settings area of the CloudStack UI." msgstr "云管理员可以使用全局配置变量来控制VM快照的行为。要设置这些变量,移步至CloudStack UI中的全局设置。" # f9f9fa5a5bf040cf942989a479a5e690 #: ../../virtual_machines.rst:472 msgid "Configuration Setting Name" msgstr "配置设置名" # 68ee9c1c4d5a4d0b85ee63309d7b1db0 #: ../../virtual_machines.rst:474 msgid "Description" msgstr "描述" # 85763ceb28de4f0eaca494db0a967117 #: ../../virtual_machines.rst:476 msgid "vmsnapshots.max" msgstr "vmsnapshots.max" # 7466c6685f504780a8c5d77c5d580374 #: ../../virtual_machines.rst:478 msgid "" "The maximum number of VM snapshots that can be saved for any given virtual " "machine in the cloud. The total possible number of VM snapshots in the cloud" " is (number of VMs) \\* vmsnapshots.max. If the number of snapshots for any " "VM ever hits the maximum, the older ones are removed by the snapshot expunge" " job." msgstr "云中虚拟机能够保存快照的最大数。 (number of VMs) \\* vmsnapshots.max是云中VM快照的总共可能数量。如果任何一个VM的快照数达到了最大值,那么快照删除任务会把最老的快照删掉。" # 2fd939410c2b4b3aa8b3003ab8a3b968 #: ../../virtual_machines.rst:484 msgid "vmsnapshot.create.wait" msgstr "vmsnapshot.create.wait" # 375a0959e9c94eb1a423b278ae046b5b #: ../../virtual_machines.rst:486 msgid "" "Number of seconds to wait for a snapshot job to succeed before declaring " "failure and issuing an error." msgstr "在提示失败和发生错误之前快照工作为了成功的做快照而等待的秒数。" # 2b92af396f6c475a81e3dd289b5b2058 #: ../../virtual_machines.rst:491 msgid "Using VM Snapshots" msgstr "是用VM的快照" # 936e0bc234f649d98911b973d2a89f24 #: ../../virtual_machines.rst:493 msgid "To create a VM snapshot using the CloudStack UI:" msgstr "是用CloudStack UI创建一个VM快照:" # 7cd076f83efb4c1bbf3fd895f87582e8 #: ../../virtual_machines.rst:495 msgid "Log in to the CloudStack UI as a user or administrator." msgstr "是用用户或者管理员登录CloudStack。" # 79e76d457cf54a80bf3e15e93c930b60 #: ../../virtual_machines.rst:497 msgid "Click Instances." msgstr "点击实例。" # 271888c8e7844949b68a79c940659c7b #: ../../virtual_machines.rst:499 msgid "Click the name of the VM you want to snapshot." msgstr "点击你想做快照的VM名称。" # e60b0597ab2c4b37b9c1b6e585208f39 #: ../../virtual_machines.rst:501 msgid "Click the Take VM Snapshot button. |VMSnapshotButton.png|" msgstr "点击抓取VM快照按钮。 |VMSnapshotButton.png|" # 516b8188c37544fe9289100fa8fd6f81 #: ../../virtual_machines.rst:504 msgid "" "If a snapshot is already in progress, then clicking this button will have no" " effect." msgstr "如果一个快照处理过程正在进行,那么点击这个按钮是没有反应的。" # 3af8f23237d44f6a82ff3805d8748f9b #: ../../virtual_machines.rst:507 msgid "" "Provide a name and description. These will be displayed in the VM Snapshots " "list." msgstr "提供一个名称和秒数。这些会显示在VM快照列表中。" # 213a0335d6b44dc3a98d11a064dc6168 #: ../../virtual_machines.rst:510 msgid "" "(For running VMs only) If you want to include the VM's memory in the " "snapshot, click the Memory checkbox. This saves the CPU and memory state of " "the virtual machine. If you don't check this box, then only the current " "state of the VM disk is saved. Checking this box makes the snapshot take " "longer." msgstr "(仅限运行中的VMs)如果你想在快照中包含VM的内存状态,请勾选内存。这可以保存虚拟机的CPU和内存状态。如果你不勾选这个选项,那么只有VM目前磁盘状态会被保存。勾选了这个选项会让快照过程变长。" # d45f3edd0bc741a7a60bc61f1687caae #: ../../virtual_machines.rst:516 msgid "" "Quiesce VM: check this box if you want to quiesce the file system on the VM " "before taking the snapshot. Not supported on XenServer when used with " "CloudStack-provided primary storage." msgstr "静止VM:如果你想在做快照之前让VM的文件系统处于静止状态,请勾选此选项。使用CloudStack提供的主存储的XenServer环境不受支持。" # fe21f13b62b746c7a13b2f7f85a6eaa9 #: ../../virtual_machines.rst:520 msgid "" "When this option is used with CloudStack-provided primary storage, the " "quiesce operation is performed by the underlying hypervisor (VMware is " "supported). When used with another primary storage vendor's plugin, the " "quiesce operation is provided according to the vendor's implementation." msgstr "当这个选项在CloudStack提供的主存储中使用了,那么静止操作是由底层的hypervisor完成的(VMware支持)。当使用了其他主存储提供商的插件,静止操作是由其提供商的软件完成的," # 2a6c32cefec74407bd7fbe5e305ad9fc # a8e7b2f2b1c94ee9ab5aacd3929d2b84 # cd457f5e102e42109f716c58cae05fee # 2226bef2616a496e93a295e437d134ec # 48260fa4b2a8429582628ee0a4834f18 #: ../../virtual_machines.rst:526 ../../virtual_machines.rst:635 #: ../../virtual_machines.rst:808 ../../virtual_machines.rst:951 #: ../../virtual_machines.rst:975 msgid "Click OK." msgstr "点击确定。" # f4d9b9197aca4868ab4d46cfeaeeeb8d #: ../../virtual_machines.rst:528 msgid "" "To delete a snapshot or restore a VM to the state saved in a particular " "snapshot:" msgstr "要删除一个快照或者还原VM的状态到指定的一个快照:" # 36f6cf98d55c41459202b6750b7eb7f4 #: ../../virtual_machines.rst:531 msgid "Navigate to the VM as described in the earlier steps." msgstr "通过之前描述的步骤定位至VM。" # bf91c94f8979476a930e9dbf513be4d4 #: ../../virtual_machines.rst:533 msgid "Click View VM Snapshots." msgstr "点击查看VM快照。" # e7ccaab839314560b552b6071fc14e64 #: ../../virtual_machines.rst:535 msgid "" "In the list of snapshots, click the name of the snapshot you want to work " "with." msgstr "在快照列表中,点击你要操作的快照名字。" # 8e39335e75044ff99ab9e0def4fdc7d3 #: ../../virtual_machines.rst:538 msgid "Depending on what you want to do:" msgstr "取决于你想做什么:" # 1992a3d840bc470fabd250937c4de81e #: ../../virtual_machines.rst:540 msgid "To delete the snapshot, click the Delete button. |delete-button.png|" msgstr "要删除快照,点击删除按钮。 |delete-button.png|" # 00f5fcea682d428c9a9e195edb1178e9 #: ../../virtual_machines.rst:542 msgid "To revert to the snapshot, click the Revert button. |revert-vm.png|" msgstr "要还原至此快照,点击还原按钮。 |revert-vm.png|" # d31395bcdf554ce6a1057725cfec443b #: ../../virtual_machines.rst:545 msgid "" "VM snapshots are deleted automatically when a VM is destroyed. You don't " "have to manually delete the snapshots in this case." msgstr "当VM被销毁了,那么它的快照也会被自动的删除。这种情况下,你不用手动的去删除快照。" # b68606a2ccc14896810536c55cfc1b43 #: ../../virtual_machines.rst:550 msgid "Changing the VM Name, OS, or Group" msgstr "更改VM名字,OS或组" # c3a4b62362fc4863a6506f6a5e3187de #: ../../virtual_machines.rst:552 msgid "" "After a VM is created, you can modify the display name, operating system, " "and the group it belongs to." msgstr "在VM被创建之后,你可以修改显示名,操作系统和它所属的组。" # 72447d94968d48569debc5b7e37e4e80 # 635b0652817c46e8929098fb5425c79b # edcc32c2db4948f7b0702e1fec2c46dd # af3dab76cece4fbfa032b786f5efe55f # 19861b8d6dbc4928b12763a78bf07383 #: ../../virtual_machines.rst:559 ../../virtual_machines.rst:620 #: ../../virtual_machines.rst:794 ../../virtual_machines.rst:822 #: ../../virtual_machines.rst:967 msgid "In the left navigation, click Instances." msgstr "在左侧的导航菜单中,点击实例。" # b339e4730d0445bebdcb106a5c75c2f4 #: ../../virtual_machines.rst:561 msgid "Select the VM that you want to modify." msgstr "选择你想修改的VM。" # 304e46f42670493198568fd5f0ff4ee9 # 7fdd96b1f7e0497fb108cb28b45a1d3c #: ../../virtual_machines.rst:563 ../../virtual_machines.rst:627 msgid "Click the Stop button to stop the VM. |StopButton.png|" msgstr "点击停止按钮来关闭虚机。 |StopButton.png|" # 8b84a60389bf4387933672f32d30340e #: ../../virtual_machines.rst:565 msgid "Click Edit. |EditButton.png|" msgstr "点击编辑。 |EditButton.png|" # f5ce6fcba1ca478e9bd1598907c1a601 #: ../../virtual_machines.rst:567 msgid "Make the desired changes to the following:" msgstr "更改以下几项为所需要的:" # 96da85f1c1db4d90b6131a4e7bbe1267 #: ../../virtual_machines.rst:569 msgid "" "**Display name**: Enter a new display name if you want to change the name of" " the VM." msgstr "**显示名**:如果你想更改VM的名字,那么输入一个新的显示名。" # b2eb919b8d15426a86942e811b6b785a #: ../../virtual_machines.rst:572 msgid "**OS Type**: Select the desired operating system." msgstr "**OS类型**:选择所需的操作系统。" # 963531001c6f471fae769294df407de4 #: ../../virtual_machines.rst:574 msgid "**Group**: Enter the group name for the VM." msgstr "**组**:输入VM的组名。" # 1f8f9ed119ca43b291afa2ae2b572532 # acdd7ec88c4b4a27a7b9ade935e17aad #: ../../virtual_machines.rst:576 ../../virtual_machines.rst:691 msgid "Click Apply." msgstr "点击应用" # 35efc08bc7314a2a83b202b6bfd078c6 #: ../../virtual_machines.rst:580 msgid "Appending a Display Name to the Guest VM’s Internal Name" msgstr "给来宾VM的内部名称附加显示名" # 090483f924564a9d8180f7df880f4066 #: ../../virtual_machines.rst:582 msgid "" "Every guest VM has an internal name. The host uses the internal name to " "identify the guest VMs. CloudStack gives you an option to provide a guest VM" " with a display name. You can set this display name as the internal name so " "that the vCenter can use it to identify the guest VM. A new global " "parameter, vm.instancename.flag, has now been added to achieve this " "functionality." msgstr "每个来宾VM都有一个内部名称。主机使用内部名称来识别来宾VMs。CloudStack为来宾VM提供了一个关于显示名的选项。你可以设置显示名作为内部名称以便vCenter可以使用它来识别来宾VM。vm.instancename.flag作为一个新的全局参数,已被添加用来实现此功能。" # f1544ed6d7c34d8ebadbc2726fd7edb9 #: ../../virtual_machines.rst:589 msgid "" "The default format of the internal name is " "i-<user\\_id>-<vm\\_id>-<instance.name>, where instance.name is a global " "parameter. However, If vm.instancename.flag is set to true, and if a display" " name is provided during the creation of a guest VM, the display name is " "appended to the internal name of the guest VM on the host. This makes the " "internal name format as i-<user\\_id>-<vm\\_id>-<displayName>. The default " "value of vm.instancename.flag is set to false. This feature is intended to " "make the correlation between instance names and internal names easier in " "large data center deployments." msgstr "默认的内部名称的格式是 i-<user\\_id>-<vm\\_id>-<instance.name>,这里instance.name是全局参数。但是,如果vm.instancename.flag被设置为true,并且来宾VM在创建的过程中提供了显示名,那么显示名就会被附加至该主机的来宾VM的内部名称上。这样就使得内部名称的格式类似于 i-<user\\_id>-<vm\\_id>-<displayName>。vm.instancename.flag的默认值被设置为false。这个功能可以比较容易的在大型数据中心的部署中表示实例名和内部名之间的相互关系。" # fa48ed23ffd24df4a02ee5f2167670e9 #: ../../virtual_machines.rst:599 msgid "" "The following table explains how a VM name is displayed in different " "scenarios." msgstr "下面的表格解释了不同场景下VM的名称是如何显示的。" # 76ff8c667a8c480fb21958db7dd65d12 #: ../../virtual_machines.rst:603 msgid "User-Provided Display Name" msgstr "用户提供的显示名" # 77b3d04a25244f7b88843f76b0269874 #: ../../virtual_machines.rst:603 msgid "vm.instancename.flag" msgstr "vm.instancename.flag" # eb539380b01a4ba7abe6fab6cbef8d37 #: ../../virtual_machines.rst:603 msgid "Hostname on the VM" msgstr "VM的主机名" # 44a68176f9334f3d893063ea88a1880e #: ../../virtual_machines.rst:603 msgid "Name on vCenter" msgstr "vCenter中的名称" # 09d5fe54336843e99505c1bd9d7c24c9 #: ../../virtual_machines.rst:603 msgid "Internal Name" msgstr "内部名称" # 8a2a30cd89b8470ab636c82eea18e3a4 # 8c02dc549daa4804be4ee3b3bf8216a7 #: ../../virtual_machines.rst:605 ../../virtual_machines.rst:607 msgid "Yes" msgstr "是" # 854c972116cd4ffea1dd8e5be0d72b55 # 2d6b531677a8463b806c81b61c640ad8 #: ../../virtual_machines.rst:605 ../../virtual_machines.rst:606 msgid "True" msgstr "True" # e24020ac7abe425a8fc5ae02e4464a87 # 1eaa0ac4785f44bf90d042a044d9500f #: ../../virtual_machines.rst:605 ../../virtual_machines.rst:607 msgid "Display name" msgstr "显示名" # da8b1b08fbf24753a7ad71dc4c6e910a # b909f46baf824afb95db14b2c7a3628a #: ../../virtual_machines.rst:605 ../../virtual_machines.rst:605 msgid "i-<user\\_id>-<vm\\_id>-displayName" msgstr "i-<user\\_id>-<vm\\_id>-displayName" # fe84676df63e465ab7918b5f44790a34 # 799a550bf2024c8db25a267cd0eac622 #: ../../virtual_machines.rst:606 ../../virtual_machines.rst:608 msgid "No" msgstr "否" # 2f6abcbb57e24820b71d94a8d721a901 # 05c2b0965dab4221a022ca3f4d1fb71e #: ../../virtual_machines.rst:606 ../../virtual_machines.rst:608 msgid "UUID" msgstr "UUID" # 5179011192fa4530bf1aa6561ba03e80 # 0e4881cabf544619b6ed3f98b666fa4d # 923b87aaf25d404cb843c35fde7e8abf # 14cf566f26974c38b4ceaa39a9c10a2b # 5351204fc9aa4a09ac443444dcb12cf5 # 1b26f9393c914e4bbc0f6099ee278a0e #: ../../virtual_machines.rst:606 ../../virtual_machines.rst:606 #: ../../virtual_machines.rst:607 ../../virtual_machines.rst:607 #: ../../virtual_machines.rst:608 ../../virtual_machines.rst:608 msgid "i-<user\\_id>-<vm\\_id>-<instance.name>" msgstr "i-<user\\_id>-<vm\\_id>-<instance.name>" # 882c61362e02473eb3d26c71fc8a1d93 # 2e62c668c7b74882a7c5518dd4e345b7 #: ../../virtual_machines.rst:607 ../../virtual_machines.rst:608 msgid "False" msgstr "False" # c1aad1317c774f3cb8be7a171d4c7615 #: ../../virtual_machines.rst:613 msgid "Changing the Service Offering for a VM" msgstr "为VM变更服务方案" # aa826a1e593e4934b4bd9a30bd004c64 #: ../../virtual_machines.rst:615 msgid "" "To upgrade or downgrade the level of compute resources available to a " "virtual machine, you can change the VM's compute offering." msgstr "要给虚拟机提升或降低可用计算资源的级别,你可以更改VM的计算方案。" # 8c522d8ff0c341f08389ff47a300b9be #: ../../virtual_machines.rst:622 msgid "Choose the VM that you want to work with." msgstr "选择你要处理的VM。" # 0efe6503c5934cb0b193cabcb06131e0 #: ../../virtual_machines.rst:624 msgid "" "(Skip this step if you have enabled dynamic VM scaling; see :ref:`cpu-and-" "memory-scaling`.)" msgstr "(如果你启用了动态VM扩展或缩减,请跳过此步;查看:ref:`cpu-and-memory-scaling。`)" # 8a714661de844774afa81e0071868b59 #: ../../virtual_machines.rst:629 msgid "Click the Change Service button. |ChangeServiceButton.png|" msgstr "点击更改服务按钮。 |ChangeServiceButton.png|" # 83f39b159c464727b6fccf6e6b055c0e #: ../../virtual_machines.rst:631 msgid "The Change service dialog box is displayed." msgstr "显示更改服务对话框。" # c981bd6e1e7f49bab3deb9b83f0477f6 #: ../../virtual_machines.rst:633 msgid "Select the offering you want to apply to the selected VM." msgstr "选择你想应用到选择的VM的方案。" # a01d7307691b4520a87be0d9d9b9da2d #: ../../virtual_machines.rst:641 msgid "CPU and Memory Scaling for Running VMs" msgstr "运行中VMs的CPU和内存的扩展和缩减" # ab0e9786b026430a9847f2f68311aeb3 #: ../../virtual_machines.rst:645 msgid "" "It is not always possible to accurately predict the CPU and RAM requirements" " when you first deploy a VM. You might need to increase these resources at " "any time during the life of a VM. You can dynamically modify CPU and RAM " "levels to scale up these resources for a running VM without incurring any " "downtime." msgstr "通常当你第一次部署VM的时候不太可能精确地预计CPU和RAM需求。你可能必须在VM的生命周期内的任何时间增加这些资源。你可以在不中断运行状态中的VM的情况下,动态的修改CPU和RAM级别来提升这些资源,、。" # 115161eb80b3499bacb45dfdfebee485 #: ../../virtual_machines.rst:651 msgid "Dynamic CPU and RAM scaling can be used in the following cases:" msgstr "动态CPU和RAM扩展和缩减能被用于一下情况:" # 30297090e50d4dde9f897f9a136fe4f6 #: ../../virtual_machines.rst:653 msgid "User VMs on hosts running VMware and XenServer." msgstr "运行VMware和XenServer的主机上的用户VMs。" # 6232185457af46168206dcb77fbe3d5a #: ../../virtual_machines.rst:655 msgid "System VMs on VMware." msgstr "VMware上的系统VMs。" # f6a39632a5fc44fc95fe18b95ec76dca #: ../../virtual_machines.rst:657 msgid "" "VMware Tools or XenServer Tools must be installed on the virtual machine." msgstr "虚拟机上必须安装VMware Tools或者XenServer Tools。" # 3a9ff2ea379947d1a7d14452ee5a9f23 #: ../../virtual_machines.rst:660 msgid "" "The new requested CPU and RAM values must be within the constraints allowed " "by the hypervisor and the VM operating system." msgstr "对于新的CPU和RAM大小必须在hypervisor和VM操作系统要求之内。" # 5110926c89cb47f6b2f174d9b7fd2074 #: ../../virtual_machines.rst:663 msgid "" "New VMs that are created after the installation of CloudStack 4.2 can use " "the dynamic scaling feature. If you are upgrading from a previous version of" " CloudStack, your existing VMs created with previous versions will not have " "the dynamic scaling capability unless you update them using the following " "procedure." msgstr "在CloudStack 4.2安装完以后创建的新VMs都可以使用动态扩展和缩减功能。如果你的CloudStack是从旧版本升级而来的,其上已有的VMs不会支持动态扩展和缩减功能,除非你按照下面的过程来升级这些VM。" # 1ad181d6d7c7496e95ae7d8940fdae5e #: ../../virtual_machines.rst:671 msgid "Updating Existing VMs" msgstr "升级已有VMs" # 869cd5d508b846d8bac2af633484f301 #: ../../virtual_machines.rst:673 msgid "" "If you are upgrading from a previous version of CloudStack, and you want " "your existing VMs created with previous versions to have the dynamic scaling" " capability, update the VMs using the following steps:" msgstr "如果你正在升级旧版本的CloudStack,并且你还想让你的旧版本VMs拥有动态扩展和缩减能力,请使用以下步骤来升级VMs:" # 11e41c992a6545bca58c3d47b712fc40 #: ../../virtual_machines.rst:677 msgid "" "Make sure the zone-level setting enable.dynamic.scale.vm is set to true. In " "the left navigation bar of the CloudStack UI, click Infrastructure, then " "click Zones, click the zone you want, and click the Settings tab." msgstr "确保区域级别设置enable.dynamic.scale.vm被设置为true。在CloudStack UI的左侧导航条,点击基础架构,然后点击区域,点击你要操作的区域,然后点击Settings标签。" # 62c28d859ce4495393ca05ebe80feab9 #: ../../virtual_machines.rst:682 msgid "" "Install Xen tools (for XenServer hosts) or VMware Tools (for VMware hosts) " "on each VM if they are not already installed." msgstr "在每台VM上安装Xen tools(适用于XenServer主机)或者VMware Tools(适用于VMware主机)。" # d20322e380d44022b1ff5c61fdb66462 #: ../../virtual_machines.rst:685 msgid "Stop the VM." msgstr "停止VM。" # 7fb4a5e90f7240faa3517081515db067 #: ../../virtual_machines.rst:687 msgid "Click the Edit button." msgstr "点击编辑按钮。" # e27c8efe5a804069964feebad14fc869 #: ../../virtual_machines.rst:689 msgid "Click the Dynamically Scalable checkbox." msgstr "点击动态伸缩选框。" # cfbb1778b1b04d149bb2c2bb69c274d3 #: ../../virtual_machines.rst:693 msgid "Restart the VM." msgstr "重启VM。" # f11c788c7fd447179dd19538674fb81c #: ../../virtual_machines.rst:697 msgid "Configuring Dynamic CPU and RAM Scaling" msgstr "配置动态CPU和RAM伸缩" # 30af79a24d8f48a1b834110d8374abbc #: ../../virtual_machines.rst:699 msgid "" "To configure this feature, use the following new global configuration " "variables:" msgstr "要配置此功能,请使用下面的全局配置变量:" # 5a2816315adb4870943cb43b6d0cf99c #: ../../virtual_machines.rst:702 msgid "" "enable.dynamic.scale.vm: Set to True to enable the feature. By default, the " "feature is turned off." msgstr "enable.dynamic.scale.vm:设置为True以启用此功能。默认情况下,此功能是被关闭的。" # cdeb9f1cb4df4b029610a510842cc284 #: ../../virtual_machines.rst:705 msgid "" "scale.retry: How many times to attempt the scaling operation. Default = 2." msgstr "scale.retry:伸缩操作的重试次数。默认为2。" # 07decccd4eb04199817b30945867ed27 #: ../../virtual_machines.rst:710 msgid "How to Dynamically Scale CPU and RAM" msgstr "如果动态伸缩CPU和RAM" # ae889fadf36342a6a037fb765a54fd59 #: ../../virtual_machines.rst:712 msgid "" "To modify the CPU and/or RAM capacity of a virtual machine, you need to " "change the compute offering of the VM to a new compute offering that has the" " desired CPU and RAM values. You can use the same steps described above in " "`“Changing the Service Offering for a VM” <#changing-the-service-offering-" "for-a-vm>`_, but skip the step where you stop the virtual machine. Of " "course, you might have to create a new compute offering first." msgstr "要修改虚拟机的CPU和/或RAM,你必须更改VM的计算方案为你想要的。你可以按照上文中所述的同样的步骤 `“Changing the Service Offering for a VM” <#changing-the-service-offering-for-a-vm>`_,但是要跳过停止虚拟机的步骤。当然,你可能必须先创建一个新的计算方案。" # 4ad82ed62390433a83075a6fe291e6c6 #: ../../virtual_machines.rst:720 msgid "" "When you submit a dynamic scaling request, the resources will be scaled up " "on the current host if possible. If the host does not have enough resources," " the VM will be live migrated to another host in the same cluster. If there " "is no host in the cluster that can fulfill the requested level of CPU and " "RAM, the scaling operation will fail. The VM will continue to run as it was " "before." msgstr "当你提交一个动态伸缩的请求的时候,当前主机可能会扩展资源。如果主机没有足够的资源,VM会被在线迁移至同一群集中的其他主机。如果群集中没有能满足CPU和RAM条件的主机,那么扩展操作会失败。不用担心,VM会往常一样继续运行。" # 04a78ffb0e8a4995a6fbbf8870ef3c01 #: ../../virtual_machines.rst:729 msgid "Limitations" msgstr "局限性" # 4d4543f814604671a8582fd47d1298ca #: ../../virtual_machines.rst:731 msgid "You can not do dynamic scaling for system VMs on XenServer." msgstr "你不能为XenServer上运行的系统VMs进行动态伸缩操作。" # 0c3b91b5ecc54cb1b79f79eea7129458 #: ../../virtual_machines.rst:733 msgid "" "CloudStack will not check to be sure that the new CPU and RAM levels are " "compatible with the OS running on the VM." msgstr "CloudStack不会检查新的CPU和RAM级别是不是符合VM操作系统的要求。" # c8b490e8cfa64c6c992a761349ffcec9 #: ../../virtual_machines.rst:736 msgid "" "When scaling memory or CPU for a Linux VM on VMware, you might need to run " "scripts in addition to the other steps mentioned above. For more " "information, see `Hot adding memory in Linux (1012764) " "<http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1012764>`_" " in the VMware Knowledge Base." msgstr "当为VMware上运行的Linux VM扩展内存或者CPU的时候,你可能需要运行额外的脚本。更多信息,请参阅VMware知识库中的 `在Linux中热添加内存 (1012764) <http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1012764>`_" # 4e112807f7f146ccb7683bafe9845553 #: ../../virtual_machines.rst:742 msgid "" "(VMware) If resources are not available on the current host, scaling up will" " fail on VMware because of a known issue where CloudStack and vCenter " "calculate the available capacity differently. For more information, see " "`https://issues.apache.org/jira/browse/CLOUDSTACK-1809 " "<https://issues.apache.org/jira/browse/CLOUDSTACK-1809>`_." msgstr "(VMware)如果当前主机上没有可用资源,因为一个已知的问题,VMware上的虚机扩展会失败,这是因为CloudStack和vCenter计算可用容量方法的不同。更多信息,请参阅`https://issues.apache.org/jira/browse/CLOUDSTACK-1809 <https://issues.apache.org/jira/browse/CLOUDSTACK-1809>`_。" # eed3ea4ba4134de1b4cb819e07cb8326 #: ../../virtual_machines.rst:748 msgid "" "On VMs running Linux 64-bit and Windows 7 32-bit operating systems, if the " "VM is initially assigned a RAM of less than 3 GB, it can be dynamically " "scaled up to 3 GB, but not more. This is due to a known issue with these " "operating systems, which will freeze if an attempt is made to dynamically " "scale from less than 3 GB to more than 3 GB." msgstr "对于运行Linux 64位和Windows 7 32位操作系统的VMs,如果VM初始分配的RAM小于3GB,那么它最大能动态的扩展到3GB。这是因为这些操作系统已知的问题,如果尝试从小于3G动态扩展至超过3G的话,操作系统会宕机。" # 0f66f02496244365a1fc127038eafca0 #: ../../virtual_machines.rst:756 msgid "Resetting the Virtual Machine Root Volume on Reboot" msgstr "在重启时重置虚拟机的Root卷" # 63185701fdb845c78448a80722e1e1f9 #: ../../virtual_machines.rst:758 msgid "" "For secure environments, and to ensure that VM state is not persisted across" " reboots, you can reset the root disk. For more information, see `“Reset VM " "to New Root Disk on Reboot” <storage.html#reset-vm-to-new-root-disk-on-" "reboot>`_." msgstr "为安全环境和确保VM重启期间不被中断状态,你可以重置root磁盘。更多信息,请参阅 `“在重启时给VM重置一个新的Root磁盘” <storage.html#reset-vm-to-new-root-disk-on-reboot>`_。" # 66018bd4d29d47f5b9921b2b638bd9e5 #: ../../virtual_machines.rst:765 msgid "Moving VMs Between Hosts (Manual Live Migration)" msgstr "在主机之间移动VMs(手动在线迁移)" # 4a11ec0f0f7849af900329d21eb5021a #: ../../virtual_machines.rst:767 msgid "" "The CloudStack administrator can move a running VM from one host to another " "without interrupting service to users or going into maintenance mode. This " "is called manual live migration, and can be done under the following " "conditions:" msgstr "CloudStack管理员可以从一个主机将运行中的VM不中断服务地移动到其他主机或者将其进入维护模式。这个过程叫手动在线迁移,要满足以下条件:" # f7d30be3c9c04c2890163879415fbec7 #: ../../virtual_machines.rst:772 msgid "" "The root administrator is logged in. Domain admins and users can not perform" " manual live migration of VMs." msgstr "root管理员已登录。域管理员和用户不能执行手动在线迁移操作。" # 17e5f9d4b5d849c395dc3660e836ea8c #: ../../virtual_machines.rst:775 msgid "The VM is running. Stopped VMs can not be live migrated." msgstr "VM正在运行。停止的VMs不能进行在线迁移。" # 948845ad74164fee9ba6899a995747ff #: ../../virtual_machines.rst:777 msgid "" "The destination host must have enough available capacity. If not, the VM " "will remain in the \"migrating\" state until memory becomes available." msgstr "目标主机必须有足够的可用容量。如果没有,VM会一直停留在\"迁移中\"状态,直到有多余内存可用。" # 926ce179048d440ba2bea6731af74b85 #: ../../virtual_machines.rst:781 msgid "" "(KVM) The VM must not be using local disk storage. (On XenServer and VMware," " VM live migration with local disk is enabled by CloudStack support for " "XenMotion and vMotion.)" msgstr "(KVM)VM必须不能使用本地磁盘存储。(在XenServer和VMware中,CloudStack依靠XenMotion和vMotion允许使用了本地磁盘的VM能够在线迁移。)" # 7afc45cd0fd64406bf6773ae8ca01061 #: ../../virtual_machines.rst:785 msgid "" "(KVM) The destination host must be in the same cluster as the original host." " (On XenServer and VMware, VM live migration from one cluster to another is " "enabled by CloudStack support for XenMotion and vMotion.)" msgstr "(KVM)目标主机必须跟源主机在同一个群集。(在XenServer和VMware上,CloudStack依靠XenMotion和vMotion,允许VM从一个群集在线迁移到另一个群集)" # 5b314d24029f4c3b8005118729a96b8a #: ../../virtual_machines.rst:790 msgid "To manually live migrate a virtual machine" msgstr "手动在线迁移一个虚拟机" # 1e1e47dac41d499993b564e4a93cb2d3 #: ../../virtual_machines.rst:796 msgid "Choose the VM that you want to migrate." msgstr "选择你想迁移的VM。" # 761a3094e3774e94a810eb219c96c394 #: ../../virtual_machines.rst:798 msgid "Click the Migrate Instance button. |Migrateinstance.png|" msgstr "点击迁移实例按钮。 |Migrateinstance.png|" # fd690eecd191485bb7d1b4908411a5cc #: ../../virtual_machines.rst:800 msgid "" "From the list of suitable hosts, choose the one to which you want to move " "the VM." msgstr "从可用主机列表中,选择一个目标主机。" # 726aae3ee8924808ba550a28342fc0e5 #: ../../virtual_machines.rst:804 msgid "" "If the VM's storage has to be migrated along with the VM, this will be noted" " in the host list. CloudStack will take care of the storage migration for " "you." msgstr "如果VM的存储与VM必须一起被迁移,这点会在主机列表中标注。CloudStack会为你自动的进行存储迁移。" # 8f08330a7d1e42caaf5ef765aa58882a #: ../../virtual_machines.rst:812 msgid "Deleting VMs" msgstr "删除VMs" # c3d724719a8246f193d97c4f0d121699 #: ../../virtual_machines.rst:814 msgid "" "Users can delete their own virtual machines. A running virtual machine will " "be abruptly stopped before it is deleted. Administrators can delete any " "virtual machines." msgstr "用户可以删除他们拥有的虚拟机。在删除运行中的虚拟机之前,虚拟机会被强制停止。管理员可以删除任何虚拟机。" # 7ce9ae8ec54a41f9a717fdf87bd9c144 #: ../../virtual_machines.rst:818 msgid "To delete a virtual machine:" msgstr "要删除虚拟机:" # e404b64388f74a71bbfc6af41ccd3ff1 #: ../../virtual_machines.rst:824 msgid "Choose the VM that you want to delete." msgstr "选择你想删除的VM。" # 2d8231a2d7c149b796ed88861d1bb909 #: ../../virtual_machines.rst:826 msgid "Click the Destroy Instance button. |Destroyinstance.png|" msgstr "点击销毁实例按钮。 |Destroyinstance.png|" # e060074ca29143089e33cdd841b6e53c #: ../../virtual_machines.rst:830 msgid "Working with ISOs" msgstr "使用ISOs" # 49e588f8f3d3457396167bfe47840a9c #: ../../virtual_machines.rst:832 msgid "" "CloudStack supports ISOs and their attachment to guest VMs. An ISO is a " "read-only file that has an ISO/CD-ROM style file system. Users can upload " "their own ISOs and mount them on their guest VMs." msgstr "CloudStack支持ISOs和将其挂载到来宾VMs。ISO是一种只读的ISO/CD-ROM格式的文件文件系统。用户可以上传他们自己的ISOs并且将其挂载至他们的来宾VMs。" # 43da1c69da0e4ff3ba3867e9061ad9c4 #: ../../virtual_machines.rst:836 msgid "" "ISOs are uploaded based on a URL. HTTP is the supported protocol. Once the " "ISO is available via HTTP specify an upload URL such as " "http://my.web.server/filename.iso." msgstr "ISOs文件通过URL上传。HTTP是受支持的协议。一旦ISO通过HTTP指定一个上传URL,比如http://my.web.server/filename.iso上传成功,那么文件就可以用了。" # 646b8bd2384245229f23171a7a8d7712 #: ../../virtual_machines.rst:840 msgid "" "ISOs may be public or private, like templates.ISOs are not hypervisor-" "specific. That is, a guest on vSphere can mount the exact same image that a " "guest on KVM can mount." msgstr "ISOs可能是私有的也可以是共有的,像templates.ISOs并不针对某种hypervisor。也就是说,运行在vSphere上的来宾虚机和运行在KVM上的虚机可以挂载同一个ISO。" # 3d98a7d5d5ef47d5b8a0ccafaa66e0e7 #: ../../virtual_machines.rst:844 msgid "" "ISO images may be stored in the system and made available with a privacy " "level similar to templates. ISO images are classified as either bootable or " "not bootable. A bootable ISO image is one that contains an OS image. " "CloudStack allows a user to boot a guest VM off of an ISO image. Users can " "also attach ISO images to guest VMs. For example, this enables installing PV" " drivers into Windows. ISO images are not hypervisor-specific." msgstr "ISO镜像可能存储在系统中并且隐私级别与模板相似。ISO镜像分为可引导或不可引导的。可引导的ISO镜像是包含了OS镜像的。CloudStack允许用户通过ISO镜像来启动来宾虚机。用户同样可以将ISO镜像挂载到来宾VMs。比如,给Windows安装PV驱动。ISO镜像不指定hypervisor。" # 8d9568801830478a848ccdac420a263f #: ../../virtual_machines.rst:854 msgid "Adding an ISO" msgstr "添加ISO" # ba8d1a29acc24d7ca0da86abbc13d3d2 #: ../../virtual_machines.rst:856 msgid "" "To make additional operating system or other software available for use with" " guest VMs, you can add an ISO. The ISO is typically thought of as an " "operating system image, but you can also add ISOs for other types of " "software, such as desktop applications that you want to be installed as part" " of a template." msgstr "为了添加额外的操作系统或者给来宾VMs使用其它软件,你可以添加ISO。操作系统镜像被认为是最典型的ISO,但是你也能添加软件类型的ISOs,例如你想把安装的桌面应用作为模板的一部分。" # 79227c9ef0904022a147fb56ff1f7530 #: ../../virtual_machines.rst:862 msgid "Log in to the CloudStack UI as an administrator or end user." msgstr "使用管理员或者终端用户账号登录CloudStack UI。" # 0241367a6d3f4783a3b774447b3e7ba8 #: ../../virtual_machines.rst:864 msgid "In the left navigation bar, click Templates." msgstr "在左侧的导航栏,点击模板。" # 0f973ef8ca224955a380e55e4cb178f7 #: ../../virtual_machines.rst:866 msgid "In Select View, choose ISOs." msgstr "在选择视图中,选择ISOs。" # 7fa77a1f7f2c433b9a91a2674c905e0f #: ../../virtual_machines.rst:868 msgid "Click Add ISO." msgstr "点击添加ISO。" # d823b6abfa4f4f90a537b89a3028cbf8 #: ../../virtual_machines.rst:870 msgid "In the Add ISO screen, provide the following:" msgstr "在添加ISO界面中,提供下列信息:" # 3685d0bb311b4ed380fda725b7cd9278 #: ../../virtual_machines.rst:872 msgid "" "**Name**: Short name for the ISO image. For example, CentOS 6.2 64-bit." msgstr "**名称**: ISO 镜像的简称。例如,CentOS6.2 64-bit。" # 2b4eed14408848cdba835ad59d43680e #: ../../virtual_machines.rst:875 msgid "" "**Description**: Display test for the ISO image. For example, CentOS 6.2 " "64-bit." msgstr "**描述**: 对于ISO镜像的描述。例如,CentOS 6.2 64-bit." # f186dace19cc4fb78d4e957564d8542e #: ../../virtual_machines.rst:878 msgid "" "**URL**: The URL that hosts the ISO image. The Management Server must be " "able to access this location via HTTP. If needed you can place the ISO image" " directly on the Management Server" msgstr "**URL**: ISO镜像主机的URL。管理服务器必须能够通过HTTP访问这个地址。如果有需要你可以直接将ISO放置到管理服务器中。" # 425e7404b8194bb5931d02792793408e #: ../../virtual_machines.rst:882 msgid "" "**Zone**: Choose the zone where you want the ISO to be available, or All " "Zones to make it available throughout CloudStack." msgstr "**区域**: 选择你希望该ISO在到哪个区域可用,或者选择所有区域使该ISO在CloudStack中全部区域中可用。" # aa204bdaf6d9433bb4412c757dc5d44b #: ../../virtual_machines.rst:885 msgid "" "**Bootable**: Whether or not a guest could boot off this ISO image. For " "example, a CentOS ISO is bootable, a Microsoft Office ISO is not bootable." msgstr "**可启动**: 来宾是否可以通过该ISO镜像启动。例如,一个CentOS ISO 是可启动的,一个Microsoft Office ISO 是不可启动的。" # 8b59d99740ca42ecbb70e61c148a6cea #: ../../virtual_machines.rst:889 msgid "" "**OS Type**: This helps CloudStack and the hypervisor perform certain " "operations and make assumptions that improve the performance of the guest. " "Select one of the following." msgstr "**操作系统类型*: 这有助于CloudStack和Hypervisor执行某些操作并假设可提高来宾虚拟机的性能。选择下列之一。" # 55d339b4332b4f8d90ab0c41ac4064b8 #: ../../virtual_machines.rst:893 msgid "" "If the operating system of your desired ISO image is listed, choose it." msgstr "如果你需要的ISO镜像对应的操作系统在列表中,请选择它。" # 7181c3bfc6ea45d29f5de6686bdbc0c8 #: ../../virtual_machines.rst:896 msgid "" "If the OS Type of the ISO is not listed or if the ISO is not bootable, " "choose Other." msgstr "如果ISO镜像的操作系统类型没有被列出或者ISO是不可引导的,选择Other。" # 121ed273b9d942f0bcab107605fbc155 #: ../../virtual_machines.rst:899 msgid "" "(XenServer only) If you want to boot from this ISO in PV mode, choose Other " "PV (32-bit) or Other PV (64-bit)" msgstr "(仅针对XenServer) 如果你想使用这个ISO在PV 模式中引导,选择 Other PV (32-bit) 或 Other PV(64-bit)" # 4630b5213f5447b692ec7949d9d2d0b8 #: ../../virtual_machines.rst:902 msgid "" "(KVM only) If you choose an OS that is PV-enabled, the VMs created from this" " ISO will have a SCSI (virtio) root disk. If the OS is not PV-enabled, the " "VMs will have an IDE root disk. The PV-enabled types are:" msgstr "(仅针对KVM) 如果你选择一个操作系统为PV-enabled,, 通过这个ISO创建的虚拟机会有一个SCSI(virtio)根磁盘。如果这个操作系统没有PV-enabled,,虚拟机将有一个IDE根磁盘。PV-enabled 类型是:" # 635be29dfcf3483a8f0a22d1a6baccd9 #: ../../virtual_machines.rst:907 msgid "Fedora 13" msgstr "Fedora 13" # 93e9c1d5a6a3487d8c2c3fa739eaf98d #: ../../virtual_machines.rst:909 msgid "Fedora 12" msgstr "Fedora 12" # 2a8eeb99d2ea4a3bac651072df26da55 #: ../../virtual_machines.rst:911 msgid "Fedora 11" msgstr "Fedora 11" # c31cbc941bb44094846e2e60cddb38b8 #: ../../virtual_machines.rst:913 msgid "Fedora 10" msgstr "Fedora 10" # 46d96452f5e645899cdbeed2f1d8dd64 #: ../../virtual_machines.rst:915 msgid "Fedora 9" msgstr "Fedora 9" # 4b44f056e016456b86e5d94d780f5c70 #: ../../virtual_machines.rst:917 msgid "Other PV" msgstr "Other PV" # 1f0bbb7dcde34e43a90ab458542c9245 #: ../../virtual_machines.rst:919 msgid "Debian GNU/Linux" msgstr "Debian GNU/Linux" # fa0ff295703648b6a27c3051e80cc1a7 #: ../../virtual_machines.rst:921 msgid "CentOS 5.3" msgstr "CentOS 5.3" # 10c5d0e4740249ef938a3af66c83cbd4 #: ../../virtual_machines.rst:923 msgid "CentOS 5.4" msgstr "CentOS 5.4" # 3abebb97eac94950b3928ed76316c4fb #: ../../virtual_machines.rst:925 msgid "CentOS 5.5" msgstr "CentOS 5.5" # 6e43cd1649cc453eb9ddd4fd035c80cc #: ../../virtual_machines.rst:927 msgid "Red Hat Enterprise Linux 5.3" msgstr "Red Hat Enterprise Linux 5.3" # 460371604538459f9aaab9dbec447cdd #: ../../virtual_machines.rst:929 msgid "Red Hat Enterprise Linux 5.4" msgstr "Red Hat Enterprise Linux 5.4" # 7d68f48aeac44031b6cd313d5fc799a1 #: ../../virtual_machines.rst:931 msgid "Red Hat Enterprise Linux 5.5" msgstr "Red Hat Enterprise Linux 5.5" # a2764fbb27c34b978dae6142215c6850 #: ../../virtual_machines.rst:933 msgid "Red Hat Enterprise Linux 6" msgstr "Red Hat Enterprise Linux 6" # 94dfebd340a74c8b88a2994cc95f58ec #: ../../virtual_machines.rst:936 msgid "" "It is not recommended to choose an older version of the OS than the version " "in the image. For example, choosing CentOS 5.4 to support a CentOS 6.2 image" " will usually not work. In these cases, choose Other." msgstr "不建议选择一个比操作系统镜像老的版本。例如,选择CentOS 5.4 去支持一个CentOS6.2的镜像通常导致不能工作。在这种情况下,去选择Other。" # f097cba5535645278ee6719b4a03072a #: ../../virtual_machines.rst:941 msgid "" "**Extractable**: Choose Yes if the ISO should be available for extraction." msgstr "**可提取**: 如果该ISO可以被提取出来,则选择Yes。" # 7d047a068b0a49599ef129b9c79a6666 #: ../../virtual_machines.rst:944 msgid "**Public**: Choose Yes if this ISO should be available to other users." msgstr "**公共**: 如果该ISO可以被所有用户使用,则选择Yes。" # cc70871cc63f4a778f5a762c96814820 #: ../../virtual_machines.rst:947 msgid "" "**Featured**: Choose Yes if you would like this ISO to be more prominent for" " users to select. The ISO will appear in the Featured ISOs list. Only an " "administrator can make an ISO Featured." msgstr "**精选**: 如果你想这个用户在选择这个ISO时更加突出则选择Yes。该ISO将出现在精选ISO列表中。只有管理员可以设置ISO为精选。" # 0ada7b2845314dff81bc2025971a349d #: ../../virtual_machines.rst:953 msgid "" "The Management Server will download the ISO. Depending on the size of the " "ISO, this may take a long time. The ISO status column will display Ready " "once it has been successfully downloaded into secondary storage. Clicking " "Refresh updates the download percentage." msgstr "管理服务器将下载该ISO。根据ISO镜像的大小,下载过程可能会用很长时间。一旦该镜像已经被成功下载到辅助存储时ISO 状态栏将会显示Ready。点击刷新更新更新百分比。" # 6918d4062b5b40fe9ec994fe73602e85 #: ../../virtual_machines.rst:958 msgid "" "**Important**: Wait for the ISO to finish downloading. If you move on to the" " next task and try to use the ISO right away, it will appear to fail. The " "entire ISO must be available before CloudStack can work with it." msgstr "**重要**: 等等ISO下载完成过程中。如果你想执行下一个任务并且尝试正常使用该ISO,这将会失败。在CloudStack 使用它之前该ISO必须是完整且有效的。" # b14f8c054f394494acb88245da8ba860 #: ../../virtual_machines.rst:965 msgid "Attaching an ISO to a VM" msgstr "附加ISO到虚拟机" # b5dd3e88e7fd4e289eaba6d0a5144d12 #: ../../virtual_machines.rst:969 msgid "Choose the virtual machine you want to work with." msgstr "选择要使用的虚拟机。" # 7dc31f79f1d14b79a420d462bfee1c59 #: ../../virtual_machines.rst:971 msgid "Click the Attach ISO button. |iso.png|" msgstr "点击附加ISO按钮。 |iso.png|" # c8a3faf4703b4ccd9b1e8108195cc959 #: ../../virtual_machines.rst:973 msgid "In the Attach ISO dialog box, select the desired ISO." msgstr "在附加ISO对话框中,选择所需的ISO。" # 549b92307c7f47f98184d3f1124fa408 #: ../../virtual_machines.rst:979 msgid "Changing a VM's Base Image" msgstr "改变VM's 的基础镜像" # 13e3fdc48e0047a987a24ca40e0e1a87 #: ../../virtual_machines.rst:981 msgid "" "Every VM is created from a base image, which is a template or ISO which has " "been created and stored in CloudStack. Both cloud administrators and end " "users can create and modify templates, ISOs, and VMs." msgstr "每个VM都是通过基础镜像创建的,可以是创建并存储在CloudStack中的一个模版或者一个ISO镜像。云管理员和终端用户都可以创建和修改模版,ISO和VM。" # f5fa30e2adb14813a20639e4efb5b685 #: ../../virtual_machines.rst:985 msgid "" "In CloudStack, you can change an existing VM's base image from one template " "to another, or from one ISO to another. (You can not change from an ISO to a" " template, or from a template to an ISO)." msgstr "在CloudStack中,你可以改变虚拟机的基础磁盘从一个模版换成其他模版,或从一个ISO换成其他ISO。(你不能把ISO变成模版或模版变成ISO。)" # 950431c149ec42938db84b6db95abf20 #: ../../virtual_machines.rst:989 msgid "" "For example, suppose there is a template based on a particular operating " "system, and the OS vendor releases a software patch. The administrator or " "user naturally wants to apply the patch and then make sure existing VMs " "start using it. Whether a software update is involved or not, it's also " "possible to simply switch a VM from its current template to any other " "desired template." msgstr "例如,假设有一个模板基于一个特定的操作系统,并且操作系统厂商发布了一个补丁。管理员和用户理所当然的想要将该补丁应用到已经存在的虚拟机中,并确保虚拟机开始使用它。无论是否涉及软件更新,也有可能只是将虚拟机从当前的模板切换至其他所需的模板。" # fee5003ddd3f4dbbaba68ad0e14fe0d0 #: ../../virtual_machines.rst:996 msgid "" "To change a VM's base image, call the restoreVirtualMachine API command and " "pass in the virtual machine ID and a new template ID. The template ID " "parameter may refer to either a template or an ISO, depending on which type " "of base image the VM was already using (it must match the previous type of " "image). When this call occurs, the VM's root disk is first destroyed, then a" " new root disk is created from the source designated in the template ID " "parameter. The new root disk is attached to the VM, and now the VM is based " "on the new template." msgstr "要改变熏鸡的基础镜像,通过虚拟机iD和新的模版ID调用restoreVirtualMachine API命令。模版ID参数可以参考模版或者ISO,取决于虚拟机正在使用的基础镜像类型(它必须匹配先前的镜像类型)。当这个调用生效时,虚拟机的根磁盘首先被摧毁,然后通过指定的模版ID参数创建根磁盘。新的根磁盘会附件到虚拟机中,现在虚拟机已经基于新的模版了。" # 0b104b6b42e9463c92201dd3799d82d6 #: ../../virtual_machines.rst:1005 msgid "" "You can also omit the template ID parameter from the restoreVirtualMachine " "call. In this case, the VM's root disk is destroyed and recreated, but from " "the same template or ISO that was already in use by the VM." msgstr "你同样可以在调用restoreVirtualMachine时忽略模版ID参数。在这个情况下,虚拟机的根磁盘被摧毁并重新创建。但相同的模版或ISO已经被该虚拟机使用。" # e0d3653b842a43b7bd3f9cba8bfb4397 #: ../../virtual_machines.rst:1012 msgid "Using SSH Keys for Authentication" msgstr "未验证使用SSH秘钥" # f04e7ecfb1314f84ab38410cef835634 #: ../../virtual_machines.rst:1014 msgid "" "In addition to the username and password authentication, CloudStack supports" " using SSH keys to log in to the cloud infrastructure for additional " "security. You can use the createSSHKeyPair API to generate the SSH keys." msgstr "除了用户名和密码验证之外,出于额外的安全性考虑,CloudStack还支持使用SSH秘钥来登录到云架构。你可以使用createSSHKeyPair API来生成SSH秘钥。" # 007515e3abea40618c568f35513e1571 #: ../../virtual_machines.rst:1019 msgid "" "Because each cloud user has their own SSH key, one cloud user cannot log in " "to another cloud user's instances unless they share their SSH key files. " "Using a single SSH key pair, you can manage multiple instances." msgstr "因为每个云用户都有他们自己的SSH秘钥,一个云用户不能登录到另一个云用户的实例中,除非他们共享了他们的SSH key文件。使用一个SSH秘钥对,你可以管理多个实例。" # 0edd947ce47c438daad162beb19d2fd7 #: ../../virtual_machines.rst:1025 msgid "Creating an Instance Template that Supports SSH Keys" msgstr "创建一个支持SSH秘钥的实例模板" # f2ce122e2dcf433a8945e8c2d923e2b6 #: ../../virtual_machines.rst:1027 msgid "Create an instance template that supports SSH Keys." msgstr "创建一个支持SSH秘钥的实例模板。" # c683112d085244fabffdc696c868fdf2 #: ../../virtual_machines.rst:1029 msgid "Create a new instance by using the template provided by cloudstack." msgstr "使用CloudStack提供的模板创建一个新的实例。" # 0409d2f2d7964ac28bfeb8bed3f58e12 #: ../../virtual_machines.rst:1031 msgid "For more information on creating a new instance, see" msgstr "关于创建新实例的更多信息,请参阅" # 497da833fd9642c39f7ca84fadb0ce84 #: ../../virtual_machines.rst:1033 msgid "" "Download the cloudstack script from `The SSH Key Gen Script " "<http://sourceforge.net/projects/cloudstack/files/SSH%20Key%20Gen%20Script/>`_" " to the instance you have created." msgstr "从 `The SSH Key Gen Script <http://sourceforge.net/projects/cloudstack/files/SSH%20Key%20Gen%20Script/>`_ 下载CloudStack脚本到你已经创建的实例中。" # 339a3d87be144308915639d37c89ea1d #: ../../virtual_machines.rst:1041 msgid "Copy the file to /etc/init.d." msgstr "复制这个脚本到 /etc/init.d。" # f601fce5097849559dc10a71eeb440a9 #: ../../virtual_machines.rst:1047 msgid "Give the necessary permissions on the script:" msgstr "给这个脚本必要的权限:" # a5a38d6cf81845aa81cbb049a6c03108 #: ../../virtual_machines.rst:1053 msgid "Run the script while starting up the operating system:" msgstr "当系统启动的时候运行脚本:" # 733b18c1fccb453396b69626f1da7452 #: ../../virtual_machines.rst:1059 msgid "Stop the instance." msgstr "停止实例。" # 580da0c9298f41699deb34011b0310e6 #: ../../virtual_machines.rst:1063 msgid "Creating the SSH Keypair" msgstr "创建SSH秘钥对" # c5ac52360d7941528588398acbb420e8 #: ../../virtual_machines.rst:1065 msgid "" "You must make a call to the createSSHKeyPair api method. You can either use " "the CloudStack Python API library or the curl commands to make the call to " "the cloudstack api." msgstr "你必须给createSSHKeyPair api方法做一个调用。你可以使用CloudStack Python API 库或curl 命令给CloudStack API做调用。" # 89cec2df86664c26bafeddd6fd2aa054 #: ../../virtual_machines.rst:1069 msgid "" "For example, make a call from the cloudstack server to create a SSH keypair " "called \"keypair-doc\" for the admin account in the root domain:" msgstr "比如,从CloudStack服务器为根域中的管理员帐户做调用来创建一个SSH秘钥对 ,名称为 \"keypair-doc\" :" # c57fbd36512446559d91c1b7eeff7cea #: ../../virtual_machines.rst:1073 msgid "" "Ensure that you adjust these values to meet your needs. If you are making " "the API call from a different server, your URL/PORT will be different, and " "you will need to use the API keys." msgstr "确认你调整这些值是你所需要的。如果你从不同的服务器上做API调用,你的 URL/PORT 也是不同的,并且你必须使用API 秘钥。" # 6d651f1b57ef4e81ade3cdafcc642e4b #: ../../virtual_machines.rst:1077 msgid "Run the following curl command:" msgstr "运行如下curl命令:" # 665246c92ab74234b1790979863082a7 #: ../../virtual_machines.rst:1083 msgid "The output is something similar to what is given below:" msgstr "输出的内容与下面所示的类似:" # 64c5993f04f043b5a0e5925aef2db171 #: ../../virtual_machines.rst:1101 msgid "Copy the key data into a file. The file looks like this:" msgstr "复制秘钥的数据到一个文件。这个文件类似于:" # cf75a310b6854564b8053aa63328f6ce #: ../../virtual_machines.rst:1118 msgid "Save the file." msgstr "保存文件。" # 87cc3ec398db47f09bc21e1a66c8720f #: ../../virtual_machines.rst:1122 msgid "Creating an Instance" msgstr "创建实例" # e115c665e72345fcab3fc94458caa818 #: ../../virtual_machines.rst:1124 msgid "" "After you save the SSH keypair file, you must create an instance by using " "the template that you created at `Section 5.2.1, “ Creating an Instance " "Template that Supports SSH Keys” <#create-ssh-template>`__. Ensure that you " "use the same SSH key name that you created at `Section 5.2.2, “Creating the " "SSH Keypair” <#create-ssh-keypair>`__." msgstr "在你保存了SSH秘钥对文件之后,你必须使用你在`章节 5.2.1, “ 创建支持SSH秘钥的实例模板” <#create-ssh-template>`__中创建的模来板创建一个实例。确保你使用与你在`章节 5.2.2, “创建秘钥对” <#create-ssh-keypair>`__中创建的同样的SSH秘钥名称。" # 8e5a7943aaf741989b2f9aa7c92fa061 #: ../../virtual_machines.rst:1131 msgid "" "You cannot create the instance by using the GUI at this time and associate " "the instance with the newly created SSH keypair." msgstr "这时候你不能通过使用 GUI来创建实例,要使用新创建的SSH秘钥对来关联实例。" # bb36e5f1a5cc497bb95f96481cd3c232 #: ../../virtual_machines.rst:1134 msgid "A sample curl command to create a new instance is:" msgstr "使用简单的curl命令创建新的实例:" # 9a98f03016ba40f1b8eb932e8e15a75c #: ../../virtual_machines.rst:1140 msgid "" "Substitute the template, service offering and security group IDs (if you are" " using the security group feature) that are in your cloud environment." msgstr "在你的云环境中,服务方案和安全组IDs(如果你使用安全组功能)可以替代模板。" # 9c448726db0b469bb32323df48aeba12 #: ../../virtual_machines.rst:1146 msgid "Logging In Using the SSH Keypair" msgstr "使用SSH秘钥对登录" # 5276ff9c384b4372bc6814b7f7461ae2 #: ../../virtual_machines.rst:1148 msgid "" "To test your SSH key generation is successful, check whether you can log in " "to the cloud setup." msgstr "测试你的SSH秘钥的生成是否成功,需要检查是否能够登录到云中。" # 632b48d2ebaf4620be47c9bc1b6e1d39 #: ../../virtual_machines.rst:1151 msgid "For example, from a Linux OS, run:" msgstr "举个例子,在LinuxOS中,运行:" # b597ba33b4154d5c95931e7a30a1aa41 #: ../../virtual_machines.rst:1157 msgid "" "The -i parameter tells the ssh client to use a ssh key found at ~/.ssh" "/keypair-doc." msgstr "参数-i是通知ssh客户端使用一个在~/.ssh/keypair-doc中找到的ssh秘钥。" # 0ebe651140d94e709efff80066e042b7 #: ../../virtual_machines.rst:1162 msgid "Resetting SSH Keys" msgstr "重置SSH密钥" # 1367090489eb4ad68179bce4ba266e37 #: ../../virtual_machines.rst:1164 msgid "" "With the API command resetSSHKeyForVirtualMachine, a user can set or reset " "the SSH keypair assigned to a virtual machine. A lost or compromised SSH " "keypair can be changed, and the user can access the VM by using the new " "keypair. Just create or register a new keypair, then call " "resetSSHKeyForVirtualMachine." msgstr "通过API命令resetSSHKeyForVirtualMachine,用户可以设置或者重设分配给虚拟机的SSH秘钥对。可以更改丢失或被盗用的SSH密钥对,并且用户可以使用新的秘钥对来访问VM。只要创建或注册新的密钥对然后调用resetSSHKeyForVirtualMachine。"