Nexus
General
| Software owner | Sonatype |
|---|---|
| Management | wfmanger (start \ stop \ restart \ status) nexus |
| Log files | <INSTALL_DIR>/supervisord/log/nexus.*.log |
| Data Files | <INSTALL_DIR>/nexus/sonatype-work/nexus/ |
| Installation directories | INSTALL_DIR>/nexus/ |
| Configuration files | <INSTALL_DIR>/nexus/conf/nexus.properties |
| Default ports | 8080/8443 |
| Process status check | wfmanager status nexus |
You can modify secrets.yml according to your needs:
workfusion_nexus_userworkfusion_nexus_pass
Install ML SDK after the main installation
Make sure to perform the below steps from the unpacked installer directory (<PACKAGE_DIR>).
Check or alter config options.
config.yml
vds_nexus_urlIf you install VDS along with all other components, leave this empty.
If you install VDS separately, provide the Nexus URL.
secrets.yml
workfusion_nexus_adminworkfusion_nexus_admin_pass
Run the vds-ml-sdk installation.
./install.sh install vds-ml-sdk
Update ML SDK
Make sure that the ML SDK repository is created in Nexus. Use the below URL to browse through the repositories:
<Control Tower DNS name>/nexus/#view-repositoriesFind a repository named as
ml-sdk.Download ML SDK from S3 using the link.
Upload ML SDK to the DB Server and unpack to
/apps/nexus/sonatype-work/nexus/storage/ml-sdk.Restart the Nexus service.
<INSTALL_DIR>/apps/nexus/nexus/bin/./nexus restart
Monitoring
Count the number of running Nexus processes, it should not be less than 1:
ps -aux | grep java | grep nexus | wc -lCheck if the TCP port is available:
netstat -lntp | grep -w ${NEXUS_PORT}Check if you can connect to the service:
curl http(s)://${DB_HOSTNAME}:${NEXUS_PORT}/nexus/