[INSTRM-583] Acquire current OBCP server container/VM. Created: 19/Dec/18  Updated: 22/May/23  Resolved: 22/May/23

Status: Done
Project: Instrument control development
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: Russell Kackley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks INSTRM-582 Run OBCP server and ics_gen2Actor at ... Open

 Description   

eric Yoshida, Hiroshige Is there an up-to-date OBCP server container or VM, or a prescription to build one?

Can we make a procedure for fetching or building one?



 Comments   
Comment by eric [ 19/Dec/18 ]

Can we add a JIRA account for Russell?  Then he can keep this issue updated.

Who should I have him contact?

 

Comment by yuki.moritani [ 20/Dec/18 ]

Could you ask Takato-san to make an account with a request to JIRA access?

See the following for required information:

https://github.com/Subaru-PFS/doc/blob/master/services/account.rst

Comment by cloomis [ 11/Jan/19 ]

Bump – did this get anywhere?

Comment by eric [ 11/Jan/19 ]

We are working on it avidly!  Could you see what you can do to hurry Russell's Jira account along so he can contribute to this thread?  We have a couple of questions for you.

Comment by yuki.moritani [ 11/Jan/19 ]

JFYI: One of the IPMU members are making his account, so he will get the account shortly.

Comment by Russell Kackley [ 18/Jan/19 ]

I have created a VirtualBox VM for the Gen2 simulator.

As currently configured, the VM has a local SQLite3 database that it uses to allocate frames. This means that it does not connect ** to the Gen2 "frames" database that the Gen2 production system uses. If the PFS team wants a different configuration, we'll have to discuss the implications of that.

What do you think is the best way to distribute the VM? It is a 5 GB file in the Open Virtualization Archive (OVA) format as produced by the VirtualBox "Export Appliance" command. In the past, I have placed the file on my Google Drive and sent the URL to the interested parties. I could do that again if you want.

Another option might be for the PFS team to host the file. Does the PFS team have a shared storage location into which I could copy the file?

Let me know what you think about the database configuration and how best to distribute the VM. Thanks.

Comment by yuki.moritani [ 18/Jan/19 ]

Thank you, Russell-san, for creating VM.

As far as I know, we have used our server to host the file and share among the team. You may see the previous versions in the following link.

https://pfs.ipmu.jp/internal/pfs-soft/subaru/

https://pfs.ipmu.jp/internal/webdav/tech/software/

(Note: you can access to them with you PFS account.) I personally would like to go in the similar way. You could copy the file to the latter location.

Comment by Russell Kackley [ 19/Jan/19 ]

Thank you Moritani-san for the suggestion on where to place the Gen2 simulator VM.

Via my web browser, I can see the old VM folders in the first URL as well as the files listed in the second URL.

By what method can I copy the new VM to the second URL (scp, ftp, etc.)?

 

Comment by yuki.moritani [ 21/Jan/19 ]

If you use mac or windows, you can map the above URL (or the parent directory, https://pfs.ipmu.jp/internal/webdav/tech/) as a network drive.

If you use linux, please install "cadaver" package and connect by commanding:

 cadaver https://pfs.ipmu.jp/internal/webdav/tech

Then you can use it similarly to ftp.

Comment by Russell Kackley [ 22/Jan/19 ]

I copied the g2insdev.ova file, a checksum file, and README_VM to https://pfs.ipmu.jp/internal/webdav/tech/software/g2insdev_20190117

 

Listing collection `/internal/webdav/tech/software/g2insdev_20190117/': succeeded.
{{ README_VM 32048 Jan 21 14:06}}
{{ g2insdev.ova 5126127104 Jan 21 13:33}}
{{ g2insdev_checksum.txt 143 Jan 21 14:05}}

 

Let me know if you have any problems running the VM.

Comment by cloomis [ 22/Jan/19 ]

In this case we do not want to share frame IDs with the observatory. The filename prefix is slightly different off-site (PFLA, PFAA, or PFJA instead of PFSA) so that each location can operate independently without having filename conflicts.

If you ever pursue putting the system on a container please let us know.

Comment by Russell Kackley [ 16/Apr/20 ]

I uploaded to the PFS  webdav server an updated copy of the Gen2 simulator VM. Here are the updated files:

Listing collection `/internal/webdav/tech/software/g2insdev_20200415/': succeeded.
README_VM 32048 Apr 15 18:11
g2insdev.ova 4550915584 Apr 15 18:11
g2insdev_checksum.txt 193 Apr 15 18:11

Comment by yuki.moritani [ 22/May/23 ]

Since VM was provided (long time ago), I close this ticket.

Generated at Sat Feb 10 16:26:31 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.