
UNSOLVED
S
SteveBAdams
3 Posts
0
16876
August 28th, 2013 13:00
Powershell for Compellent creation of RDMs on VMware guests?
I have seen samples of Powershell scripts to create RDMs on real hardware. I am wondering if anyone has any sample scripts of how one can use powershell to create RDMs on a VMware guest. It would be nice if it was possible to take this all the way from creating the Compellent volume to formatting the disk and assigning a drive/mount point for the guest OS.
Responses (1)
Solutions (0)

Rodney McKee
1 Message
527
0
Posted September 3rd, 2013 16:00
Steve,
No script yet writing atm. I have a similar need as we want to take EM volume snapshots of DB volumes (DB is in standby) hourly for backups then take the latests at a point in time to create a view from. That view them gets mounted to replace a previous version, gets used for a period of time then replaced again. Very much a powershell nood but it's getting their.
Got working by mapping to the VMWare cluster with New-SCVolumeMap,
then with the Index and DeviceId from Get-SCVolume
get the ConsoleDeviceName from Get-ScsiLun on the ESX host running the guest
Then that can be mounted with New-HardDisk
I do have a small powershell script that will use diskpart etc to mount/unmount the drives.
I'm not aware of another way but this looks like it should come together in a script soon.
Would be keen to hear what other options are available. Replay Manage was not an option as the DB is in Standby.
Rgds
Rodney