How to regenerate the EID for a container
Original Publishing Date:
2020-01-22
Information
EID is the Environment ID used by the PVA Agent to identify a container or a virtual machine. This EID must be unique for all containers and virtual machines in a Parallels Virtual Automation (PVA) managed infrastructure.
This article describes how to regenerate the EID for a container.
Resolution
On Linux:
-
Find the container EID:
~# cat /vz/private/CTID/.vza/eid.conf
-
Remove the EID cache file:
~# rm /var/opt/pva/agent/etc/configs/EID
-
Use the uuidgen utility to obtain a unique EID:
~# uuidgen | tee /vz/private/CTID/.vza/eid.conf
5187b2c8-a3a1-42f6-8d23-343effde0d10
NOTE: Replace CTID with the actual container ID.
-
Restart the PVA Agent to apply these changes:
~# pvaagent restart
On Windows
-
Find the container EID:
type C:\vz\private\CTID\.vza\eid.conf
-
Remove the EID cache file:
del C:\vz\PVA\Agent\Data\etc\configs\EID
-
Stop the PVA Agent:
sc stop pvaagent
-
Use the newvpsid utility to obtain a unique EID:
newvpsid > C:\vz\private\CTID\.vza\eid.conf
NOTE: Replace CTID with the actual container ID.
-
Start PVA Agent
sc start pvaagent
Also see
111205 How to find out Parallels Virtuozzo Containers node EID?
113867 How to regenerate the EID for hardware node
113619 How to find out EID for container?
11197 How to change the virtual machine UUID
115380 How to regenerate the EID for the container managed by PIM
Internal content