Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 712:configure_stages [2025/11/10 11:02] – [AI Feature Configuration: How to create Azure OpenAI services] Linz, Andreas | 712:configure_stages [2026/02/13 14:11] (current) – Prinz, Patrick | ||
|---|---|---|---|
| Line 60: | Line 60: | ||
| | '' | | '' | ||
| | [[# | | [[# | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| | [[# | | [[# | ||
| - | | '' | + | | '' |
| | [[kerberos_autologin|Kerberos SSO]] ||| | | [[kerberos_autologin|Kerberos SSO]] ||| | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| | '' | | '' | ||
| | Metamodels and customisations ||| | | Metamodels and customisations ||| | ||
| Line 82: | Line 82: | ||
| **Windows: | **Windows: | ||
| - | < | + | < |
| net stop stages | net stop stages | ||
| $STAGES_ROOT\bin\update.bat | $STAGES_ROOT\bin\update.bat | ||
| Line 89: | Line 89: | ||
| **Linux:** | **Linux:** | ||
| - | < | + | |
| + | < | ||
| stages reload | stages reload | ||
| </ | </ | ||
| Line 140: | Line 141: | ||
| < | < | ||
| </ | </ | ||
| - | |||
| </ | </ | ||
| Line 150: | Line 150: | ||
| * Windows: | * Windows: | ||
| - | | + | |
| - | * Modify the setting: //set TOMCAT_OPTS=–JvmMx=< | + | * Modify the setting: //set TOMCAT_OPTS=–JvmMx=< |
| - | * Open a cmd with administrative permissions and navigate to folder " | + | * Open a cmd with administrative permissions and navigate to folder " |
| - | * Reinstall the Stages service: **reinstallService.bat** | + | * Reinstall the Stages service: **reinstallService.bat** |
| - | * Restart Stages service: **net start stages** | + | * Restart Stages service: **net start stages** |
| * Linux: | * Linux: | ||
| - | | + | |
| - | * Modify the value: // | + | * Modify the value: // |
| - | * Restart the Stages service:** stages restart** | + | * Restart the Stages service:** stages restart** |
| You can configure additional Java start parameter for Stages that are listed below: | You can configure additional Java start parameter for Stages that are listed below: | ||
| Line 164: | Line 164: | ||
| * -Xmx (Max memory pool): 4048 MB | * -Xmx (Max memory pool): 4048 MB | ||
| * -Xms (Initial memory pool): 4048 MB | * -Xms (Initial memory pool): 4048 MB | ||
| - | + | ||
| ==== Java Garbage Collection Strategies ==== | ==== Java Garbage Collection Strategies ==== | ||
| Line 171: | Line 171: | ||
| ==== Configuring the TCP Ports ==== | ==== Configuring the TCP Ports ==== | ||
| - | Stages comes with HTTPS configured by default. | + | Stages comes with HTTPS configured by default. The server.xml for new installations looks as follows: [[server.xml]] |
| - | The server.xml for new installations looks as follows: [[server.xml]] | + | |
| Stages is started on TCP/IP port 80, 443 and 8085 and enforces usage of HTTPS by default. Thus, it can be accessed via the URL [[https://< | Stages is started on TCP/IP port 80, 443 and 8085 and enforces usage of HTTPS by default. Thus, it can be accessed via the URL [[https://< | ||
| Line 231: | Line 230: | ||
| Please configure the Stages hostname as it is used by the end users in '' | Please configure the Stages hostname as it is used by the end users in '' | ||
| + | |||
| <code properties> | <code properties> | ||
| general.external.hostname = stages.example.com | general.external.hostname = stages.example.com | ||
| Line 242: | Line 242: | ||
| Stages comes with a self signed certificate for [[https:// | Stages comes with a self signed certificate for [[https:// | ||
| + | |||
| * Register a DNS alias for the server, e.g. “stages.company.com” | * Register a DNS alias for the server, e.g. “stages.company.com” | ||
| - | * Apply for a TLS/SSL certificate for the server which refers to the above alias. Depending on your local procedures, this might require creating a certificate request (e.g. see https:// | + | * Apply for a TLS/SSL certificate for the server which refers to the above alias. Depending on your local procedures, this might require creating a certificate request (e.g. see [[https:// |
| * Store your PKCS#12 (requires JDK 8u301 or newer) or JKS keystore file in '' | * Store your PKCS#12 (requires JDK 8u301 or newer) or JKS keystore file in '' | ||
| '' | '' | ||
| + | |||
| <code properties> | <code properties> | ||
| general.external.hostname = stages.example.com | general.external.hostname = stages.example.com | ||
| general.keystore.path = conf/ | general.keystore.path = conf/ | ||
| </ | </ | ||
| + | |||
| '' | '' | ||
| + | |||
| <code properties> | <code properties> | ||
| general.keystore.keyAlias = stages | general.keystore.keyAlias = stages | ||
| Line 258: | Line 262: | ||
| [[# | [[# | ||
| + | |||
| ==== Configuration for usage with Reverse Proxy ==== | ==== Configuration for usage with Reverse Proxy ==== | ||
| Line 263: | Line 268: | ||
| E.g. | E.g. | ||
| + | |||
| <code xml> | <code xml> | ||
| < | < | ||
| Line 284: | Line 290: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| or for AJP | or for AJP | ||
| + | |||
| <code xml> | <code xml> | ||
| < | < | ||
| Line 293: | Line 301: | ||
| /> | /> | ||
| </ | </ | ||
| - | In case the reverse proxy runs on a separate machine replace the address attribute by '' | + | |
| - | Please also make sure websocket connections ('' | + | In case the reverse proxy runs on a separate machine replace the address attribute by '' |
| Here is an example for Apache HTTP server configuration using an HTTP connector for Stages on port 8081: | Here is an example for Apache HTTP server configuration using an HTTP connector for Stages on port 8081: | ||
| - | < | + | |
| + | < | ||
| < | < | ||
| ServerName {{ general_external_hostname }} | ServerName {{ general_external_hostname }} | ||
| Line 326: | Line 335: | ||
| Please ensure the following properties are configured in '' | Please ensure the following properties are configured in '' | ||
| - | < | + | |
| + | < | ||
| set JAVA_OPTS=[...] -Djavax.net.ssl.trustStoreType=Windows-ROOT -Djavax.net.ssl.trustStore=NUL | set JAVA_OPTS=[...] -Djavax.net.ssl.trustStoreType=Windows-ROOT -Djavax.net.ssl.trustStore=NUL | ||
| </ | </ | ||
| + | |||
| This is the default for new installations of Stages 7.10.5.0 or newer. | This is the default for new installations of Stages 7.10.5.0 or newer. | ||
| Line 334: | Line 345: | ||
| Please ensure to use the proper '' | Please ensure to use the proper '' | ||
| - | |||
| ===== Licenses ===== | ===== Licenses ===== | ||
| Line 346: | Line 356: | ||
| * An email with all the necessary information will be opening | * An email with all the necessary information will be opening | ||
| * Send the email to the Stages Customer Care team | * Send the email to the Stages Customer Care team | ||
| - | |||
| ===== Local Message Customization ===== | ===== Local Message Customization ===== | ||
| Line 377: | Line 386: | ||
| ===== AI Feature Configuration: | ===== AI Feature Configuration: | ||
| + | |||
| To activate the AI chatbot and the content generation feature in Stages, the following steps are required. **The content generation feature needs to be configured to use the chatbot feature. The chatbot feature configuration is arbitrary - the content generation feature can be used without the chatbot feature.** | To activate the AI chatbot and the content generation feature in Stages, the following steps are required. **The content generation feature needs to be configured to use the chatbot feature. The chatbot feature configuration is arbitrary - the content generation feature can be used without the chatbot feature.** | ||
| + | |||
| ==== Stages version ==== | ==== Stages version ==== | ||
| + | |||
| The chatbot will only work with Stages v7.12 or higher. The content generation feature works with Stages v7.11 or higher. | The chatbot will only work with Stages v7.12 or higher. The content generation feature works with Stages v7.11 or higher. | ||
| - | |||
| - | |||
| ==== Metamodel ==== | ==== Metamodel ==== | ||
| - | A new unified configuration metamodel for Stages v7.12 / v.7.11 is required to support the AI features. Please contact [[stages-support@ul.com]] for further metamodel update instructions - depending on your Stages version and server operating system. If you use a customized metamodel, please contact your Stages product consultant to extend your metamodel. | + | A new unified configuration metamodel for Stages v7.12 / v.7.11 is required to support the AI features. Please contact [[stages-support@ul.com]] for further metamodel update instructions - depending on your Stages version and server operating system. If you use a customized metamodel, please contact your Stages product consultant to extend your metamodel. |
| ==== User permissions ==== | ==== User permissions ==== | ||
| + | |||
| Depending on the activities performed by the Stages user with the chatbot assistant - the following user permissions are required: | Depending on the activities performed by the Stages user with the chatbot assistant - the following user permissions are required: | ||
| + | |||
| * Use chatbot assistant: | * Use chatbot assistant: | ||
| - | | + | |
| - | * Permission Domain Workspace > Permission Read | + | * Permission Domain Workspace > Permission Read |
| * Configure chatbot assistant: | * Configure chatbot assistant: | ||
| - | | + | |
| - | * Permission Domain Workspace > Permission: Read | + | * Permission Domain Workspace > Permission: Read |
| ==== Modify config.xml settings ==== | ==== Modify config.xml settings ==== | ||
| + | |||
| Please add the following section to your file config.xml. | Please add the following section to your file config.xml. | ||
| + | |||
| * Default file path on windows server: / | * Default file path on windows server: / | ||
| * Default file path on linux server: / | * Default file path on linux server: / | ||
| + | |||
| AI Chatbot Assistant feature: | AI Chatbot Assistant feature: | ||
| + | |||
| <code xml> | <code xml> | ||
| < | < | ||
| Line 468: | Line 484: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| AI Content Generation feature: | AI Content Generation feature: | ||
| + | |||
| <code xml> | <code xml> | ||
| <cg> | <cg> | ||
| Line 505: | Line 523: | ||
| < | < | ||
| </ | </ | ||
| + | </ | ||
| + | </cg> | ||
| + | </ | ||
| + | |||
| + | AI translate feature configuration: | ||
| + | |||
| + | **Version** | ||
| + | |||
| + | The API of the AI Translator has the version 3.0 and will be set like following: < | ||
| + | |||
| + | **Request Type** | ||
| + | |||
| + | The request type differs depending on the type of connection you’re using to the service. | ||
| + | |||
| + | __For globally accessible services the configuration is:__ ''< | ||
| + | |||
| + | __For virtual network access (mind the v in front of 3.0):__ ''< | ||
| + | |||
| + | **Region** | ||
| + | |||
| + | The region is an optional header. If the region property is not set, the translate service requests a translation from the closest available data centre. As we provide our services in Europe and USA only, there are just a few possible combinations for our configuration. ''< | ||
| + | |||
| + | <code -> | ||
| + | <cg> | ||
| + | <cg-type name=" | ||
| </ | </ | ||
| <cg-type name=" | <cg-type name=" | ||
| Line 513: | Line 556: | ||
| < | < | ||
| < | < | ||
| + | <!-- if using a virtual network configuration the request type has to be like following --> | ||
| + | <!-- < | ||
| </ | </ | ||
| </ | </ | ||
| </cg> | </cg> | ||
| </ | </ | ||
| - | |||
| ==== Modify secret.properties settings ==== | ==== Modify secret.properties settings ==== | ||
| - | Please add the following section to your secret.properties file and replace the url and key values with your personal Azure AI subscription data. Details on the subscriptions required can be found here: [[712: | + | |
| + | Please add the following section to your secret.properties file and replace the url and key values with your personal Azure AI subscription data. Details on the subscriptions required can be found here: [[712: | ||
| * Default file path on windows server: / | * Default file path on windows server: / | ||
| * Default file path on linux server: / | * Default file path on linux server: / | ||
| Line 530: | Line 576: | ||
| ai.translateservice.url = [azure_translate_service_url] | ai.translateservice.url = [azure_translate_service_url] | ||
| ai.translateservice.key = [azure_translate_service_key] | ai.translateservice.key = [azure_translate_service_key] | ||
| - | | + | |
| If you use Stages as managed service and you don't have an own AI subscription, | If you use Stages as managed service and you don't have an own AI subscription, | ||
| - | | ||
| - | | ||
| ==== Restart Stages service ==== | ==== Restart Stages service ==== | ||
| + | |||
| To make all above changes take effect - finally please restart the Stages service. | To make all above changes take effect - finally please restart the Stages service. | ||
| - | |||
| ===== AI Feature Configuration: | ===== AI Feature Configuration: | ||
| - | 1. Login to Azure-Management-Portal and navigate to "Azure OpenAI" | + | |
| - | {{ : | + | 1. Login to Azure-Management-Portal and navigate to "Azure OpenAI" |
| - | 2. Create a new service within the OpenAI service: | + | |
| - | {{ : | + | curl -X POST ' |
| - | 3. Define basic information for the resource - e.g. select region: | + | |
| - | {{ : | + | ===== AI Feature Proxy Configuration: |
| - | 4. Create resource: click " | + | |
| - | {{ : | + | To use a proxy for connecting to ai ressources, the following configuration has to be added to the conf/ |
| - | 5. Select resource and navigate to "AI Foundry portal" | + | |
| - | {{ : | + | >__! This has been introduced with Stages 7.12.4.1 !__ |
| - | 6. Within "AI foundry portal" | + | |
| - | {{ : | + | <code -> |
| - | {{ : | + | < |
| - | 7. Within the resource navigate to "Keys and Endpoints": | + | < |
| - | {{ : | + | <!-- if required by the proxy, username and password can be provided --> |
| - | 8. Here the required access data for Stages can be exported (URL, Key): | + | < |
| - | {{ : | + | < |
| - | 9. Afterwards create another resource for the translator-services: | + | </ |
| - | {{ : | + | </ |
| - | {{ : | + | </ |
| - | 10. Define name and region: | + | |
| - | {{ : | + | To use the proxy configuration with the Stages AI configuration the proxy property has to be added to the cg-hosts like following: |
| - | 11. Leave system-identitiy-switch turned " | + | |
| - | {{ : | + | <code -> |
| - | 12. Create resource: click " | + | <cg-host ident=" |
| - | {{ : | + | < |
| - | 13. Export Stages access data (Key, Endpoint): | + | < |
| - | {{ : | + | < |
| + | |||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||