Running DPACK on Hyper-V Core OS
The DPACK Team has recently developed a procedure to run DPACK software locally on a Microsoft Server Core installation that is running Hyper-V. Previously, this functionality was not available and the only way to connect DPACK to this type of server configuration was remotely via WMI. Below are the instructions on how to run DPACK locally from a Microsoft server with a core OS installation.
Step 1. Accessing Microsoft Server Options
- In order to run DPACK on a core installation of Microsoft server, interactive mode must be available. To run in interactive mode, the user must have access to the Hyper-V console terminal and be an administrator.
- DPACK can also run in non-interactive mode. This will require the user must either have access to the Hyper-V console mentioned above, or have PowerShell Remoting enabled to the core server.
Step 2. Transfer DPACK software to local server
In order to run DPACK in a core server, the DellPAck.exe software must be copied locally to the server(s) where it will be run. Below are the steps to transfer DellPack.exe via a network share.
- Download the DPACK collector
- Extract the contents of the ZIP to a computer that has access to a network share available to the Core server
- Copy the DellPack.exe on a network share
- Mount the same share from the command prompt on the Core server (sample syntax)
net use <DriveLetter>: \\<RemotePath>\<Shared_drive_name> /user:<username> *
6. Copy DellPack.exe to the user’s folder (sample syntax)
cp <DriveLetter>Z:\DellPack.exe C:\Users\Administrator\.
Step 3. Run DPACK software
The easiest way to run DPACK on a core server is to run it in automated mode where it will discover all of the local drives conected and begin the collector run without any configuration. To run DPACK in automated mode, enter the following command:
If you are running DPACK in non-interactive mode, you will have to copy over a DPACK_Configuration.xml file before running DPACK with the following command:
- If the anerror appears when trying to run DellPack.exe that suggests 32-bit is not supported, then 32-bit emulation must be enabled on the Hyper-V core server with this command (takes a few seconds to run)
- start /w ocsetup ServerCore-WOW64
- Retry running DellPack.exe
- If the user opted to not use the DPACK live stream (required if they ran automated) then they will need to get the SIOKIT file off of the core server. They will have to use a network share for that.