Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 2770

Set static IP address during service deployment

$
0
0

Hi everyone..

current "problem":A customer wants to deploy n VMs in a predefined /24 subnet within a /16 subnet each of these VMs are running a specific service (like AD, Exchange, etc...) and needs a specific IP and MAC address (i.e. VM1 IP: 10.10.10.10 MAC: 00:00:00:00:00:01 , VM2 IP: 10.10.10.11 MAC: 00:00:00:00:00:02 etc...)
the customer is not using network virtualization and seperates the subnets with mac address filters from each other.

Currently we can deploy those VMs with Powershell and SCVMM defining a known IP and MAC address which will be allocated in a existing IP and MACPool for the used subnet. 
We are just using VM Templates and change the IP and MAC settings for the VM which needs to be deployed during the powershell script.

...Set-SCVirtualNetworkAdapterConfiguration -VirtualNetworkAdapterConfiguration $NetConfig -IPv4Address $IP -IPv4AddressPool $IPPool -MACAddress $MAC

The next step (the one i am currently stuck wich) is to move those VM templates into service templates and install the service via application profiles and scriptcommands. this works fairly well for those services but i still need to inject a specific IP and MAC address from the used pool into the deployment and I am currently not able to inject those settings...

currently i want to deploy those services via powershell which gets started from orchestrator.

Thanks in advance

Flip


Viewing all articles
Browse latest Browse all 2770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>