Update docs/dci-deploysas9.md
All checks were successful
Publish to docs.datacontroller.io / Deploy docs (push) Successful in 2m17s

This commit is contained in:
allan 2023-08-02 17:31:43 +00:00
parent e0ae2074d1
commit 63a0962b3a

View File

@ -22,11 +22,11 @@ The Stored Processes are deployed using a SAS Program. This should be executed
```sas
%let appLoc=/Shared Data/apps/DataController; /* CHANGE THIS!! */
filename dc url "https://git.4gl.io/dc/deploy/-/raw/main/s9_noweb.sas";
filename dc url "https://git.datacontroller.io/dc/dc/releases/download/vX.X.X/sas9.sas; /* use correct release */
%inc dc;
```
If you don't have internet access from SAS, download [this file](https://git.4gl.io/dc/deploy/-/raw/main/s9_noweb.sas) and change the `compiled_apploc` on line 2:
If you don't have internet access from SAS, download `sas9.sas` from [here](https://git.datacontroller.io/dc/dc/releases), and change the `compiled_apploc` on line 2:
![](img/sas9_apploc.png)
@ -38,7 +38,7 @@ The Data Controller frontend comes pre-built, and ready to deploy to the root of
Deploy as follows:
1. Download the zip file from: [https://git.4gl.io/dc/deploy/-/raw/main/frontend.zip](https://git.4gl.io/dc/deploy/-/raw/main/frontend.zip)
1. Download the `frontend.zip` file from: [https://git.datacontroller.io/dc/dc/releases](https://git.datacontroller.io/dc/dc/releases)
2. Unzip and place in the [htdocs folder of your SAS Web Server](https://sasjs.io/frontend-deployment/#sas9-deploy) - typically `!SASCONFIG/LevX/Web/WebServer/htdocs`.
3. Open the `index.html` file and update the values for `appLoc` (per SAS code above) and `serverType` (to `SAS9`).
@ -69,6 +69,13 @@ You will then be presented with three further links:
2. Refresh Table Metadata. Run this to update the table-level data lineage.
3. Launch. Currently this feature only works for streaming apps - just refresh the page for a full deployment.
#### 4 - Performance Enhancement
The most common performance bottlenecks (# of available connections, memory in each connection) can be addressed by the following (administrator) actions:
* Increasing the number of multibridge connections in SMC
* Increasing MEMSIZE (eg `-memsize 4G`) in the STP Options file
### Streaming
The streaming approach is optimised for rapid deployment, and works by bundling the frontend into metadata. This is a highly inefficient way to serve web content, and thus should only really be used for demos / evaluation purposes.
@ -77,11 +84,11 @@ Deployment is very easy - just run the SAS code below (after changing the `appLo
```sas
%let appLoc=/Shared Data/apps/DataController; /* CHANGE THIS!! */
filename dc url "https://git.4gl.io/dc/deploy/-/raw/main/s9.sas";
filename dc url "https://git.datacontroller.io/dc/dc/releases/download/vX.X.X/demostream_sas9.sas"; /* use actual version number */
%inc dc;
```
If you don't have internet access from your SAS environment, you can also [download the file directly](https://git.4gl.io/dc/deploy/-/raw/main/s9.sas) and modify the `appLoc` on line 2, as follows:
If you don't have internet access from your SAS environment, just download `demostream_sas9.sas` from [https://git.datacontroller.io/dc/dc/releases](https://git.datacontroller.io/dc/dc/releases) and modify the `appLoc` on line 2, as follows:
![](img/sas9_apploc.png)