How to add additional profile features


#1

Hi,
I am launching the alces cluster through cloudformation template.
How can I add selective/all profile features available at https://github.com/alces-software/flight-profiles/tree/master/feature while launching the cluster?


#2

Hi Chandrakantlotke,

At CloudFormation, under “Configuration and customization”, the features you wish to use can be entered in a space-separated list after “Additional features to enable”. For example:

Additional features to enable: configure-docker ellexusmistral ansys-fluent-v170

For more details on CloudFormation templating see http://docs.alces-flight.com/en/2017.1r1/launch-aws/launching_on_aws.html

Let us know how it goes!


#3

Thanks for the reply,

I am providing the parameter values at the run time to cloud formation template.
Please see the below Json, assuming that all the other parameters are there.
I have to provide the space separated names to Default key right?
{
“Metadata”:{
“Parameters”: {
“FlightFeatures”: {
“Description”: “Alces Flight Compute feature names separated by spaces or leave blank.”,
“Type”: “String”
“Default”: “configure-docker ellexusmistral ansys-fluent-v170”
},
}
}
How can I verify the installed features ?
Kindly confirm


#4

Are you launching via the CloudFormation console or the AWS CLI tool?

You shouldn’t need to edit the template directly, if you’re launching through the console then you can provide the values as described in my previous response.

If you’re launching with the AWS CLI tool then you can supply the feature parameters as follows:
--parameters FlightFeatures='configure-docker ellexusmistral ansys-fluent-v170'

Once the stack has been created, you can verify the installed features by running:
alces customize list

And to see features available for install, run:
alces customize avail


#5

Thanks for the replay,

I am launching via AWS java SDK where I replace the values at the run time.

Also, while running the “alces customize avail” command I am getting the following error,

Falling back to HTTP indexing as S3 access unavailable.
Could not retrieve repository index for feature.
ERROR: S3 error: 404 (Not Found)

One more thing, by default pdsh and other module are not loaded. I need to load those module manually.
Can I load it by default while launching the cluster?


#6

We’d recommend following one of the supported methods of launching and modifying flight clusters.

For more information on recommended practices for launching, see http://docs.alces-flight.com/en/2017.1r1/launch-aws/launching_on_aws.html

As for automatically loading modules for every session, this can be done with:
alces module initadd <module-file>

Further information on the module files can be found here http://docs.alces-flight.com/en/2017.1r1/apps/apps.html#modules-environment-management


#7

A post was split to a new topic: How can I launch in my own VPC?