2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

IBMCloud vSRX KVMコンソールアクセス

Last updated at Posted at 2020-11-16

目的

vSRXに対してのKVMコンソールアクセス方法を記載する。
ubuntuからvsrxにアクセスする部分がわかりにくいので、記事にしました。
ibmcloudポータル→KVMコンソール→ubuntu(vsrx)→vsrx本体

KVMコンソールアクセス

クラシックインフラストラクチャ -> ゲートウェイ・アプライアンスを選択
IBM_Cloud.png

KVMアクセスしたいクラスタ名を選択
IBM_Cloud_-_ゲートウェイ.png

KVMアクセスしたいホスト名を選択
IBM_Cloud_-_ゲートウェイの詳細.png

リモート管理を選択し、管理(IPアドレス)ユーザ-およびパスワードを確認する。
IBM_Cloud_-_デバイス詳細.png

確認したIPアドレス、ユーザー名およびパスワードを利用し、ブラウザからログインする。
https___10_193_97_12.png

ubuntu(vsrx)アクセス

Remote Controll -> IKVM/HTML5 -> I
KVM/HTML5
を選択する。
https___10_193_97_12_cgi_url_redirect_cgi_url_name_mainmenu.png

ログイン画面が表示されるので、webブラウザのコンソールから操作する。
Resolution_1024x768_FPS__30.png

ログインするとubuntuの画面にログインする。

Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-112-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage


 * Canonical Livepatch is available for installation.
   - Reduce system reboots and improve kernel security. Activate at:
     https://ubuntu.com/livepatch
New release '20.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Last login: Mon Nov 16 03:25:25 2020

vSRXコンソールにアクセス

virshコマンドを利用し、vsrx用のコンソールにアクセスするためのポート番号を確認する
これ→service='8615'

root@kou-srx02:~# virsh dumpxml 1 | grep -B 2 telnet
    <serial type='tcp'>
      <source mode='bind' host='127.0.0.1' service='8615' tls='no'/>
      <protocol type='telnet'/>
--
    <console type='tcp'>
      <source mode='bind' host='127.0.0.1' service='8615' tls='no'/>
      <protocol type='telnet'/>

vsrxへのコンソールポートが8615とわかったので、telnetでアクセスする。
あとはいつも通りに設定可能。

root@kou-srx02:~# telnet 127.0.0.1 8615
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.


FreeBSD/amd64 (kou-srx00-vsrx-vSRX-Node0) (ttyu0)

login: root
Password:
Last login: Sat Sep 26 13:15:51 from 106.160.xx.xx

--- JUNOS 18.4R1-S1.3 Kernel 64-bit  JNPR-11.0-20181207.6c2f68b_2_bu
root@kou-srx00-vsrx-vSRX-Node0:~ #
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?