Getting started with VMware vSphere
Use the following information to get started with VMware® vSphere.
Understanding the environment and configuration
To optimize your VMware solution, it is recommended that you use a private network VLAN for your VMware vSphere environment. You can use the provisioning profile for the following Layer 2 segment traffic boundaries:
Example VLAN ID | Description | Type | Extra detail |
---|---|---|---|
VLAN1 - 1101 | Management, VxLAN | Private BCR | Native untagged VLAN, the original native VLAN that the VMware hosts are deployed into at the time of ordering |
VLAN4 - 2200 | Public internet access DMZ | Public FCR | Native untagged VLAN, the original native VLAN that the VMware hosts are deployed into at the time of ordering |
Before you begin
Make sure that you have any necessary account permissions and device access. Only the account owner, or a user with the Manage Users classic infrastructure permission, can adjust the permissions.
Ordering vSphere servers
- Click Devices > Device list.
- Click Order devices
- In the Compute category, click Bare Metal Servers.
- In the Bare Metal Server section, click Monthly.
- Select the servers. See VMware Support publications for minimum requirements:
- The following servers were selected for the example. Keep in mind that having dual unbonded public and private uplinks is a requirement for redundancy. Confirm that the data center where you created your VLANs contain unbonded uplinks.
- Capacity Cluster (Quantity 2)
- Server configuration - Select an Intel® Xeon v3 server from the 'Dual processor multi-core Servers' section
- Software is OS = VMware
- OS Storage is 2 x 1 TB SATA (configured as a RAID 1)
- Data Storage - Recommend ordering 2 TB SATA or 1.2 TB SSD or Endurance or Performance NFS SAN Storage
- If you are interested in other storage types, see Storage to use with VMware Systems
- Uplink Port Speeds: 1 Gbps Dual Public and Private Networks (Unbonded)
- 10 Gbps Uplinks are recommended for VMware vSAN solutions
- If you are creating a new deployment in a new IBM Cloud® data center, proceed to step 6. If this deployment is an expansion or a deployment into an existing Data Center, select the preferred back-end BCR VLAN + front-end FCR VLAN. For the example, the back-end BCR VLAN is 1101 and the front-end FCR VLAN is 2200. Note: If this deployment is new or a new deployment into a new DC the back-end BCR and front-end FCR VLANs are created when you order the server.
- Enter a Hostname and Domain.
- Review the order and click Finalize Your Order to start the provisioning process.
Ordering vCenter Server
vCenter is an add-on to a Windows Server. This configuration scales up to 20 vSphere hosts. For larger implementations, deployment of the vCenter Server Appliance (VCSA) Deploy and Configure a vCenter Server Appliance (vCSA) directly to a vSphere cluster is recommended.
Use the following steps to order a virtual server with vCenter.
-
Click Devices > Device list.
-
Click Order devices
-
In the Compute category, click either Bare metal servers or Virtual Server. Select the Monthly billing option.
- For a virtual server instance to qualify for vCenter, you must deploy on at least 4 x 2.0 GHz Cores and 4 GB of RAM
- For a listing of vCenter Deployment recommendations, see the VMware vCenter Server Deployment Guide.
-
Enter the following information:
- Based on the Recommended Minimum Server Configuration
- vCPU Core Configuration: 4 x 2.0 GHz Cores
- RAM Configuration: 12 GB RAM
- Software - OS = Windows® Server 2012 R2 Standard Edition (64 Bit)
- OS-Specific Addon: vCenter
- First Disk - 1 x 100 GB (SAN)
- Second Disk - 1 x 50 GB (SAN)
- Uplink Port Speeds: 1 Gbps Public and Private Network Uplinks
- Based on the Recommended Minimum Server Configuration
-
If this deployment is new, proceed to step 6. If this deployment is an expansion or deployment in to an existing data center, select the preferred back-end BCR VLAN + front-end FCR VLAN. For our example, our back-end BCR VLAN is 1101 and the front-end FCR VLAN is 2200. Note: If this deployment is new or if it's a new deployment into a new DC, the back-end BCR and front-end FCR VLANs are created when you order the server)
-
Enter a Hostname and Domain.
-
Review the order and click Finalize your order to start the provisioning process.
Ordering portable public and private subnets and IP addresses
Note: Do not proceed if the VLANs are not provisioned.
The subnets are used for addressing VMware Guest virtual machine (VM) and VMware host kernel-based traffic.
- Click Network > IP Management > Subnets.
- Click Order IP addresses on the upper right of the screen.
- Select Portable Private.
- Select the appropriate VLAN (Example: bcr01.wdc04: 1101)
- Click Continue.
- Complete the Order IP address form.
- Click Order IP addresses on the upper right of the screen.
- Click Place order.
- Follow this process for each applicable VLAN (Ex. 1101, 2200)
- For more information about VLANs, see Getting started with VLANs.
Subnet Type | Subnet size | Bound VLAN | vSphere host usage |
---|---|---|---|
Portable - Private | /27 32 Address | 1101 | Management VMs |
Portable - Private | /27 32 Address | 1101 | VM kernel ports for iSCSI and vMotion |
Portable - Private | /27 32 Address | 1101 | Private IPs for Guest VM |
Portable - Public | /27 32 Address | 2200 | Public IPs for Guest VMs (Optional) |
Optional – Disabling the public interface on the vSphere host
You can disable the vSphere public interfaces for security purposes if you aren't using them.
- Click Devices > Device list.
- Click the name of your vSphere host.
- Click the Configuration table and scroll down to the Network section.
- Select Disconnect for each applicable vSphere host eth1 and eth3 pairs for all hosts.
Creating and configuring vSphere data center cluster
You can now log in to the vCenter server and configure the vSphere cluster.
- Click Devices > Device list
- Find your vCenter device and click its name.
- Scroll down the Device details screen to the Network section of the server and make note of the Private IP address.
- Scroll down the Device details screen and note the Passwords for both the Windows OS and vCenter software.
- Open a Microsoft® Remote Desktop (RDP) session and connect to your vCenter server through its public IP address.
- Log in by using the passwords that you obtained in step 4. Note: You need an active VPN connection to IBM Cloud® needs if you use a private IP address to access vCenter. For more information about VPN access, see Enabling SSL VPN access.
- Download and install the traditional vSphere client or use the vSphere web client by using following the link
https://<vCenter-Sever-Public-IP-Address>/vsphere-client/
. - Log in to vCenter with the IP address and passwords that you obtained in steps 3 and 4.
- Right-click the vCenter server name in the left pane and select New data center.
- Enter an appropriate name for the data center.
- Right-click on the data center and select New cluster.
- Enter a cluster name. DO NOT turn on Cluster Features, vSphere HA or vSphere DRS.
- Click Next.
- Leave EVC disabled and click Next.
- Accept the default to store the swapfile in the same directory as the virtual machine and click Next.
- Click Finish to complete the cluster.
- Right-click the newly created cluster and select Add Host.
- Enter the IP address or hostname of one of the vSphere hosts and enter Root in the Username field and the password for the host in the Password field.
- Click Next through the Host Summary, Assign License, Lockdown Mode screen, and click Finish to complete adding your host to the Cluster
- Repeat steps 18 and 19 for each other vSphere hosts in your cluster. You can see each vSphere hosts under the new cluster after you are done.
Configuring the basic network construct for the vSphere hosts
Use the following steps to configure the basic construct for the vSphere hosts in your cluster.
- Select the first vSphere host and click the Configuration tab.
- Under the Hardware section, select Networking and click Properties next to vSwitch0.
- Select Network adapters on the vSwitch properties window and click Add.
- Select vmnic2 to add to vSwitch0 and click Next.
- Make sure that both vmnics are Active adapters and click Next.
- Click Finish.
- Click the Ports tab and make sure that vSwitch is highlighted and click Edit.
- Click the General Tab and change the MTU to 9000 (jumbo frame).
- Click the NIC teaming tab and change the load balancing to Route based on IP hash and click OK.
- Use steps 1 - 8 to configure the vmnics for the other vSphere hosts in your cluster.
Now, you need to add a port group for vMotion. You can create the group with a Virtual Standard Switch (VSS) or Virtual Distributed Switch (VDS). Use the following steps to create a VSS switch.
- Select the Configuration tab and select Networking.
- Click Properties... for vSwitch0.
- Click Add... to create a Port Group.
- Select VMkernel and click Next.
- Complete Port group properties with the following information:
- Network label: An appropriate name for the port group.
- VLAN ID (Optional): The VLAN ID for vMotion traffic (1101 for our example). The VLAN ID allows VMware to tag the traffic for the specific VLAN.
- Select Use this port group for vMotion.
- Click Next.
- Enter a Portable IP address for the VLAN. (You can get the port IP address from the control portal, Network > IP management > VLANs. Select the correct VLAN and under Subnets that you see a portable IP address range. If you have no available portable IP address or if you exhausted your current pool, follow the steps that are in 'Order private subnets and IP addresses' to order extra portable IP addresses.
- Click Next and then Finish to complete.
Use the following steps to create a port group for VM data traffic.
- Click Properties... for vSwitch0 and select Add virtual machine.
- Complete the Port group properties with the following information:
- Network label: Enter the name of the port group, such as
VM Data
. - VLAN ID (Optional): Enter a VLAN ID; 1101 was used for the example. The VLAN ID gives access to VMware to tag the traffic for the VLAN.
- Network label: Enter the name of the port group, such as
Optional - Installing add-on VMware licenses (NSX, vRealize, vSAN)
Now that the VMware environment is up you are ready to continue with the deployment of extra configurations, guest VMs or VMware add-ons. Licenses for VMware add-ons can also be purchased through the IBM Cloud® control portal and added through your vCenter Console.
Next steps
You now have a basic single-site VMware environment that is running in an IBM Cloud® data center. The basic configuration has only a local data store, making it a simplified configuration that does not contain features such as VMware DRS, HA, Storage DRS, and a firewall.
For more information, see the FAQs: VMware.