HYDRA Command Center - Windows install kit
==========================================

This kit installs HYDRA Command Center (HCC) on a Windows 10/11 (x64)
machine connected to the HYDRA enclosure's USB management port. HCC runs in
the background (it starts with Windows) and is reachable from any browser
on your network.

1. Unzip the kit and run the installer
--------------------------------------
Double-click install-hcc.cmd and accept the administrator (UAC) prompt.
It asks whether the drives are connected to this PC (if so, it installs the
host agent too) and offers to fix a network marked Public.
Unzip to a local folder first: run from a network share, the script the
elevated installer runs could be swapped on the way. (The same goes for
the host agent's install-agent.cmd.)

The installer needs internet access: it installs Python 3.12 from
python.org if this PC has no Python 3.10 or newer, and downloads HCC's
Python dependencies. It creates:
  C:\Program Files\SerialCables\HCC     HCC itself (private Python environment)
  C:\ProgramData\SerialCables\HCC       settings, token, TLS certificate,
                                        data and the log (hcc.log)
  a scheduled task "\SerialCables\HYDRA Command Center" that runs HCC at
  startup (as SYSTEM) and restarts it within 5 minutes if it stops, and a
  firewall rule for its port on Domain and Private networks. If your
  network is marked Public, make it Private or other machines can't reach
  HCC: a double-click offers to, and a run with options prints the command.

If the enclosure moves to a different USB port its COM number can change:
re-run  install-hcc.cmd --serial-port COMn  (Device Manager > Ports).

2. Open HCC
-----------
The installer ends by printing a link like

  https://<this-pc>:8600/?token=<token>

Open it from any browser and accept the self-signed certificate warning
once. In a NEW terminal, 'hydractl' works straight away. To show the link
again, from an Administrator prompt:

  hcc-setup status

Useful options (run from a prompt: install-hcc.cmd <options>)
------------------------------------------------------------
  --serial-port COM5   pick the enclosure when it can't be auto-detected,
                       e.g. two enclosures attached (Device Manager > Ports)
  --local              this PC only (127.0.0.1, no TLS)
  --port 8600          a different port
  --no-quarch          skip the Quarch module support
  --with-agent         also install the HCC host agent on this PC and enroll
                       it with this server (see "Host agent" below)

Quarch modules additionally need Quarch's USB driver (installed with Quarch
Power Studio, or the driver package from quarch.com).

Restart HCC: hcc-setup restart (Administrator prompt). Upgrade: unzip the
newer kit and run install-hcc.cmd again; your token, certificate, settings
and data are kept, and an installed host agent is upgraded with it.

Uninstall: install-hcc.cmd --uninstall   (add --purge to also delete
settings and data).

Host agent
----------
The HCC host agent reports in-band data (disk, PCI address, link, health)
from the machine whose PCIe links reach the drives. If that is this PC,
run  install-hcc.cmd --with-agent : it installs the agent too, enrolls it
with this server and starts it as the scheduled task
"\SerialCables\HCC Host Agent". For another Linux or Windows host, download
the agent bundle from the Host Agents page and follow its README.txt.
If the agent does not appear under Host Agents, read its log from an
Administrator prompt:
  type C:\ProgramData\SerialCables\HCC-Agent\logs\hcc-agent.log
Uninstalling HCC leaves the agent; remove it with
  "C:\Program Files\SerialCables\HCC-Agent\install-agent.cmd" --uninstall

The full User's Manual is on the HYDRA product page:
https://www.serialcables.com/products/hydra
