Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Suggestion for official perfSONAR VM image

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Suggestion for official perfSONAR VM image


Chronological Thread 
  • From: "장민석" <>
  • To:
  • Cc: "조부승" <>, "김동균" <>
  • Subject: [perfsonar-user] Suggestion for official perfSONAR VM image
  • Date: Tue, 5 Aug 2025 14:08:48 +0900

Hi All,

I'd like to share my experience with deploying perfSONAR hosts and suggest creating an official VM image.

Recently, I updated 16 perfSONAR hosts using the V2P (Virtual to Physical) method. The migration process from perfSONAR v4 to v5 takes only about 3-5 minutes per server.

Here's how I created a perfSONAR VM image in Proxmox:
1. Downloaded the official Ubuntu 24 cloud image
2. Installed perfSONAR
3. Flushed ds-* index and stopped opensearch
4. Powered off VM and ran virt-sysprep
5. Removed perfSONAR UUID and logs
6. Used virt-edit to modify firewalld configs (public.xml and trusted.xml) to restrict SSH access to managed IPs only
Using this method, I successfully deployed nine 10G perfSONAR installations (e.g., http://ps-chch.kreonet.net ).

For seven 100G hosts, I installed Proxmox via V2P method, and created VMs using the above image with PCI pass-through to attach 100G NICs (e.g., http://ps-amst.kreonet2.net ).

While I notice that the Docker image has been recently updated ( https://hub.docker.com/r/perfsonar/testpoint ), I believe having an official VM image would be a valuable addition to the existing deployment options.

Best Regards,
Minseok Jang

---
cf. For reference, here's the script I used for the deployment:

# Sysprep
## Sysprep perfSONAR VM
virt-sysprep -a ps5u24.qcow2
virt-customize -a ps5u24.qcow2 --run-command 'find /var/log/{pscheduler,perfsonar} -type f -delete; find /var/lib/perfsonar -name '*uuid' -delete;'

# V2P
## Dump virtual disk to physical disk
qemu-img convert ps5u24.qcow2 -O raw /dev/sdb

## Resize partition and file system
growpart /dev/sdb 1
e2fsck -f /dev/sdb1
resize2fs /dev/sdb1

## Modify OS configs
mount /dev/sdb1 /mnt
vi /mnt/etc/hostname
vi /mnt/etc/hosts
vi /mnt/etc/netplan/network.yaml

## Modify perfSONAR config
vi /mnt/etc/perfsonar/lsregistrationdaemon.conf

## Clear other disk's MBR
dd bs=10M count=1 if=/dev/zero of=/dev/sda

## Reboot
reboot

---
cf. In the above script, I only deleted UUIDs, which creates an issue where all VMs retain identical credentials for PostgreSQL, OpenSearch, and GrafanaTo create those credentials, perfSONAR installer executes postinst scripts (https://github.com/search?q=org%3Aperfsonar+postinst ). If these scripts could be executed during VM initialization, it would provide a more complete sysprep solution, ensuring unique credentials for each deployment.




---
Minseok Jang (張旻錫, 장민석)

네트워크미래기술연구본부 과학기술연구망센터 연구망기술고도화팀
한국과학기술정보연구원 (KISTI)

KREONET Center / Division of Network Future Technology Research
Korea Institute of Science and Technology Information (KISTI)

Email:
LinkedIn: https://www.linkedin.com/in/msjang
Phone: +82-42-869-1292 / Mobile: +82-10-2630-7480



Archive powered by MHonArc 2.6.24.

Top of Page