Azure Image does not give acces to serial console

book

Article ID: 196684

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

After installing the  Azure Image for APIGW version 10 according to the documentation

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/other-gateway-form-factors/run-layer7-api-gateway-in-microsoft-azure-cloud.html


It is not possible to access the serial console.

Environment

Release : 10.0

Component : API GATEWAY

Resolution

The serial console is not enabled by default in the centos 7 images.

To enable it you can run the following steps in the ssh connection.

How to Enable Serial Console Output in CentOS:

  • open up our text editor: nano /etc/sysconfig/grub.
  • Find the line labeled GRUB_CMDLINE_LINUX and add console=ttyS0 to the end (this assumes your serial port is ttyS0). ...
    Save the file and exit.
  • Run stty -F /dev/ttyS0 speed 9600.
  • Then grub2-mkconfig -o /boot/grub2/grub.cfg.
  • Finally systemctl start [email protected]

Verify is you can access the serial console .