AMF (Agile Messaing Framework)
  • Agile Messaging Framework
    • Get Started
      • Install
        • Pre-requisites
        • CockroachDB
        • NATS for Queuing
        • Hashicorp Vault
          • Configure Vault
        • Python 3.9
        • AMF Bundle
        • Installation of AMF
          • Configure and install
          • Post Install Steps
        • IBM SFG Integration
          • Configure and Install
            • Install jars in SFG
            • Add amf.properties
            • Add CRDB pool details
            • Import Sterling Artifacts
          • Post Install Steps
            • Create user with API permissions
            • Changes in BPs
    • Concepts
      • Providers
      • Users
      • Message Type
      • Message Mapping
      • Workflow
      • Communication profiles
        • SFTP Profiles
          • Customer Initiated
          • MFT Initiated
            • MFT Initiated Send
            • MFT Initiated Receive
        • Connect Direct
          • Customer Initiated
          • MFT Initiated
        • SharePoint
          • MFT Initiated
            • MFT Initiated Send
            • MFT Initiated Receive
        • S3
          • MFT Initiated
            • MFT Initiated Send
            • MFT Initiated Receive
        • Azure ADLS
          • MFT Initiated
            • MFT Initiated Send
        • HTTP with Token
          • MFT Initiated
            • MFT Initiated Send
        • UFA
          • Customer Initiated
            • Customer Initiated Send
            • Customer Initiated Receive
      • Communication Rules
        • Immediate
        • Scheduled
    • Management
      • AMF UI Operations
      • AMF Services Operations
    • User Manual
      • Signup and Login
      • Dashboard
      • Track N Trace
        • Message Activity
        • Failed Message Activity
        • Onboarding Activity
        • Session Activity
        • Service Availability
        • Scheduler Activity
        • Delivery Queue
        • Audit Log
      • Onboarding
        • Customers
        • Users
          • Communication Profiles
        • Message Types
        • Message Mapping
        • Workflow
          • Definitions
          • Actions
          • Rules
        • Communication Rules
    • Troubleshooting
    • Tutorials
      • UFA Installations
        • Linux Installation
        • Windows Installation
      • Schedules
        • Run based on timer
        • Run daily
        • Run based on day(s) of the week
        • Run based on day(s) of the month
      • UseCases
        • UC01
        • UC02
        • UC03
        • UC04
        • UC05
        • UC06
        • UC07
        • UC08
        • UC09
        • UC10
        • UC11
        • UC12
        • UC13
        • UC14
        • UC15
        • UC16
        • UC17
        • UC18
        • UC19
        • UC20
        • UC21
        • UC22
        • UC23
        • UC24
        • UC25
        • UC26
Powered by GitBook
On this page
  • Import default configuration
  • Starting amf dashboard
  • Create selfsigned certs to use with amf
  • Running amfc
  • Starting amf services
  • Running amf services
  1. Agile Messaging Framework
  2. Get Started
  3. Install
  4. Installation of AMF

Configure and install

Import default configuration

cd /apps/amf
bin/impwf -conf conf/impwf -import impwf-default-import.xlsx

Starting amf dashboard

Create configuration file for starting amf as follows:

[AMFUI_LOG]
log_file=logs/amfui.log
log_level=INFO
backup_count=5

[AMFMALIB_LOG]
log_file=logs/malib.log
log_level=INFO
backup_count=5

[AMFUILIB_LOG]
log_file=logs/amfuilib.log
log_level=INFO
backup_count=5

[CONTROLLER_LOG]
log_file=logs/controller.log
log_level=INFO
backup_count=5

[CIPHER_LOG]
log_file=logs/cipher.log
log_level=INFO
backup_count=5

[DATABASE]
db_url="postgres://root@localhost:26257/amf?sslmode=disable"

Create selfsigned certs to use with amf

bin/certsmgr 

Running amfc

nohup bin/amfc -conf runamfc.conf -settings amfui -init >> logs/amfc_init.log 2>&1 &
nohup bin/amfc -conf runamfc.conf -settings amfui -assigngroup >> logs/amfc_ag.log 2>&1 &
nohup bin/amfc -conf runamfc.conf -settings amfui -dev -runapp -env AMFCOMMUNITY >> logs/amfc_start 2>&1 &

Starting amf services

[DEFAULT]
node_id = 10
site_id = DC

# MQ information
# typical values for below: mq_manager = nats2, mq_host=localhost, mq_port=4222, mq_channel=nats://localhost:4222
mq_manager = "{{.QueueManager}}"
mq_host = "{{.QueueHost}}"
mq_port = "{{.QueuePort}}"
mq_channel = "{{.QueueChannel}}"

database_url = "{{.DbUrl}}"
temp_folder = {{.BasePath}}/amf/tmp
storage_root = {{.BasePath}}/amf/amfdata
default_receiver = AMFV2

#UFA Settings
ufa_dist_dir = {{.UfaDistFolder}}
ufa_server_url = {{.UfaServerUrl}}

kafka_queue=
kafka_environment=
kafka_subsystem=

kafka_host = 

kafka_port = 
kafka_topic = 
kafka_partition = 
kafka_username=
kafka_passwd=
kafka_security_protocol=
kafka_client_certpath=
kafka_client_keypath=

elastic_url =
elastic_username=
elastic_passwd=

sfg_inbox_url = {{.SfgHttpUrl}}
sfg_admin_user = {{.SfgHttpUsername}}
sfg_admin_passwd = {{.SfgHttpPassword}}
sfg_url_timeout =  30

[REGISTRATION]
service_type = amf_registration
registration_queue = amf_wf_registration_queue
backout_queue = amf_wf_backout_queue
error_queue = amf_wf_error_queue
workflow_queue = amf_wf_input_queue
retry_interval = 30
thread_count = 1
log_file = {{.BasePath}}/amf/logs/amfv2_registration.log
log_level = debug

[WORKFLOW]
service_type = amf_workflow
registration_queue = amf_wf_registration_queue
workflow_queue = amf_wf_input_queue
mailbox_queue = amf_sfg_input_queue
backout_queue = amf_wf_backout_queue
comms_queue = amf_wf_comms_queue
error_queue = amf_wf_error_queue
retry_interval = 5
thread_count = 1
log_file = {{.BasePath}}/amf/logs/amfv2_workflow.log
log_level = debug
status_log_file = {{.BasePath}}/amf/logs/workflow_status.log
status_log_level = debug

[SCHEDULER]
service_type=amf_scheduler
scheduler_queue = amf_wf_scheduler
registration_queue = amf_wf_registration_queue
log_file = {{.BasePath}}/amf/logs/DC10_SCHEDULER.log
log_level = debug
status_log_file = {{.BasePath}}/amf/logs/SCHDULER_SERVICE_STATUS.log
status_log_level = debug

http_url = http://localhost:41234/schedule-get
http_base_url = http://localhost:41234
http_user = admin
http_password = a_7t76XNVVVJy0vC8lcme-6jMizsdyKkM_6zpaVAfCE

[COMMS]
service_type = amf_comms
comm_service_queue = amf_wf_comms_queue
error_queue = amf_wf_error_queue
retry_interval = 30
thread_count = 1
log_file = {{.BasePath}}/amf/logs/amfv2_comms.log
log_level = debug
enable_sftp = false

Running amf services

cd /apps/amf
nohup bin/amfsvc -conf conf/service.conf >> logs/amf-services-output.log 2>&1 &

PreviousInstallation of AMFNextPost Install Steps

Last updated 2 years ago