Running DPACK on Hyper-V Core OS

Team DPACK

Overview

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

  1. 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.
  2. 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.
    1. https://blogs.technet.microsoft.com/heyscriptingguy/2012/12/30/understanding-powershell-remote-management/

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.

  1. Download the DPACK collector
  2. Extract the contents of the ZIP to a computer that has access to a network share available to the Core server
  3. Copy the DellPack.exe on a network share
  4. 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:

.\DellPack.exe /automate

 

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: 

.\DellPack.exe

 

 Notes

  • 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)
    1.  start /w ocsetup ServerCore-WOW64
    2. 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.
Was this article helpful?
0 out of 0 found this helpful
Article is closed for comments.