設定 GrabCAD Analyze – 安裝

此為 GrabCAD Analyze 安裝指南,這是一款功能強大的工具,可為 Stratasys 3D 印表機提供即時分析和警示。GrabCAD Analyze 提供各種儀表板,每一個皆以獨特的格式呈現資料。 

GrabCAD Analyze 的安裝由兩個獨立安裝的元件組成,分別是:GrabCAD Analyze AgentGrabCAD Analyze Server。Agent 會監視印表機,並將資料傳送到 Server,Server 會儲存資料並託管 Analyze 應用程式。Analyze 應用程式可透過 Web 瀏覽器和 URL 存取,但其並非網站。相反地,Sever 是 Analyze Server 在區域託管的應用程式,您只能在區域網路上加以存取。

安裝 GrabCAD Analyze 有三個步驟:

  1. 安裝 Analyze Agent 
  2. 安裝 Analyze Server 和必要的先決軟體
  3. 安裝後步驟和啟動

注意:建議在一台符合系統需求的電腦上同時安裝 Agent 和 Server。但是,您也可以將其安裝在不同的電腦上。請參閱系統需求的「替代方法」一節,若適用,請參閱下方的 Linux 方法

GrabCAD Analyze Agent 安裝 

  1. 登入 GrabCAD Control,然後移至「設定 Analyze」頁面 (您必須是公司管理員,才能存取 GrabCAD Control)。
  2. 下載 Analyze Agent Installer,並視需求將檔案傳輸至要加以安裝的電腦。 

  3. 執行並完成「GrabCADAnalyzeAgentInstaller.exe」的安裝。 

  4. 記下完成畫面中顯示的 IP 位址 (上述範例)。您稍後在 Analyze Server 中需要 Agent IP 位址和連接埠 5010,以與印表機連線。

完成後,您可以使用 Ctrl+Alt+Del 啟動 Windows 工作管理員,並確定「GrabCAD Analyze Agent 視窗服務」正在執行中。 

GrabCAD Analyze Server 安裝: 

GrabCAD Analyze Server 本質上為 Linux 應用程式。因此,Windows 安裝程式將透過包含 Analyze Server 的磁碟映像來安裝 Linux 虛擬機器。因這種安裝方法性質之故,需要一些先決軟體來確保一切順利運作,且您需要 Windows 電腦上的管理權限。但是,由於此方法允許您在同一台電腦上同時安裝 Analyze Server 和 Analyze Agent,因此是建議的安裝 GrabCAD Analyze 方法。

或者,可以選擇安裝原生 Linux 版的 Analyze Server。應用程式的效能將與 Windows 方法相同,因此只有當您已經有一台符合系統需求「替代方法」的 Linux 電腦時,才建議使用此方法。

在 Windows 機器上安裝 GrabCAD Analyze Server: 

安裝 Analyze Server 之前,必須先安裝以下先決項目  

Oracle 虛擬機虛擬機

GrabCAD Analyze Server is a Linux-based application, and in order to run on Windows, a virtual Linux machine is required. The Windows installer for GrabCAD Analyze Server will set things up in VirtualBox automatically, so all you need to do is to download the installer for Windows hosts from the following link and install it: VirtualBox Download.  

Hashicorp 開發的 Vagrant

Vagrant is required to run the installation scripts needed for GrabCAD Analyze. Download and install the AMD64 version of Vagrant for Windows from the following link: Vagrant Download. A restart of your computer is required after installing Vagrant, before you begin the Analyze Server installation.

After installing VirtualBox and Vagrant, the GrabCAD Analyze Server can be installed
  1. 登入 GrabCAD Control,然後移至「設定 Analyze」頁面 (您必須是公司管理員,才能存取 GrabCAD Control)。
  2. 下載 Analyze Server Installer,並視需求將檔案傳輸至要加以安裝的電腦。 

  3. 下載 .exe 檔案後,請勿用按兩下的方式執行該檔案。而是用右鍵按一下安裝程式並選擇以管理員身分執行,然後按照螢幕指示完成安裝。此安裝發生在 2 階段。同意 EULA (一般使用者授權合約) 後,您將完成第一階段,系統會提示您按一下「下一步」。

  4. 按一下「下一步」會啟動一個新視窗,以安裝剩餘的 Analyze 元件。此步驟將需要幾分鐘時間。

  5. 在關閉視窗之前,請複製畫面中的 Analyze Server 位址,如下所示。您在安裝後步驟中需要此位址。

請於下節繼續遵循本指南:安裝後步驟與啟動

替代方法 — 在 Linux 系統上安裝 GrabCAD Analyze Server: 

以下安裝指示用於直接在 Linux 系統上安裝 Server,而不是在 Windows 電腦上安裝。如果您已完成上述 Windows 安裝指示,請跳到下一節:安裝後步驟與啟動

以下映像屬於 Ubuntu Server 終端機。  

  1. 在命令列中輸入「ip link」,以取得 Linux 系統的網路介面名稱。  
    1. 醒目提示的介面名稱為黃色 

      自動產生的電腦描述螢幕截圖

  2. 在命令列中輸入「ip address」,以取得與網路介面關聯的 IP 位址 

    自動產生的電腦描述螢幕截圖

  3. 接下來,您需要將從 GrabCAD Control 的「設定分析」頁面下載的安裝檔案傳輸到 Linux 系統。您可以從命令列使用普通「安全複製」(SCP),也可以在電腦上使用互動式應用程式,例如可以下載的 WinSCP 此處)。虛擬機管理工具還可以提供內建的檔案傳輸工具。在本指南中,我們將使用 WinSCP:  
    1. 從 GrabCAD Control 的「Linux」標籤下載 GrabCAD Analyze 安裝程式。 

    2. 安裝 WinSCP (應不需要管理員權限)。 
    3. 將其啟動時,您應該會看到以下畫面。請輸入 AnalyzeServer IP 位址,並且不要變更連接埠。 
    4. 輸入您的 Linux 系統使用者名稱與密碼。  

    5. 在以下畫面中按一下「是」,以在區域託管 SSH 金鑰。  
  4. 現在您已將電腦連接到 Linux 系統,您將在 WinSCP 應用程式的左側看到電腦檔案,在右側看到 linux 伺服器檔案。  
    1. 在您的電腦上到 GrabCAD Analyze Server Installer,只需將其拖到 Linux 系統即可。  
    2. 檔案傳輸後,此安裝將不再需要 WinSCP 或其他 SSH 功能。但是,如果有升級,則需要重複此過程。 
  5. 將安裝程式複製到 Linux 系統後,即可開始 Analyze Server 安裝。在 Linux 系統中,依次輸入以下命令以開始並完成安裝。您可以隨時輸入 Ctrl+C 來中止安裝。  
    1. 此安裝假設軟體已複製到 /home/<username> 目錄。  
    2. 成為安裝的「root」使用者,並移動到已複製安裝套件的目錄。依照順序輸入以下命令。系統將要求您在「bash」之後輸入密碼 

      $ sudo bash 

      # cd /tmp 

      # ls *.gz 

      GrabCADAnalyzeServerInstaller-<version>.gz 

    3. 將軟體組合包解壓縮。這會擷取 tar.gz 檔案。 

      # tar xvzmf GrabCADAnalyzeServerInstaller-<version>.gz 

    4. 提前安裝先決套件。 

      # sudo apt install net-tools  

    5. 輸入以下命令以變更目錄並執行安裝。如果需要診斷安裝程式問題,可以使用 WinSCP 擷取 install.log 檔案。 

      # cd msbundle 

      # sudo ./install.sh 2>&1 | tee install-$(date -u +'%Y-%m-%dT%H:%M:%SZ').log 

      PRESS ENTER TO CONTINUE WITH INSTALL; 

    6. 按 ENTER 將要求您接受 Stratasys 授權合約。按 (y) 後,系統將提示您一系列安裝問題。 
    7. 選擇安裝或升級:  
      1. 對於全新安裝,請選擇選項 1) 安裝 GrabCAD Analyze Server   
      2. 如果要升級現有的 Analyze 軟體,請選取選項 2) 升級 GrabCAD Analyze Server 

        1) Install GrabCAD Analyze Server 

        2) Upgrade GrabCAD Analyze Server 

        Enter installation package number [1]: 

    8. 接下來,安裝程式會回報其將使用的網路介面。依預設,會選取「eth0」或「enp0s3」。 
    9. 在所有問題之後,將呈現設定概覽。按「Enter」開始實際安裝。 
    10. GrabCAD Analyze 伺服器的解壓縮與安裝將開始並於約 8-10 分鐘內完成。如果花費的時間超過 15 分鐘,請按 Ctrl+C 重新開始。  
    11. 安裝完成後,請重新啟動伺服器。

      # sudo shutdown –r now 

Analyze 伺服器現已安裝。

安裝後步驟

成功安裝 Analyze Agent 與 Analyze Server 後,便可以啟動 Analyze 應用程式。  

在 GrabCAD Control 中新增 Analyze Serve 位址: 

必須取得執行 GrabCAD Analyze Server 的電腦其 IP 位址。安裝完成後,請記下該位址,或者您可以使用 Windows 中的命令提示字元尋找。如果 Server 電腦的 IP 位址是 192.168.123.48,則 Analyze Server 位址將如下所示:http://192.168.123.48:3000/login

In addition to port 3000 all other ports that need to be open from all client computers that will access the Analyze Server can be found here Requirements-for-web-applications.

After entering the address, click Launch Analyze and wait for the page to load. The first time launch of GrabCAD Analyze may take a few minutes.

Optional: Verify that the Analyze Server to start automatically after Windows restarts: 

It is recommended to keep the Analyze Server and Agent always running to ensure there is no loss of printer data in the Analyze dashboards. The Analyze Server installation configures Windows to to automatically restart the virtual machine and the Analyze Server in the event of a Windows update, or scheduled restart. To prevent any downtime, it is important to verify that the installation successfully updated the Windows settings: 

  1. 在 Windows 上啟動「工作排程器」應用程式。您可以透過在「開始」按鈕附近搜尋「工作排程器」找到該項。
  2. 導覽至左側面板中的「工作排程器庫」。  
  3. 在「工作排程器」視窗的左窗格中,展開「工作排程器庫」資料夾。 

  4. 找到 AnalyzeVMStartupTasks,按兩下「AnalyzeVMStartupTasks」以開啟其屬性。 
  5. In the General tab, verify the option "Run whether user is logged on or not" is selected. If not, you will require administrator privileges to update the setting.

您和您公司的所有使用者現在可以直接從登入畫面,或者使用頂端導覽列從 GrabCAD Control 或 GrabCAD Shop,來移至 login.grabcad.com、登入並前往 GrabCAD Analyze。您公司所有的 GrabCAD Control 使用者在 Analyze也擁有管理員角色,其他使用者皆擁有「編輯者」角色。

現在,您可以設定 Analyze 應用程式、新增表機和探索儀表板,如本文所示

找不到所需內容? 向我們傳送消息 向我們傳送消息