Troubleshoot vJunos-switch
SUMMARY Use this topic to verify your vJunos-switch configuration and for any troubleshooting information.
Verify That the VM is Running
-
Verify whether the vJunos-switch is running after you install it.
virsh list
The
virsh list
command displays the name and state of the virtual machine (VM). The state can be: running, idle, paused, shutdown, crashed, or dying.# virsh list Id Name State --------------------------- 72 vjunos-switch running
-
You can stop and start the VMs with the following
virsh
commands:-
virsh shutdown
—Shutdown the vJunos-switch. -
virsh start
—Start an inactive VM that you defined previously.
Note:Do not use the “virsh destroy” command as that can corrupt the vJunos-switch VM disk.
If your VM stops and does not boot after using the
virsh destroy
command, then create a live QCOW2 disk copy of the original QCOW2 image provided. -
Verify CPU Information
Use the lscpu
command on the host server to display CPU
information.
The output displays information such as the total number of CPUs, the number of cores per socket, and the number of CPU sockets.
For example, the following codeblock shows the information for an Ubuntu 20.04 LTS host server supporting a total of 32 CPUs.
root@vjunos-host:~# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 46 bits physical, 48 bits virtual CPU(s): 32 On-line CPU(s) list: 0-31 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 62 Model name: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz Stepping: 4 CPU MHz: 2593.884 CPU max MHz: 3400.0000 CPU min MHz: 1200.0000 BogoMIPS: 5187.52 Virtualization: VT-x L1d cache: 512 KiB L1i cache: 512 KiB L2 cache: 4 MiB L3 cache: 40 MiB NUMA node0 CPU(s): 0-7,16-23 NUMA node1 CPU(s): 8-15,24-31 [snip]
View Log Files
View the system logs using the show log
command on the
vJunos-switch instance.
root > show log ?
The root > show log ?
command displays the list of log files
available for viewing.
For example, to view the chassis daemon (chassisd) logs run the root >
show log chassisd
command.
Collect Core Dumps
Use the show system core-dumps
command to view the collected
core file. You can transfer these core dumps to an external server for analysis
through the fxp0 management interface on the vJunos-switch.