Skip to content

Trusty support - #549

Closed
LinusU wants to merge 4 commits into
jtriley:developfrom
LinusU:trusty-support
Closed

Trusty support#549
LinusU wants to merge 4 commits into
jtriley:developfrom
LinusU:trusty-support

Conversation

@LinusU

@LinusU LinusU commented Sep 1, 2015

Copy link
Copy Markdown

Fixed up the code in #435 and made it work. I used the following packer.io file to get build the ami, inspired by the discussion in #531.

{
  "builders": [{
    "type": "amazon-ebs",
    "region": "eu-west-1",
    "source_ami": "ami-47a23a30",
    "instance_type": "g2.2xlarge",
    "ssh_username": "ubuntu",
    "ami_name": "Ubuntu 14.04 STAR Cluster - {{timestamp}}"
  }],
  "provisioners": [{
    "type": "shell",
    "inline": [
      "sudo DEBIAN_FRONTEND=noninteractive apt-get update",
      "sudo DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y",
      "sudo DEBIAN_FRONTEND=noninteractive apt-get install -y nfs-kernel-server nfs-common portmap",
      "sudo DEBIAN_FRONTEND=noninteractive apt-get install -y gridengine-client gridengine-common gridengine-master gridengine-qmon"
    ]
  }]
}

@LinusU

LinusU commented Sep 1, 2015

Copy link
Copy Markdown
Author

Fixed the problem in #535 by using restart instead of start

@cancan101

Copy link
Copy Markdown

One issue is that you might want to copy the installed sge to the folder that is expected by StarCluster: /opt/sge-fresh.

@LinusU

LinusU commented Sep 2, 2015

Copy link
Copy Markdown
Author

Yes, the packer.io file is far from complete. But I think that that is the next step; to provide an official AMI with Ubuntu 14.04.

This will be the first step thought; just making sure that StarCluster actually can handle trusty nodes.

@BrunoGrandePhD

Copy link
Copy Markdown

I've also been interested in creating an Ubuntu 14.04 AMI for StarCluster. I decided, like @LinusU, to create a Packer.io recipe, as suggested in #531. I also shamelessly borrowed the SGE tarball and commands from @rustandruin's repository. This way, we stick with the /opt/sge-fresh installation that StarCluster expects. In the long run though, it would be great to move to using the SGE installation from running sudo apt-get install gridengine-*

In my case, I also wanted to enabled Enhanced Networking. Feel free to fork my Packer recipe and tailor to your own needs. I've tested this using @LinusU's PR (7ebffb4) and I was able to instantiate a cluster and submit a job. It'd be great if others are able to reproduce this.

You can find the Packer.io recipe in my repository. I kept seeing references to having to install Java, which I figured out how. If it isn't necessary, I would appreciate any help stripping the recipe to the bare minimum. From that, we could perhaps create different StarCluster AMI flavours (e.g. scientific).

All this being said, it would be great to see this PR merged, so that these AMIs become officially supported, since they depend on rpcbind.

@LinusU

LinusU commented Dec 23, 2015

Copy link
Copy Markdown
Author

@jtriley Any chance of getting this merged?

@LinusU

LinusU commented Aug 2, 2016

Copy link
Copy Markdown
Author

@jtriley ping!

@BrunoGrandePhD

Copy link
Copy Markdown

@LinusU, you might have better luck with one of the active forks.

https://github.com/datacratic/StarCluster

@LinusU

LinusU commented Aug 3, 2016

Copy link
Copy Markdown
Author

Closing this then...

@LinusU LinusU closed this Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants