# Data Science Servers

This section explains server settings for various data science workspaces for the Data Science Workbench plugin of the platform.

* Click the ***Data Science Servers*** option from the list of ***Configurations*** admin options.
* Various Data Science Servers get listed.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FM5fDX0I0hiumM1euGblW%2Fimage.png?alt=media\&token=a05f79c3-05e8-4721-9c7f-6c2a346fbf66)

## **Steps to Create a New R-Server**

* Navigate to the ***Data Science Servers*** admin option.
* Click the ***R Server*** option.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FaHdG2Faaixke4A3fCVec%2Fimage.png?alt=media\&token=7fd5ab21-deaa-415a-aedd-73e458252666)

* The ***R Server*** page opens.
* Click the ***Add new server*** <img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FTkSUgeKb6G3MYusyXCg0%2Fimage.png?alt=media&#x26;token=a836b634-2cba-4d7a-9882-c7c1ed075901" alt="" data-size="line"> icon.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2F5MovIA6qOgGViQXCarpY%2Fimage.png?alt=media\&token=7118d6bd-65d3-4d41-8c27-6e59c9f19858)

* The ***Create R Server*** scrollable window opens asking basic Information for a new R Server.
* Provide the following information to configure a new R server:
  * IP Address: IP address of the R-server
  * Port: R-Server’s port number
  * Username: Enter a username to log in to the R- server
  * Password: Enter the password for the above username
  * R Server Name: Provide the R- Server address
  * Provide HTTP URL for R-Bokeh: Provide R Visualization URL
  * Elastic Search Port: Provide an elastic search port number
  * R Visualization URL: Provide HTTP URL for R-Bokeh
  * Enable Parallel Processing: Avail this option by using the enable/disable button
  * Set as Default: Select this option by using a checkmark in the box
* Click the ***Test*** option to verify the R-Server connection.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FhpVcXooV6cUlyogsRhQe%2Fimage.png?alt=media\&token=b82048b2-f4b4-409b-8125-85f34ac1ff29)

* A message appears to assure the connection.

&#x20;    ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FlXomUVKbJaDJ9ix6NOXs%2Fimage.png?alt=media\&token=810a8b6c-229f-45dd-bc74-5a63128e2e7c)

* The ***Save*** option gets enabled
* Click the ***Save*** option to save the verified R-server configuration details.

&#x20;     ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FSPKuR0iHwMWAegyo35rG%2Fimage.png?alt=media\&token=41bf9d84-7885-4c5f-a991-a85590922cde)

* A message appears to ensure the successful updates in Data Science Settings.

&#x20;     ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2F9Q8AiE5BrWoIUj6OfFHD%2Fimage.png?alt=media\&token=9d598f1e-eadb-49b4-b42d-190080bef5b1)

* The newly created R-Server gets added to the R-Server list displayed under the ***R-Server*** window.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2Fx4m7ceQdfrItlACeD2Ol%2Fimage.png?alt=media\&token=958d2c52-7472-4d50-91d4-700e274684d4)

Note:

* The user can click the ***Edit*** <img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2Fs5j6IpEANDofxU1EzuUC%2Fimage.png?alt=media&#x26;token=0e5d8ee7-1138-4236-950b-0e0ac61d83b2" alt="" data-size="line"> icon from the R Servers window to modify the R Server settings.
* The user can click the ***Save*** from the R Servers window to save the edited R Server settings.
* The Administrator can configure multiple R-Servers, but the process execution happens on a single server at a time. Click the ***Delete*** <img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2F8q7cn7kZtJSyqltWoVHh%2Fimage.png?alt=media&#x26;token=6807cde0-ac8f-42cf-9758-7f656088aa52" alt="" data-size="line"> icon to remove the selected server configuration details from the list.

## **Spark Server Settings**&#x20;

Users can configure a new Spark Server or edit the existing server via the Spark Server Settings.

* Navigate to the ***Data Science Servers*** admin option.
* Click the ***Spark Server*** option.

<img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2Fe7LEqGsHR3FJVgqAWjAJ%2Fimage.png?alt=media&#x26;token=4f13689d-6227-4c3f-b863-a8102c14fdb9" alt="" data-size="original">

* The ***Spark Server*** page opens.
* Click the ***Add New Server*** <img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2Ft1aYySpeGr7Gba1i4UQP%2Fimage.png?alt=media&#x26;token=d8624a8e-cea8-45f1-ab75-db5d78b6ac68" alt="" data-size="line"> icon.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2Fr07DLkc8pBWbQR2bUbXW%2Fimage.png?alt=media\&token=167c1417-b5a0-47a9-b231-554e2b8c0782)

* The ***Create Spark Server*** configuration window opens.
* Provide the following information:
  * ***Host***: Host address of the Spark server
  * ***Port:*** Spark server’s port number
  * ***Username***: Enter a username to log in to the Spark server
  * ***Password***: Enter the password for the above username
  * ***Spark Server Name***: Provide Spark Server Address
  * ***Jetty Confirmation URL***: Provide Jetty confirmation URL link
  * ***Application***: Provide the application name
  * ***Spark Server Protocol***: Select a protocol option by using the radio option
* Click the ***Test*** option to verify the connection.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FJQv3HbnN1dKGurzYyg60%2Fimage.png?alt=media\&token=1706f59a-3ff1-4b4d-be38-f2d152e1a161)

* A message appears to assure the connection.

&#x20;     ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FlKAfDkfX2kPnixa0ZnJH%2Fimage.png?alt=media\&token=e7491a85-c007-4306-b640-f81b66597b72)

* The ***Save*** option gets enabled.
* Click the ***Save*** option to save the verified Spark server configuration details.

&#x20;     ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2Fup8bLzysuPx6wK2rkUml%2Fimage.png?alt=media\&token=300ac9d8-3258-424d-9254-a604b7b2c6e9)

* A confirmation message appears to ensure successful updates in the data science server settings.

&#x20;     ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FmJi0ooX3BGMr5K3NS10E%2Fimage.png?alt=media\&token=1b327b47-a06a-46a7-b791-fe5ede8ca3c3)

* The newly configured Spark server gets added to the ***Spark Server*** page.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FENyo5ZRay8ehLhSfxEtN%2Fimage.png?alt=media\&token=1ca95f0c-7415-48c9-b5ee-b7903f5e9d9d)

## **Python Server**

Users can configure the Python Application settings for the Data Science Workbench via the ***Python Server*** configuration fields.

* Navigate to the ***Data Science Servers*** admin option.
* Click the ‘**Python Server**’ option.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FbsNKWOoLY8L0zrAjJwFz%2Fimage.png?alt=media\&token=beca324b-c4fa-41d1-830f-c1262b455b85)

* The Python Server page opens.
* Click the ***Add new server*** ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FiMjxeUvNGNZcJnuoiuAj%2Fimage.png?alt=media\&token=0c4394a0-3a35-40fb-89eb-d1b3acb9dd48) icon to add a new Python server configuration.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FWB3pkEtVpcbOCZC4vjGs%2Fimage.png?alt=media\&token=dd329a8f-a36c-46f8-999f-a40e1c329fac)

* The ***Create Python Server*** configuration window opens.
* Provide the following information:
  * ***Host***: Host address of the Spark server
  * ***Port:*** Spark server’s port number
  * ***Username***: Enter a username to log in to the Spark server
  * ***Password:*** Enter the password for the above username
  * ***Python Server Name:*** Provide Python Server Address
  * ***Elastic Search Port:*** Provide the elastic search port number
  * ***Web Socket URL***: Provide the web socket URL link
  * ***Visualization URL***: Provide the Visualization URL link
  * ***Python Server Protocol***: Select a protocol option by using the radio option.
* Click the ***Test*** option to verify the connection.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FUjHvTDmb4CV5wBWUxIzo%2Fimage.png?alt=media\&token=c9b341d2-4197-4ec3-9d62-d3a99a623e32)

* A message appears to assure the connection.

&#x20;     ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FP1Mmi8xGtJ2H8kk8JB38%2Fimage.png?alt=media\&token=1268583a-0adf-40a7-975a-96c0e6122518)&#x20;

* The ***Save*** option gets enabled.
* Click the ***Save*** option to save the verified Python server information.

&#x20;      ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2F5L5HKieu7eJxzC2qoyDd%2Fimage.png?alt=media\&token=e818e67e-2520-49a9-ac31-9eed0b9f6f10)

* A success message appears to ensure that the data science settings got updated.

&#x20;     ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2F9abX2Wz4LhMd0yr3xo3M%2Fimage.png?alt=media\&token=b0089314-77a5-4156-bafd-4a0612b9d09a)

* The newly configured Python Server gets added to the ***Python Servers*** window.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FudIbtflD3efTfYFR9wfK%2Fimage.png?alt=media\&token=6000ba3c-2d3f-4f32-b4c2-97492ba96923)

**Note:**

* Click the ***Edit*** <img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FbqYnH2LJtj3WEtfFxtnB%2Fimage.png?alt=media&#x26;token=746afc1a-016d-40c9-b004-e49d3236e861" alt="" data-size="line"> icon to modify an existing Python server configuration.
* Click the ***Delete*** <img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FHDzDp19qBo6h9YTebrSI%2Fimage.png?alt=media&#x26;token=28884aa6-3547-4696-947d-b02425aba447" alt="" data-size="line"> icon to remove the selected Python server details from the list.

## **Process Queue**

Users can reset the Predictive process queue through this Predictive Settings option.

* Click the ***Process Queue*** option from the Data Science servers.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FM3uWrVzTbuGAW3ZpMzQt%2Fimage.png?alt=media\&token=bfb299ad-eb22-4365-9dee-e003a4a6aa10)

* The Process Queue page opens.
* Click the ***Reset Queue*** option.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FvhdLZxYyYKp2l6OT8MtE%2Fimage.png?alt=media\&token=959a6f41-a2c9-4789-ad3f-bebcbd895ebe)

* A warning message appears, asking whether the user wants to flush the queue.
* Click the ***YES*** option to set the count of currently running processes to Zero for the Data Science Workbench.

&#x20;     ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FYr371SLJ4XhL2YTf0to5%2Fimage.png?alt=media\&token=8534d44e-0f45-4662-a85d-9fd6bac05cd8)
