> For the complete documentation index, see [llms.txt](https://docs.voting.works/vxsuite-tdp-v4.1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.voting.works/vxsuite-tdp-v4.1/system-overview/vxadmin-function.md).

# VxAdmin Function

VxAdmin acts as the election setup hub at the beginning of the election and the results aggregation and reporting hub at the end of an election (and also at the end of testing).

## Configuration and Election Packages

Only a [system administrator](https://docs.voting.works/vxsuite-tdp-v4.1/system-overview/user-roles.md#system-administrator-role) can authenticate onto an unconfigured VxAdmin and configure it with an election package from an external system. The election package must be loaded via a USB drive. The election package must be a valid `.zip` [Election Package](https://docs.voting.works/vxsuite-tdp-v4.1/system-overview/election-package.md). If the election package zip file, election definition file, system settings file, or metadata file are not valid, VxAdmin surfaces an error to the user.

Once VxAdmin is configured, system administrators and election managers can export signed election packages. The exported election package is the same as the imported election package but is accompanied by a digital signature, which ensures that the election package was validated by a certified VxAdmin. The election packages loaded into VxCentralScan, VxMark, VxMarkScan, VxPrint, and VxScan *must be signed* and unsigned election packages will be rejected.

{% hint style="info" %}
**User Manual References:** [Configure VxAdmin](https://docs.voting.works/vxsuite-user-manual-v4.1/vxadmin-system-setup/configure-vxadmin) & [Save the Election Package](https://docs.voting.works/vxsuite-user-manual-v4.1/vxadmin-system-setup/save-election-package)
{% endhint %}

## Smart Card Management

Smart cards are used for two-factor authentication on all machines in the system. They can only be programmed at VxAdmin with system administrator privileges.

Programming, like authentication, takes place via the laptop's built-in USB card reader. Once a card is inserted, the application is able to detect the card and read and write data by issuing application protocol data units (APDUs), which are the standard form of communication between smart card readers and smart cards.

For extensive details on the authentication scheme, see the [access control documentation](https://docs.voting.works/vxsuite-tdp-v4.1/system-security-auditing-and-logging/software-security/access-control.md).

{% hint style="info" %}
**User Manual Reference:** [Smart Cards and User Roles](https://docs.voting.works/vxsuite-user-manual-v4.1/vxadmin-system-setup/programming-cards)
{% endhint %}

## USB Formatting

VxSuite components require data USB drives to be formatted with a single FAT32 or exFAT partition. The majority of USB drives are sold pre-formatted as FAT32, but some come in other formats. If an improperly formatted USB drive is inserted into a VxSuite component, it will be treated as if there is no USB drive. On VxAdmin, a drive formatted with an ext4 partition is treated as a backup drive rather than a data drive; see [#backup-and-restore](#backup-and-restore "mention").

VxAdmin includes a utility to format USB drives to be compatible with the system. The utility is available only to system administrators. It rewrites the partition table on the drive to include a single partition with an exFAT formatted filesystem that takes up all available space on the drive. exFAT is used rather than FAT32 so that files larger than 4 GB, such as large election packages, can be saved. The reformatting clears the USB drive and is thus a destructive action. If a USB drive is already correctly formatted, the feature can be used to clear its data. VxAdmin applies a new label to the reformatted USB drive in the form of **VxUSB-00000**, where the 0's can be any random alphanumeric characters.

Improperly formatted USB drives can only be detected and reformatted if there is *some* partition already existing, so a USB drive without any partitions cannot be reformatted using VxAdmin.

{% hint style="info" %}
**User Manual Reference:** [Format USB Drives](https://docs.voting.works/vxsuite-user-manual-v4.1/vxadmin-system-setup/usb-formatting)
{% endhint %}

## CVR Management

The core post-election (and pre-election testing) function of VxAdmin is loading, managing, and tallying [cast vote records](https://docs.voting.works/vxsuite-tdp-v4.1/system-overview/cast-vote-records.md) (CVRs).

### Loading CVRs

CVRs are loaded from a USB drive or, on a host VxAdmin, received over the local network from networked VxCentralScans. CVRs on a USB drive are exported from VxScan or VxCentralScan and are accompanied by a digital signature. CVRs without a digital signature cannot be loaded. CVR exports with digital signatures that do not match the content of the CVR exports cannot be loaded in order to prevent tampering.

The CVRs from the scanners are saved to a specific directory structure on the USB drive, but exports can be loaded from anywhere on a USB drive's filesystem. When selecting an export manually, the export's `metadata.json` file must be selected by the user.

When a full CVR export is loaded, VxAdmin stores each CVR with the votes as interpreted by the scanner, the mark scores for all bubbles on the ballot (if a bubble ballot), and a series of metadata fields: ballot style, voting method (absentee vs. precinct), batch, scanner, precinct, sheet number within a multi-sheet ballot, and flags for adjudication reasons such as overvotes, undervotes, write-ins, or fully blank ballots. The metadata fields are used later on for filtering or aggregating tallies or ballot counts into groups.

VxAdmin also stores each write-in on a CVR, whether it is an unmarked write-in or a marked write-in, along with the ballot images. Each stored write-in is linked to its CVR, to the ballot images, and eventually to its adjudication result. Write-in adjudication works through the stored write-ins contest by contest.

If an error is found when loading any single CVR in a CVR export, the entire export is rejected and a message is surfaced to the user. CVRs can be rejected for a variety of reasons: authentication failed; a file is incorrectly formatted; a CVR is not for a currently valid election, precinct, ballot style, or contest; a CVR with an identical ID has been loaded with different data. In everyday use of the system, these errors are rare, because the scanners do not export malformed CVRs. They occur only if an export has been tampered with or comes from a different election.

VxAdmin allows loading CVR exports that have already been partially loaded. For example, VxCentralScan might export CVRs after scanning 5 ballots and then again after scanning 10 ballots. If the 5-CVR export is loaded first and the 10-CVR export second, the 10-CVR export loads successfully but skips the CVRs that have already been loaded.

### Receiving CVRs over the Network

A networked VxCentralScan sends the CVRs of each saved batch to the host VxAdmin over the local network. These CVRs carry no export signature; they are protected instead by the authenticated, encrypted connection described in [Networking](https://docs.voting.works/vxsuite-tdp-v4.1/system-security-auditing-and-logging/software-security/networking.md). The host VxAdmin otherwise validates each received CVR as it does CVRs loaded from a USB drive, and rejects any that is not for the configured election, precinct, ballot style, or contest, or that has the ID of an already loaded CVR with different data. CVRs that have already been loaded are ignored, so a batch that is sent again is not counted twice.

{% hint style="info" %}
**User Manual References:** [Tally Results](https://docs.voting.works/vxsuite-user-manual-v4.1/election-night-guides/tally-results) & [Network VxCentralScan](https://docs.voting.works/vxsuite-user-manual-v4.1/vxcentralscan/network-vxcentralscan)
{% endhint %}

### Ballot Mode

VxAdmin is always in one of three ballot modes:

* **Unlocked Ballot Mode:** no CVRs have been loaded
* **Test Ballot Mode:** test CVRs have been loaded
* **Official Ballot Mode:** official CVRs have been loaded

On VxAdmin, the ballot mode is determined by the ballot mode of the imported CVRs. VxAdmin differs in that respect from VxMarkScan, VxScan, and VxCentralScan, where the ballot mode is set directly by the election manager.

Once VxAdmin is in test ballot mode, only test CVRs can be subsequently loaded. Similarly once VxAdmin is in official ballot mode, only official CVRs can be subsequently loaded.

### Removing CVRs

CVR imports can be removed by the user before results are marked as official. The user can delete individual CVR imports or can delete all CVRs imports at once. The CVR data and all of its dependent data (write-ins, ballot images, and adjudications) are permanently and irrecoverably deleted from VxAdmin. If results have been marked as official, the only way to remove CVR imports is by unconfiguring VxAdmin.

## Adjudication

The tally reports from VxScan do not reflect any post-voting adjudication. All write-ins are simply "Write-In", unmarked write-ins are undervotes, and marginal marks are also undervotes.

VxAdmin allows election managers to perform on-screen adjudication for blank ballots, write-ins, marginal marks, overvotes, and undervotes. By default, only ballots with write-ins appear in the adjudication queue. If `MarginalMark`, `Overvote`, `Undervote`, or `BlankBallot` is included in the system settings as part of the list of `adminAdjudicationReasons`, ballots with any of the specified features will also appear in the queue.

* A marginal mark is defined as any mark over a bubble which has a score of at least the `marginal` threshold defined in the system settings but less than the `definite` threshold defined in the system settings.
* A blank ballot is defined as any ballot where no bubbles crossed the `definite` mark threshold

The ballots are ordered in the queue by ballot style. For example, all "Precinct 1" ballots would be grouped together and all "Precinct 2" ballots would be grouped together instead of them being intermixed. Within each ballot style, blank ballots are grouped behind non-blank ballots and summary ballots are grouped behind bubble ballots.

The adjudicator is presented with a full view of the ballot and a list of all contests on the ballot. They may flip the ballot from front to back or vice versa. Contests with issues are highlighted in both the ballot view and in the contest list. The adjudicator selects a contest to zoom in and resolve issues. The user can adjudicate any contest option from marked to unmarked or vice versa. When presented with a marginal mark, the user can choose to leave it as an undervote or adjudicate it as marked. For write-ins, they may adjudicate the write-in for a particular write-in candidate, as described in the next section. As the user makes changes, captions are used to indicate differences between the original interpreted values and the new adjudicated values. Once the adjudicator has resolved all issues on a ballot, they may confirm their changes and move on to the next ballot. Until confirmed, adjudications are "unsaved" and do not affect tabulation.

### Write-In Candidates

VxAdmin handles write-in candidates differently depending on whether the jurisdiction requires that write-in candidates must be "qualified" for their votes to count.

#### Qualified Write-In Mode

If `areWriteInCandidatesQualified` is true, then adjudicators can only allocate write-ins to qualified candidates or mark write-ins as invalid. The election manager can add qualified candidates at VxAdmin on a per-contest basis. If no qualified candidates are added for a contest, the only option for that contest's write-ins will be "Invalid". All qualified write-ins appear on tally reports regardless of their vote totals.

#### Open Write-In Mode

If `areWriteInCandidatesQualified` is false, write-in candidates are added on an ad hoc basis. The adjudicator has the option to add a new unofficial write-in candidate or select any previously added unofficial write-in candidate. The adjudicator may also adjudicate the write-in as "Invalid" or, in jurisdictions that allow it, for an official candidate that is already on the ballot. In open write-in mode, unofficial write-ins only appear on tally reports if they have a winning vote total.

{% hint style="info" %}
**User Manual Reference:** [Adjudication](https://docs.voting.works/vxsuite-user-manual-v4.1/election-night-guides/adjudication)
{% endhint %}

## Manual Tallies

VxAdmin offers a way to enter manual tallies that are then added to reports. When manual tallies are present in a results export, they are always displayed separately from scanned tallies so that users can easily recognize the impact of manual results and recognize any human errors. The only exception to this rule is the Common Data Format (CDF) election results export in which, due to the limitations of the CDF, the manual and scanned tallies are simply combined.

The ballot style, precinct, and voting method (absentee vs. precinct) must be specified before entering manual tallies. By associating manual tallies with these pieces of metadata, they can be filtered and grouped according to those dimensions when creating reports. Notably, manual tallies are not associated with a batch or a scanner like CVRs. When filtering on batch or scanner, manual tallies are excluded. When grouping by batch or scanner, manual tallies are treated as a single batch or scanner.

The manual tallies for each contest are validated according to a standard formula:

$$
\text{total ballots} \* \text{votes allowed in contest} = \text{total votes} + \text{total undervotes} + \text{total overvotes}
$$

The same formula also applies to all results generated from scanned ballots. If a vote-for-three contest is overvoted, it is considered three overvotes. If the contest tallies entered by the user are incomplete or invalid, the user is presented with warning messages.

In most cases, the ballot count will be the same across all contests. In some jurisdictions it is possible for different contests to have different ballot counts if, for example, someone votes on a ballot without local contests. In these cases, the user can override the ballot count on an individual contest basis.

Unofficial write-in candidates can also be allocated votes in manual tallies and new unofficial write-in candidates can be added directly from the manual tallies interface.

{% hint style="info" %}
**User Manual Reference:** [Enter Manual Tallies](https://docs.voting.works/vxsuite-user-manual-v4.1/election-night-guides/manual-tallies)
{% endhint %}

## Tallying & Reports

### Vote Tallying

Vote tallying is a multi-step process which takes place on the VxAdmin backend:

<figure><img src="https://629495352-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ4bC0rbmogHEUUuMLAUa%2Fuploads%2Ft3KPMNrgNp5BKPNIL6bD%2Fimage.png?alt=media&amp;token=81c0fa5f-499e-4061-93ca-5123026df2bc" alt="Vote tallying flow: group determination, CVR aggregation, write-in and manual tally hydration from the SQLite store, then reporting" width="563"><figcaption></figcaption></figure>

Every tally is specified by a set of filters and groupings. The filter defines which CVRs are excluded and included. For example, a filter might limit the CVRs to the CVRs for a specific precinct. The group determines how tallies are subdivided by CVR metadata. For example, there may be a grouping on precinct which generates tallies for each precinct separately. Groups enable multiple related tallies to be efficiently generated at once.

Filters and groupings are specified by the user directly with the tally report builder or implicitly with built-in reports.

#### Group Determination

If there are no groupings specified, there is only one set of tallies. If the precinct grouping is specified, there will be tallies for each precinct. If multiple groupings are specified, the possible resulting groupings need to be calculated. For example, if the precinct and ballot style groupings are both specified, only some combinations are possible because not all ballot styles exist in all precincts. If filters are specified, they may rule out certain groupings. For example, if the precinct grouping is specified but only Precinct A and Precinct B are included by the filter, then the Precinct C grouping will be excluded.

If batch or scanner parameters are included, then VxAdmin will not attempt to compute the possible groupings because they may be too numerous. The potential groups will be created opportunistically during tallying.

The purpose of computing the groups when possible, rather than always creating groups opportunistically, is to know which zero tallies to expect. When tallies are grouped by precinct, VxAdmin generates empty results for Precinct A even if no ballots for Precinct A were cast.

#### CVR Aggregation

The CVRs are pulled from the data store one by one and their vote data is added into an ongoing tally of ballots, contest option votes, overvotes, and undervotes. If the tallies are being grouped, the CVR will be added into the group that matches its metadata e.g., a CVR from a Precinct A ballot will be added to the Precinct A group. If `countCentralScanBallotsOnlyAfterAdjudication` is enabled in the system settings, CVRs from VxCentralScan that still require adjudication are skipped.

At this step in the process, the data does not contain any of the adjudication details from write-in adjudication.

CVR aggregation is the most computationally expensive step in the vote tallying so the results are cached. The cache is reset anytime a CVR file is added or removed or anytime a vote is adjudicated through write-in adjudication.

#### Write-In Adjudication Aggregation

The write-in adjudications are summarized and their adjudication statuses are added into an ongoing tally of write-ins for official candidates, write-ins for unofficial candidates, invalid write-ins, and unadjudicated write-ins. They are filtered and grouped according to the same parameters as the CVRs.

{% hint style="info" %}
The write-in adjudication report is simply the results of the write-in adjudication aggregation step, without filter or group, formatted into a PDF.
{% endhint %}

#### Write-In Adjudication Hydration

The vote tallies from the CVRs are then hydrated with the aggregated write-in adjudication tallies to create vote tallies that include the results of write-in adjudication. Before hydration, the tallies represent all write-ins as generic write-ins. The counts for generic write-ins are reconciled to counts for specific official and unofficial candidates.

#### Manual Tallies Aggregation

Manual tallies are already aggregated in the sense that each can represent more than one ballot. Since they are divided by ballot style, precinct, and voting method, however, they may need to be *merged* to match the groupings (or lack thereof) of the scanned vote tallies.

#### Manual Tallies Hydration

Manual tallies are then combined with the scanned tallies in one of two ways. For most reports, the manual tallies are paired with the scanned tallies but are not immediately added together. Reports can then display the manual and scanned tallies separately in addition to showing the total tallies. For the CDF election results report, however, the manual tallies and scanned tallies are added together because there is not a clear way to represent the difference between them in the CDF.

#### Reporting

The final step is for the VxAdmin backend to format the vote tallies into one of [VxAdmin's Results Export Formats](https://docs.voting.works/vxsuite-tdp-v4.1/system-overview/vxadmin-results-exports.md) and export the result onto a USB drive or, if it is a PDF document, print it.

If `electionDayPollsCloseTime` and `disallowVxAdminTabulationBeforeElectionDayPollsCloseTime` are both set, VxAdmin prevents generating reports until after the polls close time. In test ballot mode, the same restriction does not apply. The behavior differs between official ballot mode and test ballot mode because testing happens before election day.

{% hint style="info" %}
**User Manual Reference:** [Reports](https://docs.voting.works/vxsuite-user-manual-v4.1/election-night-guides/reports)
{% endhint %}

### Ballot Count Tallying

Ballot counts are tallied as part of the vote tallying flow described above, but there is a separate tallying path that *only* calculates the ballot counts. It is used when generating ballot count reports and exports from VxAdmin. It follows the same steps as vote tallying, but is more efficient because it can compute the counts directly in the database rather than iterating through each CVR one by one.

<figure><img src="https://629495352-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ4bC0rbmogHEUUuMLAUa%2Fuploads%2FpLiZJnZqp0Fo8ztj3Mk5%2Fimage.png?alt=media&amp;token=6fdb77fc-df36-451a-8286-ebcafc54b3aa" alt="Ballot count tallying flow: group determination, CVR aggregation and manual tally hydration from the SQLite store, then reporting" width="563"><figcaption></figcaption></figure>

#### Ballot Count Definition

When tallying ballot counts, VxAdmin is actually tallying sheet counts. In an election where all ballots are a single sheet, there is no distinction between ballot counts and sheet counts. In an election with multi-sheet ballots, there may be different numbers of different ballot sheets. VxAdmin tallies each sheet separately, which is displayed on tally reports and ballot count reports.

The **Ballot Count** is defined in VxSuite as simply the count of first sheets. For example, if there are 1,000 first sheets and 999 second sheets, the ballot count will appear in reports as 1,000.

## Official vs. Unofficial Results

Results on VxAdmin are considered unofficial until the election manager marks them as official. As long as results are unofficial, CVRs can be loaded, write-ins can be adjudicated, and manual tallies can be added and edited. All reports and result exports are labelled as "Unofficial."

Once the results are final and often only after a jurisdiction's specific certification process, the election manager can mark results as official. All reports and result exports will then be labelled as "Official." CVRs can no longer be loaded, write-ins can no longer be adjudicated, and manual tallies can no longer be altered.

There are two ways to exit official results mode without unconfiguring VxAdmin:

* The system administrator can revert election results back to unofficial, which leaves all election data intact but allows it to be altered again by an election manager
* The election manager may remove *all* election data at once, which would require restarting aggregation and adjudication from scratch

## Backup and Restore

A VxAdmin in host mode can save a complete backup of its election data to a backup USB drive, and an unconfigured VxAdmin can be restored from that backup. Restoring is intended for recovering from a failed or replaced laptop: the restored machine holds the same election, cast vote records, ballot images, adjudications, and manual tallies as the machine that saved the backup.

### Backup Drives

VxAdmin distinguishes backup drives from data drives by their filesystem. A drive with a FAT32 or exFAT partition is a data drive, used for election packages, cast vote records, reports, and logs. A drive with an ext4 partition is a backup drive. Both may be connected at the same time; the backup and restore flows only read from or write to the backup drive. Backup drives are prepared by VotingWorks; VxAdmin's USB formatting utility produces data drives only. Drive specifications and capacity guidance are in the user manual's [Supply List](https://docs.voting.works/vxsuite-user-manual-v4.1/miscellaneous/supply-list#backup-drives).

### Backup Contents

A backup is a directory on the backup drive at `vxadmin-backups/<election folder name>/`, where the election folder name is the same one used for election packages and cast vote records on data drives. It contains:

* **`workspace/`:** a copy of the election data: the election database, every ballot image it references, and the election package for the current election.
* **`manifest.json`:** the backup manifest, which identifies the election, the software version and machine that created the backup, the number of cast vote records, and the size and SHA-256 hash of every file under `workspace/`.
* **`manifest.json.vxsig`:** the manifest's digital signature, produced with the machine's Trusted Platform Module (TPM) key as described in [Artifact Authentication](https://docs.voting.works/vxsuite-tdp-v4.1/system-security-auditing-and-logging/software-security/artifact-authentication.md). Every other file is covered by its hash in the manifest, so the signature authenticates the whole backup.

A backup drive holds at most one backup per election. Saving a new backup of the same election replaces the previous one. Backups of different elections coexist on the same drive.

### Saving a Backup

System administrators and election managers can save a backup from the Election screen while VxAdmin is configured. The machine can be locked while a backup is in progress, and the backup continues in the background.

The backup is a consistent copy of the election data at the moment it starts: changes made while it runs are not included, and cannot leave the backup internally inconsistent. The previous backup of the same election is replaced only once the new one is completely written to the drive, so the drive never holds a partially written backup. The user can cancel a backup before it finishes; a canceled or failed backup leaves the previous backup untouched.

### Restoring a Backup

Restoring replaces all of VxAdmin's election data, so it is done in restore mode, a reduced version of the application that serves no election data. A system administrator starts it from the Election screen of an unconfigured host-mode VxAdmin, which restarts into restore mode. Every restore mode screen shows a "Restore Mode" banner with a way to exit. After inserting a backup drive, the system administrator chooses from the backups on it, listed with each backup's election, cast vote record count, and the machine and time that created it.

Before restoring, VxAdmin verifies the manifest's signature and checks that the backup was made by the same software version and by a VxAdmin in the same jurisdiction. A backup from a different VxAdmin in the same jurisdiction is accepted and logged, since moving a backup between machines is how failed hardware is replaced; a backup from another jurisdiction is refused. Each file is then copied and checked against its size and hash in the manifest, and a file that does not match fails the restore. Finally, VxAdmin confirms the restored database holds the election the manifest describes.

A restore is all or nothing: a canceled or failed restore leaves VxAdmin unconfigured, and a restore interrupted by a power loss is discarded and logged at the next boot. VxAdmin treats the backup drive's contents as untrusted and uses nothing from it until its signature or hash has been checked. After a successful restore, VxAdmin restarts configured with the restored election.

## Networking & Multi-Station Adjudication

In order to adjudicate high volumes of ballots, additional adjudication station VxAdmins can be networked to a host VxAdmin. The adjudication station VxAdmins are only permitted to adjudicate ballots and to do basic system workflows such as exporting logs, adjusting the date and time, and performing signed hash validation. Any VxAdmin can be switched between "Host Mode" and "Adjudication Station Mode".

The host VxAdmin is connected to the adjudication stations via an Ethernet network switch. In order for the network to be valid, all VxAdmins must have the same software version and there must be only one host VxAdmin. No configuration is required other than connecting the machines with Ethernet cables.

Networked VxCentralScans can join the same network to send CVRs to the host VxAdmin (see [#receiving-cvrs-over-the-network](#receiving-cvrs-over-the-network "mention")). A network holds at most 8 machines: 1 host VxAdmin plus any combination of up to 7 adjudication stations and VxCentralScans. The host VxAdmin lists the networked VxCentralScans and their connection status in its Networked Scanners view.

The host VxAdmin is able to toggle multi-station adjudication on or off. Adjudication stations may only begin adjudication after it is enabled by the host VxAdmin.

The adjudication stations do not need to be configured individually; they pull their configuration from the host while connected.

Unlike the host VxAdmin, which can navigate forward and backward through the entire queue of ballots needing adjudication, the adjudication stations are simply assigned the next ballot in the queue. After that ballot is adjudicated, the next ballot is assigned. Whenever a ballot is being adjudicated by the host or any adjudication station, it cannot be assigned to another adjudication station and cannot be adjudicated by the host.

An adjudication station cannot skip a ballot. Instead, it can escalate the ballot to the host for election manager review, which discards any unsaved changes, releases the station's claim, and assigns the station the next ballot in the queue. Escalated ballots are flagged on the host, which can work through them as a separate queue or encounter them in the main queue, where they remain in their original position. The host cannot escalate ballots and resolves an escalated ballot by adjudicating it.

<figure><img src="https://629495352-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ4bC0rbmogHEUUuMLAUa%2Fuploads%2F8ixCO9eAcBxCK8yLaLFV%2Fimage.png?alt=media&amp;token=6ce6f2e1-3967-4505-9b8c-44e3676a65a9" alt="Host VxAdmin connected through a network switch to multiple client VxAdmin adjudication stations" width="563"><figcaption><p>VxAdmin network diagram</p></figcaption></figure>

### Network Implementation

Multi-station adjudication needs no network configuration: the host VxAdmin announces itself on the local network and adjudication stations find it automatically. A station or VxCentralScan that finds more than one host refuses to proceed. Stations and VxCentralScans always start each exchange with the host; the host never sends anything to a station or VxCentralScan unprompted.

Each ballot in the adjudication queue is claimed by one station at a time, so no two stations adjudicate the same ballot at once. A station's claim is released when it saves the adjudication or escalates the ballot. If the host has not heard from a station for 10 seconds, for example because its network cable was unplugged, the host marks the station offline and releases the ballots it had claimed so other stations can adjudicate them. Turning off multi-station adjudication on the host releases all station claims. Changes to the election configuration on the host reach every station automatically.

The protections on this network, and how it is set up at the operating system level, are described in [Networking](https://docs.voting.works/vxsuite-tdp-v4.1/system-security-auditing-and-logging/software-security/networking.md).

## Printer Management

VxAdmin prints reports via an attached printer. The supported printer is the HP LaserJet Pro 4001dn. All reports are also available as PDFs so, in the event of a printer failure, reports will still be available.

VxAdmin interfaces with the printer through CUPS, the open-source printing system developed by Apple and installed on the VxSuite Debian operating system. When a printer is attached, it is registered with the CUPS server and made available to the application. VxAdmin is able to send print jobs to the printer via CUPS commands. The HP LaserJet Pro does not require any additional third-party or in-house driver because it supports the Internet Printing Protocol (IPP), which CUPS then utilizes.

When a print job is submitted via CUPS, CUPS sends it to the printer using IPP. VxAdmin waits until CUPS reports it has successfully sent the entire job to the printer, at which point it logs success. If the printer is disconnected before CUPS can send the entire job, VxAdmin logs the failure. In these cases, the printer may still print an incomplete document or error code. Whenever the printer is disconnected, any pending jobs are cancelled to avoid unexpected prints on reconnection.

{% hint style="info" %}
VxAdmin can only connect with one printer at a time and always connects with the first attached printer.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.voting.works/vxsuite-tdp-v4.1/system-overview/vxadmin-function.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
