EGO Reference
Total Page:16
File Type:pdf, Size:1020Kb
EGO Reference Platform EGO Version 1.2.3 January 2008 Copyright © 1994-2007 Platform Computing Corporation All rights reserved. Although the information in this document has been carefully reviewed, Platform Computing Corporation (“Platform”) does not warrant it to be free of errors or omissions. Platform reserves the right to make corrections, updates, revisions or changes to the information in this document. UNLESS OTHERWISE EXPRESSLY STATED BY PLATFORM, THE PROGRAM DESCRIBED IN THIS DOCUMENT IS PROVIDED “AS IS” AND WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL PLATFORM COMPUTING BE LIABLE TO ANYONE FOR SPECIAL, COLLATERAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING WITHOUT LIMITATION ANY LOST PROFITS, DATA, OR SAVINGS, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS PROGRAM. We'd like to hear You can help us make this document better by telling us what you think of the content, organization, and usefulness of the information. from you If you find an error, or just want to make a suggestion for improving this document, please address your comments to [email protected]. Your comments should pertain only to Platform documentation. For product support, contact [email protected]. Document This document is protected by copyright and you may not redistribute or translate it into another language, in part or in whole. redistribution and translation Internal You may only redistribute this document internally within your organization (for example, on an intranet) provided that you continue redistribution to check the Platform Web site for updates and update your version of the documentation. You may not make it available to your organization over the Internet. Trademarks ® LSF is a registered trademark of Platform Computing Corporation in the United States and in other jurisdictions. ™ ACCELERATING INTELLIGENCE, PLATFORM COMPUTING, PLATFORM SYMPHONY, PLATFORM JOBSCHEDULER, PLATFORM ENTERPRISE GRID ORCHESTRATOR, PLATFORM EGO, and the PLATFORM and PLATFORM LSF logos are trademarks of Platform Computing Corporation in the United States and in other jurisdictions. ® UNIX is a registered trademark of The Open Group in the United States and in other jurisdictions. Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries. Microsoft is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. ® Windows is a registered trademark of Microsoft Corporation in the United States and other countries. Intel®, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Other products or services mentioned in this document are identified by the trademarks or service marks of their respective owners. Third-party license http://www.platform.com/Company/third.part.license.htm agreements Third-party http://www.platform.com/Company/Third.Party.Copyright.htm copyright notices Contents Part I: Commands ... 5 egoconfig ........................................................................................................................ 7 egoremoverc ................................................................................................................. 11 egosetrc ........................................................................................................................ 12 egosetsudoers .............................................................................................................. 13 egosh ............................................................................................................................ 14 egoshutdown ................................................................................................................. 42 egostartup ..................................................................................................................... 43 pversions ....................................................................................................................... 44 rfa .................................................................................................................................. 45 rsdeploy ........................................................................................................................ 50 Part II: Daemons ... 57 egosc ............................................................................................................................ 59 lim ................................................................................................................................. 61 pem ............................................................................................................................... 65 pim ................................................................................................................................ 67 vemkd ........................................................................................................................... 69 Part III: Resources ... 71 Host properties .............................................................................................................. 73 Load indices .................................................................................................................. 75 -R res_req ..................................................................................................................... 77 Part IV: Events, Environment Variables, and Audit Logs ... 83 EGO events .................................................................................................................. 85 EGO environment variables .......................................................................................... 87 EGO audit logs .............................................................................................................. 89 Part V: Files ... 93 ego.sudoers .................................................................................................................. 95 EGO Reference 3 4 EGO Reference PART I Commands EGO Reference 5 Commands 6 EGO Reference egoconfig egoconfig Configures hosts. Synopsis egoconfig subcommand [options] egoconfig -h egoconfig -V Description Use the egoconfig command to join a host to the cluster, set the list of master candidates and the failover priority, and add hosts to or remove hosts from the ManagementHosts resource groups, or set other configuration options. This is an administrative command. You must be logged on as cluster administrator to issue this command. -h Outputs command usage and exits. -V Prints product version to stderr and exits. Subcommand synopsis addresourceattr "[resource resource_name] [resourcemap value*resource_name] …" join master_name [-f] masterlist host_name[,host_name, ¼] mghost shared_top [-f] mghost shared_top user_account password [-f] mghost lsf [-f] mghost lsf user_account password [-f] mghost soam [-f] mghost soam [user_account] [password] [-f] setbaseport base_port_no setlicense license_file unsetmghost [-f] addresourceattr "[resource resource_name] [resourcemap value*resource_name] ¼" Adds a resource attribute tag to the parameter EGO_LOCAL_RESOURCES in ego.conf on the local host. The attribute tag is later referenced when you create a resource group and want to add hosts to it that share the same resource attribute. resource EGO Reference 7 egoconfig Keyword required by EGO_LOCAL_RESOURCES to signify that the name of the resource attribute tag is boolean. resourcemap Keyword required by EGO_LOCAL_RESOURCES to signify that the name of the resource attribute tag is numeric. The name is preceded by a numeric value to form a name-value pair. resource_name Specifies the name of the resource attribute tag that identifies this type of host. For example, the resource attribute tag scvg could be later used to create a resource group for scavenging-capable hosts. join master_name [-f] For use on UNIX only. Adds the local UNIX host to the cluster that has the specified master host. master_name Specifies the host name of the master host. -f Suppresses confirmation of the command. Use this option when running this command from a script. masterlist host_name[,host_name, ¼] Specifies the list of master candidates, starting with the master host, and including all of the candidates, in the order of failover priority. host_name Specifies the name of the master host and each of the master candidates. Ensure that you do not specify compute hosts in this list. Caution: Be sure to include all master candidates in the list when you issue this command, as issuing this command overwrites the existing list. mghost shared_top [-f] For use on UNIX. Specifies to ignore the local configuration directory and look in the shared location for the configuration information and common files so the management hosts use a common set of files. Issuing this command adds this host to the management hosts resource group. After issuing this command, you need to source your environment. Running this command creates an entry for the local host in ego.cluster.cluster_name. shared_top 8 EGO Reference egoconfig Specifies the path to the shared file location where configuration information is accessed by the management hosts in the cluster. -f Suppresses confirmation of the command. Use this option when running this command from a script. mghost shared_top user_account password [-f] For use on Windows.