Launching PTC Arbortext Content Delivery
To launch PTC Arbortext Content Delivery you must first start the following components, in the order listed here:
1. Publisher and Viewer entities. Run the startACD.bat file to start the entities as specified in configurator.xml. To run this file, perform the following steps:
a. Open the command prompt as administrator, and navigate to the folder ..\<HOME>\SW\SW where PTC Arbortext Content Delivery is installed.
b. On Windows, run the startACD.bat file. On Linux, open a terminal and run the startACD.sh command.
2. The LDAP Server.
Once these components have been started you can access PTC Arbortext Content Delivery using the following URLs:
Shortcut Name
|
Command or URL
|
Module
|
Publisher/Task Manager
|
http://<hostname>:<port>/TaskManager
|
Publisher
|
Viewer
|
http://<hostname>:<port>/ACD/delivery
|
Viewer
|
Administration home page
|
http://<hostname>:<port>/ACD/delivery/scadmin.jsp
|
Viewer
|
The following scripts and URLs may also be of use to you:
Shortcut Name
|
Command or URL
|
Module
|
Windows: JConsole
UNIX: jconsole
|
Windows: <JAVA_HOME>/bin/jconsole.exe
UNIX: jconsole
|
Publisher
Viewer
|
Windows: JVisualVM
UNIX: jvisualvm
|
Windows: <JAVA_HOME>/bin/jvisualvm.exe
UNIX: jvisualvm
|
Publisher
Viewer
|
User Help Center
|
http://<hostname>:<port>/ACD-HCUSER
|
Viewer
|
Administration Help Center
|
http://<hostname>:<port>/ACD-HCADMIN
|
Viewer
|
|
<JAVA_HOME> is the path provided during the installation.
|
3. Your database.The external database (Oracle, SQL, or PostgreSQL) configured with PTC Arbortext Content Delivery must be up and running.
4. Optional: You can also use an advanced option to manually start all the entities services. For Publisher, it starts the Core, Core CMI, and JBOSS services.
|
For Viewer, the entity that you have configured on the Viewer (specified in the configurator.xml file) is launched. For example, if you have configured core1, coreCMI1, and viewer1, then these entities are launched for Viewer instead of JBoss.
|
◦ To launch the Core Server use one of the following scripts:
▪ Windows: <SW_DIR>/coreServer.bat
▪ UNIX: coreServer.sh
◦ To launch the Core CMI Server use one of the following scripts:
▪ Windows: <SW_DIR>/coreCMIServer.bat
▪ UNIX: coreCMIServer.sh
◦ To launch JBoss use one of the following scripts (only for Publisher):
▪ Windows: <SW_DIR>/jboss.bat
▪ UNIX: jboss.sh
◦ To launch other entities, search for the .bat file that holds the entity name as configured in the configurator.xml file.
Launching PTC Arbortext Content Delivery from Windows or Linux
Once the Publisher installation is complete, all the entities—CoreServer, CoreCMIServer, and Jboss get registered as either a Windows Service or a Linux Process.
• For Windows, navigate to <HOME>/SW/SW/ and launch command prompt as an administrator, then run the startACD.bat file to launch the server using the services.
• For Linux, navigate to <HOME>/SW/SW/ and launch terminal, then run the startACD.sh file to launch the server using the process.
Once the Viewer/Viewers are installed in case of Split or Cluster, you can see the entities name as declared in Configurator UI— like Core, CoreCMI, and Viewer.
• For Windows, navigate to <HOME>/SW/SW/ and launch command prompt, then run the startACD.bat file to launch the server using the services.
• For Linux, navigate to <HOME>/SW/SW/ and launch terminal, then run the startACD.sh file to launch the server using the process.
|
Wait for five minutes after running the .bat file to make sure all the services are up and running, and then try accessing the server URL.
|
PTC Arbortext Content Delivery as a Service on Linux
To setup PTC Arbortext Content Delivery as a service on Linux, perform the following steps.
1. Service definition for OpenDJ by performing the following steps:
a. Login to the server using the root user.
b. Navigate to cd/etc/systemd/system.
c. Create and edit the unit file ldap.service
d. Add the following content to the ldap.service file and save the file:
[Unit]
Description=Start OpenDJ
Wants=network.target
After=network.target
[Service]
Type=forking
WorkingDirectory=/data/ptc/opendj/bin
ExecStart=/bin/sh start-ds
ExecStop=/bin/sh stop-ds
TimeoutStartSec=30
[Install]ExecStop=/bin/sh stop-ds
TimeoutStartSec=30
[Install]
WantedBy=multi-user.target
e. Provide execute permission: chmod 775 ldap.service
f. Enable and validate start or stop script using the following command:
systemctl enable ldap.service
systemctl start ldap.service
systemctl status ldap.service
|
Ensure that your LDAP server is up and running.
|
1. Enable the script for MongoDB by performing the following steps:
a. Login to server using root user.
b. Navigate to /etc/systemd/system
c. Create and edit the unit file mongodb.service
d. Add the following content to the mongodb.service file and save the file:
[Unit]
Description=MongoDB Database Service
Wants=network.target
After=network.target
[Service]
Type=forking
PermissionsStartOnly=true
WorkingDirectory=/data/ptc/ACD/InS_SW/SW
ExecStop=/bin/sh MongoDBService.sh /data/ptc/ACD/Mongo stop
ExecStart=/bin/sh MongoDBService.sh /data/ptc/ACD/Mongo start
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
User=insrvadmin
Group=insrvadmin
[Install]
WantedBy=multi-user.target
e. Provide the execute permission: chmod 775 mongodb.service
f. Enable and validate start/stop script using the following command:
systemctl enable mongodb.service
systemctl start mongodb.service
systemctl status mongodb.service
2. Enable script for License server by performing the following steps:
a. Login to server using the root user.
b. Navigate to /etc/systemd/system
c. Create and edit the unit file license.service
d. Add the following content to the license.service file and save the file:
[Unit]
Description=License Server
Wants=network.target
After=network.target
[Service]
Type=forking
WorkingDirectory=/data/licenseServer/InS_SW/SW/System/License/PTCEswlm/ptc_e
ExecStart=/bin/bash rcPTCEswlm.sh /data/licenseServer/InS_SW/SW/System/License
User=insrvadmin
Group=insrvadmin
TimeoutStartSec=60
[Install]
WantedBy=multi-user.target
e. Provide the execute permission: chmod 775 license.service
f. Enable and validate start/stop script using the following command:
systemctl enable license.service
systemctl start license.service
systemctl status license.service
3. Enable the script for PTC Arbortext Content Delivery by performing the following steps:
a. Login to the server using the root user.
b. Navigate to /etc/systemd/system
c. Create and edit the unit file acd.service
d. Add the following content to the file and save the file:
[Unit]
Description=ACD Start Service
Wants=network.target
After=network.target license.service mongodb.service ldap.service
[Service]
Type=forking
User=insrvadmin
Group=insrvadmin
WorkingDirectory=/data/ptc/ACD/InS_SW/SW
ExecStart=/bin/bash startInService.sh
ExecStop=/bin/bash stopInService.sh
TimeoutStartSec=180
[Install]
WantedBy=default.target
e. Provide the execute permission: chmod 775 acd.service
f. Enable and validate start/stop script using the following command:
systemctl enable acd.service
systemctl start acd.service
systemctl status acd.service