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 Junos/Ubuntu ログイン情報確認方法

Last updated at Posted at 2020-11-30

この記事の目的

  • IBMCloudではIaaS(クラシックインフラ)で利用されることが多い、Juniper社のvSRXアプライアンスを利用する方がオーダー後に困りやすいログイン情報の確認方法、およびポータルに複数表示ログイン情報がどの環境にログインできるかをご説明します。
  • ここではHA(冗長)構成でのログイン情報の確認の方法について取り上げます。

IBMCloudポータルからのログイン情報確認

  • [IBMCloudポータル] -> [クラシックインフラストラクチャ] -> [ネットワーク] -> [ゲートウェイ・アプライアンス] をクリック

    • クラシックインフラストラクチャ画面への移動
      image.png

    • ゲートウェイ・アプライアンス画面への移動
      image.png

    • 対象デバイスを選択
      image.png

    • ログイン情報が表示されます。

      • ①左下: Junos ログイン情報
      • ②右上1: HA#1(Active機) のUbuntu/OS ログイン情報
      • ③右上2: HA#2(Standby機) のUbuntu/OS ログイン情報
        image.png
  • 非常にわかりずらいですが、vSRXにおけるJunosとUbuntuの関係性を理解するには、以下のJuniper社の下記ドキュメントを参照されることをオススメします。
    以下にOSアーキテクチャリンクを添付いたします。
    (添付している図コメントは、個人的な見解なので、もし間違っている場合はご指摘いただけると幸いです。)

出典: Understanding vSRX with KVM
image.png

 ログイン結果

PCからSSLVPNを接続した上で、実際に①、②、③のログイン情報を利用してSSHログインした結果を以下に記載します。

  • ①ログイン結果 (vSRX Junos)
    • IPネットワーク制御(ACL/Routingなど)やHA冗長設定でユーザが主に設定作業をするのは、Junos上となります。
    • root/adminのユーザがありますが、JUNOSコマンドを実行するにはadminでログインします。(rootでログインするとlinuxコマンドの操作ができます)
@NaokinoMBP ~ % ssh admin@10.192.xx.137
Last login: Mon Nov 30 11:42:09 2020 from 10.2.216.126
--- JUNOS 19.4R2-S3.2 Kernel 64-bit  JNPR-11.0-20200908.87c9d89_buil
{primary:node0}
admin@xx-tok04-vsrx-gateway02-vSRX-Node0>
  • ②ログイン結果 (HW#1 UbuntuOS)
@NaokinoMBP ~ % ssh root@10.192.xx.146
root@10.192.xx.146's password:
Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-122-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: Sun Nov 29 20:48:30 2020 from 10.2.224.27
root@xx-tok04-vsrx-gateway02:~#
  • ③ログイン結果 (HW#2 UbuntuOS)
@NaokinoMBP ~ % ssh root@10.192.xx.136
root@10.192.xx.136's password:
Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-122-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: Sun Nov 29 20:44:47 2020 from 10.2.224.27
root@xx-tok04-vsrx-gateway01:~#
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?