Operations for Docker型 Instana

您可以對 Docker上的 Instana 後端執行下列作業:

升級 Instana 主控台

請使用適當的套件管理程式指令來更新至想要的 Instana 主控台套件版本。

請參閱下列 Ubuntu範例:

  • 若要取得最新版本,請執行下列指令:

    sudo apt-get install instana-console
    
  • 若要抓取特定版本,請執行指令,如下所示:

    sudo apt-get install instana-console=221-2
    

升級 Instana 後端

下列指令會根據現行 settings.hcl 檔案來更新容器配置,並固定至所部署的 instana-console 版本。

附註: 在升級 Instana 後端之前,您需要先升級 Instana 主控台。

instana update

您也可以使用此指令來重新配置現行安裝。

清除舊 Docker 映像檔

執行下列指令,以移除舊版 Instana Docker 映像檔:

instana images prune

起始設定或重設安裝

透過執行下列指令,起始設定安裝並刪除所有現有資料:

instana init

配置預設管理使用者

執行下列指令來建立或重設管理使用者:

instana configure admin

重設鑑別提供者

執行下列指令來重設鑑別提供者:

instana configure reset IDP
instana configure reset LDAP

停止所有元件

執行下列指令,以停止 Instana 後端設定的所有元件:

instana stop

附註: 如果您使用自動化 Script ,請如下所示使用 -y 參數,以繼續進行而不驗證:

instana stop -y

啟動所有元件

執行下列指令,以啟動 Instana 後端設定的所有元件:

instana start

附註: 如果您使用自動化 Script ,請如下所示使用 -y 參數,以繼續進行而不驗證:

instana start -y

建立 settings.hcl 檔的範本

執行下列指令,以預設 (empty.md) 值建立 settings.hcl 檔案:

instana settings template

該檔案會建立在您執行此指令的目錄中。

驗證 settings.hcl 檔

執行下列指令來驗證現有的 settings.hcl 檔案:

instana settings validate

說明

執行下列指令,以取得說明資訊:

instana help

Instana 版本

執行下列指令,以取得 Instana 後端現行執行版本:

instana version