Preparing the Environment for the New Graphical Installer in SGE 6.2u2

I've prepared a screencast showing an example how to prepare the environment needed by the new installer in Sun Grid Engine 6.2u2. You can see installer's screenshots in my previous post.


Download for iPod

See part 2 of the screencast, that demonstrates the powerful capabilities on the new installer.

Comments:

Thx.

Posted by muhabbet on March 15, 2009 at 04:15 PM CET #

This is a useful video, but I think the way you have achieved this is rather insecure and could be done better using Solaris (or Linux features).

By running the following in solaris:

usermod -P "Primary Administrator" sgeadmin

sgeadmin would have root privileges, which will enable a you to run the installer with the same permissions as root. Use the following command adopt these new privileges:

pfexec ./gui_installer

Ideally you wouldn't need to give sgeadmin full root privileges, but rather a subset of the root permissions. This is more complex to configure, but could be included in the installer or documentation.

For linux you could use sudo to do the same thing.

Another thing that would make this easier is using the "-o StrictHostKeyChecking=false" option to ssh. This will prevent being prompted about host keys from the new hosts ... I'm surprised the installer doesn't have an option to do this.

Posted by Peter Jenkins on March 19, 2009 at 04:03 AM CET #

Hi Peter,
this was given just as an example and I see now it could have been done better (e.g.: PermitRootLogin without-password).

For Solaris hosts following should work now:
1. Setup an admin user (you don't want to use sgeadmin) across Solaris hosts with a "Primary Administrator" privilege and default shell /usr/bin/pfsh (profile shell)
2. pfexec ./start_gui_installer -connect_user=admin

As for sudo, this would not work right now I'm afraid. We'd need a way to detect if we can sudo without a password, this was not done for SGE6.2u2, but we'll add that.

With regards to the "-o StrictHostKeyChecking=false", we decided to use "-o StrictHostKeyChecking=true" in the GUI installer, but you can override it by selecting custom installation mode and changing
SHELL_NAME "ssh"
to
SHELL_NAME "ssh -o StrictHostKeyChecking=false"
in the main configuration screen. Then, all the hosts will be automatically added to the known_hosts. I though it would be better to have true as default, since we've expected to discover hosts based on patterns and your known_hosts could become very large.

Thanks for the useful comment,
Lubos.

Posted by Lubomir Petrik on March 23, 2009 at 09:23 AM CET #

thanks

Posted by cet on September 11, 2009 at 03:53 AM CEST #

Hi,

I'm trying to install the sungrid engine platform, on a linux fedora core. My problem is the ssh comunication WITHOUT password. It was impossible to do it.. I try to follow the steps of the video, but don't work... how did you configure the ssh_config archive?? Can you show me the configuration archive of ssh?

Thanks in advance

Posted by vanessa on October 23, 2009 at 06:19 AM CEST #

Hi Vanessa,
this should work also in Fedora. Do you use SELinux with enforcing level? If so, maybe you'll find a solution here http://www.fedoraforum.org/forum/showthread.php?p=902055

Posted by Lubomir Petrik on October 23, 2009 at 12:04 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Lubomir Petrik

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today