Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Next Next
Chapter 2

Command Line Equivalents

This chapter contains some command line equivalents for the actions you can perform using the browser GUI.

Command Line Interface (CLI)

Many of the tasks which can be performed from the UI can also be performed from the command line.

Manage Versions

To perform version management tasks use the following command with the appropriate argument.

Command:/scs/sbin/gemmVersMgmt.pl [args]

Arguments

  • To list a version use: -lv

  • To add a version use: -av vers_name

  • To remove a version use: -rv vers_name

  • To rename a version use: -nv vers_name new_name

  • To list several version files use:-lf vers_name

  • To add several version files: -af vers_name

  • To remove several version files:-il

Examples

This example lists the versions in directory /scs/data/gemm/versions:

- /scs/sbin/gemmVersMgmt.pl -lv /scs/data/gemm/versions

This example renames the directory vers_name to a new name.

- /scs/sbin/gemmVersMgmt.pl -nv vers_name new_name

This example adds files to the directory vers_name:

- /scs/sbin/gemmVersMgmt.pl -af vers_name file1 file2 file3

This example removes files from the directory vers_name:

- /scs/sbin/gemmVersMgmt.pl -rf vers_name file1 file2 file3

Install a Master Host

To install a N1GE master host use this command

/scs/sbin/gemmInstallMaster.pl id version


Note - Now the version you install will be used for all compute and access hosts.


The id can be a hostname, an IP, or an appliance id. You can see a list of appliances using this command:

/scs/sbin/deviceInfo.pl -l

Example

- /scs/sbin/gemmInstallMaster.pl dt218-37 n1ge6.0

Install a Host

To install an N1GE compute host use the following command:

/scs/sbin/gemmInstallHost.pl host_type id1 id2

In this command, host_type is compute or access and id is an IP, a host, or an appliance.

You can get the appliances managed by GEMM using:

/scs/sbin/deviceInfo.pl -l

Example

- /scs/sbin/gemmInstallHost.pl compute dt218-34 dt218-36 dt218-38

Configure Settings

This command lets you list or change the settings.

/scs/sbin/gemmSettings.pl parameter = value

Examples

If you use the command without a parameter = value pair, you see a list of the present set of values as in the following example:

- /scs/sbin/gemmSettings.pl

Current configuration:
admin_homedir = /gridware/
sgeadmin_uid = 218
admin_username = sgeadmin
execd_port = 537
inst_version = n1ge6.0
lnx_nfs_mt_opts = intr,softload
critical = 3.00
loadWarning = 1.00
maxPendTime = 120
memCritical = 10
memWarning = 100
nfs_mount_point = /gridware/sge/default/common
nfs_server_name = 10.6.218.37
proxy_id = 5
proxy_is_admin = Yq
master_id = 5q
master_port = 536
qmaster_ready = Y
sge_cell = default
sge_root = /gridware/sge
sol_nfs_mt_opts =

If you use the command with a parameter = value pair, it updates that parameter to the new value as in the following example.

- /scs/sbin/gemmSettings.pl maxPendTime=34

Uninstall Hosts

You use this following command to uninstall compute, access, and master hosts. The master will not be uninstalled until all other hosts have been uninstalled

Run - /scs/sbin/gemmUninstallHost.pl id1 id2

In this command, id is an IP, hosts, or appliance id.

Previous Previous     Contents     Next Next