go to post Luca Ravazzolo · Sep 13, 2021 Excellent work @Yuri Marx, lots of useful details for the reader! I like DRY too :-)
go to post Luca Ravazzolo · Sep 8, 2021 Hi @Jonathan Keam, I hope you found the answer back in Jan. If not head over to containers.intersystems.com HTH
go to post Luca Ravazzolo · Jul 28, 2021 Hi Johan, When you say "Uber type application" what exactly do you refer to? Their DISCO system? The overall architecture? Their implementation of service oriented architecture? Their supply service or demand service? They started with a monolith and Python and broke it up later... Let us know & all the best with the new app! Luca
go to post Luca Ravazzolo · Jul 13, 2021 @Lorenzo Scalese great way of exposing the IRIS internal API! I like it and I like the way the community brings innovation and supports the needs of users. Great effort, Lorenzo! I also wanted to draw attention to a utlity that InterSystems has been supporting for several versions. We call this feature the CPF merge feature. Q: What is the CPF merge feature? A: It's the capability to configure an instance dynamically from the outside. It can be used with any configuration management tool like Chef, Puppet, Ansible, Salt or simpler bash or any cloud service provider provisioning tool like AWS CloudFormation, Terraform or orchestrator like Kubernetes. A user can define the ultima state of an IRIS instance. The operation is executed idempotently and all you need is an environment variable called ISC_CPF_MERGE_FILE=the_file_that_holds_my_desired_config The CPF merge file could have been JSON, YAML, TOML or whatever but we decided to go with the familiar format we know, for now. The CPF merge file provides a way to Create, Delete and Update instance resources. The doc. Some Examples - Note how the CPF merge feature does not only helps us in single instance configuration but also automates more complex cluster configurations like Mirror pairs and shard architecture topologies. I hope this is useful to the reader who is seeking more elegant and easy ways to automate InterSystems IRIS clusters.
go to post Luca Ravazzolo · Jul 2, 2021 I see both of them { "RepositoryName": "intersystems/arbiter", "Tags": [ "2019.1.1.615.1", "2020.1.0.215.0", "2020.1.1.408.0", "2020.2.0.211.0", "2020.3.0.221.0", "2020.4.0.547.0", "2021.1.0.215.0" ] }, { "RepositoryName": "intersystems/arbiter-arm64", "Tags": [ "2020.4.0.547.0" ] }, -- Command used docker run --rm carinadigital/docker-ls \ docker-ls \ -u luxabc \ -p abcdefghijklmnopqrstuvxyz0987654321 \ --registry https://containers.intersystems.com \ repositories \ --level 2 \ --json --
go to post Luca Ravazzolo · Jun 25, 2021 Excellent work @Michael Braam, love all the details! Thanks!
go to post Luca Ravazzolo · Jun 3, 2021 Also, and a more up-to-date, detailed article on how to setup WSL2 with Win10, from the guys at Digital Ocean https://www.digitalocean.com/community/tutorials/how-to-install-the-wind...
go to post Luca Ravazzolo · Apr 19, 2021 The adoption of containers, just like the adoption of a new UI paradigm from CHUI to GUI (think Visual Basic and similar 1990s client-server UI tools) to web-based design (formatting, graphical display, estate utilisation and URL links to other resources), forces us to think differently and adopt new "modus operandi". When I first started with containers the first two thing I had to figure out were: how do I keep this thing alive? It's not an OS (that's were ccontainermain came from) and how do I securely connect to this thing? :) and so off I was installing SSHd Those were Docker early days 2014/15 There was a Spanish company called Tutum, subsequently acquired by Docker that had a CentOS-based base-OS-layer with an SSH daemon already installed and so life was good back then. Pointless to say that as one grows into understanding the technology, the new work-paradigm & the user-methodologies start to grow as the ecosystem of tools (consider docker exec, Docker Swarm, Kubernetes, Nomad, AWS ECS/Fargate, etc. but also fully automated CI/CD pipelines with Dev-QA-Sec-Ops), one starts to appreciate that things are done differently. Since then, I've had a many a conversation with people trying to install SSH. It's not secret. We like what we know :-) I've also had conversations with customers that want to move to a more modern provisioning pipeline, adopt containers and have a portable and more homogeneous solution for their app. At times there are business constraints... I get that, however, when you start analysing the possible implementation solutions (you have CHUI-based solution that you want to port, how do you handle individual users? .profile at the OS level? You might as well have no containers. You cannot adopt that approach with Kubernetes anyway... do you handle it all in the containers? It means you must make /etc/passwd durable and all the $HOME directories, etc. etc. it becomes super complicated straight away... at that point your container-based provisioning becomes and hinderance vs an enabler. Bottom line: "The times are a changing" as Bob Dylan used to sing and if you are interested in this new "cloud-native" way of working you're better off leaving things behind and adopt a new way of working that has many benefits... even if that means rewriting the CHUI interface. Ultimately, just because it is doable it does not mean it is the right thing to do. Personally I don't feel I need ssh into containers when I develop nor do I see developers needing it. It is easy enough to jump into containers in any environments. OTOH I do understand the need to have better loggings and stats (think utilities/side-cars like cAdvisor). I think those type of sidecars should be like leaches and attach themselves as soon as they see an interesting container starting... but that is another story for automation, monitoring and for the next story :-)
go to post Luca Ravazzolo · Mar 22, 2021 @Simon Sha Thanks for the precious contribution. I like cAdvisor and I think it can be useful in many situations.
go to post Luca Ravazzolo · Feb 4, 2021 Hi @Michael Jobe, Thanks for your availability. We are working on SAM v2.0 and we would appreciate your feedback. SAM is not planned to be backported to support Caché at the moment. Many customers have already migrated to IRIS and many are planning to do so.
go to post Luca Ravazzolo · Feb 1, 2021 @Michael Jobe thanks for highlighting this issue and for being candid. I've always liked your product. I hope our customers will be able to leverage your tool without any issue from now on. Thanks again.
go to post Luca Ravazzolo · Feb 1, 2021 Hi @Michael Jobe that last "\n" was indeed missing. We have fixed it and are re-spinning... Thanks for your diligence. May I ask you what product(s) you are using and how this caused you issues? Thanks
go to post Luca Ravazzolo · Jan 28, 2021 Great presentation from a high-level, diagrammatic point of view to all the implementation details! It will be very useful to many people. Great job @Pierre-Yves Duquesnoy
go to post Luca Ravazzolo · Jan 27, 2021 Thanks @Michael Jobe - I thought we implemented as described as we have had people using it in AWS with CloudWatch and others and I have not heard any issue before. Let me verify this.
go to post Luca Ravazzolo · Jan 27, 2021 Hi @Michael Jobe Yes, you can post here or open a WRC ticket. The error usually denotes a privilege issue. I see that the file name is not the default we ship the product with. That is isc_prometheus.yml. Also the file should have privileges set to 764 or rwxrw-r--- Another important thing would be to use the start.sh script that checks for the correct privileges on directories and files. Let us know how you get on. Thanks
go to post Luca Ravazzolo · Jan 22, 2021 Great job @Anton Umnikov and also for the mention of the K8s recently released-to-GA snapshot feature!