envgen does not support channelsPerSlave

Description

The envgen tool supports slavesPerNode but not channelsPerSlave. This may be an oversight and, if so, it is a bug. If not, then this ticket is really an enhancement request.

Conclusion

None

Activity

Show:

Xiaoming Wang January 30, 2019 at 5:08 PM

Add two options for envgen:
1) thorChannelsPerlSlave: "channelsPerSlave" in Thor cluster
2) roxieChannelsPerSlave: "channelsPerSlave" in Roxie cluster

Xiaoming Wang September 19, 2018 at 5:48 PM

There are two ways you can set it now:

1) with envgen:
./envgen -env <environment.xml file> -ip . -thornodes 1 -set_xpath_attribute_value "Software/ThorCluster[@name='mythor']" "@channelsPerSlave" 3

2) with envgen2 which allow you to modify the existing environment.xml
./envgen2 -env-in <input environment file> -env-out <output environment file> -mod "sw:thor#mythor@channelsPerSlave=3"

I will add channelsPerSlave as slavesPerNode for convenience.

Dan Camper September 19, 2018 at 1:05 PM

I think I should have been clearer in my original request. I'm requesting that a channelsPerSlave parameter be added to the envgen command-line tool so it is easy to set that parameter within the generated configuration.

Xiaoming Wang September 19, 2018 at 12:50 PM

in 7.0.0 rc2 envgen does generate environment.xml with "channelsPerSlave=1" when "-thornodes" set to greater than 0. The default thornodes and roxienodes are 0 and no <ThorCluster/> and <RoxieCluster/> are generated.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Minor

Fix versions

Affects versions

Created August 9, 2018 at 3:23 PM
Updated March 5, 2019 at 3:41 PM
Resolved February 20, 2019 at 9:47 AM

Flag notifications