ESXi - serial console as default consoleGigabyte GA-6KIEH-RH | Serial Over LANLinux: Print all messages to primary console *and* secondary console (monitor/KVM)?How to serial-over-lan past “Loading initial ramdisk”?Supermicro + IPMI + FreeBSD: Kernel prints at 1-bpsWith the Supermicro Embedded BMC, is it possible to connect to Serial Over Lan via SSH?Serial Over Lan doesn't redirect OS terminalIs there a way to use a server serial (com) port as a client to connect to a switch console?Local console does not appear on ESXi 6.0 servervPro/iAMT, BIOS does not show up via serial console (SOL)Serial port console connection to Network Switch

How would modern naval warfare have to have developed differently for battleships to still be relevant in the 21st century?

Why doesn't a marching band have strings?

Why aren't cotton tents more popular?

What's currently blocking the construction of the wall between Mexico and the US?

Can ADFS connect to other SSO services?

Suggested order for Amazon Prime Doctor Who series

Hand soldering SMD 1206 components

How does Powershell create fake drive labels in Windows?

Mean value theorem inequality problem.

How to make clear to people I don't want to answer their "Where are you from?" question?

Why the feminine "la" in "à la Leonardo DiCaprio", though he is a man?

Find the diameter of a word graph

Trainee keeps missing deadlines for independent learning

How convert text to hex value?

In the Marvel universe, can a human have a baby with any non-human?

Swapping rooks in a 4x4 board

How to remove this component from PCB

Does Marvel have an equivalent of the Green Lantern?

Impossible darts scores

3D Crossword, Cryptic, Statue View & Maze

C-152 carb heat on before landing in hot weather?

First-year PhD giving a talk among well-established researchers in the field

Why cruise at 7000' in an A319?

What is the legal status of travelling with methadone in your carry-on?



ESXi - serial console as default console


Gigabyte GA-6KIEH-RH | Serial Over LANLinux: Print all messages to primary console *and* secondary console (monitor/KVM)?How to serial-over-lan past “Loading initial ramdisk”?Supermicro + IPMI + FreeBSD: Kernel prints at 1-bpsWith the Supermicro Embedded BMC, is it possible to connect to Serial Over Lan via SSH?Serial Over Lan doesn't redirect OS terminalIs there a way to use a server serial (com) port as a client to connect to a switch console?Local console does not appear on ESXi 6.0 servervPro/iAMT, BIOS does not show up via serial console (SOL)Serial port console connection to Network Switch






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








9















I have headless Supermicro server with IPMI as my ESXi 5 but I would like to use serial console as default console for ESXi instead of accessing it via IPMI VGA console redirection. I have some problems with java with IPMI and I also prefer text ui :)



I tried to follow Redirect the Direct Console to a Serial Port Using the vSphere Client but no success.



My goal is:



  • see in serial port boot loader of ESXi (it is syslinux what I see)

  • see booting via serial port (not logging but internactive stuff)

  • see shell which I can use to login via serial port

My server has serial console. Next step would be to setup IPMI SOL.



Can anybody share how to do it? The procedure above didn't work for me.



How to check that ESXi was booting with serial port as console?










share|improve this question
























  • Why are you trying to do this? why not just use the powercli or equivilants?

    – Chopper3
    Jun 8 '12 at 16:50











  • You didn't get it at all :DDDD You confuse CLI with console.

    – jirib
    Jun 8 '12 at 19:34












  • I can assure you I know the difference, I'm still not sure what you're trying to achieve

    – Chopper3
    Jun 8 '12 at 20:16






  • 5





    As I don't have any display plugged with my ESXi server, I'm accessing it via IPMI VGA console redirection. But this needs java and java is crap, sometimes it doesn't work with specific java version etc. So I would prefer serial console as primary console. en.wikipedia.org/wiki/Serial_console

    – jirib
    Jun 9 '12 at 13:29






  • 7





    Very little reason but still there's reason, like troubleshooting booting, getting output from host's kernel panic etc...

    – jirib
    Jun 10 '12 at 8:23

















9















I have headless Supermicro server with IPMI as my ESXi 5 but I would like to use serial console as default console for ESXi instead of accessing it via IPMI VGA console redirection. I have some problems with java with IPMI and I also prefer text ui :)



I tried to follow Redirect the Direct Console to a Serial Port Using the vSphere Client but no success.



My goal is:



  • see in serial port boot loader of ESXi (it is syslinux what I see)

  • see booting via serial port (not logging but internactive stuff)

  • see shell which I can use to login via serial port

My server has serial console. Next step would be to setup IPMI SOL.



Can anybody share how to do it? The procedure above didn't work for me.



How to check that ESXi was booting with serial port as console?










share|improve this question
























  • Why are you trying to do this? why not just use the powercli or equivilants?

    – Chopper3
    Jun 8 '12 at 16:50











  • You didn't get it at all :DDDD You confuse CLI with console.

    – jirib
    Jun 8 '12 at 19:34












  • I can assure you I know the difference, I'm still not sure what you're trying to achieve

    – Chopper3
    Jun 8 '12 at 20:16






  • 5





    As I don't have any display plugged with my ESXi server, I'm accessing it via IPMI VGA console redirection. But this needs java and java is crap, sometimes it doesn't work with specific java version etc. So I would prefer serial console as primary console. en.wikipedia.org/wiki/Serial_console

    – jirib
    Jun 9 '12 at 13:29






  • 7





    Very little reason but still there's reason, like troubleshooting booting, getting output from host's kernel panic etc...

    – jirib
    Jun 10 '12 at 8:23













9












9








9


1






I have headless Supermicro server with IPMI as my ESXi 5 but I would like to use serial console as default console for ESXi instead of accessing it via IPMI VGA console redirection. I have some problems with java with IPMI and I also prefer text ui :)



I tried to follow Redirect the Direct Console to a Serial Port Using the vSphere Client but no success.



My goal is:



  • see in serial port boot loader of ESXi (it is syslinux what I see)

  • see booting via serial port (not logging but internactive stuff)

  • see shell which I can use to login via serial port

My server has serial console. Next step would be to setup IPMI SOL.



Can anybody share how to do it? The procedure above didn't work for me.



How to check that ESXi was booting with serial port as console?










share|improve this question
















I have headless Supermicro server with IPMI as my ESXi 5 but I would like to use serial console as default console for ESXi instead of accessing it via IPMI VGA console redirection. I have some problems with java with IPMI and I also prefer text ui :)



I tried to follow Redirect the Direct Console to a Serial Port Using the vSphere Client but no success.



My goal is:



  • see in serial port boot loader of ESXi (it is syslinux what I see)

  • see booting via serial port (not logging but internactive stuff)

  • see shell which I can use to login via serial port

My server has serial console. Next step would be to setup IPMI SOL.



Can anybody share how to do it? The procedure above didn't work for me.



How to check that ESXi was booting with serial port as console?







vmware-esxi console serial






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 10 '12 at 0:00









mgorven

26.6k7 gold badges55 silver badges109 bronze badges




26.6k7 gold badges55 silver badges109 bronze badges










asked Jun 8 '12 at 13:05









jiribjirib

1,1406 silver badges15 bronze badges




1,1406 silver badges15 bronze badges












  • Why are you trying to do this? why not just use the powercli or equivilants?

    – Chopper3
    Jun 8 '12 at 16:50











  • You didn't get it at all :DDDD You confuse CLI with console.

    – jirib
    Jun 8 '12 at 19:34












  • I can assure you I know the difference, I'm still not sure what you're trying to achieve

    – Chopper3
    Jun 8 '12 at 20:16






  • 5





    As I don't have any display plugged with my ESXi server, I'm accessing it via IPMI VGA console redirection. But this needs java and java is crap, sometimes it doesn't work with specific java version etc. So I would prefer serial console as primary console. en.wikipedia.org/wiki/Serial_console

    – jirib
    Jun 9 '12 at 13:29






  • 7





    Very little reason but still there's reason, like troubleshooting booting, getting output from host's kernel panic etc...

    – jirib
    Jun 10 '12 at 8:23

















  • Why are you trying to do this? why not just use the powercli or equivilants?

    – Chopper3
    Jun 8 '12 at 16:50











  • You didn't get it at all :DDDD You confuse CLI with console.

    – jirib
    Jun 8 '12 at 19:34












  • I can assure you I know the difference, I'm still not sure what you're trying to achieve

    – Chopper3
    Jun 8 '12 at 20:16






  • 5





    As I don't have any display plugged with my ESXi server, I'm accessing it via IPMI VGA console redirection. But this needs java and java is crap, sometimes it doesn't work with specific java version etc. So I would prefer serial console as primary console. en.wikipedia.org/wiki/Serial_console

    – jirib
    Jun 9 '12 at 13:29






  • 7





    Very little reason but still there's reason, like troubleshooting booting, getting output from host's kernel panic etc...

    – jirib
    Jun 10 '12 at 8:23
















Why are you trying to do this? why not just use the powercli or equivilants?

– Chopper3
Jun 8 '12 at 16:50





Why are you trying to do this? why not just use the powercli or equivilants?

– Chopper3
Jun 8 '12 at 16:50













You didn't get it at all :DDDD You confuse CLI with console.

– jirib
Jun 8 '12 at 19:34






You didn't get it at all :DDDD You confuse CLI with console.

– jirib
Jun 8 '12 at 19:34














I can assure you I know the difference, I'm still not sure what you're trying to achieve

– Chopper3
Jun 8 '12 at 20:16





I can assure you I know the difference, I'm still not sure what you're trying to achieve

– Chopper3
Jun 8 '12 at 20:16




5




5





As I don't have any display plugged with my ESXi server, I'm accessing it via IPMI VGA console redirection. But this needs java and java is crap, sometimes it doesn't work with specific java version etc. So I would prefer serial console as primary console. en.wikipedia.org/wiki/Serial_console

– jirib
Jun 9 '12 at 13:29





As I don't have any display plugged with my ESXi server, I'm accessing it via IPMI VGA console redirection. But this needs java and java is crap, sometimes it doesn't work with specific java version etc. So I would prefer serial console as primary console. en.wikipedia.org/wiki/Serial_console

– jirib
Jun 9 '12 at 13:29




7




7





Very little reason but still there's reason, like troubleshooting booting, getting output from host's kernel panic etc...

– jirib
Jun 10 '12 at 8:23





Very little reason but still there's reason, like troubleshooting booting, getting output from host's kernel panic etc...

– jirib
Jun 10 '12 at 8:23










1 Answer
1






active

oldest

votes


















2














Maybe this will work? Still not sure why you want to follow this path, but the option is available.




Redirect the Direct Console to a Serial Port Using the vSphere Client



When you use the vSphere Client to redirect the direct console to a
serial port, the boot option you set persists after subsequent
reboots.



You can redirect the direct console to either of the serial ports com1
or com2.



The serial port must not be in use for serial logging and debugging,
or for ESX Shell (tty1Port). Prerequisites



  1. Verify that you can access the host from the vSphere Client. The
    serial port must not already be in use for serial logging and
    debugging, or for ESX Shell (tty1Port).


  2. From the vSphere Client, connect to the vCenter Server and select the
    host in the inventory.


  3. Click the Configuration tab.


  4. Under Software, click Advanced Settings.


  5. In the left pane, expand the VMkernel listing and select Boot.


  6. Make sure that the VMkernel.Boot.logPort and VMkernel.Boot.gdbPort
    fields are not set to use the com port that you want to redirect the
    direct console to.


  7. Set VMkernel.Boot.tty2Port to the serial port to redirect the direct
    console to: com1 or com2.


  8. Click OK.


Reboot the host.



You can now manage the ESXi host remotely from a console connected to
the serial port.




https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-C65306C0-DA37-4F45-8A50-31F8D109BB1D.html






share|improve this answer



























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f396894%2fesxi-serial-console-as-default-console%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    Maybe this will work? Still not sure why you want to follow this path, but the option is available.




    Redirect the Direct Console to a Serial Port Using the vSphere Client



    When you use the vSphere Client to redirect the direct console to a
    serial port, the boot option you set persists after subsequent
    reboots.



    You can redirect the direct console to either of the serial ports com1
    or com2.



    The serial port must not be in use for serial logging and debugging,
    or for ESX Shell (tty1Port). Prerequisites



    1. Verify that you can access the host from the vSphere Client. The
      serial port must not already be in use for serial logging and
      debugging, or for ESX Shell (tty1Port).


    2. From the vSphere Client, connect to the vCenter Server and select the
      host in the inventory.


    3. Click the Configuration tab.


    4. Under Software, click Advanced Settings.


    5. In the left pane, expand the VMkernel listing and select Boot.


    6. Make sure that the VMkernel.Boot.logPort and VMkernel.Boot.gdbPort
      fields are not set to use the com port that you want to redirect the
      direct console to.


    7. Set VMkernel.Boot.tty2Port to the serial port to redirect the direct
      console to: com1 or com2.


    8. Click OK.


    Reboot the host.



    You can now manage the ESXi host remotely from a console connected to
    the serial port.




    https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-C65306C0-DA37-4F45-8A50-31F8D109BB1D.html






    share|improve this answer





























      2














      Maybe this will work? Still not sure why you want to follow this path, but the option is available.




      Redirect the Direct Console to a Serial Port Using the vSphere Client



      When you use the vSphere Client to redirect the direct console to a
      serial port, the boot option you set persists after subsequent
      reboots.



      You can redirect the direct console to either of the serial ports com1
      or com2.



      The serial port must not be in use for serial logging and debugging,
      or for ESX Shell (tty1Port). Prerequisites



      1. Verify that you can access the host from the vSphere Client. The
        serial port must not already be in use for serial logging and
        debugging, or for ESX Shell (tty1Port).


      2. From the vSphere Client, connect to the vCenter Server and select the
        host in the inventory.


      3. Click the Configuration tab.


      4. Under Software, click Advanced Settings.


      5. In the left pane, expand the VMkernel listing and select Boot.


      6. Make sure that the VMkernel.Boot.logPort and VMkernel.Boot.gdbPort
        fields are not set to use the com port that you want to redirect the
        direct console to.


      7. Set VMkernel.Boot.tty2Port to the serial port to redirect the direct
        console to: com1 or com2.


      8. Click OK.


      Reboot the host.



      You can now manage the ESXi host remotely from a console connected to
      the serial port.




      https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-C65306C0-DA37-4F45-8A50-31F8D109BB1D.html






      share|improve this answer



























        2












        2








        2







        Maybe this will work? Still not sure why you want to follow this path, but the option is available.




        Redirect the Direct Console to a Serial Port Using the vSphere Client



        When you use the vSphere Client to redirect the direct console to a
        serial port, the boot option you set persists after subsequent
        reboots.



        You can redirect the direct console to either of the serial ports com1
        or com2.



        The serial port must not be in use for serial logging and debugging,
        or for ESX Shell (tty1Port). Prerequisites



        1. Verify that you can access the host from the vSphere Client. The
          serial port must not already be in use for serial logging and
          debugging, or for ESX Shell (tty1Port).


        2. From the vSphere Client, connect to the vCenter Server and select the
          host in the inventory.


        3. Click the Configuration tab.


        4. Under Software, click Advanced Settings.


        5. In the left pane, expand the VMkernel listing and select Boot.


        6. Make sure that the VMkernel.Boot.logPort and VMkernel.Boot.gdbPort
          fields are not set to use the com port that you want to redirect the
          direct console to.


        7. Set VMkernel.Boot.tty2Port to the serial port to redirect the direct
          console to: com1 or com2.


        8. Click OK.


        Reboot the host.



        You can now manage the ESXi host remotely from a console connected to
        the serial port.




        https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-C65306C0-DA37-4F45-8A50-31F8D109BB1D.html






        share|improve this answer















        Maybe this will work? Still not sure why you want to follow this path, but the option is available.




        Redirect the Direct Console to a Serial Port Using the vSphere Client



        When you use the vSphere Client to redirect the direct console to a
        serial port, the boot option you set persists after subsequent
        reboots.



        You can redirect the direct console to either of the serial ports com1
        or com2.



        The serial port must not be in use for serial logging and debugging,
        or for ESX Shell (tty1Port). Prerequisites



        1. Verify that you can access the host from the vSphere Client. The
          serial port must not already be in use for serial logging and
          debugging, or for ESX Shell (tty1Port).


        2. From the vSphere Client, connect to the vCenter Server and select the
          host in the inventory.


        3. Click the Configuration tab.


        4. Under Software, click Advanced Settings.


        5. In the left pane, expand the VMkernel listing and select Boot.


        6. Make sure that the VMkernel.Boot.logPort and VMkernel.Boot.gdbPort
          fields are not set to use the com port that you want to redirect the
          direct console to.


        7. Set VMkernel.Boot.tty2Port to the serial port to redirect the direct
          console to: com1 or com2.


        8. Click OK.


        Reboot the host.



        You can now manage the ESXi host remotely from a console connected to
        the serial port.




        https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-C65306C0-DA37-4F45-8A50-31F8D109BB1D.html







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jun 6 at 17:25









        yagmoth555

        12.8k3 gold badges18 silver badges42 bronze badges




        12.8k3 gold badges18 silver badges42 bronze badges










        answered Jun 6 at 17:16









        esvaldez58esvaldez58

        212 bronze badges




        212 bronze badges



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f396894%2fesxi-serial-console-as-default-console%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

            Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

            What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company