BookmarkSubscribeRSS Feed
rtynd4
Calcite | Level 5

I tried that but I get prompted for the root password which I do not have.

 

Thx

gwootton
SAS Super FREQ
The lsfstartup command remotely executes the startup commands on each defined server, so your options here would be to set up the lsf sudoers so a non-root account can start LSF services and run lsfstartup using the normal account where you know the password. You could also setup passwordless SSH between the hosts for that account so you are not prompted for a password.

Alternatively you could SSH to each host in your grid and run the individual startup commands as root (e.g. lsadmin limstartup && lsadmin resstartup && badmin hstartup).

https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=files-lsfsudoers
--
Greg Wootton | Principal Systems Technical Support Engineer
rtynd4
Calcite | Level 5

thx for the help.

If the lsfsudoers file is set up correctly would this allow the lsfadmin account to run any of the lsf commands? It looks like it does.

I have been having issues with running the lsfstartup. It was running for hours and not completing. I started up the daemons individually and they are all running. I have been asking the sysdamin to grant sudo privs for each command.

Do you have a sample lsfsudoers file with dummy data?

 

I was told that I could have two installations of LSF on the same server using different paths and different admin accounts. The other LSF daemons were running while I was running lsfstartup, so not sure if that conflicted, will test. I have changed all the ports that I am aware of. 

gwootton
SAS Super FREQ
Yes, the lsf.sudoers file allows the defined non-root users to run LSF commands.

The documentation I linked provides an example of the contents and details about the various options you can set there.

LSF_STARTUP_USERS and LSF_STARTUP_PATH are I think all you'd need to allow a non-root user to start LSF.

Running multiple instances of LSF should be fine if you've changed all the ports in lsf.conf and ego.conf.
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 18 replies
  • 641 views
  • 0 likes
  • 3 in conversation