Simon Matthews <[email protected]> writes: > On Thu, Apr 5, 2012 at 12:41 PM, Hung-Sheng Tsaio (Lao Tsao) Ph.D. < > [email protected]> wrote: > >> may be define complex vmtype for different VM >> then qsub -l vmtype=xx >> regards >> >> > Could you elaborate on this a bit more?
It might help to know how/why you want to distinguish the hosts if they're essentially the same. It's also possible to set orderings for hosts, possibly as groups, if that's useful. > If I understand this, I need to add a global complex (qconf -mc > global) -mc doesn't actually take an argument, but that's the first step. > called, for example "vmtype", which could be a string type, then somehow I > assign the appropriate value of the complex to each host (qconf -me > <hostname>), but the format of the file for the host configuration is not > clear. I'd use qconf -mattr exechost complex_values <complex>=<value> <host>... to set it (with host possibly generated by a shell expansion of some sort). > Is this the correct approach? How do I add the value of the complex to the > host within the qconf -me config? -- Community Grid Engine: http://arc.liv.ac.uk/SGE/ _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
