Riello UPS Powershield3 Setup Software User Guide

Riello UPS Powershield3 Setup Software

Riello UPS Powershield3 Setup Software

When should I enable the secure connection?

The secure connection field is available on Powershield from version 7.x :
When should I enable the secure connection

The secure connection field is disabled by default.
This function should only be used when using a Net Man 208C, certified for cybersecurity.
It must not be used in any other cases.

NOTE: The factory configuration in the Net Man 208C provides the UDP disabled by default. It must be enabled in order to work with the secure connection option.

What are the SMTP settings with gmail?

To configure Gmail as the mail provider it is essential to follow specific steps
Firstly, ensure that two-factor authentication (2FA) is enabled on the Gmail account:
What are the SMTP settings with gmail
What are the SMTP settings with gmail
What are the SMTP settings with gmail
What are the SMTP settings with gmail

Please note that the app password generated by Gmail may include spaces.
When entering this password into the Powershield, make sure to remove all spaces for proper functionality.

Next, use the app password generated in the Gmail account to enable the Powershield to send emails successfully

Is Poweshield compatible with Hyper-V management?

Powershield3 can manage Hyper-V. It’s possible to shutdown the virtual machine and one or more host.

An example of the configuration of Ups Config Hyper-V is described as following.

How to configure Powershield to manage Hyper-V?

This is an example of the structure of a Hyper-V, where two or more hosts are available.
This structure has been taken from the Hyper-V Manager that is running on the host Windows Server 2022 EN1:
How to configure Powershield to manage Hyper-V

Powershield3 has been installed in Windows Server 2022 EN1 (WIN-2022EN1) and Ups Config Hyper-V is present in this host. We can say that, for Powershield3, this is the local host.
This is referred to as the local host because Powershield3 is running on it.

The first goal of this installation is to shutdown the virtual machines present in the host WIN2022EN2 and then to shutdown the host itself.
The second goal of this installation is to shutdown the virtual machines present in the host WIN2022EN1 and then to shutdown the host itself.

Ups Config Hyper-V configuration

First, set the Hyper-V host information.
The first host that should be added is the host where Powershield3 is running (local host) and the slider Local host has to be enabled:
Ups Config Hyper-V configuration

NOTE: The username (user) must be a local administrator account or in case it’s not a local administrator account it must be added to the Hyper-V Administrator group

Press the “+” button to add it in the Host list:
Ups Config Hyper-V configuration

Then add all the other hosts. In this example, there is only one host left to be added. It’s the WIN 2022EN2 host. As it’s not a local host, the slider is not to be enabled:
Ups Config Hyper-V configuration

NOTE: The username (user) must be a local administrator account or in case it’s not a local administrator account it must be added to the Hyper-V Administrator group

Press the “+” button to add it in the Host list:
Ups Config Hyper-V configuration

Repeat the action to add the hosts for all the hosts you want to manage / shutdown.

Retrieving the virtual machines inside each host

Select the host and press the button “Retrieve VM from host” to get the virtual machine(s) running on that host.

Below WIN-2022EN1 is selected and VMs are retrieved from it. You can see that three virtual machines are present in that host:
Retrieving the virtual machines inside each host

Below WIN-2022EN2 is selected and VMs are retrieved from it. You can see that two virtual machines are present in that host:
Retrieving the virtual machines inside each host

Note: not all the virtual machines are running. Some of the virtual machines are off.

Retrieving the virtual machines inside each host

If it’s not possible to retrieve the virtual machines from a host, it may be necessary to run the Ups Config Hyper V in debug mode to determine the cause.

To do so, you need to open command prompt and to set the proper directory where Ups Config Hyper-V is running.

Then run the command “Ups Config Hyper V -d”:
Retrieving the virtual machines inside each host

You will get:
Retrieving the virtual machines inside each host

Select “Configuring Hyper-V VM Shutdown”, select the host, and select “Retrieve VM from host”:
Retrieving the virtual machines inside each host

In the prompt window a log will be written, and the same log will be written in the file “debugs.log”.
In this file you will be able to determine the reason why the VMs cannot be retrieved. In case of further information, please send the file debugs.log to the service dept.
Retrieving the virtual machines inside each host

This procedure can be repeated for all the hosts.

Test Hyper-V shutdown

It’s suggested to perform a test when the configuration have been completed.

Enable the “Test Hyper-V shutdown” with the slide and save:
Test Hyper-V shutdown

From the directory “C:\Program Data\Upsmon” run the file “ups_shut.bat”
The test can be performed ONLY running the file “ups_shut.bat”
The test cannot be performed removing the mains from the UPS.
Once the file has been executed, you will find in the same directory a log file called “ups.log” where you can see the result of the test.

Taking as reference the above configuration, here the content of the file ups.log:
Test Hyper-V shutdown

Note: In the log there will be present only the virtual machines that, in the moment of the shutdown, were running.

Hyper-V shutdown

To perform a real shutdown, the “Test Hyper-V shutdown” must be disabled:
Hyper-V shutdown

Remove the mains on the UPS. The shutdown will be executed for all the virtual machines and for all the hosts.
NOTE: The host where Powershield3 is running (local host) will be shutdown last. To shutdown the host (local host), enable the shutdown in Up setup:
Hyper-V shutdown

In the file ups.log you will find the log of the real shutdown:
Hyper-V shutdown

Hyper-V Live Migration

To perform the live migration, you need to setup through Ups Setup and psConfig Hyper-V.

Ups Setup -> Network and services:
Hyper-V Live Migration

  • Enable the source selector (“Live Migration source”, highlighted in light blue) and select the UPS supplying power to the source host. The software will monitor the status of this UPS for this purpose (“Source device”, set to “UPS A” in the example).
  • Then enable the target selector (“Live Migration target”, highlighted in light blue) and select the UPS supplying power to the target host. The software will monitor the status of this UPS for this purpose (“Target device”, set to “UPS B” in the example). Specify the IP address of the destination/target host in the “Dest. IP host” field.
  • On the destination host, PowerShield must have the TCP/IP service enabled, normally on port 33000 (the default setting). No firewall restrictions must be in place that would block this communication.
  • When this feature is enabled, the Power Shield service/agent running on the source host periodically sends a request to the Power Shield service/agent running on the destination host to retrieve the status of the UPS supplying power to that host.
  • Before executing the Live Migration, the software checks whether the feature is enabled. If it is enabled, the software also checks the status of the UPS associated with the destination host.
  • If the destination UPS status is OK, the software executes the command sequence responsible for migrating the virtual machines (VMs).

NOTE 1: The VM shutdown configured in Power Shield takes place after the Live Migration, if configured. This shutdown procedure is intended for VMs that are not configured to be migrated via Live Migration and, if necessary, for VMs whose migration fails.

NOTE 2: To provide redundant protection in both directions, the corresponding parameters must be configured in Power Shield’s Ups Setup on both hosts running Hyper-V, using opposite settings. This means that the source host configured on one system must be the target host on the other, and vice versa.

Ups Config Hyper-V:

Ups Config Hyper-V

Click “+” to execute the “Retrieve VM from host” operation.
The “Virtual Machine” pane on the left will be populated with all VMs, both running and stopped.
This accounts for the fact that some VMs may be stopped during setup but may be running later.
The status of each VM is checked when the opportunity to perform a Live Migration arises.
Each VM should then be displayed with a button allowing it to be moved to the “Live Migration Virtual Machine” pane on the right.
This pane contains the VMs selected for migration.
When the configuration is saved, all VMs listed in the “Live Migration Virtual Machine” pane will be considered for Live Migration when the relevant conditions are met.

How to setup a USB connection over MAC?

Prior to version HIGH SIERRA 10.13

  1. Stop Powershield/Upsmon service from command line by typing: sudo launchctl stop com.rps.upsmon and pressing enter key
    NOTE – It is recommended to use a user with root permissions
  2. Verify if our application is allowed to load by following the steps shown in the screenshots below, it must be allowed:
    Prior to version HIGH SIERRA 10.13
    Prior to version HIGH SIERRA 10.13
  3. Type cd /Library/Extensions and press enter
  4. Type ls and press enter, for checking that in list appear USB UPS Driver items, and if so, do for each USB UPS Driver item command sudo kextload as below:
    • If USB UPS Driver is present, type sudo kextload USB UPS Driver.kext and press enter
    • If USB UPS Driver 2 is also present, type sudo kextload USB UPS Driver2.kext and press enter
    • If USB UPS Driver 3 is also present, type sudo kextload USB UPS Driver3.kext and press enter …
      NOTE – If kextload command not allowed, type sudo kextutil for each USB UPS Driver
  5. Repeat step 2
  6. If the USB cable is connected, disconnect and reconnect it
  7. Restart the Powershield/Upsmon service from the command line by typing: sudo launchctl start com. rps. upsmon and pressing enter

From version HIGH SIERRA 10.13 included

In mac OS 10.13 High Sierra, Apple introduced Secure Kernel Extension Loading (SKEL), which builds upon the protections established by System Integrity Protection (SIP). While SIP requires all kernel extensions (KEXTs) to be signed, SKEL adds an additional layer of security by requiring explicit user approval before loading third-party KEXTs.

To proceed, ensure you are working with a clean installation of mac OS (not an upgrade). Then, install the required KEXTs by following the steps outlined below:
From version HIGH SIERRA 10.13 included
From version HIGH SIERRA 10.13 included

Note

Currently, we do not have compatible kernel extensions (KEXTs) available for Apple ARM64-based systems (e.g., M1, M2 chips). This includes the following:

  • MacBook Air (2020 and later, with M1, M2 and later chips)
  • MacBook Pro (2020 onward, with M1, M2, M3 chips and Pro/Max/Ultra variants)
  • Mac Mini (2020 onwards, with M1, M2 and later chips)
  • iMac 24″ (2021 onward, with M1 chips and later)
  • Mac Studio (2022 onwards, with M1 Max, M1 Ultra, M2 Max, M2 Ultra chips)
  • Mac Pro (2023 onwards, with M2 Ultra chip)

How to run up sagent in debug?

If a communication issue occurs, you can run Ups Agent in debug mode to generate a debug file, which should then be sent to the service department for analysis.

  1. Open prompt
  2. Open C:\Program Files\Upsmon directory or C:\Program Files\Powershield3
  3. Run the command upsag_ nt -debug
    How to run up sagent in debug
    This window will appear:
    How to run upssetup in debug
  4. Stop the debug after 20 or 30 seconds pressing ctrl + c
  5. Open C:\Program Data\Upsmon
  6. Locate the file debug.log and send it to your service contact

How to run ups setup in debug?

If a mail issue occurs, you can run Up Setup in debug mode to generate a debug file, which should then be sent to the service department for analysis.

  1. Open prompt
  2. Open C:\Program Files\Upsmon directory or C:\Program Files\Powershield3
  3. Run the command ups setup -debug
    How to run upssetup in debug
    This window will appear:
    How to run upssetup in debug
  4. Open Mail and messages and perform a test mail command, this window will appear:
    How to run upssetup in debug
  5. Leave the above window running till the end
  6. Exit from the Ups Setup window
  7. Open C:\Program Data\Upsmon
  8. Locate the file debugmail.log and send it to your service contact

Changelog

DocRev Data Change
Rev00 28/03/2025 First release
Rev01 22/05/2025 Added comments for MAC version SIERRA 10.31 Chapter 4.1 – Chapter 4.2 – Chapter 4.3
Rev02 27/08/2026 Chapter 1 – Added a description of the secure connection
Rev03 27/10/2026
Added chapter 3.7

Documents / Resources

PDF thumbnailPowershield3 Setup Software
User Guide · POWERSHIELD_TROUBLESHOOT_rev03, Powershield3, troubleshooting, software, Powershield3 Setup Software, Setup Software, Software

References

Rate this manual

Was this page helpful?

Ask a Question

Use this section to ask about setup, compatibility, troubleshooting, or anything missing from this manual.

Ask a Question

Ask about setup, compatibility, troubleshooting, or anything missing from this manual. Name and email are optional.