User Tools

Site Tools


vsphere

This is an old revision of the document!


Vsphere

Some basic actions in Vsphere client

Create vmware

Remove vmware

Fist select the vmware, then right-click to choose “Remove from disk”

Manage Resources(CPU, Memory, Storage)

Steps to choose feature manage resources:

  1. Step1: Click to choose root node of vsphere client
  2. Step2: Click to choose tab Resource Allocation in right-window

Config Vsphere server

Config dns/routing

  1. Step1: Go to Configuration tab of connection to vsphere server
  2. Step2: Click DNS and Routing:
  3. Step3: click properties in section DNS and Routing. you must change:
    • DNS to 8.8.8.8
    • Routing: Default Gateway to 192.168.1.1(Default gateway of router ADSL)

Config auto restart

  1. Step1: Go to Configuration tab of connection to vsphere server
  2. Step2: Click Virtual machine startup/shutdown:
  3. Step3: click properties in section Virtual machine startup and shutdown. In this screen, to move one server to section Automatic Startup you must choose the server and click Move up/Move Down to this section

Enable SSH via vsphere client

  1. Step1: Go to Configuration tab of connection to vsphere server
  2. Step2: Click Software→Security Profile:
    • click properties in section services to enable, run ssh server
    • click properties in section firewall to enable allow ssh server

vsphere command lines

Basic command lines

  • View vsphere version:
    vmware -vl

    output:

    VMware ESXi 5.0.0 build-623860
    VMware ESXi 5.0.0 Update 1
  • View

Custom command lines

Create snapshot

Install CentOS minimal

Install Missinage packages:

  • tools for dev:
    yum install gcc
    yum install gcc-c++
    yum install automake
  • basic tools:
    yum install vim mc man telnet
vsphere.1473216525.txt.gz · Last modified: 2022/10/29 16:15 (external edit)