Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

Configuring Administration Hosts With QMON

On the QMON Main Control window, click the Host Configuration button. The Host Configuration dialog box appears, displaying the Administration Host tab. The Administration Host tab looks like the following figure:

Figure 1-3 Administration Host Tab

Dialog box titled Host Configuration. Shows Administration Host
tab with Hosts list. Shows Add, Modify, Delete, Shutdown, Done, and Help buttons.


Note - The Administration Host tab is displayed by default when you click the Host Configuration button for the first time.


Use the Administration Host tab to configure hosts on which administrative commands are allowed. The Host list displays the hosts that already have administrative permission.

Adding an Administration Host

To add a new administration host, type its name in the Host field, and then click Add, or press the Return key.

Deleting an Administration Host

To delete an administration host from the list, select the host, and then click Delete.

Configuring Administration Hosts From the Command Line

To configure administration hosts from the command line, type the following command with appropriate arguments:

% qconf arguments

Arguments to the qconf command and their consequences are as follows:

  • qconf -ah hostname

    The -ah option (add administration host) adds the specified host to the list of administration hosts.

  • qconf -dh hostname

    The -dh option (delete administration host) deletes the specified host from the list of administration hosts.

  • qconf -sh

    The -sh option (show administration hosts) displays a list of all currently configured administration hosts.

Configuring Submit Hosts With QMON

To configure submit hosts, on the QMON Main Control window click the Host Configuration button, and then click the Submit Host tab. The Submit Host tab is shown in the following figure.

Figure 1-4 Submit Host Tab

Dialog box titled Host Configuration. Shows Submit Host tab with
Host list. Shows Add, Modify, Delete, Shutdown, Done, and Help buttons.

Use the Submit Host tab to declare the hosts from which jobs can be submitted, monitored, and controlled. The Host list displays the hosts that already have submit permission.

No administrative commands are allowed from submit hosts unless the hosts are also declared to be administration hosts. See Configuring Administration Hosts With QMON for more information.

Adding a Submit Host

To add a submit host, type its name in the Host field, and then click Add, or press the Return key.

Deleting a Submit Host

To delete a submit host, select it, and then click Delete.

Configuring Submit Hosts From the Command Line

To configure submit hosts from the command line, type the following command with appropriate arguments:

% qconf arguments

The following options are available:

  • qconf -as hostname

    The -as option (add submit host) adds the specified host to the list of submit hosts.

  • qconf -ds hostname

    The -ds option (delete submit host) deletes the specified host from the list of submit hosts.

  • qconf -ss

    The -ss option (show submit hosts) displays a list of the names of all currently configured submit hosts.

Configuring Host Groups With QMON

Host groups enable you to use a single name to refer to multiple hosts. You can group similar hosts together in a host group. A host group can include other host groups as well as multiple individual hosts. Host groups that are members of another host group are subgroups of that host group.

For example, you might define a host group called @bigMachines. This host group includes the following members:

@solaris64    

@solaris32    

fangorn    

balrog    

The initial @ sign indicates that the name is a host group. The host group @bigMachines includes all hosts that are members of the two subgroups @solaris64 and @solaris32. @bigMachines also includes two individual hosts, fangorn and balrog.

On the QMON Main Control window, click the Host Configuration button. The Host Configuration dialog box appears.

Click the Host Groups tab. The Host Groups tab looks like the following figure.

Figure 1-5 Host Groups Tab

Dialog box titled Host Configuration. Shows Host Groups tab with
Hostgroup and Members lists. Shows Add, Modify, Delete, Shutdown, Done, and Help buttons.

Use the Host Groups tab to configure host groups. The Hostgroup list displays the currently configured host groups. The Members list displays all the hosts that are members of the selected host group.

Adding or Modifying a Host Group

To add a host group, click Add. To Modify a host group, click Modify. The Add/Modify Host Group dialog box appears.

Dialog box titled Add/Modify Host Group. Shows fields for defining
host groups and their members. Shows Ok and Cancel buttons.

If you are adding a new host group, type a host group name in the Hostgroup field. The host group name must begin with an @ sign.

If you are modifying an existing host group, the host group name is provided in the Hostgroup field.

To add a host to the host group that you are configuring, type the host name in the Host field, and then click the red arrow to add the name to the Members list. To add a host group as a subgroup, select a host group name from the Defined Host Groups list, and then click the red arrow to add the name to the Members list.

To remove a host or a host group from the Members list, select it, and then click the trash icon.

Click Ok to save your changes and close the dialog box. Click Cancel to close the dialog box without saving your changes.

Deleting a Host Group

To delete a host group, select it from the Hostgroup list, and then click Delete.

Configuring Host Groups From the Command Line

To configure host groups from the command line, type the following command with appropriate options:

% qconf options

The following options are available:

  • qconf -ahgrp [host-group-name]

    The -ahgrp option (add host group) adds a new host group to the list of host groups. See the hostgroup(5) man page for a detailed description of the configuration format.

  • qconf -Ahgrp [filename]

    The -Ahgrp option (add host group from file) displays an editor containing a host group configuration defined in filename. The editor is either the default vi editor or an editor corresponding to the EDITOR environment variable. The host group is configured by changing the configuration and saving to disk.

  • qconf -dhgrp host-group-name

    The -dhgrp option (delete host group) deletes the specified host group from the list of host groups. All entries in the host group configuration are lost.

  • qconf -mhgrp host-group-name

    The -mhgrp option (modify host group) displays an editor containing the configuration of the specified host group as template. The editor is either the default vi editor or an editor corresponding to the EDITOR environment variable. The host group configuration is modified by changing the template and saving to disk.

  • qconf -Mhgrp filename

    The -Mhgrp option (modify host group from file) uses the content of filename as host group configuration template. The configuration in the specified file must refer to an existing host group. The configuration of this host group is replaced by the file content.

  • qconf -shgrp host-group-name

    The -shgrp option (show host group) shows the configuration of the specified host group.

  • qconf -shgrp_tree host-group-name

    The -shgrp_tree option (show host group as tree) shows the configuration of the specified host group and its sub-hostgroups as a tree.

  • qconf -shgrp_resolved host-group-name

    The -shgrp_resolved option (show host group with resolved host list) shows the configuration of the specified host group with a resolved host list.

  • qconf -shgrpl

    The -shgrpl option (show host group list) displays a list of all host groups.

Previous Previous     Contents     Index     Next Next