@intersystems-iris-community-edition-1-vm:~$ cd /opt/ISC @intersystems-iris-community-edition-1-vm:/opt/ISC$ sudo vim docker-compose.yml @intersystems-iris-community-edition-1-vm:/opt/ISC$ sudo docker-compose up -d Recreating try-iris ... done @intersystems-iris-community-edition-1-vm:/opt/ISC$ sudo docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES db93ab338e46 intersystems/iris-community:2019.4.0.379.0-gcp "/iris-main" About a minute ago Up About a minute (health: starting) 0.0.0.0:9100-9101->9100-910 1/tcp, 0.0.0.0:51773->51773/tcp, 0.0.0.0:52773->52773/tcp try-iris
It is not a firewall issue. It is a docker issue. Apparently you cannot add a port to a docker container once it has already been run/initiated. It has to be done at the initiation step. The initiation step is already done when the google cloud instance is created so you cannot go back and un-initiate it. -- IV
I am not 'sure' if I want to change system routines. IRISLIB is read only. Probably not change Cache occurrences in IRISLIB. I've made no effort yet to see where these routines actually reside and %RCHANGE doesn't tell me where. RPMS traditionally uses Cache and Ensemble which are no longer sold. Intersystems IRIS Adoption Guide seems to indicate that all Cache references be replaced by IRIS. I use D ^%CD to use RPMS namespace before %RCHANGE. I do not know if that restricts %RCHANGE to that namespace. I suspect from the messages I am getting that %RCHANGE tries to change all occurrences.
Thanks for the response, I will use anything that will work. Goal is to replace the word Cache with IRIS. I did use %RCHANGE which somewhat worked. It errored on some of the instances of Cache but succeeded in others. What would source control for IHS FOIA RPMS in a CACHE.DAT benefit?
In Altelier I tried just .int as an extension and get this: An internal error occurred during: "Atelier Search". Failed to read /api/atelier/v2/RPMS/action/search?query=.%2ACache.%2A&documents=%2A.int&max=2147483647&sys=1&gen=0
Got it. Atelier/server does not apparently allow the default password to be used. You have to change it. It is easily changed from the command line using iris password.
Yes I used _SYSTEM/SYS and definitely the correct IP and port which works for portal but that does not work for Atelier login pointed at the same IP and port.
Yes I can get to portal. As you stated, Google sets the credentials when the instance is created. I've tried _SYSTEM/SYS and my Google credentials but it is still saying 'Unauthorized, check user credentials' I went to System > Security Management > Users>Profile>Edit to try to change _SYSTEM password but there is no password field to edit. -- IV
Yes I retrieved the static public IP from the console and put it in, I erased it in the screenshot. ifconfig gives a different IP than the console. I tried both.
I have eclipse and Atelier installed and running. I have the ip address in and did a netstat -a to see which port is being listened on. It is choking on login credentials. I did not setup the default id or password. That is done by google cloud when the instance is provisioned. I am using what I think is the correct id and password but it isn't going for it. I don't know how to proceed.
Thank you, forgive my ignorance but on Atelier do you install java and eclipse on local machine and point it at the google cloud server instance or do you install java and eclipse on the google cloud server instance?
Thank you for the response. Studio gives me 'not enabled for WRC login.' I can do vim and many other editors, I just don't know how to get to the actual code or if those are valid editors under these circumstances. I am used to the routines just being on the unix/linux file systems but I am not seeing how to get to the routines with docker, portal, etc. -- IV
It refers to irisowner irisusr which does not appear in /etc/passwd or /etc/group and the actual databases themselves seem to be usually set to owner:group 51773 52773 which also doesn't appear in /etc/passwd or /etc/group.
Something is amiss. I re-checked my permissions compared to others and they look fine. Some pre-existing databases also have the same message with regard to .lck file Other pre-existing databases that do not have the .lck file message are not found on the file system.
I am quite knowledgeable about Unix/Linux and its permissions but as they say the devil is in the details. I am the author of the Astronaut VistA installer suite so am something of an authority on the subject for what that is worth now for how the same things are done (differently) with ISC. Sigh. Here is the relevant output of ps -ef
Here is my permissions which I made the same as other IRIS.DAT. Do I have to restart something to make it engage? If so, what is the command? I restarted docker but it did not make a difference.
intersystems-iris-community-edition-1-vm:/opt/ISC/dur/mgr$ ls -la IHSFOIARPMS/total 3890188drwxrwxr-x 2 root root 4096 Nov 7 14:44 .drwxrwxr-x 10 51773 52773 4096 Nov 12 17:23 ..-rw-r--r-- 1 51773 52773 3983540224 Nov 7 14:46 IRIS.DAT
Namespace: RPMS You're in namespace RPMS Default directory is /ISC/dur/mgr/IHSFOIARPMS/ RPMS>S DUZ=1
RPMS>K ^%ZOSF
K ^%ZOSF ^ <PROTECT> ^%ZOSF,/ISC/dur/mgr/IHSFOIARPMS/ RPMS>D ^ZTMGRSET
ZTMGRSET Version 8.0 Patch level **34,36,69,94,121,127,136,191,275,355,446,584** HELLO! I exist to assist you in correctly initializing the current account.
This is namespace or uci RPMS,EXTERNAL. Should I continue? N//Y I think you are using OpenM-NT Which MUMPS system should I install?
1 = VAX DSM(V6), VAX DSM(V7) 2 = MSM-PC/PLUS, MSM for NT or UNIX 3 = Cache (VMS, NT, Linux), OpenM-NT 4 = 5 = 6 = 7 = GT.M (VMS) 8 = GT.M (Unix) System: 3// K ^%ZOSF("MASTER"),^("SIGNOFF") ;Remove old nodes. ^ <PROTECT>A+12^ZTMGRSET ^%ZOSF("MASTER"),/ISC/dur/mgr/IHSFOIARPMS/ RPMS 2d1>D ^ZUSET
This routine will rename the correct routine to ZU for you.
Rename ZUONT to ZU, OK? No//Y K ^TMP($J) ^ <PROTECT>DO+2^ZUSET ^TMP(24714),/ISC/dur/mgr/IHSFOIARPMS/ RPMS 5d1>
Getting this: This database is mounted as read-only due to 'Failed to access iris.lck file' I see on the file system that these seem to be one liners with some binary. How do I generate this?
It seems to be configured. It will need a search/replace on approximately 280 instances of the word Cache replace with IRIS in the code base. How is this accomplished in this environment? The first time I ever did a code search/replace like this was on a Data General Eclipse in about 1983 and I can grep. :-)
go to post
And so it is:
@intersystems-iris-community-edition-1-vm:~$ cd /opt/ISC
@intersystems-iris-community-edition-1-vm:/opt/ISC$ sudo vim docker-compose.yml
@intersystems-iris-community-edition-1-vm:/opt/ISC$ sudo docker-compose up -d
Recreating try-iris ... done
@intersystems-iris-community-edition-1-vm:/opt/ISC$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
db93ab338e46 intersystems/iris-community:2019.4.0.379.0-gcp "/iris-main" About a minute ago Up About a minute (health: starting) 0.0.0.0:9100-9101->9100-910
1/tcp, 0.0.0.0:51773->51773/tcp, 0.0.0.0:52773->52773/tcp try-iris
go to post
It is not a firewall issue. It is a docker issue. Apparently you cannot add a port to a docker container once it has already been run/initiated. It has to be done at the initiation step. The initiation step is already done when the google cloud instance is created so you cannot go back and un-initiate it. -- IV
go to post
I am not 'sure' if I want to change system routines. IRISLIB is read only. Probably not change Cache occurrences in IRISLIB. I've made no effort yet to see where these routines actually reside and %RCHANGE doesn't tell me where. RPMS traditionally uses Cache and Ensemble which are no longer sold. Intersystems IRIS Adoption Guide seems to indicate that all Cache references be replaced by IRIS. I use D ^%CD to use RPMS namespace before %RCHANGE. I do not know if that restricts %RCHANGE to that namespace. I suspect from the messages I am getting that %RCHANGE tries to change all occurrences.
go to post
Thanks for the response, I will use anything that will work. Goal is to replace the word Cache with IRIS. I did use %RCHANGE which somewhat worked. It errored on some of the instances of Cache but succeeded in others. What would source control for IHS FOIA RPMS in a CACHE.DAT benefit?
In Altelier I tried just .int as an extension and get this: An internal error occurred during: "Atelier Search".
Failed to read /api/atelier/v2/RPMS/action/search?query=.%2ACache.%2A&documents=%2A.int&max=2147483647&sys=1&gen=0
-- IV
go to post
Got it. Atelier/server does not apparently allow the default password to be used. You have to change it. It is easily changed from the command line using iris password.
go to post
Yes I used _SYSTEM/SYS and definitely the correct IP and port which works for portal but that does not work for Atelier login pointed at the same IP and port.
go to post
Yes I can get to portal. As you stated, Google sets the credentials when the instance is created. I've tried _SYSTEM/SYS and my Google credentials but it is still saying 'Unauthorized, check user credentials' I went to System > Security Management > Users>Profile>Edit
to try to change _SYSTEM password but there is no password field to edit. -- IV
go to post
Yes I retrieved the static public IP from the console and put it in, I erased it in the screenshot. ifconfig gives a different IP than the console. I tried both.
go to post
I have eclipse and Atelier installed and running. I have the ip address in and did a netstat -a to see which port is being listened on. It is choking on login credentials. I did not setup the default id or password. That is done by google cloud when the instance is provisioned. I am using what I think is the correct id and password but it isn't going for it. I don't know how to proceed.
go to post
Thank you, forgive my ignorance but on Atelier do you install java and eclipse on local machine and point it at the google cloud server instance or do you install java and eclipse on the google cloud server instance?
go to post
Can you elaborate on the syntax of the command or where I can find a command summary of %RCHANGE?
go to post
Thank you for the response. Studio gives me 'not enabled for WRC login.' I can do vim and many other editors, I just don't know how to get to the actual code or if those are valid editors under these circumstances. I am used to the routines just being on the unix/linux file systems but I am not seeing how to get to the routines with docker, portal, etc. -- IV
go to post
Thank you for the response. The solution was that the directory group had to be set to 52773. This doesn't appear in the ISC permissions guide. There are contradictions between what was pre-setup in the cloud instance and the permissions guide: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=GSA_using_unix
It refers to irisowner irisusr which does not appear in /etc/passwd or /etc/group and the actual databases themselves seem to be usually set to owner:group 51773 52773 which also doesn't appear in /etc/passwd or /etc/group.
go to post
Something is amiss. I re-checked my permissions compared to others and they look fine. Some pre-existing databases also have the same message with regard to .lck file Other pre-existing databases that do not have the .lck file message are not found on the file system.
go to post
I am quite knowledgeable about Unix/Linux and its permissions but as they say the devil is in the details. I am the author of the Astronaut VistA installer suite so am something of an authority on the subject for what that is worth now for how the same things are done (differently) with ISC. Sigh. Here is the relevant output of ps -ef
root 32080 1 0 17:23 ? 00:00:05 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sroot 32252 32080 0 17:23 ? 00:00:00 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 52773 root 32268 32080 0 17:23 ? 00:00:00 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 51773 root 32276 1338 0 17:23 ? 00:00:03 containerd-shim -namespace moby -workdir /var/lib/containerd/io.con51773 32305 32276 0 17:23 ? 00:00:00 /iris-main
go to post
Here is my permissions which I made the same as other IRIS.DAT. Do I have to restart something to make it engage? If so, what is the command? I restarted docker but it did not make a difference.
intersystems-iris-community-edition-1-vm:/opt/ISC/dur/mgr$ ls -la IHSFOIARPMS/total 3890188drwxrwxr-x 2 root root 4096 Nov 7 14:44 .drwxrwxr-x 10 51773 52773 4096 Nov 12 17:23 ..-rw-r--r-- 1 51773 52773 3983540224 Nov 7 14:46 IRIS.DAT
go to post
Was only able to get so far:
Namespace: RPMS
You're in namespace RPMS
Default directory is /ISC/dur/mgr/IHSFOIARPMS/
RPMS>S DUZ=1
RPMS>K ^%ZOSF
K ^%ZOSF
^
<PROTECT> ^%ZOSF,/ISC/dur/mgr/IHSFOIARPMS/
RPMS>D ^ZTMGRSET
ZTMGRSET Version 8.0 Patch level **34,36,69,94,121,127,136,191,275,355,446,584**
HELLO! I exist to assist you in correctly initializing the current account.
This is namespace or uci RPMS,EXTERNAL.
Should I continue? N//Y
I think you are using OpenM-NT
Which MUMPS system should I install?
1 = VAX DSM(V6), VAX DSM(V7)
2 = MSM-PC/PLUS, MSM for NT or UNIX
3 = Cache (VMS, NT, Linux), OpenM-NT
4 =
5 =
6 =
7 = GT.M (VMS)
8 = GT.M (Unix)
System: 3//
K ^%ZOSF("MASTER"),^("SIGNOFF") ;Remove old nodes.
^
<PROTECT>A+12^ZTMGRSET ^%ZOSF("MASTER"),/ISC/dur/mgr/IHSFOIARPMS/
RPMS 2d1>D ^ZUSET
This routine will rename the correct routine to ZU for you.
Rename ZUONT to ZU, OK? No//Y
K ^TMP($J)
^
<PROTECT>DO+2^ZUSET ^TMP(24714),/ISC/dur/mgr/IHSFOIARPMS/
RPMS 5d1>
go to post
Getting this: This database is mounted as read-only due to 'Failed to access iris.lck file' I see on the file system that these seem to be one liners with some binary. How do I generate this?
go to post
It seems to be configured. It will need a search/replace on approximately 280 instances of the word Cache replace with IRIS in the code base. How is this accomplished in this environment? The first time I ever did a code search/replace like this was on a Data General Eclipse in about 1983 and I can grep. :-)
-- IV
go to post
I am using this as a guide but this seems to be an older edition with more steps. The author of the page says that RPMS install is similiar to VistA http://hardhats.org/projects/New/InstallCache.html#download-and-install-cach%C3%A9-on-mac-os-x-or-linux