subcollection | copyright | lastupdated | lasttested | content-type | services | account-plan | completion-time | use-case | ||
---|---|---|---|---|---|---|---|---|---|---|
solution-tutorials |
|
2024-01-05 |
tutorial |
vmwaresolutions, vpc |
paid |
1h |
ApplicationModernization, Vmware |
{{site.data.keyword.attribute-definition-list}}
{: #vpc-bm-vmware-vsan} {: toc-content-type="tutorial"} {: toc-services="vmwaresolutions, vpc"} {: toc-completion-time="1h"}
This tutorial may incur costs. Use the Cost Estimator to generate a cost estimate based on your projected usage. {: tip}
This tutorial is part of series, and requires that you have completed the related tutorials in the presented order. {: important}
You need to have a minimum of three {{site.data.keyword.bm_is_short}} with local SSDs. Make sure you provisioned your {{site.data.keyword.bm_is_short}} with a compatible profile.
{: important}
In this tutorial, a vSAN cluster is created using the local disks attached the {{site.data.keyword.bm_is_short}}. This phase is optional, if you use NFS. {: shortdesc}
{: #vpc-bm-vmware-vsan-objectives}
In this tutorial, you will create a vSAN cluster using the local disks attached the {{site.data.keyword.bm_is_short}}.
{: caption="Figure 1. vSAN as a Datastore" caption-side="bottom"}
{: #vpc-bm-vmware-vsan-prereqs}
This tutorial requires:
- Common prereqs for VMware Deployment tutorials in {{site.data.keyword.vpc_short}}
This tutorial is part of series, and requires that you have completed the related tutorials. Make sure you have successfully completed the required previous steps:
- Provision a {{site.data.keyword.vpc_short}} for VMware deployment
- Provision {{site.data.keyword.dns_full_notm}} for VMware deployment
- Provision bare metal servers for VMware deployment
- Provision vCenter Appliance
Login with IBM Cloud CLI with username and password, or use the API key. Select your target region and your preferred resource group.
When advised to use Web browser, use the Jump machine provisioned in the {{site.data.keyword.vpc_short}} provisioning tutorial. This Jump machine has network access to the hosts, the private DNS service and vCenter IP to be provisioned. Use url with FQDN, e.g. https://vcenter.vmware.ibmcloud.local
as used in this example.
{: note}
{: #vpc-bm-vmware-vsan-vlannic} {: step}
- If you have not already done so, provision VLAN interfaces for your {{site.data.keyword.bm_is_short}} for vSAN VMKs.
See instructions in provisioning {{site.data.keyword.bm_is_short}} for VMware deployment.
If you provisioned the vSAN VLAN NICs following the guidance above, you can recall the vSAN IPs with the following commands: {: tip}
echo "vSAN IP for BMS001 : "$VMWARE_BMS001_VSAN_IP
{: codeblock}
echo "vSAN IP for BMS002 : "$VMWARE_BMS002_VSAN_IP
{: codeblock}
echo "vSAN IP for BMS003 : "$VMWARE_BMS003_VSAN_IP
{: codeblock}
{: #vpc-bm-vmware-vsan-vmk} {: step}
Nex, you need to configure a vSAN interface for each host:
- Log into the vCenter Server using vSphere Client via Web Browser on the Jump machine.
- Click to select the host.
- Click the Configuration tab.
- Click Networking under Hardware.
- Click Add Networking.
- Select VMkernel and click Next.
- Select the existing vSwitch
vds-vpc
and click Next. - Enter a name in the Network Label to identify the network that VSAN uses.
- Select a VLAN ID from the VLAN ID
300
. - Select Use this port group for VSAN, inherit or set the vSwitch MTU (9000) and click Next.
- Enter the IP address and Subnet Mask of the host's VSAN Interface. Use the VLAN interface's IP addresses collected in during the VLAN interface provisioning.
- Click Next, then click Finish.
Repeat this for each host.
{: #vpc-bm-vmware-vsan-create} {: step}
Next, create a vSAN cluster with two disks for Cache Tier, Select remaining disks for Capacity Tier:
- Log into the vCenter Server using vSphere Client via Web Browser on the Jump machine.
- Click on the cluster
- Click Configure Tab
- Click VSAN, Services
- Click Configure VSAN
- Single Site Cluster, Click Next
- On Services, click Next
- On Claim disks, select
two disks
for Cache Tier, select remaining disks for Capacity Tier for each host - Click Finish
You can order vSAN licenses through IBM Cloud Classic portal. {: note}
{: #vpc-bm-vmware-vsan-migratevcenter} {: step}
If vSAN is your primary shared storage, migrate vCenter into your vSAN cluster. To migrate vCenter storage to vSAN:
- Log into the vCenter Server using vSphere Client via Web Browser on the Jump machine.
- Click to select the vCenter Virtual Machine.
- Right Click, and select migrate.
- Click Change storage only, click Next.
- Select
vsanDatastore
, click Next. - Click Next, then click Finish.
{: #vpc-bm-vmware-vsan-next-steps}
The next step in the tutorial series is: