Last Updated: Mar 3, 2023
The Jiffy Automate 4.8.X server versions can do a direct upgrade to version 4.9.
Name | Version | Type | Description |
---|---|---|---|
jiffy-playbook.tar.gz | 4.9 | Ansible playbook | Ansible scripts which does the upgrade |
jiffy-upgrade.tar.gz | 4.9 | Compressed tar | Jiffy core artifacts |
jiffy-helms-v4.9.zip | 4.9 | Compressed zip | Helm charts |
Container | Tags (4.9) |
---|---|
backward-comp | JARVIS-4.9-BackwardCompatibilityEngine7706Dec22 |
bolcategory | JARVIS-4.9-vendorcategorisation_14406Dec22 |
bolml | JARVIS-4.9-T4.3.021006Dec22 |
docsplit | JARVIS-4.9-DocumentSplit_8405Dec22 |
functionator | JARVIS-4.9-389 |
handwritingsegmentation | JARVIS-4.9-HWSegmentation_15505Dec22 |
invoicecategory | JARVIS-4.9-T4.3.021006Dec22 |
invoiceml | JARVIS-4.9-T4.3.021006Dec22 |
pdf2image | JARVIS-4.9-Pdf2Image_9206Dec22 |
pdf2json-service | JARVIS-4.9-Pdf2JsonService_13412Dec22 |
pdfsplit | JARVIS-4.9-Pdfsplit_8105Dec22 |
portfolio | JARVIS-4.9-Portfolio_38706Dec22 |
template-converter | JARVIS-4.9-279 |
w2ml | JARVIS-4.9-w2ml_10406Dec22 |
w2split | JARVIS-4.9-W2Split_11806Dec22 |
lineitemmatch | JARVIS-4.9-LineItemMatch_8506Dec22 |
No changes are made to the helm charts after release 4.6.
Component | Port | Process | Source | Destination |
---|---|---|---|---|
Email Server (TCP Ports) | 25 | SMTP Server | Core Application Server | |
Email Server | 993 | IMAP/IMAPS | Core Application Server | |
Jiffy Web | 443 | Nginx | Any windows machine where the user accesses Jiffy application | Core Application Server |
JPipe gRPC | 443 | Nginx | All the windows client machines where BOT is installed | Core Application Server |
RabbitMQ Viewer | 15672 | RabbitMQ | Any windows machine where the user accesses RabbitMQ web page | Core Application Server |
MongoDB | 27017 | MongoDB | Core Application Server | Database Server |
Postgres | 5432 | Postgres | Core Application Server | Database Server |
Kubernetes Server | 443 | Nginx Ingress | Core Application Server | Kubernetes Server |
LDAP Server | 389 | LDAP | Core application server | LDAP Server |
Software | Existing Version | Latest Version |
---|---|---|
Vault | 1.8.5 | 1.10.0 |
Drill | 1.17 | 1.17.0 |
Nginx | 1.17.8 | 1.20.2 |
libedit-devel | NA | 3.0-12.20121213 |
Python | 3.7.9 | 3.10.3 |
ZooKeeper | 3.4.8 | 3.7.0 |
RabbitMQ | 3.8.2 | 3.9.14-1 |
Mongo | 4.0.19-1 | 4.2.19 |
.Net Framework | 4.7.2 | 4.8 + |
llvm5.0-devel | NA | 5.0.1-7 |
llvm-toolset-7-clang | NA | 5.0.1-4 |
Redis | 6.0.5 | 6.2.6 |
Postgres - DB server version | 12.4 | 14.2 |
erlang | 22.3.4.6-1 | 23.3.4.11-1 |
libicu | NA | 50.2-4 |
Click here to view the detailed list of Yum packages and their respective versions.
- application stop all
- application stop vault
- pg_dump -h {DB hostname} -p 5432 {jiffy-schema-name} -U {username} | gzip > {filename.gz}
- pg_dump -h {DB hostname} -p 5432 {gus-schema-name} -U {username} | gzip > {filename.gz}
mongodump –ssl –host {MongoDB hostname} –port 27017 –sslPEMKeyFile {Keyfile the certificate is a combination of ca+cert} –sslAllowInvalidCertificates –authenticationDatabase admin -u admin –out {filename.dump}
- export JIFFY_INSTALL=“/tmp/jiffy-install/4.9/”
- mkdir -p $JIFFY_INSTALL/helm/
- cd $JIFFY_INSTALL/helm/
- wget –user {username} –ask-password downloads.jiffy.ai/4.9/Upgrade/jiffy-helms-v4.9.zip
unzip jiffy-helms-v4.9.zip
- cd $JIFFY_INSTALL
- wget –user {username} –ask-password downloads.jiffy.ai/4.9/Upgrade/jiffy-playbook.tar.gz
- wget –user {username} –ask-password downloads.jiffy.ai/4.9/Upgrade/jiffy-upgrade.tar.gz
- tar -xf jiffy-playbook.tar.gz
- tar -xf jiffy-upgrade.tar.gz -C $JIFFY_INSTALL/upgrade/
Optional for saas environments.
This step will cover code backup, in case of rollback to a previously installed version.
source /opt/jiffy3rdparty/ansibleEnv/bin/activate
For debug mode:
- export JIFFY_INSTALL=“/tmp/jiffy-install/4.9/”
- cd $JIFFY_INSTALL
- ansible-playbook pre-upgrade/root.yml -i inventory -e @variable.yml
For detailed debug mode:ansible-playbook pre-upgrade/root.yml -i inventory -e @variable.yml -v
ansible-playbook pre-upgrade/root.yml -i inventory -e @variable.yml -vvvv
chown -R {jiffyapp linux user}:{jiffyapp linux user group} /tmp/jiffy-install
source /opt/jiffy3rdparty/ansibleEnv/bin/activate
For debug mode:ansible-playbook pre-upgrade/non-root.yml -i inventory -e @variable.yml
For detailed debug mode:ansible-playbook pre-upgrade/non-root.yml -i inventory -e @variable.yml -v
ansible-playbook pre-upgrade/non-root.yml -i inventory -e @variable.yml -vvvv
source /opt/jiffy3rdparty/ansibleEnv/bin/activate
For debug mode:
- export JIFFY_INSTALL=“/tmp/jiffy-install/4.9/”
- cd $JIFFY_INSTALL
- ansible-playbook pre-req-mail.yml -l core -e @variable.yml
For detailed debug mode:ansible-playbook pre-req-mail.yml -l core -e @variable.yml -v
ansible-playbook pre-req-mail.yml -l core -e @variable.yml -vvvv
source /opt/jiffy3rdparty/ansibleEnv/bin/activate
For debug mode:
- export JIFFY_INSTALL=“/tmp/jiffy-install/4.9/”
- cd $JIFFY_INSTALL
- ansible-playbook upgrade/root.yml -i inventory -l core -e @variable.yml
For detailed debug mode:ansible-playbook upgrade/root.yml -i inventory -l core -e @variable.yml -v
ansible-playbook upgrade/root.yml -i inventory -l core -e @variable.yml -vvvv
ansible-playbook upgrade/root.yml -i inventory -l core -e @variable.yml -kK
chown -R {jiffyapp linux user}:{jiffyapp linux user group} /tmp/jiffy-install
source /opt/jiffy3rdparty/ansibleEnv/bin/activate
The Crotab of Jiffy application user is updated on each upgrade and therefore all custom cron jobs must be scheduled outside of the Jiffy application user’s crontab file.
For debug mode:
- export JIFFY_INSTALL=“/tmp/jiffy-install/4.9/”
- cd $JIFFY_INSTALL
- ansible-playbook upgrade/non-root.yml -i inventory -l core -e @variable.yml
For detailed debug mode:ansible-playbook upgrade/non-root.yml -i inventory -l core -e @variable.yml -v
ansible-playbook upgrade/non-root.yml -i inventory -l core -e @variable.yml -vvvv
without masterkey prompt:ansible-playbook jiffyconfiguration.yml -l core -e @variable.yml
ansible-playbook jiffyconfiguration.yml -l core -e masterKey=’<replaceme>’ -e @variable.yml
export JIFFY_INSTALL=“/tmp/jiffy-install/4.9/” cd $JIFFY_INSTALL/helm/ chmod 777 k8s-upgrade.sh For upgrading opendistro elastic search and kibana Update opendistro-es/values.yml with hostname values Line no 94 and 436 helm upgrade –install opendistro opendistro-es -n jiffy-cognitive Skip the below section if you have done already as part of 4.8.6 upgrade. kubectl create namespace logging Check the Services kubectl get svc Based on the requirement, we can modify the values.yaml file. Depend on the environment may changes in namespace, elasticsearch endpoint and credentials. Update fluent-bit/values.yml with application namespace value Line no 15 and line no 18 helm install -n logging fluent-bit fluent-bit -f fluent-bit/values-fluentbit.yaml
Default values for the ks8-upgrade script.
- namespace(n)=jiffy-cognitive
- replicacount®=1
- mountpoint(m)=/opt
./k8s-upgrade.sh -k ‘{masterkey|mandatory}’ -n {namespace} -c {clusterDNS|mandatory} -r {replicacount} -m {mountpoint}
!/bin/bash sed -i ’s/^#export DRILL_HEAP=${DRILL_HEAP:-“4G”}/export DRILL_HEAP=${DRILL_HEAP:-“8G”}/g’ $DOCUBE_HOME/drill/conf/drill-env.sh sed -i ’s/#export DRILL_MAX_DIRECT_MEMORY=${DRILL_MAX_DIRECT_MEMORY:-“8G”}/export DRILL_MAX_DIRECT_MEMORY=${DRILL_MAX_DIRECT_MEMORY:-“16G”}/g’ $DOCUBE_HOME/drill/conf/drill-env.sh application stop all application start all
cat $DOCUBE_HOME/drill/conf/drill-env.sh
cat $JIFFY_HOME/productversion.txt
cat $JIFFY_HOME/data/client/setup/version.txt
supervisorctl status
kubectl get pods -n {namespace}
vault status
application stop all
application start all