VMware Cloud Community
WallaceTech
Contributor
Contributor

vCenter - vSAN

Hello everyone.

I was wondering if anyone could advise on a couple of points for me regarding vCenter & vSAN. I am looking to start using it but I am unsure if vCenter can live on the vSAN datastore?

I am guessing if it can then vCenter needs to be built on local storage and then storage vMotion over to it. however this raises another question, does vCenter need to be up and running to then be able to present the vSAN datastores to the host?

Many thanks


Craig Wallace VCP 5

VCP 5 www.wallacetech.co.uk
11 Replies
CHogan
VMware Employee
VMware Employee

William Lam wrote a blog post on how to overcome this 'chicken and egg' situation here - http://www.virtuallyghetto.com/2013/09/how-to-bootstrap-vcenter-server-onto.html

http://cormachogan.com
WallaceTech
Contributor
Contributor

Thanks mate. I had already had a read of Williams blog. great read. The part that I am stuck on with his blog is what he says

"In my environment, I start out with a single ESXi 5.5 host which contains a single SSD and SATA disk and I create single VSAN node from that ESXi host and contribute its storage to the VSAN datastore. I then deploy a vCenter"

So without vCenter where is he creating a vSAN node and how is he adding it to the vSAN datastore?

Many thanks

Craig

VCP 5 www.wallacetech.co.uk
Reply
0 Kudos
CHogan
VMware Employee
VMware Employee

Hey Craig,

Possibly esxcli vsan cluster join but not 100% sure.

I'll ping William, ask him to confirm.

Cormac

http://cormachogan.com
Reply
0 Kudos
WallaceTech
Contributor
Contributor

Thanks very much. I appreciate that. I did drop him a message over the weekend via his website but it might not have got to him.

Thanks again

Craig

VCP 5 www.wallacetech.co.uk
Reply
0 Kudos
lamw
Community Manager
Community Manager

Hi Craig,

Not sure if you saw Part 2 http://www.virtuallyghetto.com/2013/09/how-to-bootstrap-vcenter-server-onto_9.html which goes into the details (there was just too much to cover in one article so I wanted provide the background/plan and the second one goes into configuration). Using ESXCLI, we can create an initial VSAN Disk Group and then as Cormac mentioned, we're using the "esxcli vsan cluster join" to create a single VSAN Cluster and this will consume the storage from the Disk Group. Once you do that, you'll have a single node w/VSAN Datastore in which you can deploy anything, in this case I wanted to deploy vCenter Server. Once that's deployed, you can then use VC to manage the remainder VSAN Nodes. Hopefully this clear things up

Reply
0 Kudos
WallaceTech
Contributor
Contributor

Thanks William. That does make things a tad more clear.

So will the vCenter server only live on this initial datastore or can or do you move it the the vSAN datastores that you create later? I guess I am interested to know how the vSAN datastores present themselves if you first need to boot vCenter.

Many thanks

Craig

VCP 5 www.wallacetech.co.uk
Reply
0 Kudos
depping
Leadership
Leadership

WallaceTech wrote:

Thanks William. That does make things a tad more clear.

So will the vCenter server only live on this initial datastore or can or do you move it the the vSAN datastores that you create later? I guess I am interested to know how the vSAN datastores present themselves if you first need to boot vCenter.

Many thanks

Craig

There is only 1 VSAN datastore in your VSAN cluster... all hosts in your cluster join that datastore!

Reply
0 Kudos
WallaceTech
Contributor
Contributor

Thanks guys. So i am cracking on slowly following Williams blog. I have hit a snag.

I have installed my ESX to a USB key and have two drives in the server for SSD / HD.

When running esxcli vsan storage add -d HDD-DISK-ID -s SSD-DISK-ID

I am then prompted that one of the disks have partitions. How can i wipe the drives via the command line so that this will progress. Not had to do this before with ESX.

Thanks in advance

VCP 5 www.wallacetech.co.uk
Reply
0 Kudos
WallaceTech
Contributor
Contributor

i used partedUtil getptbl “/vmfs/devices/disks/devicename”

VCP 5 www.wallacetech.co.uk
Reply
0 Kudos
vThinkBeyondVM
VMware Employee
VMware Employee

Yes partedUtil should work.


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

Reply
0 Kudos