|
@@ -92,6 +92,13 @@ To upgrade vmray:
|
|
|
2) Upload into the S3 afs-xdr-binaries bucket.
|
|
|
3) Update the version and the hashes in `msoc-infrastructure/salt/fileroots/vmray/init.sls`
|
|
|
4) Run `salt vmray\* state.sls vmray --output-diff` from the salt master.
|
|
|
+5) Run `find /opt/vmray -type f -exec chmod g+r,o+r {} \;`
|
|
|
+5) Run `find /opt/vmray -type d -exec chmod g+rx,o+rx {} \;`
|
|
|
+6) log into the _worker_
|
|
|
+7) `cd /opt/vmray/bin/`
|
|
|
+8) `sudo -u vmray ./vm_setup.py`
|
|
|
+9) Choose option 6: "Update VMRay Tools"
|
|
|
+
|
|
|
|
|
|
## Handling Failed Upgrades
|
|
|
If the upgrade fails, check `/usr/local/src/vmray-x.y.z/install.log` to find the reason. After fixing, delete the tarballs, zips, and directories for vmray and extended-kvm from `/usr/local/src/` on the vmray servers, and then rerun the state.
|