Dear all, Can you please edit my_configuration.conf file and help help in setting up the nodes as an execd. so I can use the following command for the entire installation
./inst_sge -m -auto /opt/sge/util/install_modules/my_configuration.conf Please find attached my_configuration.conf file and do the needful Regards Himanshu On Thu, Nov 10, 2016 at 2:26 PM, Himanshu Joshi <anshuhi...@gmail.com> wrote: > > > On Wed, Nov 9, 2016 at 6:56 PM, William Hay <w....@ucl.ac.uk> wrote: > >> On Wed, Nov 09, 2016 at 04:59:18PM +0530, Himanshu Joshi wrote: >> > On Wed, Nov 9, 2016 at 2:18 PM, William Hay <w....@ucl.ac.uk> wrote: >> > >> > On Wed, Nov 09, 2016 at 11:25:42AM +0530, Himanshu Joshi wrote: >> > > On Tue, Nov 8, 2016 at 9:38 PM, William Hay <w....@ucl.ac.uk> >> > wrote: >> > > >> > > On Tue, Nov 08, 2016 at 11:30:35AM +0530, Himanshu Joshi >> wrote: >> > > > I'd try running the command >> > > > >> > > > /usr/lib/lsb/install_initd >> > /etc/init.d/sgemaster.mbialjpj55||echo >> > > $? >> > > > >> > > > To see if it produces any output. >> > > > >> > > > Yes the output for this command is >> > > > 1 >> > > Annoyingly silent error. >> > > >> > > Ya true.. >> > > >> > > What does >> > > ls -l /etc/rc.d/rc3.d/*sge* >> > > output if anything? >> > > >> > > It says " no match" >> > > i.e. /etc/rc.d/rc3.d folder has no file with *sge* >> > > >> > > > >> > > > command "ps ax |grep sge" says >> > > > >> > > > 17870 pts/4 S+ 0:00 grep --color=auto sge >> > > > 26341 ? S 10557:34 /bin/sh ./inst_sge -m -x >> > > You have a copy of inst_sge running eating that amount of >> cpu >> > time? Was >> > > that intentionally still running? >> > > >> > > I was not running it intentionally , and system monitor also >> does >> > not show >> > > any process with name "inst_sge". I had tried closing all the >> > terminals >> > > and restarted the system >> > > >> > > now the output is >> > > 8160 pts/0 S+ 0:00 grep --color=auto sge >> > IIRC the installation of the init script is the last thing >> inst_sge does >> > so >> > if this is the only thing blocking the install then you just need >> to >> > set the file up by hand >> > >> > Try the install_initd command by hand again now that there isn't a >> > running inst_sge >> > >> > The ./install_initd says >> If you leave out the ./ it will search the path. >> >> > Command not found >> > I think this file (install_initd) is not available in /opt/sge that >> is why >> > command not found >> > >> > >> > If that doesn't work try: >> > >> > chkconfig --add sgemaster.mbialjpj55 >> > chkconfig sgemaster.mbialjpj55 on >> > service sgemaster.mbialjpj55 start >> > >> > >> > >> > Try running >> > /etc/init.d/sgemaster.mbialjpj55 start >> > by hand does it produce output? >> > >> > It worked and then the output of "ps ax | grep sge" is >> > 29305 ? Sl 0:00 /opt/sge/bin/lx-amd64/sge_qmaster >> > 29974 pts/0 S+ 0:00 grep --color=auto sge >> > >> > Now the below 3 commands are immaterial >> > chkconfig --add sgemaster.mbialjpj55 >> > chkconfig sgemaster.mbialjpj55 on >> > service sgemaster.mbialjpj55 start >> > as these commands say >> Well the first two make sure it will start on reboot. >> >> > >> > "sge_qmaster with PID 29305 is already running" >> > >> > >> > >> > cat /etc/init.d/sgemaster.mbialjpj55 >> > >> > >> > >> > This command displays the contents of sgemaster.mbialjpj55 >> executable >> > file in terminal >> >> > >> > >> > >> > William >> > >> > Thanks William... >> > >> > But now also, I am not sure about installation,If it is done or not >> >> If you installed Dave's RPMS then it is installed. inst_sge despite the >> name >> really just does an initial config. >> > > !! Cheers .... Hope inst_sge really just does an initial config... > >> > >> > Kindly suggest the needful >> I suspect you probably want to use inst_sge to configure the node as an >> execd as well. >> > > Is there any documentation available for doing that because I do not have > any idea how to do it > > And I tried some computations with the current setup but some of the > errors were > > Error: which: no qconf in (/usr/local...... .... ) > Warning SGE_ROOT environment variable is set but Grid Engine software is > not found, will run locally > > And there is no folder gridengine in usr/share/doc > Thus it indicates the software is not at all installed > >> >> > -- >> > Himanshu Joshi >> > > > > -- > Himanshu Joshi > -- Ph.D Scholar, Department of Psychiatry NIMHANS, Bangalore
#------------------------------------------------- -*- sh -*- # SGE default configuration file #------------------------------------------------- # Use always fully qualified pathnames, please # This file is sourced by a Bourne shell script, so the assignments # must be in sh syntax, i.e. # <variable>=<value> # with no space around "=", and <value> must be quoted if it includes # whitespace or sh metacharacters that should be read literally. # SGE_ROOT Path, this is basic information #(mandatory for qmaster and execd installation) SGE_ROOT="/opt/sge" # SGE_QMASTER_PORT is used by qmaster for communication # Please enter the port in this way: 1300 # not like this: 1300/tcp # (mandatory for qmaster installation) SGE_QMASTER_PORT=6444 # SGE_EXECD_PORT is used by execd for communication # Please enter the port in this way: 1300 # Not like this: 1300/tcp # (mandatory for qmaster installation) SGE_EXECD_PORT=6445 # SGE_ENABLE_SMF # if set to false SMF will not control SGE services SGE_ENABLE_SMF="false" # SGE_CLUSTER_NAME # Name of this cluster (used by SMF as a service instance name) SGE_CLUSTER_NAME=mbialjpj # SGE_JMX_PORT is used by qmaster's JMX MBean server # mandatory if install_qmaster -jmx -auto <cfgfile> # range: 1024-65500 SGE_JMX_PORT="Please enter port" # SGE_JMX_SSL is used by qmaster's JMX MBean server # if SGE_JMX_SSL=true, the mbean server connection uses # SSL authentication SGE_JMX_SSL="false" # SGE_JMX_SSL_CLIENT is used by qmaster's JMX MBean server # if SGE_JMX_SSL_CLIENT=true, the mbean server connection uses # SSL authentication of the client in addition SGE_JMX_SSL_CLIENT="false" # SGE_JMX_SSL_KEYSTORE is used by qmaster's JMX MBean server # if SGE_JMX_SSL=true the server keystore found here is used # e.g. /var/lib/sgeCA/port<sge_qmaster_port>/<sge_cell>/private/keystore SGE_JMX_SSL_KEYSTORE="Please enter absolute path of server keystore file" # SGE_JMX_SSL_KEYSTORE_PW is used by qmaster's JMX MBean server # password for the SGE_JMX_SSL_KEYSTORE file SGE_JMX_SSL_KEYSTORE_PW="Please enter the server keystore password" # SGE_JVM_LIB_PATH is used by qmaster's jvm thread # path to libjvm.so # If value is missing or set to "none", the JMX thread will not be # installed. When the value is empty, or the path does not exist on # the system, Grid Engine will try to find a correct value. If it # cannot do so, the value is set to "jvmlib_missing" and the JMX # thread will be configured but will fail to start SGE_JVM_LIB_PATH="Please enter absolute path of libjvm.so" # SGE_ADDITIONAL_JVM_ARGS is used by qmaster's jvm thread # jvm specific arguments as -verbose:jni etc. # optional, can be empty SGE_ADDITIONAL_JVM_ARGS="-Xmx256m" # CELL_NAME, will be a directory in SGE_ROOT, contains the common dir # Please enter only the name of the cell. No path please # (mandatory for qmaster and execd installation) CELL_NAME="jpj" # ADMIN_USER, if you want to use a different admin user than the owner # of SGE_ROOT, you have to enter the user name here # Leaving this blank, the owner of the SGE_ROOT dir will be used as admin user ADMIN_USER=sgeadmin # The directory where qmaster spools the parts which are not spooled by DB # (mandatory for qmaster installation) QMASTER_SPOOL_DIR=$SGE_ROOT/$CELL_NAME/spool/qmaster # The directory where the execd spools (active jobs) # This entry is needed even if you are going to use # berkeley db spooling. Only cluster configuration and jobs will # be spooled in the database. The execution daemon still needs a spool # directory # (mandatory for qmaster installation) EXECD_SPOOL_DIR=$SGE_ROOT/$CELL_NAME/spool # For monitoring and accounting of jobs, every job will get # unique GID. So you have to enter a free GID Range, which # is assigned to each job running on a machine. # If you want to run 100 Jobs at the same time on one host you # have to enter a GID-Range like that: 16000-16100 # (mandatory for qmaster installation) GID_RANGE="20000-20100" # If SGE is compiled with -spool-dynamic, you have to enter here which # spooling method should be used. (classic or berkeleydb) # (mandatory for qmaster installation) SPOOLING_METHOD="classic" # The directory where the DB spools # If berkeley db spooling is used, it must contain the path to # the spooling db. Please enter the full path. (eg. /tmp/data/spooldb) # Remember, this directory must normally be local on the qmaster host. # An NFS4 mount is supposed to be safe, and NFS2/3, or other remote # filesystems can be used if the "private" bootstrap option is given. DB_SPOOLING_DIR="spooldb" # This parameter sets the number of parallel installation processes. # To prevents a system overload, or exceeding the number of open file # descriptors, the user can limit the number of parallel install processes. # e.g. set PAR_EXECD_INST_COUNT="20", maximum 20 execds are installed in # parallel. PAR_EXECD_INST_COUNT="20" # A list of hosts which should become admin hosts # If you do not enter any host here, you have to add all of your hosts # by hand after the installation. The example works without any entry ADMIN_HOST_LIST="" # A list of hosts which should become submit hosts # If you do not enter any host here, you have to add all of your hosts # by hand after the installation. The example works without any entry SUBMIT_HOST_LIST="" # A list of hosts which should become exec hosts # If you do not enter any host here, you have to add all of your hosts # by hand after the installation. The example works without any entry # (mandatory for execution host installation) EXEC_HOST_LIST=`hostname` # The directory where the execd spools (local configuration) # If you want configure your execution daemons to spool in # a local directory, you have to enter that directory here. # If you do not want to configure a local execution host spool directory # please leave this empty EXECD_SPOOL_DIR_LOCAL="" # If true, the domainnames will be ignored during the hostname resolving # if false, the fully qualified domain name will be used for name resolving HOSTNAME_RESOLVING="true" # Shell which should be used for remote installation (rsh/ssh) # This is only supported if your hosts and rshd/sshd are configured # not to ask for a password, or prompting with any message. SHELL_NAME="ssh" # This remote copy command is used for CSP installation. # The script needs the remote copy command for distributing # the CSP certificates. Using SSH the command scp has to be entered, # using the not so secure rsh, the command rcp has to be entered. # Both need a passwordless ssh/rsh connection to the hosts which # should be connected to. (Mandatory for CSP installation mode) COPY_COMMAND="scp" # Enter your default domain, if you are using /etc/hosts or NIS configuration DEFAULT_DOMAIN="none" # If a job stops, fails, or finishes, you can send mail to this address ADMIN_MAIL="root" # If true, the rc scripts (sgemaster, sgeexecd) will be added # to start automatically during boottime ADD_TO_RC="true" # If this is "true" the file permissions of executables will be set to 755 # and of ordinary files to 644. SET_FILE_PERMS="true" # This option is not implemented, yet. # When a exechost should be uninstalled, the running jobs will be rescheduled RESCHEDULE_JOBS="wait" # Enter one of the three distributed scheduler tuning configuration sets # (1=normal, 2=high, 3=max) SCHEDD_CONF="1" # The name of the shadow host. This host must have read/write permission # to the qmaster spool directory # If you want to setup a shadow host, you must enter the servername # (mandatory for shadow host installation) SHADOW_HOST="" # Remove these execution hosts in automatic mode # (mandatory for uninstallation of execution hosts) EXEC_HOST_LIST_RM="" # This option is used for startup script removing. # If true, all rc startup scripts will be removed during # automatic deinstallation. If false, the scripts won't # be touched. # (mandatory for uninstallation of execution/qmaster hosts) REMOVE_RC="true" # This is a Windows specific part of the auto isntallation template # If you going to install windows executions hosts, you have to enable the # windows support. To do this, please set the WINDOWS_SUPPORT variable # to "true". ("false" is disabled) # (Mandatory for qmaster installation. By default WINDOWS_SUPPORT is # disabled) WINDOWS_SUPPORT="false" # Enabling the WINDOWS_SUPPORT recommends the following parameter. # The WIN_ADMIN_NAME will be added to the list of SGE managers. # Without adding the WIN_ADMIN_NAME, the execution host installation # won't work correctly. # WIN_ADMIN_NAME is set to "Administrator", which is default on most # Windows systems. In some cases the WIN_ADMIN_NAME can be prefixed with # the windows domain name (eg. DOMAIN+Administrator) # (Mandatory for qmaster installation if windows hosts should be installed) WIN_ADMIN_NAME="Administrator" # This parameter is used to switch between local ADMINUSER and Windows # Domain Adminuser. Setting the WIN_DOMAIN_ACCESS variable to true, the # Adminuser will be a Windows Domain User. It is recommended that # a Windows Domain Server is configured and the Windows Domain User is # created. Setting this variable to false, the local Adminuser will be # used as ADMINUSER. The install script tries to create this user account # but we recommend, because it will be safer, to create this user # before running the installation. # (Mandatory for qmaster installation if windows hosts should be installed) WIN_DOMAIN_ACCESS="false" # This section is used for CSP installation mode. # CSP_RECREATE recreates the certs on each installation, if true. # If false, the certs will be created if they don't exist. # Existing certs won't be overwritten. (Mandatory for CSP install) CSP_RECREATE="true" # The created certs won't be copied if this option is set to false # If true, the script tries to copy the generated certs. This # requires passwordless ssh/rsh access for user root to the # execution hosts CSP_COPY_CERTS="false" # csp information, your country code (only 2 characters) # (mandatory for csp install) CSP_COUNTRY_CODE="IN" # your state (mandatory for csp install) CSP_STATE="KA" # your location, e.g. the building (mandatory for csp install) CSP_LOCATION="NBRC" # your arganisation (mandatory for csp install) CSP_ORGA="NIMHANS" # your organisation unit (mandatory for csp install) CSP_ORGA_UNIT="Organisation_unit" # your email (mandatory for csp install) CSP_MAIL_ADDRESS="anshuhi...@gmail.com"
_______________________________________________ SGE-discuss mailing list SGE-discuss@liv.ac.uk https://arc.liv.ac.uk/mailman/listinfo/sge-discuss