VMware Cloud Community
malabelle
Enthusiast
Enthusiast

automated Drs groups

Hi, I have an vm infrastructure with multiple load balanced services.

Ex:

each departement or project have a couple VMs:

2 app servers (app-001, app-002)

2 nfs servers (nfs-001, nfs-002)

etc.

I need to ensure each one is separated (drs rules).

Since I have a lot of VMs and each project is deleted and recreated regularly, I need to automate the DRS rules.

What I thought would be:

cluster:

  30 hosts

  2 host groups

  - DRS001 (15 hosts) all the (-001) machines

  - DRS002 (15 hosts) all the (-002) machines

How do you suggest I do this?

PowerCLI?

Orchestrator?

vExpert '16, VCAP-DCA, VCAP-DCD
0 Kudos
1 Reply
LucD
Leadership
Leadership

Since you raised the question in the PowerCLI community, I would say with PowerCLI.

The question would be how you want to automate this?

Whenever a project is deleted/created?

You would have to run the script, or eventually let it be triggered by an Alarm that is fired when an event occurs.

That same question would also need to be answered for an Orchestrator based solution I guess.
You need a trigger to automate, or else start it manually as part of project create/delete procedure.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos