Dear all,
Please, can anyone share with the procedure, step-by-step, for adding HPE VSR 1000 (Comware 7 router).
I have found some explanations googling however it does not work - Thank you so much in advance for your very much appreciated input!
Kind regards
Adding HP VSR
Moderator: mike
-
- Posts: 36
- Joined: Wed Mar 22, 2017 6:40 am
Re: Adding HP VSR
First download the zip file from HP..for example VSR1000_HPE-CMW710-E0518-X64.zip
simple step.
1. extract the zip file....we just need the iso file.
2. rename the xxxxxx.iso to cdrom.iso
3. create a directory at eve-ng
mkdir /opt/unetlab/addons/qemu/hpvsr-710-E0518/
4. copy the cdrom.iso to /opt/unetlab/addons/qemu/hpvsr-710-E0518/
5. create a 10Gb hda.qcow2 file in /opt/unetlab/addons/qemu/hpvsr-710-E0518/ directory
root@eve-ng:/opt/unetlab/addons/qemu/hpvsr-710-E0518# /opt/qemu/bin/qemu-img create -f qcow2 hda.qcow2 10G
6. fix permissions
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
7. goto gui, create a new lab, add hpvsr..then start the node
8. Once start, select option 1 to install.....should be quite fast.
9. Once installed, it will ask you to reboot....so reboot
10. bla bla bla....just press ctrl-C to bypass the dhcp detection.....you will see your normal <HPE> prompt.
====> the following step is to write delta changes into original image
11. stop the node. check Lab detail and write down the ID.....for example my lab ID: 8c85f601-124a-4dee-9b29-e6889a6dfe8b
12. go to cli, change to following directory (the lab delta image should be at /opt/unetlab/tmp/ .....just locate the directory based on Lab ID)
root@eve-ng:/opt/unetlab/tmp/0/8c85f601-124a-4dee-9b29-e6889a6dfe8b/1# <------ this is my lab directory...yours one should be different
13. inside the above directory, should have a hda.qcow2 file.
/opt/qemu/bin/qemu-img info hda.qcow2 ==> this will show where is the original image location ...e.g /opt/unetlab/addons/qemu/hpvsr-710-E0518/
/opt/qemu/bin/qemu-img commit hda.qcow2 ==> this command will write the delta changes into the original image located at /opt/unetlab/addons/qemu/hpvsr-710-E0518/hda.qcow2
14. now your image is ready....you can delete cdrom.iso file at /opt/unetlab/addons/qemu/hpvsr-710-E0518/
15. fix permission and delete the lab.
16. start new lab with the new create the image.
simple step.
1. extract the zip file....we just need the iso file.
2. rename the xxxxxx.iso to cdrom.iso
3. create a directory at eve-ng
mkdir /opt/unetlab/addons/qemu/hpvsr-710-E0518/
4. copy the cdrom.iso to /opt/unetlab/addons/qemu/hpvsr-710-E0518/
5. create a 10Gb hda.qcow2 file in /opt/unetlab/addons/qemu/hpvsr-710-E0518/ directory
root@eve-ng:/opt/unetlab/addons/qemu/hpvsr-710-E0518# /opt/qemu/bin/qemu-img create -f qcow2 hda.qcow2 10G
6. fix permissions
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
7. goto gui, create a new lab, add hpvsr..then start the node
8. Once start, select option 1 to install.....should be quite fast.
9. Once installed, it will ask you to reboot....so reboot
10. bla bla bla....just press ctrl-C to bypass the dhcp detection.....you will see your normal <HPE> prompt.
====> the following step is to write delta changes into original image
11. stop the node. check Lab detail and write down the ID.....for example my lab ID: 8c85f601-124a-4dee-9b29-e6889a6dfe8b
12. go to cli, change to following directory (the lab delta image should be at /opt/unetlab/tmp/ .....just locate the directory based on Lab ID)
root@eve-ng:/opt/unetlab/tmp/0/8c85f601-124a-4dee-9b29-e6889a6dfe8b/1# <------ this is my lab directory...yours one should be different
13. inside the above directory, should have a hda.qcow2 file.
/opt/qemu/bin/qemu-img info hda.qcow2 ==> this will show where is the original image location ...e.g /opt/unetlab/addons/qemu/hpvsr-710-E0518/
/opt/qemu/bin/qemu-img commit hda.qcow2 ==> this command will write the delta changes into the original image located at /opt/unetlab/addons/qemu/hpvsr-710-E0518/hda.qcow2
14. now your image is ready....you can delete cdrom.iso file at /opt/unetlab/addons/qemu/hpvsr-710-E0518/
15. fix permission and delete the lab.
16. start new lab with the new create the image.
-
- Posts: 4
- Joined: Thu May 18, 2017 5:48 pm
Re: Adding HP VSR
THANK YOU SO MUCH for looking at my call and your much appreciated help.
Here the steps that worked for me, in addition to your valuable help. I managed to get it working before reading your message.
STEP-1: Download VSR1000_HPE-CMW710-R0326-X64.zip
STEP-2: Create directory, for example: /opt/unetlab/addons/qemu/hpvsr-1000
STEP-3: Create tmp directory in your EVE host's home
STEP-4 : cd to /tmp
STEP-5: upload VSR1000_HPE-CMW710-R0326-X64.zip to /tmp
STEP-6: unzip VSR1000_HPE-CMW710-R0326-X64.zip in /tmp
STEP-7: tar xf VSR1000_HPE-CMW710-R0326-X64.ova
STEP-8 create an image /opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 VSR1000_HPE-CMW710-E0326-X64-disk1.vmdk /opt/unetlab/addons/qemu/hpvsr-1000/
STEP-9: fixe the permissions /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
STEP-10: delete the /tmp directory rm -rf /tmp
Thanks a lot again!
Kind regards
Here the steps that worked for me, in addition to your valuable help. I managed to get it working before reading your message.
STEP-1: Download VSR1000_HPE-CMW710-R0326-X64.zip
STEP-2: Create directory, for example: /opt/unetlab/addons/qemu/hpvsr-1000
STEP-3: Create tmp directory in your EVE host's home
STEP-4 : cd to /tmp
STEP-5: upload VSR1000_HPE-CMW710-R0326-X64.zip to /tmp
STEP-6: unzip VSR1000_HPE-CMW710-R0326-X64.zip in /tmp
STEP-7: tar xf VSR1000_HPE-CMW710-R0326-X64.ova
STEP-8 create an image /opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 VSR1000_HPE-CMW710-E0326-X64-disk1.vmdk /opt/unetlab/addons/qemu/hpvsr-1000/
STEP-9: fixe the permissions /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
STEP-10: delete the /tmp directory rm -rf /tmp
Thanks a lot again!
Kind regards