| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| network_stuff:juniper:vqfx [2019/11/16 21:07] – jotasandoku | network_stuff:juniper:vqfx [2023/11/02 14:38] (current) – external edit 127.0.0.1 |
|---|
| |
| INSTALLATION:\\ | INSTALLATION:\\ |
| * Preparations: {{ :network_stuff:juniper:host-preparation.docx |}} | * Preparations: [[https://panda314159.duckdns.org/doku.php?id=network_stuff:juniper:host-preparation|host preparation]] |
| * Importamnt: lag interfaces don't work with virtio, therefore linux servers need to be e1000 <<< | * Importamnt: lag interfaces don't work with virtio, therefore linux servers need to be e1000 <<< |
| |
| |
| * Install: [[https://codingpackets.com/blog/juniper-vqfx-vagrant-libvirt-box-install]] | * Install: [[https://codingpackets.com/blog/juniper-vqfx-vagrant-libvirt-box-install]] |
| * step by step guide {{ :network_stuff:step-by-step-vqfx.docx |}} | * step by step guide [[https://panda314159.duckdns.org/doku.php?id=network_stuff:juniper:vqfx:step-by-step-vqfx|Link]] |
| * to configure the nodes (hosts and vqfx cli): {{ :network_stuff:nodes-config-example.docx |}} | * to configure the nodes (hosts and vqfx cli): {{ :network_stuff:nodes-config-example.docx |}} |
| * Troubleshooting: {{ :network_stuff:juniper:troubleshooting-vqfx-vmx-install.docx |}} | * Troubleshooting: {{ :network_stuff:juniper:troubleshooting-vqfx-vmx-install.docx |}} |
| * Provision vagrant file with ansible : see this file tree (note we do **1 vagrant up & then 2 run.ansible.sh**) : {{ :network_stuff:juniper:root_vmx-test-2.tar.gz |}} | \\ |
| | **FULL DIR CONTENTS: {{ :network_stuff:juniper:vqfx-vagrant-ansible.tar.gz |}} ** |
| |
| | # this is the bootstrap script (all components in daughter pages here) |
| #!/bin/bash | #!/bin/bash |
| # This file creates an ini/host files with the names and mgmt values assigned by vagrant so it can be used by ansible | vagrant up |
| vagrant ssh-config > ssh-config | ./genhost.sh |
| echo -e " | ./push-slax.sh |
| [TEST] | ansible-playbook --private-key=~/.vagrant.d/insecure_private_key -u vagrant -i ini/hosts -l VQFX playbook-housekeeping.yml |
| R1-vcp ansible_host=`egrep -A 1 "R1-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` | ansible-playbook --private-key=~/.vagrant.d/insecure_private_key -u vagrant -i ini/hosts -l VQFX playbook-vqfx.yml |
| R2-vcp ansible_host=`egrep -A 1 "R2-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` | |
| R3-vcp ansible_host=`egrep -A 1 "R3-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` | |
| R4-vcp ansible_host=`egrep -A 1 "R4-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` | |
| R5-vcp ansible_host=`egrep -A 1 "R5-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` | ---- |
| R6-vcp ansible_host=`egrep -A 1 "R6-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` | |
| R7-vcp ansible_host=`egrep -A 1 "R7-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` | TODO: |
| "; > ini/hosts | - ansible to save all running configs in files |