How do I suspend or quiesce the UniVerse database?

To perform valid backups of your database, it is important to suspend the database. This prevents modifications of files during the backup process. Our standard backup script uses database suspension with snapshots to create point-in-time images of your database files, but it is also possible to perform the suspension procedure manually:

Do not forget to remove the suspension after you have completed the backup, or users will be unable to use Eclipse.
  • Log in as root
  • Run the following command to suspend the database:
uv -admin -L
  • Run the following command to validate the status of the database:
uv -admin -R
  • Run the following command to sync any cached data to disk:
sync
  • At this point, the database files are ready for backup
  • When the backup is completed, run the following command to release the database:
uv -admin -U

How do I enable the UniRPC daemon?

Installation

  • Check /etc/services file for an existing entry:
grep 31438 /etc/services
  • If it doesn’t exist, add the necessary line to the /etc/services file manually, or using the commands below:
uvrpc           31438/tcp                       # uvNet rpc port
cp /etc/services /etc/services.`date +%Y%m%d.%H%M%S`
echo "uvrpc           31438/tcp                       # uvNet rpc port" >> /etc/services
  • Start the UniRPC daemon manually:
/u2/unishared/unirpc/unirpcd
  • The UniRPC daemon will start automatically on future boots from the main UniVerse startup script

Troubleshooting

  • Telnet to the local server on port 31438 and make sure there’s a response
[root@firestorm ~]# telnet localhost 31438
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

^]
telnet> quit
Connection closed.
  • Check for the unirpcd process
ps -ef|grep unirpcd

Why are there so many J2EE phantoms running?

The connection pool of J2EE phantoms is automatically sized based on the number of UV licenses you have available on your server. The default setting is sized based on the number of connections that works best for a Solar customer.

If you are not a full Solar customer, or if do not wish to open as many connections, you may manually set the minimum and maximum number of connection pool J2EE phantoms.

The connection pool parameters are stored in $ACCOUNT_HOME/modules-conf/solar-jca.properties:

# The following settings control the size of the connection pool (min & max).
#
# If you don't specify a min or a max, the connection pool is automatically
# sized based on the number of UV licenses for the server.  This is good because
# we don't have to remember to change this file as the customer grows.  However,
# you probably want to restrict the connection pool size by setting the min and
# max for training/play accounts.
#
# The default for the min is 15% of the UV licenses.  The default for the max
# is the number of UV licenses - 5 (-5 if they have WOE) (-5 if they have
# BC:XML).  For example, 100 UV licenses and no companions: max of 95.  100 UV
# licenses and BC:XML: max of 90.

If you wish to change these parameters, the syntax is as follows:

pool.maxTotal=25
pool.minTotal=10

You must restart JBoss for the new settings to take effect.

How do I stop and start Eclipse services on Linux?

Stop Eclipse

  • Stop VSIFAX:
vfxsched stop
  • Stop samba:
service smb stop
  • Stop PostgreSQL:
service postgresql-8.4 stop

RHEL7

systemctl stop postgresql-9.5
  • Stop SYSTEM.ADMIN, phantoms, JBoss:
service monit stop
service eclipse-jboss stop
service eclipse-system-admin stop

RHEL7

systemctl stop eclipse-api-release
systemctl stop eclipse-jboss.service 
systemctl stop eclipse-system-admin.service 
For secondary accounts (play, train, stage, etc.), substitute “eclipse” for the account name. For example, a “train” account services would be referred to as train-jboss and train-system-admin.
  • Stop UV processes:
cd /u2/uv
bin/uv
#ESC
MASTER OFF ALL
Q
  • Stop remaining phantoms, UV processes:
ps -ef|grep phantom|awk '{print $2}'|xargs -i kill -4 {}
  • Stop UV:
service uv.rc stop

RHEL7

systemctl stop  universe
  • If UV complains that there are open processes, check:
lsof /u2
ipcs -mop|grep 0xaceb

Start Eclipse

  • Start UV:
service uv.rc start

RHEL7

systemctl start  universe
  • Start PostgreSQL:
service postgresql-8.4 start

RHEL7

systemctl start postgresql-9.5
  • Start SYSTEM.ADMIN, phantoms, JBoss:
service monit start
service eclipse-system-admin start
service eclipse-jboss start

RHEL7

systemctl start eclipse-system-admin.service 
systemctl start eclipse-jboss.service 
systemctl start eclipse-api-release
For secondary accounts (play, train, stage, etc.), substitute “eclipse” for the account name. For example, a “train” account services would be referred to as train-jboss and train-system-admin.
  • Start samba:
service smb start

RHEL7

systemctl start smb
  • Start VSIFAX:
vfxsched start