Forum Discussion

brahim94_11525's avatar
brahim94_11525
Icon for Nimbostratus rankNimbostratus
Mar 27, 2014

Question about vconsole utility

HI,

 

I have a questions about vconsole utility. I used this command "vconsole guest_name slot_number" to access a guest via console port (PErle appliance). And now when a closed the connection and reconnect, I'm sill connected to the guest. Does anyone know how to come back to the host (hypvervisor) ?

 

No information about this problem on F5 documentation,

 

Thank you,

 

Best regards

 

4 Replies

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    vconsole is basically telnet in disguise, so just send the telnet escape sequence (^]) and then q for quit...

     

    ** Of course if you're TELNET'ed into the host you're vconsoling from that won't work very well, but that should be unlikely as telnet isn't enabled by default on BigIP anyway.

     

  • Kel's avatar
    Kel
    Icon for Nimbostratus rankNimbostratus

    Use ps to find the process number & kill it as shown below; [root@mybigip:Active:Standalone] config ps | grep tty 10026 ttyS0 Ss 0:00 -bash 10105 ttyS0 S+ 0:00 /usr/bin/telnet 127.3.0.0 22033 14659 pts/0 S+ 0:00 grep ttyS0

     

    [root@mybigip:Active:Standalone] config kill 10105

     

  • Kel's avatar
    Kel
    Icon for Nimbostratus rankNimbostratus

    Use ps to find the process number & kill it as shown below;

     

    [root@mybigip:Active:Standalone] config ps | grep tty

     

    10026 ttyS0 Ss 0:00 -bash

     

    10105 ttyS0 S+ 0:00 /usr/bin/telnet 127.3.0.0 22033

     

    14659 pts/0 S+ 0:00 grep ttyS0

     

    [root@mybigip:Active:Standalone] config kill 10105

     

  • I found I have the same problem. I connect to the console of vcmp host and it opens connection to one of the guests instead. Quitting the telnet session quits the whole session, not just the guest session. I do not see a telnet session in the ps output:

    [root@ABC:Standby:In Sync] config  ps | grep tty
     5315 tty1     Ss+    0:00 /sbin/mingetty /dev/tty1
     5339 tty2     Ss+    0:00 /sbin/mingetty /dev/tty2
     5346 tty3     Ss+    0:00 /sbin/mingetty /dev/tty3
     5356 tty4     Ss+    0:00 /sbin/mingetty /dev/tty4
     5384 tty5     Ss+    0:00 /sbin/mingetty /dev/tty5
     5435 tty6     Ss+    0:00 /sbin/mingetty /dev/tty6
    15340 ttyS0    Ss     0:00 -bash
    15971 ttyS0    S+     0:00 -bash
    15972 ttyS0    S+     0:00 grep tty
    15974 ttyS0    R+     0:00 /bin/ps ax
    

    Any other idea how to disconnect from the guest and get back to the host?

    Thank you for any advice,

    Regards

    Michal