Author Archives: Plus7

ESXi 网络设置

esxcli network nic list 查看网卡信息 esxcli network ip route ipv4 list 查看路由(ipv4) esxcli network ip dns server list 查看 dns esxcli network ip interface ipv4 get 查看ip配置(ipv4) esxcfg-route: esxcfg-route 查看默认路由 esxcfg-nics: esxcfg-nics 等价 esxcli network nic list tcpdump-uw:类似于Linux下的 tcpdump, 是 ESX 的抓包工具vsish

Posted in OS, vSphere | Tagged , | Leave a comment

ESXi shell控制虚拟机开关机

To power on a virtual machine from the command line:List the inventory ID of the virtual machine with the command: vim-cmd vmsvc/getallvms |grep <vm name> Note: The first column of the output shows the vmid.Check the power state of the … Continue reading

Posted in OS, vSphere | Tagged , | Leave a comment

ESXi使用ssh-key登陆

通过 ssh 登录到 ESXi 系统后, 可以通过 passwd root 来修改密码参考 Changing ESXi Root Password , 里面还说明了如何开启 ESXi ssh 登录.For ESXi 5.0, the location of authorized_keys is: /etc/ssh/keys-<username>/authorized_keys

Posted in AutomaticOPS, OS, SSH/PSSH, vSphere | Tagged , | Leave a comment

Glusterfs 排错

出现诸如rpc服务不可用导致glusterfs不可使用 报错的情况 Dec  9 10:36:32 node3 systemd: Cannot add dependency job for unit loopback_gluster.service, ignoring: Unit not found. Dec  9 10:36:32 node3 systemd: rpcbind.socket failed to listen on sockets: Address family not supported by protocol Dec  9 10:36:32 node3 systemd: Failed to listen … Continue reading

Posted in Glusterfs, Servuce | Tagged , , | Leave a comment

GlusterFS与Kubernetes的适配

安装epel源 pssh -l auto -h /opt/node.list -i ‘sudo yum install -y epel-release*’ 安装heketi

Posted in Glusterfs, Kubernetes | Tagged , , , | Leave a comment