cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
619
Views
2
Helpful
6
Replies

Manually Copy Refplat Files?

Jon Paulsen
Level 1
Level 1

Hello!


Running ver cml2_2.8.1-14_amd64-35 on an HP Z2 workstation.

Is there a place in the file structure I can just copy refplat contents and get them added to my bare metal CML?

I have the node-definitions and virl-base-images as well as the iso images (fcs and suplimental) on the bare metal machine's disk.

I read in the instructions, "Files uploaded via scp on port 22 will be placed in /var/local/virl2/dropfolder/" and tried to copy the files there, but no go. I am not seeing the nodes when in a lab and if I try "Copy Refplat ISO" in "CML 2 System Maintenance Controls" it says "*** Did not find any CDROM device"

Any help appreciated!

~jon

6 Replies 6

sidshas03
Spotlight
Spotlight

Hi Jon,

You can’t just drop the refplat files anywhere in the filesystem and expect them to show up in CML. The system has its own import process that registers the node definitions and base images, so just copying them into /var/local/virl2/dropfolder/ won’t make them available. That folder is only for uploads that the CML UI knows how to handle.

The “Copy Refplat ISO” option is looking for a mounted CDROM device, which is why you’re seeing the error on bare metal. If you’ve already got the node-definitions and the ISO images on disk, the proper way is to use the “System Maintenance > Upload Images” option in the UI, or use the virl2-import-iso CLI tool to import the refplat ISO manually. That process extracts the definitions and registers the images correctly in the database.

If you’re still not seeing the nodes after import, double-check that the refplat ISO you’ve got matches the version of CML you’re running (2.8.1-14). A mismatch can cause the system to ignore the files. Also, after importing, restart the virl2 services or just reboot the box so the changes stick.

Hope that helps get your nodes showing up.

iamknudsen
Level 1
Level 1

Thanks for the tips. They led me in the right direction. In the end, I did:

(you have to sudo all these commands)

dmesg to see what your usb device is. Mine was /dev/sdc1. If yours is different, change /dev/sdc1 to your usb device.

mkdir temp-mount

mount /dev/sdc1 /temp-mount
mount -o loop temp-mount/refplat-20241223-fcs.iso /cdrom
(verify mount) ls cdrom (should see 2 folders)

In coppilot, do "Copy Refplat ISO" Once done:
umount temp-mount/refplat-20241223-fcs.iso
optionally repeat above steps for the supplemental iso

when finished you can be nice to Linux and umount everything before you pull the usb flash drive.

Enes Simnica
Level 5
Level 5

@Jon Paulsen man, this is totally off-topic from tech, but I can’t ignore this, looks like u’ve got pilot gear on and an airplane in the background. Are you a pilot? Because that’s awesome! I’m a huge aviation fan myself, aviation and technology are like my two biggest passions (they take turns being #1 depending on the day hahahahaha sick). So u r a pilot right?

more Cisco?!
more Gym?!



If this post solved your problem, kindly mark it as Accepted Solution. Much appreciated!

That's my brother at his change of commands ceremony. He was the CAG of CV1. That's one of his F-18's. I did 6 years as an Avionics tech. Thanks for noticing, and good eye!

Daaamn, that’s awesome!!!!!!!!!!! Much respect to both of you.

SALUTE

more Cisco?!
more Gym?!



If this post solved your problem, kindly mark it as Accepted Solution. Much appreciated!