05-11-2020 07:20 AM
Dear all,
I experienced a crash which affected one of the RSPs of our ASR9906. Following the crash, a crash file was created which is located within the disk space of the System Admin VM, in the folder cisco_support/.
My question is: how do I take out this crash file (which I would like to send to Cisco)? From my network management station I'm not able to reach the disk space of the System Admin VM, I seem to reach only the XR VM disk space. I tried with SCP.
Is there a way to transfer a file from one virtual disk to the other virtual disk (i.e. from the System Admin VM to the XR VM)?
Many thanks!
Simone
Solved! Go to Solution.
05-11-2020 07:32 AM - edited 05-11-2020 11:56 AM
we will need to copy from the admin vm to the xr vm
example:
sysadmin-vm:0_RSP0# copy harddisk:/preserved_shutdown_logs_2020-Apr-02.071533.UTC_0_RSP1.tgz location 0/RSP0 harddisk: location 0/RSP0/CPU0/VM1 Mon May 11 14:31:42.429 UTC+00:00 Copying harddisk:/preserved_shutdown_logs_2020-Apr-02.071533.UTC_0_RSP1.tgz to harddisk: File copied successfully sysadmin-vm:0_RSP0#
Once completed we should see it under harddisk: while on the XR VM
Thanks
05-11-2020 07:32 AM - edited 05-11-2020 11:56 AM
we will need to copy from the admin vm to the xr vm
example:
sysadmin-vm:0_RSP0# copy harddisk:/preserved_shutdown_logs_2020-Apr-02.071533.UTC_0_RSP1.tgz location 0/RSP0 harddisk: location 0/RSP0/CPU0/VM1 Mon May 11 14:31:42.429 UTC+00:00 Copying harddisk:/preserved_shutdown_logs_2020-Apr-02.071533.UTC_0_RSP1.tgz to harddisk: File copied successfully sysadmin-vm:0_RSP0#
Once completed we should see it under harddisk: while on the XR VM
Thanks
05-12-2020 06:02 AM
hi tkarnani!
Thanks for the advice. I managed to move the file to the directory hardisk: of the XR VM. Then I did not manage to take it out with SCP until I moved it to disk0:
Is it possible that with SCP from my NMS I can reach only the directory disk0: of the XR VM?
Simone
05-12-2020 06:41 AM
I tried in our lab.
RP/0/RSP1/CPU0:F340.13.18-ASR-9906-C#dir harddisk: | inc rpm Tue May 12 15:37:13.667 CEST 36 -rw-r--r--. 1 3615640 Mar 16 16:49 asr9k-iosxr-fwding-64-2.0.0.3-r662.CSCvt42295.x86_64.rpm 38 -rw-r--r--. 1 3617580 Mar 17 23:55 asr9k-iosxr-fwding-64-2.0.0.5-r662.CSCvt42295.x86_64.rpm 37 -rw-r--r--. 1 3617645 Mar 16 23:59 asr9k-iosxr-fwding-64-2.0.0.4-r662.CSCvt42295.x86_64.rpm RP/0/RSP1/CPU0:F340.13.18-ASR-9906-C#
-bash-4.2$ scp tkarnani@172.18.120.160:/harddisk:/asr9k-iosxr-fwding-64-2.0.0.3-r662.CSCvt42295.x86_64.rpm usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2 -bash-4.2$ scp tkarnani@172.18.120.160:/harddisk:/asr9k-iosxr-fwding-64-2.0.0.3-r662.CSCvt42295.x86_64.rpm . The authenticity of host '172.18.120.160 (172.18.120.160)' can't be established. RSA key fingerprint is SHA256:rw1Tw5X90Rhl3GmSBUUNxsPQhTQ5S3edXijmn1+wFbc. RSA key fingerprint is MD5:97:13:a8:16:e0:c9:aa:0e:83:60:a1:65:ae:95:ff:ee. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '172.18.120.160' (RSA) to the list of known hosts. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! !! !! - CALO RTP XR SHARED LAB - !! !! RULES: !! !! !! !! 1. DO NOT add/remove/edit AAA, username, usergroup config. !! !! !! !! 2. DO NOT alter the calo-mgmt vrf configs !! !! !! !! 3. DO NOT change configs that are not relevant to your case. !! !! !! !! 4. DO NOT commit replace the box (for any reason). !! !! !! !! !! !! *ALL CONFIGURATION CHANGES ARE LOGGED. FAILURE TO FOLLOW !! !! THE RULES WILL RESULT IN BEING BANNED FROM THE SHARED LAB* !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Password: asr9k-iosxr-fwding-64-2.0.0.3-r662.CSCvt42295 100% 3531KB 8.2MB/s 00:00 Connection to 172.18.120.160 closed by remote host. -bash-4.2$ ls | grep CSCvt42295 asr9k-iosxr-fwding-64-2.0.0.3-r662.CSCvt42295.x86_64.rpm asr9k-iosxr-fwding-64-3.0.0.4-r663.CSCvt42295.x86_64.rpm -bash-4.2$
i was able to copy from harddisk:
05-12-2020 06:59 AM
Great! I had a syntax problem, managed to make it work.
Thanks a lot!
Simone
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide