After upgrade to SDX 13.1 27.59 or lower 13.1 version firmware, you may find SDX booted with SVM running, but VPX in Halted state.
Try launch the VM you get the following error:
"INTERNAL_ERROR xenopsd internal error: Unix.Unix_error(Unix.ENODEV. "write". "")
cd /var/mps/log
grep postinst mpscontrol.log*
//Find the shell execution log like following
31 May 22 21:11:36.970 +0800 [Debug] [Main] Executing "sh /postinst.sh 71000 450085 >/var/log/postinst.log 2>&1; echo $?" command on 169.254.0.1
//Note: Here we are trying to find the argument 450085, which is netscaler.sysid, it varies according to the platform, if you can not find old sh command logs, try grep netscaler.sysid in mps_control logs instead.
scp /var/mps/generated_postinst.sh root@169.254.0.1:/postinst.sh
##On SVM CLI ssh root@169.254.0.1 ##Into XenServer SSH sh /postinst.sh 71000 450085 >/var/log/postinst.log 2>&1 reboot
A SDX firmware known issue NSHELP-31125 may cause this issue, where SCP postinst.sh may fail during upgrade for 13.1 firmware lower than 27.59.
Citrix ADC Engineering is already working on a fix for this issue.