Skip to main content
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

使用命令列介面、在 Linux 主機上安裝 NetApp 支援的外掛程式

貢獻者

您應該使用 SnapCenter 使用者介面( UI )來安裝 NetApp 支援的外掛程式。如果您的環境不允許從 SnapCenter UI 遠端安裝外掛程式、您可以使用命令列介面( CLI )、在主控台模式或無訊息模式下安裝 NetApp 支援的外掛程式。

步驟
  1. 將 SnapCenter Plug-ins Package for Linux 安裝檔案( snapcenter_linux_host_plugin.bin )從 C : \ProgramData\NetApp\SnapCenter\Package 儲存庫複製到您要安裝 NetApp 支援外掛程式的主機。

    您可以從SnapCenter 安裝了該伺服器的主機存取此路徑。

  2. 在命令提示字元中、瀏覽至您複製安裝檔案的目錄。

  3. 安裝外掛程式:「path_to_installation_bin_file/snapcenter_linux_host_plugin.bin -i silent -DPORT=port_number_for_host -dserver_ip=server_name_or ip_address -dserver_https_port=port_number_for_server'

    • -DPORT指定SMCore HTTPS通訊連接埠。

    • -dserver_IP會指定SnapCenter 「伺服器IP位址」。

    • -dserver_https_port指定SnapCenter 了「伺服器HTTPS連接埠」。

    • -Duser_install_DIR會指定您要安裝SnapCenter 適用於Linux的《SKED Plug-ins套件》的目錄。

    • DINSTALL_LOD_NAME指定記錄檔的名稱。

    /tmp/sc-plugin-installer/snapcenter_linux_host_plugin.bin -i silent  -DPORT=8145 -DSERVER_IP=scserver.domain.com -DSERVER_HTTPS_PORT=8146 -DUSER_INSTALL_DIR=/opt -DINSTALL_LOG_NAME=SnapCenter_Linux_Host_Plugin_Install_2.log -DCHOSEN_FEATURE_LIST=CUSTOM
  4. 使用Add-Smhost Cmdlet和必要參數、將主機新增SnapCenter 至SetcServer。

    執行_Get-Help命令名稱_可取得有關可與命令搭配使用之參數及其說明的資訊。或者、您也可以參閱 "《軟件指令程式參考指南》SnapCenter"

  5. 登入 SnapCenter 、並從 UI 或使用 PowerShell Cmdlet 上傳 NetApp 支援的外掛程式。

    您可以參考一節、從 UI 上傳 NetApp 支援的外掛程式 "新增主機並在遠端主機上安裝外掛程式套件"

    Cmdlet說明及Cmdlet參考資訊包含更多PowerShell Cmdlet的相關資訊。SnapCenter