This is a project consisting of a relatively small script to automate a task in a VMWare vSphere 4 environment on a Linux Virtual machine.
You'll want to be versed in Powershell/PowerCLI as well as Linux/bash scripting, and know when scripting can be used for a task and when a heavier duty language like Java or Perl is required.
Each line of script should be properly commented to allow for later revision and modification. In the future I need a contact I can work with to automate a number of smaller tasks similar to this. Thanks.
1. Program will access a virtual machine running RHEL5.5 and update the network settings
2. This can be done with PowerCLI/Powershell preferably, but another scripting language or Java/VMware APIs is acceptable if there is a good design reason for not using PowerCLI/Powershell.
3. If PowerCLI/Powershell is used, options might be
The [Invoke-VMScript] cmdlet - which allows you to run **bash** scripts inside Linux
[Set-VMGuestNetworkInterface] cmdlet for guest network interface configuration
1. The solution should be able to set or update the following values:
1. After attempting to update these settings, it should then report back what the settings are, so that the user can confirm without a doubt whether the task has completed successfully
2. The solution will accept as input the name of the vCenter server, admin credentials (username and password) for the vcenter server, the name of the virtual machine to be targeted.
3. Each line of script should include a corresponding comment line above it describing what the line below it does and any information someone would need who needs to modify the script later or understand what it is doing.
4. The developer will need to have tested this code and to make sure it can access a vCenter Server from a Windows client machine, and that the code successfully accesses and performs the functions listed above on a RHEL 4 or RHEL 5 virtual machine running in a VMware environment. (You'll need to have your own test vCenter Server, ESX host, and RHEL VM to test the code on)