Commit Graph

63 Commits

Author SHA1 Message Date
Ravin Perera
1473d2b059 Improvements for large test cluster management. (#59)
* VM script improvements.
* Modified docker-pull to create new container
* Replaced vpnkit with slirp4netns for better containerized network performance.
* Added swap allocation config.
Co-authored-by: chalith <desaman.chalith@gmail.com>
2021-09-17 12:07:56 +05:30
Chalith Desaman
f38591eb19 Supporting changes for xrpl hooks (#60) 2021-09-16 12:00:57 +05:30
Chalith Desaman
8a68b42cb4 Implementation of redeem response encryption (#58) 2021-09-09 13:57:43 +05:30
Chalith Desaman
76c6781e2e Message board instance life time record keeping (#57) 2021-09-03 18:07:02 +05:30
Chalith Desaman
25897047a4 Cluster script updates to get unl and code fixes (#56) 2021-08-31 10:09:01 +05:30
Chalith Desaman
6b4049f40f Initial xrpl message board implementations for instance creation (#55) 2021-08-26 14:00:07 +05:30
Savinda Senevirathne
596ff4a3bc Merging create and initiate messages. (#54) 2021-08-23 15:09:35 +05:30
ravinsp
69bcad18c2 Updated installer cloud url. 2021-08-23 13:02:56 +05:30
Chalith Desaman
c77a287c2a Added docker pull support to the cluster script (#53) 2021-08-19 15:51:23 +05:30
asela kotagama - aseladk
982b93a3d6 Added journal user quota for sashi users. (#52) 2021-08-16 17:57:10 +05:30
Chalith Desaman
1f7f5fa105 Updated hpfs binary and hpfs service (#51) 2021-08-12 12:46:22 +05:30
Chalith Desaman
03f38dc84d Updated cluster management script with reinstall and fetch lcl ability (#50) 2021-08-12 09:46:43 +05:30
asela kotagama - aseladk
28353b5e4c Updated Sashimono with hpfs CLI commands and hpfs binary. (#48) 2021-08-04 16:27:22 +05:30
Chalith Desaman
7a34defd0e Added change roundtime ability for the initiate message (#49) 2021-08-04 09:31:04 +05:30
Chalith Desaman
f266e8b3fc Vultr group support for sashimono vm cluster script (#47) 2021-08-03 14:28:07 +05:30
Savinda Senevirathne
7302270f30 List implementation for Sashi CLI. (#46) 2021-08-02 16:30:11 +05:30
asela kotagama - aseladk
15eb47b66b Removed additional if and used subcom parsed (#45) 2021-07-30 12:29:18 +05:30
Savinda Senevirathne
4ed4e45ef1 Contract directory permission fix. (#42) 2021-07-29 15:59:40 +05:30
Chalith Desaman
8ba64058f8 Status check for bootstrap contract (#44) 2021-07-29 14:11:53 +05:30
Chalith Desaman
d457b65d10 Hotpocket version changes (#43) 2021-07-28 16:27:50 +05:30
asela kotagama - aseladk
d86fbbcb66 Intergrate cli11 library for sashi-cli command line parsing (#41) 2021-07-28 16:25:12 +05:30
Chalith Desaman
bc4dcc8bfa Bash script to manage test vm clusters (#40) 2021-07-26 17:14:52 +05:30
Savinda Senevirathne
4820f9660e Support additional hp config. (#39) 2021-07-26 12:14:41 +05:30
Chalith Desaman
adbb1c8839 Sashimono CLI implementation (#38) 2021-07-22 09:51:28 +05:30
Savinda Senevirathne
66b0c86beb Unix socket interface. (#37) 2021-07-21 16:35:17 +05:30
Ravin Perera
6f7cab2e3b Added docker registry scripts for future work. (#36)
- Added docker private registry for future support.
- Added automatic detection of host address.
- Refactored cli args parsing.
2021-07-20 12:57:29 +05:30
Chalith Desaman
7cb4ddc069 Adding a low previledged user for the hotpocket contract (#35) 2021-07-19 15:32:10 +05:30
Savinda Senevirathne
e9e8f6fda0 Message board Rest API interface. (#34) 2021-07-19 14:51:04 +05:30
Savinda Senevirathne
90fcd28a92 Resetting disk quota limitations before deleting the user. (#33) 2021-07-16 14:59:43 +05:30
Chalith Desaman
9bbb7baa3c Added cgcreate service to create cgroups at the system boot (#32) 2021-07-16 10:29:20 +05:30
Ravin Perera
5a54967320 Ability to specify docker image in create msg. (#31)
* Added docker image list in config.
* Specify docker image in create msg.
2021-07-15 12:56:02 +05:30
ravinsp
bfdd781524 Reduced docker create command len. 2021-07-15 12:52:34 +05:30
Ravin Perera
8cb0c44703 Introduced Sashimono hp docker images. (#30) 2021-07-14 16:51:00 +05:30
Savinda Senevirathne
521423c20d Apply latest hp.cfg values during hpfs service starts. (#29) 2021-07-14 12:55:52 +05:30
Savinda Senevirathne
4617a97a52 Running hpfs as systemd services. (#28) 2021-07-13 15:44:49 +05:30
Ravin Perera
737c3c0af0 Revamped Sashimono installation process. (#27)
- During development, binaries and data exist in build dir.
- In production, binaries in '/usr/bin/sashimono-agent' and data in '/etc/sashimono'.
- Added prerequisites script for easy machine preparation.
- Added cloud installation scripts.
- Added non-interactive installation scripts for fully automated setup of test vms.
- sagent must now be run as root (in development as well as in production)
2021-07-12 15:00:11 +05:30
Savinda Senevirathne
41889b17c7 Adding a systemd service for Sashimono in sashimono-install script. (#26) 2021-07-09 16:53:27 +05:30
Ravin Perera
82ba515cbd Added kill switch. (#25) 2021-07-09 12:19:59 +05:30
Ravin Perera
e7f64861f9 Reorganized build dependencies. (#24) 2021-07-09 11:52:22 +05:30
Chalith Desaman
b51633563b Applying cpu, memory and disk quotas. (#22)
CPU and memory quotas using cgroups.
Disk quotas using userquota.
Limiting max allowed hp instances.
2021-07-08 17:18:01 +05:30
Savinda Senevirathne
5545e032f4 Agent data folder (#23) 2021-07-08 10:19:22 +05:30
Savinda Senevirathne
e8509d1188 Name uniqueness check before creating a contract instance. (#21) 2021-06-29 16:58:26 +05:30
Chalith Desaman
43cb7e8ca1 Two step instance creation and refactoring (#20) 2021-06-29 16:09:04 +05:30
Chalith Desaman
c8df2e75ac Added contract id to the instance create message (#19) 2021-06-28 10:41:08 +05:30
Savinda Senevirathne
7dd0ea97b5 Instance users and dockerd. (#18) 2021-06-25 14:16:22 +05:30
Ravin Perera
2392e6f1f2 Added user purge for Sashimono uninstall script. (#17) 2021-06-21 13:15:51 +05:30
Chalith Desaman
ef74c6c92c Added support to external hpfs per instance (#16) 2021-06-21 11:09:02 +05:30
Savinda Senevirathne
d1b86ee173 Bootstrap contract and Sashimono client. (#15) 2021-06-18 11:33:34 +05:30
Ravin Perera
2b5da61000 Docer bin path update. (#14) 2021-06-17 14:19:08 +05:30
Ravin Perera
f2e70be7f6 Per user dockerd installation scripts. (#13) 2021-06-17 13:47:06 +05:30