Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trusty support #549

Closed
wants to merge 4 commits into from
Closed

Trusty support #549

wants to merge 4 commits into from

Conversation

LinusU
Copy link

@LinusU LinusU commented Sep 1, 2015

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
Copy link
Author

LinusU commented Sep 1, 2015

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

@cancan101
Copy link

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

@LinusU
Copy link
Author

LinusU commented Sep 2, 2015

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

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
Copy link
Author

LinusU commented Dec 23, 2015

@jtriley Any chance of getting this merged?

@LinusU
Copy link
Author

LinusU commented Aug 2, 2016

@jtriley ping!

@BrunoGrandePhD
Copy link

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

https://github.com/datacratic/StarCluster

@LinusU
Copy link
Author

LinusU commented Aug 3, 2016

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