01-13-2025 01:41 AM
Hello,
I have had CML 2.7 on my laptop since June, I upgraded it to CML 2.7.2 without changing the initial 2.7 refplat images.
I performed an in place upgrade to CML 2.8 and I downloaded the supplemental refplat images using the procedure :
Copy Refplat ISO to Disk - Cisco Modeling Labs v2.8 - Cisco DevNet
In particular pscp :
scp refplat-20220211-fcs.iso admin@com-ip-addr:refplat_images.iso
I saw the video :
Cisco Modeling Labs v2.8 Release Virtual Event - YouTube
In which at 16'22" Joes Clarke says that with all releases the images are refreshed in the refplat iso.
My question is having allreading copie the CML 2.8 supplemental iso, how to get those images ?
I assume the new images are in the regular CML 2.8 iso, that I should download.
But I didn't see any documented process to upgrade those images, in particular I have a question :
since I copied the supplemental iso images with the command :
scp refplat-20220211-fcs.iso admin@com-ip-addr:refplat_images.iso
when I copy the regular CML 2.8 refplat.iso can I keep the same name : refplat_images.iso
or do I have to change the name for CML to succeed ?
and are there any other steps to take care of to add the bulk of images on top of the supplemental iso ?
Solved! Go to Solution.
01-15-2025 08:12 AM
OK I first mounted the main .iso as a DVD and issued copy refplat in the cockpit, I could see in the logs that it copied things
but I suspect I copied the same refplat definitions from the supplemental iso though the regular .iso was present.
So I turned to plan B :
scp refplat-20220211-fcs.iso admin@com-ip-addr:refplat_MAIN_images.iso
I could see then the file in /var/local/virl2/dropfolder/ but when I issued the copy refplat in the cockpit page
once again the files copies were that of the supplemental iso.
I tried the name :refplat_MAIN_images.iso because I used refplat_images.iso when I copied the files of the supplemental iso
(I want to keep), I was afraid that keeping the same name would crash the supplemental files I updloaded before.
BUT when I issued copy ref plat once again the file of the supplemental iso were shown in the logs.
So in /var/local/virl2/dropfolder/ I renamed refplat_MAIN_images.iso to refplat_images.iso, and when I issued copy refplat in cockpit I saw at last the iol files with the new version i.e. the main images I wanted to add.
So bingo, when copy refplat (with iso mounted as DVD) does not work it is possible to use :
scp refplat-20241016-fcs.iso admin@com-ip-addr:refplat_images.iso, even if refplat_images.iso was already used for the supplemental iso and in the end in CML image definitions I can see both images, so using it twice does not crush the first images.
01-13-2025 02:26 AM
You can either mount the refplat ISO file via CD/DVD mount or scp the file to CML server and copy the supplementary refplat ISO in the CML cockpit. Sharing the instruction from the docs below.
https://developer.cisco.com/docs/modeling-labs/copy-refplat-iso-to-disk/
01-13-2025 02:34 AM
Thanks in fact my precise question is :
when copying with SCP (mounting as DVD didn't work, I can try this time but I jump to the last resort method)
do I have to change the file name in the copy from :refplat_images.iso to :refplat_images_MAIN.iso like :
scp refplat-20241016-fcs.iso admin@com-ip-addr:refplat_images_MAIN.iso
01-13-2025 03:00 AM
Give that a try and lets see the outcomes
01-15-2025 08:12 AM
OK I first mounted the main .iso as a DVD and issued copy refplat in the cockpit, I could see in the logs that it copied things
but I suspect I copied the same refplat definitions from the supplemental iso though the regular .iso was present.
So I turned to plan B :
scp refplat-20220211-fcs.iso admin@com-ip-addr:refplat_MAIN_images.iso
I could see then the file in /var/local/virl2/dropfolder/ but when I issued the copy refplat in the cockpit page
once again the files copies were that of the supplemental iso.
I tried the name :refplat_MAIN_images.iso because I used refplat_images.iso when I copied the files of the supplemental iso
(I want to keep), I was afraid that keeping the same name would crash the supplemental files I updloaded before.
BUT when I issued copy ref plat once again the file of the supplemental iso were shown in the logs.
So in /var/local/virl2/dropfolder/ I renamed refplat_MAIN_images.iso to refplat_images.iso, and when I issued copy refplat in cockpit I saw at last the iol files with the new version i.e. the main images I wanted to add.
So bingo, when copy refplat (with iso mounted as DVD) does not work it is possible to use :
scp refplat-20241016-fcs.iso admin@com-ip-addr:refplat_images.iso, even if refplat_images.iso was already used for the supplemental iso and in the end in CML image definitions I can see both images, so using it twice does not crush the first images.
01-13-2025 05:15 AM - edited 01-13-2025 05:16 AM
I've just did that.
I downloaded the refplat.iso, I mounted it as a DVD and issue a copy refplat iso in the cockpit which succeeded :
output ended with :
*** Copying completed *** Restarting controller to reload images into CML2 controller... *** Starting CML services *** Ejecting /dev/sr0... *** Exiting with code 0
Now when I go in CML > Tools > Node Definitions and Image definitions I see nothing new,
is there something else I should do e.g. to see the new Cat9000v image ?
01-13-2025 05:25 AM
As far as i recall, during the node creation process, you should have the opportunity to select the specific image version for the Cat9000v. This is where you'll likely see the latest image available in CML 2.8.
01-13-2025 05:44 AM
Hello, thanks.
Well after I uploaded the supplemental iso I got the new nodes directly in node definitions and image definitions : SDWAN etc.
But this time zero, nothing new.
I try 'ADD' and 'Manage' in nodes and image definition but I do not see the new images I uploaded
01-13-2025 05:48 AM - edited 01-13-2025 05:55 AM
The supplemental iso only contains the SD-WAN images. For other nodes such as the cat9k you will need to import nodes from the regular refplat image.
EDIT: I must admit that I didn't read the whole post. Yes you can use the same image name, just use the exact same procedure as you did with the supplemental ISO. It copies the node definitions and images to the local disk instead of reading them from the ISO.
01-13-2025 06:04 AM
Thanks Well I think I did all that.
for the supplemental ISO for wathever reason mounting the iso as a DVD did not work I had to copy them with pscp,
but afterwards dowloading the CML 2.8 iso (i.e not the "supplemental" one), and mounting the .iso as a DVD apparently worked (see the ouput above) yet I do not see any change in CML (?)