ARIS Update Cookbook
ARIS Update Cookbook
ARIS Update Cookbook
UPDATE COOKBOOK
Contents
Contents ........................................................................................................................................................... I
2 Checklist .................................................................................................................................................. 2
3 Prerequisites ........................................................................................................................................... 3
I
UPDATE COOKBOOK
19 Check and upload missing fonts after updating ARIS 10.0.5 or earlier versions ..................38
19.1 Add fonts .................................................................................................................................. 39
22 Configure the ARIS Agents on all nodes to use the local repository (optional).....................44
24 Legal information................................................................................................................................. 46
24.1 Documentation scope............................................................................................................ 46
24.2 Support ..................................................................................................................................... 46
II
UPDATE COOKBOOK
1
UPDATE COOKBOOK
2 Checklist
This list gives an overview about the procedure to be performed.
1. Ensure that required prerequisites are met (page 3)
2. Archive all log files (page 10).
3. Delete old log files (page 10).
4. Backup data (page 11).
5. Log modification steps and backup all manual changes (page 15).
6. Update ARIS Agents on all nodes (page 16).
7. Validate the ARIS Agent updates (page 16).
8. Prepare ARIS Cloud Controller (ACC) (page 17).
9. Provide a remote repository (page 22).
10. Update all runnables on all nodes (page 24).
11. Adjust elasticsearch cluster (page 26).
12. Start ARIS after the update of all runnables is completed (page 34).
13. Update the system database for each tenant (page 41).
14. Adjust timestamps (ARIS document storage) (page 35).
15. Optionally update ARIS Aware (page 36).
16. Update the demo databases for each tenant (page 37).
17. Check and upload missing fonts (ARIS 10.0.5 or earlier) (page 38).
18. Update the ARIS online help (page 29).
19. Optionally re-index modeling data for each tenant (page 42).
20. Optionally configure the ARIS Agents on all nodes to use the local repository (page 44).
2
UPDATE COOKBOOK
3 Prerequisites
Before updating an ARIS installation, you must assure that the following prerequisites are
met.
§ You know all required user credentials.
§ The ARIS Agent user name and password (default credentials: Clous/g3h31m) for
each node that is part of the installation to be updated.
§ The password of the superuser user (default credentials: superuser/superuser) or
the password of a user who has all function privileges for each tenant.
§ You have enough free disk space available.
For a successful update, sufficient free disk space must be available on each node that is
part of the update installation.
Warning
Do not try an update if free disk space is limited. The update might fail, and the
installation cannot be repaired. Try to clean up your current installation to delete content
that is not needed any longer (page 9).
The following is a rough guideline on how to determine the disk space required:
§ Determine the currently available free disk space f on the machine where ARIS Agent
runs.
§ Determine the current size w of all runnables working directories located in:
§ Windows: <installation directory>\server\bin\work
§ Linux: /home/ARIS/cloudagent/work).
§ Make sure that the condition f > w + 100 GB is met.
§ All runnables are activated (affecting source versions from 9.8.4 and later)
Starting with ARIS 9.8 SR4, individual runnables can be deactivated. A deactivated
runnable is ignored by the startup process of the runnables. This can be useful in cases
where the full product is installed, but where only a subset of the functionality is initially
used. For example, you might start out only with ARIS Design Server, but for an easier
upgrade to ARIS Connect, ARIS Connect Server was installed. In this case, the unneeded
runnables can be deactivated, such as ECP and PostgresECP.
3
UPDATE COOKBOOK
4
UPDATE COOKBOOK
5
UPDATE COOKBOOK
6
UPDATE COOKBOOK
Problems were found on node n1 regarding the file permissions of the runnable adsadmin_l.
Command failed with exit code 100.
Elapsed Time : 0h 54min
7
UPDATE COOKBOOK
8
UPDATE COOKBOOK
5.1 Archive and then delete all old log files (Optional)
To reduce the used disk space, you can first archive and then delete all log files of the ARIS
installation. Two batch files are provided for this: collectLogFiles and cleanLogFiles (.bat on
Windows, .sh on Linux). On Windows systems, the files are available in the support folder of
the ARIS installation directory>.
9
UPDATE COOKBOOK
On Linux systems, you can find them in the home directory of the ARIS user that is created by
the ARIS Cloud Controller Linux packages:
Warning
If you keep the logfiles.zip file with the log files on the same drive/partition where ARIS is
installed, make sure that there is still enough free disk space as described in the
Prerequisites chapter (page 3).
10
UPDATE COOKBOOK
6 Backup data
The very first step of an ARIS update is to back up all data.
Warning
If you run an update without having current and complete data backups, you bear the risk for
any data loss or system outage.
There are multiple ways to do a backup:
§ Start a tenant backup for all tenants using ARIS Cloud Controller (ACC). This backup
contains all essential data of a tenant, with the notable exception of any portal
customizations and tenant-specific portal settings.
§ Using the Tenant Management tool is a way to backup and restore the infrastructure
tenant (master) as well as all productive tenants.
By default, backups are stored in the ARIS Server installation directory
(..\server\bin\work\work_umcadmin_<s, m or l>\backup). If you have not yet defined a
different folder on a physical drive, make sure to save the backup folder. As the default
backup folder is overwritten by the update, all backups are lost.
§ Most ARIS components offer individual backup functionalities (page 12). You can back up
databases in ARIS Architect or you can backup user data in the ARIS Administration.
These components also provide command-line tools to be used, such as ARIS Server
Administrator or command line tools for the ARIS Administration.
§ Copy the working directories of all runnables to a safe place or copy the whole ARIS
installation folder. If an external DBMS is used, such as Oracle or Microsoft SQL Server,
create dumps of each schema containing ARIS data.
11
UPDATE COOKBOOK
DATABASE
In ARIS Architect on the Administration tab, using the Backup functionality.
On the command line tool ARIS Server Administrator, using the backup or backupasn
commands.
In ARIS Server Administrator, use the backupsystemdb command to backup filters, method
modifications (such as user-defined attributes, model types etc.), configuration, queries,
report scripts, macros and semantic checks. Alternatively, you can back up the data
mentioned before individually as follows.
FILTER
In ARIS Architect on the 'Administration' tab (../../handling/ba/58888.htm), using the
function Export.
ALFABET INTEROPERABILITY
If you use ARIS Alfabet interoperability, make sure to backup your modified
ARIS-ALFABET-integration.xml and ARIS-ALFABET-mapping.xml configuration files. You
must restore these files after the server update. Otherwise, your modified configuration will
be lost.
12
UPDATE COOKBOOK
13
UPDATE COOKBOOK
After the update, the content of the default and the classic folders are updated, and your
modifications are lost. Paste the copied folders into the <ARIS installation
path>\server\bin\work\ subfolders, for example:
§ work_copernicus_<s, m or l>\base\webapps\ROOT\WEB-INF\config\<name of the
customized default configuration set>
§ work_abs_<s, m or l>\base\webapps\abs\WEB-INF\config\<name of the customized
default configuration set>
§ If a Heavy-duty Server (HDS) is in use, the related folder of the hds_<s, m or l> runnable
must be copied as well.
To make the content update-proof, the folder must be named other than default, for
example, customized_default.
New ARIS functionality will not be available in the copied configuration sets. You can manually
copy additional lines from the updated default or classic configuration sets and paste them
to the related customized configuration sets.
This advanced configuration requires high knowledge on XML configuration, that can be
acquired in the 742-<ID> ARIS Portal Configuration training
(https://learning.softwareag.com/enrol/index.php?id=198). Errors in XML configuration files
may cause strong impact. You might not be able to start ARIS again.
Depending to the level of customization, you are recommend using a prepared customization
package obtained by the original customizer. If you need help, contact Software AG
(https://empower.softwareag.com/) for a customization request. Customization and training
services are not subject to the standard Software AG software maintenance agreement.
Configuration changes can only be performed by Software AG if you requested and agreed on
them.
14
UPDATE COOKBOOK
Warning
Any changes made to these files will be lost after an update. You must repeat your
documented changes to those files after each update. Note that some of those changes
might also no longer be relevant in the new ARIS version.
Expect any files copied manually into an installation will be gone after an update. Therefore,
archive these files and document where they need to be copied back to after the update.
Certificates stored in the JRE of ARIS Agent are overwritten by an update. If you update ARIS
Server, the latest JRE containing its own cacert keystore are installed. Certificates stored in
the JRE of ARIS Agent are used, for example, if you use SSL access and ARIS Aware
Dashboards or LDAP.
If you previously had added certificates to your current system to allow SSL connections
between ARIS Server and external systems, you must make these certificates available again
after each update of ARIS Agent.
Any manual changes and physical modifications made on an ARIS installation, such as adding
files, are not preserved during an update. Only modifications made using the reconfigure and
enhance ACC commands are safe unless stated otherwise.
Make sure to note each manual step done after the initial ARIS installation in an installation
protocol.
Of course, all content that you enter into ARIS (models, users, documents, collaboration
comments etc.) via the UI or official interfaces is preserved during an update.
15
UPDATE COOKBOOK
16
UPDATE COOKBOOK
Examples
acc.bat -c "C:\SoftwareAG\ARIS10.0\server\generated.apptypes.cfg"
acc.bat -c "C:\SoftwareAG\ARIS10.0\server\generated.apptypes.cfg" -n nodes.nf
nodes.nf (example):
add node n1 ARISServerNode1 Clous g3h31m
add node n2 ARISServerNode2 Clous g3h31m
add node n3 ARISServerNode3 Clous g3h31m
Add all nodes of your distributed ARIS installation:
§ Either use the add node command manually whenever you start ACC
§ Or use a node file containing all add node commands which you pass as command-line
option -n to ACC
The default settings for runnables provided in the generated.apptypes.cfg file can change
from version to version.
However, in versions prior to ARIS 9.8, changes to the settings in the new
generated.apptypes.cfg file (everything in the lines after defaults) will not be applied during
an update.
As of version 9.8, only a selected subset of the default parameter changes is applied. You can
identify the parameters in the generated.apptypes.cfg file that are changed during the
update. They are marked with the prefix ! or ~. For example:
register app type umcadmin_s com.aris.umcadmin.y-umcadmin-run-prod 10.0.18.0
defaults connector.ajp.executor.maxThreads=50
connector.http.executor.maxThreads=50 JAVA-Xmx="256m"
~connector.ajp.packetSize=32768 connector.ajp.port=14481
~connector.http.maxHttpHeaderSize=32768 connector.http.port=14480
JAVA-Dcom.sun.management.jmxremote.authenticate="false"
JAVA-Dcom.sun.management.jmxremote.port="14486"
JAVA-Dcom.sun.management.jmxremote.ssl="false"
JAVA-Dcom.sun.management.jmxremote="/enabled"
JAVA-Dcom.sun.management.jmxremote.local.only="true" ~"JAVA-XX\\:
+CrashOnOutOfMemoryError"="/enabled" ~"JAVA-XX\\:
+HeapDumpOnOutOfMemoryError"="/enabled" ~"JAVA-XX
:MaxHeapFreeRatio"="30" -"JAVA-XX
17
UPDATE COOKBOOK
:MaxPermSize" ~"JAVA-XX
:MinHeapFreeRatio"="10" JAVA_OPTS="-server"
zookeeper.connect.retry.time.ms="30000" !zookeeper.session.timeout.ms="60000"
§ Parameters marked with the prefix ~ are applied, if the parameter is NOT already set for
the runnable. Parameters that were set or changed manually are retained.
§ Parameters marked with the prefix ! are applied regardless of whether the parameter is
already set or not.
Warning
Parameters that were set or changed manually are overwritten.
18
UPDATE COOKBOOK
Warning
Using ACC commands will deeply affect your system. This requires profound knowledge of
the technical ARIS infrastructure and environment. The required know-how can be acquired
only by attending the training course ARIS Server Installation, available via Global Education
Services (https://softwareag.com/training). If you use ACC commands without this
knowledge or without the services of Software AG, according to the standard Software AG
software maintenance agreement, we cannot guarantee proper functioning.
ARIS Cloud Controller (ACC) can be used in three modes:
BATCH MODE
Activated by specifying a command file with the -f command line parameter (see ACC
command line parameters below). ACC will execute the commands in the file in the given
sequence and exit after execution or if one of the commands fails.
A command file line starting with # will be interpreted as a comment line and ignored by ACC.
COMMAND MODE
You can directly pass a single command to ACC as a command line parameter. The command
will be executed and ACC will exit afterwards.
When passing commands directly as a command line parameter, you must be careful when
escaping strings in your command, for example, double-quote-delimited parameters. The
operating system command shell will consume the double quotes, leaving your string
parameter un-escaped. So please escape the quote characters and special characters.
19
UPDATE COOKBOOK
Examples
If you issue the command in command mode, for example:
set remote.repository.url="http://something.com/repo"
You must enter:
acc.bat -h localhost -u <user name> -pwd <remoteAccessPassword> set
remote.repository.url=\"http://something.com/repo\"
If you enter:
acc.bat -h localhost -u <user name> -pwd <remoteAccessPassword> set
remote.repository.url="http://something.com/repo"
ACC will return an error message, for example:
line 1:52 mismatched character '<EOF>' expecting '\n'
Invalid or erroneous command "set
remote.repository.url=http://something.com/repo ": line 1:30 extraneous
input ':' expecting EOF
Use "help" to display a list of available commands.
This also affects passwords and names containing special characters. If you try to back up
your tenants using the following command, make sure to escape the quote characters and
the special character & used in the password User&12345.
If your username or password includes any special character, add a backslash (\) before the
character for ACC to process the special character as a string. That is, if there is an
ampersand (&), in your password, add a backslash before the ampersand.
./acc.bat -h localhost -u Clous -pwd g3h31m -p 18011 -c
../generated.apptypes.cfg backup tenant default username=\"admin\"
password=\"User\&12345\"
To get information about the usage of ACC commands, enter help or help <command>.
20
UPDATE COOKBOOK
21
UPDATE COOKBOOK
Example
If the host name of your Web server is intranet, the Web server is serving http requests on
port 8080 instead of using the default port 80, and the contents of the Setup_data folder
are copied the folder arisrepo/10.0.18.0 enter this command to provide a remote repository
using a Web server:
on all nodes set remote.repository.url=http://intranet:8080/arisrepo/10.0.18.0
22
UPDATE COOKBOOK
Warning
Note that each location must be a physical drive because mapped network drives do not work
as repositories, because the ARIS Agent runs in the security context system that can only
access physical drives.
Copy the Setup_Data directory from the ARIS installation package to a physical drive on
each node. Use the same folder on every node to simplify the procedure, because only if you
use the same name you can use the on all nodes command.
On all nodes, specify that each ARIS Agent uses a local folder by using a file URL in the
remote.repository.url ACC command set.
To use a local folder using a file URL in the ACC command set remote.repository.url enter:
on all nodes set remote.repository.url="file://<physicalPath>"
Replace <physicalPath> with the path to the folder that contains the Setup_data folder. If
you copy the physical path from your Windows Explorer, make sure to replace the
backslashes with forward slashes. The URL must only contain forward slashes.
For example, if you copied the Setup_Data folder to C:\temp\Setup_Data, enter:
on all nodes set remote.repository.url="file://c:/temp/Setup_Data"
23
UPDATE COOKBOOK
Warning
Make sure to backup application data before starting the update setup because the backups
created automatically during the update process cannot be used as a backup of your
application data.
You can turn the backup option off. If you do so, a rollback to the previous ARIS version is no
longer possible. If you attempt an update without backing up your data, you run the risk of
system outages and/or data loss, for which Software AG assumes no responsibility.
The updateall command first checks whether enough disk space is available. If the required
amount is not available, a message is displayed, such as:
On node localhost 20,93 GB of usable space is available for back up, downloaded
artifacts, working directory, plugins and unpacked runnables, but 72,67 GB
must be available.
In this case, make sure that the requires amount of free disk space is available.
If the updateall ACC command was successful, the output looks like the following example of
a three-node installation. Of course, versions, node names, runnable instance IDs, etc. can
vary depending on the environment:
ACC+ >on all nodes updateall
WARNING! The updateall command will update ALL currently not running instances on
all nodes. Are you sure? (Y/N)
y
Runnable zoo0 on node n1 will be updated to version 10.0.18.0
Runnable cloudsearch_m on node n1 will be updated to version 10.0.18.0
Runnable umcadmin_m on node n1 will be updated to version 10.0.18.0
Runnable abs_m on node n1 will be updated to version 10.0.18.0
24
UPDATE COOKBOOK
25
UPDATE COOKBOOK
Warning
If you do not execute this command before you start all runnables, all elastic runnables will
remain in the STARTING state and the system cannot be started. In this case, you must take
more extensive action (page 28) to get all elastic runnables started.
26
UPDATE COOKBOOK
27
UPDATE COOKBOOK
28
UPDATE COOKBOOK
29
UPDATE COOKBOOK
30
UPDATE COOKBOOK
com.aris.documentation.architect-scripthelp -
adsadmin com.aris.documentation.administration.ads -
umcadmin com.aris.documentation.administration.administ -
ration -
com.aris.documentation.administration.tm
com.aris.documentation.administration.infrastru
cture (since 10.9.0)
copernicus com.aris.documentation.connect -
apg com.aris.documentation.processboard -
arcm com.aris.documentation.arcm.arcm -
1
The ARIS method help consists of a common part (an artifact without language classifier) and
parts for the different languages. The common part should always be enhanced, while the
language specific parts can be chosen depending on the languages required by users.
31
UPDATE COOKBOOK
32
UPDATE COOKBOOK
33
UPDATE COOKBOOK
15 Start ARIS
To be able to perform the next steps, ARIS must be started. Start ARIS on all nodes with this
ACC command:
on all nodes startall
Wait for the command to complete and all runnables have started properly on all nodes. Check
this with the following ACC command:
on all nodes list
This should show all runnables in status STARTED.
If any node does not start up properly, you may have missed an essential step during the
update. Known problems are failed database accesses, indicated by umcadmin instances
with the status FAILED, and/or abs and copernicus instances stuck in the STARTING state
(page 33). If elastic runnables do not start properly (page 28), you did not repair the
elasticsearch cluster before starting the runnables.
34
UPDATE COOKBOOK
35
UPDATE COOKBOOK
Warning
Please note that if you restore dashboarding content, all existing dashboards, feeds and
documents stored in ARIS document storage are overwritten. You are recommended to
import ARIS Aware content only initially on a completely new ARIS Server installation.
36
UPDATE COOKBOOK
37
UPDATE COOKBOOK
38
UPDATE COOKBOOK
Prerequisite
§ You are script administrator for this tenant.
§ You have access to the required font file (*.ttf or *.ttc).
Procedure
2. Click Navigation in the bar panel if the Navigation bar is not activated yet.
3. In the navigation tree, click the folder Evaluations > Fonts. All additional fonts
available in the system database of this tenant are listed. If no fonts are displayed, only
the fonts of the Windows® operating system are in use. These fonts are not displayed
here.
39
UPDATE COOKBOOK
If you want to delete a font, move the mouse pointer to the required font, right-click, and click
Delete.
40
UPDATE COOKBOOK
41
UPDATE COOKBOOK
Warning
Do not use ARIS while databases are re-indexed using the maintainAll ACC command. Make
sure that no scheduled tasks are running, such as, backups or reports. During maintainAll
users cannot log into a database.
If you attempt an update without backing up your data, you run the risk of system outages
and/or data loss, for which Software AG assumes no responsibility.
The syntax of the ACC command is as follows:
on <node name> invoke maintainAll on <abs instance ID> tenant.name="<tenant ID>"
tenant.user.name="<user name>" tenant.user.pwd="<password>"
§ <node name>: Name of a node that contains an ABS instance.
§ <abs instance ID>: Iinstance ID of this ABS instance.
§ <tenant ID>: ID of the related tenant.
§ <user name> and <password>: User credentials of a user related to the specified tenant.
This user must have ether have the Database administrator or the Server administrator
function privilege. You can also enter the credentials of the superuser user. Make sure to
use quotes to avoid any problems with special characters.
42
UPDATE COOKBOOK
EXAMPLE (ACC)
If you want to re-index your databases contained in the mycompany tenant on node n1 that
contains the abs_m instance, and you use the system user (password is 1234ArisAdmin),
enter:
on n1 invoke maintainAll on abs_m tenant.name="mycompany"
tenant.user.name="system" tenant.user.pwd="1234ArisAdmin"
INTERACTIVE MODE
server <server name>:<port> <tenant> <user> <password> maintain all
BATCH MODE
arisadm.bat -s <server name>:<port> -t <tenant> -u <user> <password> maintain all
43
UPDATE COOKBOOK
44
UPDATE COOKBOOK
23 Update completed
If no problems have occurred yet, you have successfully updated your ARIS installation. You
can use the application, find all your data as before and use all functions and bug fixes of the
new ARIS version.
45
UPDATE COOKBOOK
24 Legal information
24.2 Support
If you have any questions on specific installations that you cannot perform yourself, contact
your local Software AG sales organization
(https://www.softwareag.com/corporate/company/global/offices/default.html). To get
detailed information and support, use our websites.
If you have a valid support contract, you can contact Global Support ARIS at: +800
ARISHELP. If this number is not supported by your telephone provider, please refer to our
Global Support Contact Directory.
46
UPDATE COOKBOOK
ARIS COMMUNITY
Find information, expert articles, issue resolution, videos, and communication with other ARIS
users. If you do not yet have an account, register at ARIS Community.
PRODUCT DOCUMENTATION
You can find the product documentation on our documentation website.
In addition, you can also access the cloud product documentation. Navigate to the desired
product and then, depending on your solution, go to Developer Center, User Center or
Documentation.
PRODUCT TRAINING
You can find helpful product training material on our Learning Portal.
TECH COMMUNITY
You can collaborate with Software AG experts on our Tech Community website. From here
you can, for example:
§ Browse through our vast knowledge base.
§ Ask questions and find answers in our discussion forums.
§ Get the latest Software AG news and announcements.
§ Explore our communities.
§ Go to our public GitHub and Docker repositories and discover additional Software AG
resources.
PRODUCT SUPPORT
Support for Software AG products is provided to licensed customers via our Empower Portal
(https://empower.softwareag.com/). Many services on this portal require that you have an
account. If you do not yet have one, you can request it. Once you have an account, you can,
for example:
§ Download products, updates and fixes.
§ Add product feature requests.
§ Search the Knowledge Center for technical information and tips.
§ Subscribe to early warnings and critical alerts.
§ Open and update support incidents.
47