The osc-setcoremem simulator requires a base configuration file as input to run the simulator for the first time, and each subsequent time you want to simulate a different configuration. You must provide the SuperCluster base configuration file that you want to simulate. This is required no matter where the simulation tests will be run—on a SuperCluster compute node or a non-SuperCluster SPARC system.
You can use a ready-to-use base configuration file or edit a base configuration file template. Choose one of the methods described in this procedure to prepare the base configuration file.
Ensure that you completed Step 1 before you generate the base configuration file.
% ./osc-setcoremem –g [OK] simulator config file generated location: /var/tmp/oscsetcorememcfg.txt % cat /var/tmp/oscsetcorememcfg.txt #DOMAIN ROOT SERVICE SOCKET CORE MEMORY HCA #NAME DOMAIN DOMAIN COUNT COUNT GB COUNT #------------------------------------------------------------------------------ primary NO YES 2 24 2048 1 ssccn-dom1 NO NO 2 24 2048 1 ssccn-dom2 NO NO 2 24 2048 1 ssccn-dom3 YES YES 2 2 32 1
Use this configuration file as input to the simulator without any editing.
The template file can be generated on any SPARC system (not necessarily on a SuperCluster compute node). You can perform this step as any user on both SuperCluster and non-SuperCluster systems.
% ./osc-setcoremem -g -dc 4 [OK] simulator config file generated location: /var/tmp/oscsetcorememcfg.txt % cat /var/tmp/oscsetcorememcfg.txt #DOMAIN ROOT SERVICE SOCKET CORE MEMORY HCA #NAME DOMAIN DOMAIN COUNT COUNT GB COUNT #--------------------------------------------------------------------------------- primary YES|NO YES|NO <COUNT> <COUNT> <CAPACITY> 1|2 ssccn-dom1 YES|NO YES|NO <COUNT> <COUNT> <CAPACITY> 1|2 ssccn-dom2 YES|NO YES|NO <COUNT> <COUNT> <CAPACITY> 1|2 ssccn-dom3 YES|NO YES|NO <COUNT> <COUNT> <CAPACITY> 1|2
Edit the template file using the information in Guidelines for Modifying the Base Configuration File.