侯体宗的博客
  • 首页
  • Hyperf版
  • beego仿版
  • 人生(杂谈)
  • 技术
  • 关于我
  • 更多分类
    • 文件下载
    • 文字修仙
    • 中国象棋ai
    • 群聊
    • 九宫格抽奖
    • 拼图
    • 消消乐
    • 相册

Citrix XenCenter7.2客户端中设置开机启动

linux  /  管理员 发布于 3年前   2250

我的开发环境是XenServer环境安装的虚拟机,之前停电导致没启动,我就上网找了一下,有设置开机启动的功能,所以要设置一下。

写一篇博文记录之,以供自己及有需要的老铁查阅


Citrix XenCenter :

该技术是专为虚拟应用程序和桌面工作负载而优化的高性能虚拟机管理程序,基于 Xen 项目虚拟机管理程序,现在称为 Citrix Hypervisor


官方手册:

https://docs.citrix.com/zh-cn/xenserver/


下载安装Citrix软件,我这已安装好 windows安装就不说了

1.png


双击登录进来

我的用户名:root  密码:123456

2.png


中间导航栏点击Console控制台,就是一个linux系统一样,也需要登录,用上面的信息

Citrix XenServer Host 7.2.0
System Booted: 2021-06-05 12:00
Your XenServer Host has now finished booting. 
To manage this server please use the Citrix XenCenter application. 
You can install XenCenter for Windows from the XenServer installation media.
You can connect to this system using one of the following network
addresses:
172.18.1.4
XenServer Host SSL certificate fingerprint:
C4:D0:4D:15:9D:9B:37:22:9D:6E:4E:2D:42:3F:D1:E2:AB:F7:1F:86
Password: 
Last login: Mon Mar 22 17:58:01 on pts/0
XenServer dom0 configuration is tuned for maximum performance and reliability.
Configuration changes which are not explicitly documented or approved by Citrix
Technical Support, may not have been tested and are therefore not supported. In
addition, configuration changes may not persist after installation of a hotfix
or upgrade, and could also cause a hotfix or upgrade to fail.
Third party tools, which require modification to dom0 configuration, or
installation into dom0, may cease to function correctly after upgrade or hotfix
installation. Please consult Citrix Technical Support for advice regarding
specific tools.
Type "xsconsole" for access to the management console.

##列出所有的pool

[root@xenserver-serv1 ~]# xe pool-list  
uuid ( RO)                : f612ea4a-ca5f-0201-ce54-e24afcbfc4e4
          name-label ( RW): 
    name-description ( RW): 
              master ( RO): 03f4f6df-9179-4e6b-b32d-71d9793d34ed
          default-SR ( RW): 0ad84d5c-d1c2-a3ad-5ebf-3a846ea779ff


##xenserver 设置pool的自动启动

[root@xenserver-serv1 ~]# xe pool-param-set uuid=f612ea4a-ca5f-0201-ce54-e24afcbfc4e4 other-config:auto_poweron=true

##列出所有的虚拟机

[root@xenserver-serv1 ~]# xe vm-list
uuid ( RO)           : 38301ab5-7acb-4a42-89c7-58f0344d0dcf
     name-label ( RW): k8s-master03
    power-state ( RO): halted
uuid ( RO)           : 18e1f771-3117-d315-bb9d-c039cdcc9420
     name-label ( RW): k8s-master01
    power-state ( RO): halted
uuid ( RO)           : 66879e08-ae85-c764-877c-a838c0f886c5
     name-label ( RW): k8s-node01
    power-state ( RO): halted
uuid ( RO)           : ef164fa5-d2d3-4dc4-9089-038642fdb2f4
     name-label ( RW): Control domain on host: xenserver-serv1
    power-state ( RO): running
uuid ( RO)           : 1ce24481-4bd9-23f1-bad9-e4ce41a7caa9
     name-label ( RW): k8s-node02
    power-state ( RO): halted
uuid ( RO)           : bc76338e-2ebf-1bcd-fe65-ed3e3c68d46e
     name-label ( RW): k8s-master02
    power-state ( RO): halted
uuid ( RO)           : 56b691b7-e3a6-3970-9b53-aab01860ac7a
     name-label ( RW): Windows Server 2008 R2 (64-bit) (1)
    power-state ( RO): running
uuid ( RO)           : b8af45e9-ea96-71b8-2e47-5245663f2da2
     name-label ( RW): kubesphere
    power-state ( RO): halted
uuid ( RO)           : f0041ad1-a1f1-ebd2-ef84-4090572163bd
     name-label ( RW): centos
    power-state ( RO): running
uuid ( RO)           : ab391aed-1ceb-67ee-4ac6-4c8848fa1fb0
     name-label ( RW): k8s-node03
    power-state ( RO): halted

是跟我上面图片右边的虚拟机对应上的


##xenserver下虚拟机设置开机自启  (对应uuid) 

我这里设置我的windows server 2008 r2开机启动

[root@xenserver-serv1 ~]# xe vm-param-set uuid=56b691b7-e3a6-3970-9b53-aab01860ac7a other-config:auto_poweron=true

备注:

## 设置所有虚拟机开启自启

[root@xenserver-serv1 ~]# for i in xe vm-list params=uuid --minimal|sed 's/,/ /g';do xe vm-param-set uuid=$i other-config:auto_poweron=true;done

##取消虚拟机开机自启

[root@xenserver-serv1 ~]# xe vm-param-remove uuid=xxxx param-name=other-config param-key=auto_poweron

以上备注命令我没有试过,暂时没那场景,有兴趣的可以试一下



完



  • 上一条:
    把.net Core 项目迁移到VS2019 for MAC的方法步骤
    下一条:
    beego框架中在基类中根据自定义url实现简单的权限控制
  • 昵称:

    邮箱:

    1条评论 (评论内容有缓存机制,请悉知!)
    最新最热
    • 分类目录
    • 人生(杂谈)
    • 技术
    • linux
    • Java
    • php
    • 框架(架构)
    • 前端
    • ThinkPHP
    • 数据库
    • 微信(小程序)
    • Laravel
    • Redis
    • Docker
    • Go
    • swoole
    • Windows
    • Python
    • 苹果(mac/ios)
    • 相关文章
    • 在Linux系统中使用Iptables实现流量转发功能流程步骤(0个评论)
    • vim学习笔记-入门级需要了解的一些快捷键(0个评论)
    • 在centos7系统中实现分区并格式化挂载一块硬盘到/data目录流程步骤(0个评论)
    • 在Linux系统种查看某一个进程所占用的内存命令(0个评论)
    • Linux中grep命令中的10种高级用法浅析(0个评论)
    • 近期文章
    • 在go+gin中使用"github.com/skip2/go-qrcode"实现url转二维码功能(0个评论)
    • 在go语言中使用api.geonames.org接口实现根据国际邮政编码获取地址信息功能(1个评论)
    • 在go语言中使用github.com/signintech/gopdf实现生成pdf分页文件功能(0个评论)
    • gmail发邮件报错:534 5.7.9 Application-specific password required...解决方案(0个评论)
    • 欧盟关于强迫劳动的规定的官方举报渠道及官方举报网站(0个评论)
    • 在go语言中使用github.com/signintech/gopdf实现生成pdf文件功能(0个评论)
    • Laravel从Accel获得5700万美元A轮融资(0个评论)
    • 在go + gin中gorm实现指定搜索/区间搜索分页列表功能接口实例(0个评论)
    • 在go语言中实现IP/CIDR的ip和netmask互转及IP段形式互转及ip是否存在IP/CIDR(0个评论)
    • PHP 8.4 Alpha 1现已发布!(0个评论)
    • 近期评论
    • 122 在

      学历:一种延缓就业设计,生活需求下的权衡之选中评论 工作几年后,报名考研了,到现在还没认真学习备考,迷茫中。作为一名北漂互联网打工人..
    • 123 在

      Clash for Windows作者删库跑路了,github已404中评论 按理说只要你在国内,所有的流量进出都在监控范围内,不管你怎么隐藏也没用,想搞你分..
    • 原梓番博客 在

      在Laravel框架中使用模型Model分表最简单的方法中评论 好久好久都没看友情链接申请了,今天刚看,已经添加。..
    • 博主 在

      佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 @1111老铁这个不行了,可以看看近期评论的其他文章..
    • 1111 在

      佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 网站不能打开,博主百忙中能否发个APP下载链接,佛跳墙或极光..
    • 2016-11
    • 2017-07
    • 2017-10
    • 2017-11
    • 2018-01
    • 2018-02
    • 2020-03
    • 2020-04
    • 2020-05
    • 2020-06
    • 2021-02
    • 2021-03
    • 2021-04
    • 2021-06
    • 2021-07
    • 2021-08
    • 2021-09
    • 2021-10
    • 2021-11
    • 2021-12
    • 2022-01
    • 2022-03
    • 2022-04
    • 2022-08
    • 2022-11
    • 2022-12
    • 2023-01
    • 2023-02
    • 2023-03
    • 2023-06
    • 2023-07
    • 2023-10
    • 2023-12
    • 2024-01
    • 2024-04
    Top

    Copyright·© 2019 侯体宗版权所有· 粤ICP备20027696号 PHP交流群

    侯体宗的博客