דלג לתוכן העיקרי

5. שדרוג/תחזוקה של משטח הבקרה של RoostGPT

Thereישנן areמספר multipleאפשרויות optionsזמינות availableלרענון toאו refreshשדרוג orמחסנית upgradeRoostGPT. theמהנדס RoostGPTהתשתית stack.יכול Theלהשתמש infrastructureבכל engineerאחת canמהגישות use either of these approaches.הללו.

a.RoostGPT Usingא. שימוש בסקריפט Terraform Scriptלשדרוג to upgrade RoostGPT versionגרסת

Updateעדכון משתני Terraform Variablesב- in "terraform.tfvars" כדי toלשקף reflectאת the appropriateגרסת Roost Versionהמתאימה

Fieldשָׂדֶה

Valuesערכים

roost_versionגרסת_הרוסט

v1.1.1.17 גרסה

Runהפעל belowאת commands:הפקודות הבאות:

terraform apply

b.ב. Usingשימוש בסקריפט Terraform Scriptלרענון toמשטח refresh control-planeהבקרה (withoutללא anyשינוי config change)תצורה)

Runהפעל belowאת commandsהפקודות הבאות

terraform apply --replace="null_resource.provision-controlplane-system" --replace="null_resource.provision-roostgpt-server" --replace="null_resource.run-controlplane-services"

c.ג. Usingשימוש ב-SSH toלביצוע control-planeמופע instanceבמישור הבקרה

משטח הבקרה של RoostGPT control-planeמריץ  runsסקריפט aחיבור של docker composeוניתן scriptלעדכן andאת theכל entireההיצע offeringבאמצעות canהשלבים be updated using the below given steps.הבאים.

  • התחברות SSH Connectלמערכת toהבסטיון yourשל infrastructureהתשתית bastionשלך instanceכמשתמש as ubuntu userאובונטו
  • Executeבצע theאת belowהקטע snippetהבא withעם the appropriateגרסת Roost Versionהמתאימה (afterלאחר replacingהחלפת v1.גרסה 1.1.17)
ssh cp "ROOST_VER='v1.1.17' /var/tmp/Roost/bin/roost-enterprise.sh -c /var/tmp/Roost/config.json -i roostai"