propagate changes in template to existing node

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
kbmelati
Posts: 15
Joined: Fri Mar 24, 2017 2:54 am

propagate changes in template to existing node

Post by kbmelati » Mon Nov 16, 2020 3:01 pm

Dear Eve-NG experts,

i have several question regarding template and node creation using qemu:

1. Can we change a template and then propagate the changes to existing node ?

2. if cannot, how can we ask eve to re-read template file to existing node (perhaps by right click and "reread" template) ?

3. can we modify individual qemu wrapper / qemu command ? lets say in templates it says "cpu = 1", and we modify some particular node qemu config and modify with " -smp 2" ?

4. where can we see error log of running qemu ? my nodes is started for a very shord period and then shutdown (probably because of template error). i checked file /opt/unetlab/data/Logs/unl_wrapper.txt but cannot see reasons why the node cannot started.

if using command line, for example :
"/opt/qemu-2.4.0/bin/qemu-system-x86_64 -d 0 -- -nographic -device e1000,netdev= ....", and the parameter is incorrect, qemu will tell the error and immediately exit. But at least we have got the error message and we can try fixing that.

thanks.

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: propagate changes in template to existing node

Post by Uldis (UD) » Mon Nov 16, 2020 4:21 pm

You simply did not read eve cookbook.
You can modify templates and save own seetings, as well can create own templates duplicating it from originals...

kbmelati
Posts: 15
Joined: Fri Mar 24, 2017 2:54 am

Re: propagate changes in template to existing node

Post by kbmelati » Mon Nov 16, 2020 4:30 pm

Hi Uldis,

thanks for the answer.

i guess my question isn't clear enough.

here example:
1. i create node A, B, C and D based on template X.
2. i modify template X.
3. i create node J, K and L based on new template X.

current situation will:
node A, B and C using old X template.
and node J, K and L using new X template.

my question is can we update A, B and C so they will get updated X template ?

thanks.

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: propagate changes in template to existing node

Post by Uldis (UD) » Mon Nov 16, 2020 7:58 pm

No.
To create such way, you must create different templates and clone image with diff name.

In the EVE is inclucded almost universal base template from which you can make any other template for node, A,B or C.
Templates and images are bound to the template name and image folder.
All info how to do it
is included in EVE Pro cookbook, section 17
https://www.eve-ng.net/index.php/docume ... -cookbook/
or for eve community
https://www.eve-ng.net/index.php/docume ... -cookbook/
section 14

Post Reply