cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
534
Views
2
Helpful
4
Replies

IOx VM console

thock
Visitor

I am loading a VM on a C8300 platform using IOx.  I can load, activate, and run the VM but I cannot figure out how to access the console. The VM itself is configured for the standard console and a serial console (/dev/ttys0) and has qemu tools loaded. If I try to connect to the console, I get the following return: 

Error processing command. Server returned  501

Any advice on how to enable the console?

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

if this configured as GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8" and connecting fails :

app-hosting connect appid <your_vm_app_id> console

then look below post  may help :

https://community.cisco.com/t5/edge-computing-infrastructure/ir1101-application-hosting-console-and-network/td-p/4196094

BB

=====️ Preenayamo Vasudevam ️=====

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

4 Replies 4

M02@rt37
VIP
VIP

Hello @thock

Please share your IOS xe version and whether you deployed the VM as a VM application or an OCI container ?

Thanks.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

I am currently running IOS-XE 17.12.05a and I am installing my application as a VM with ioxclient version 1.18.0.0. The VM installs and runs but I don't have any console access.  I have /dev/ttyS0 configured as a serial console in the VM but it is not clear how to configure the package.yaml file to use it.

Maybe this is my problem... When I run ioxclient platform device getcfg I see the following in the output:

"console": {

  "enabled": false,

  "group_name": "libvirtd",

  "setup_script": "setupconsole.sh",

  "teardown_script": "teardownconsole.sh",

  "user_name": "appconsole"

},

Is there any way to enable this?

balaji.bandi
Hall of Fame
Hall of Fame

if this configured as GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8" and connecting fails :

app-hosting connect appid <your_vm_app_id> console

then look below post  may help :

https://community.cisco.com/t5/edge-computing-infrastructure/ir1101-application-hosting-console-and-network/td-p/4196094

BB

=====️ Preenayamo Vasudevam ️=====

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help