Starting the MoM


#21

Thank you :slight_smile:

I am not using the shared storage (maybe I will try it also in the future, I would like to start a bit easier :wink: )

What is quite interesting the same command which fails during authorisation by PBS MoM:
[URL=http://s1065.photobucket.com/user/Jendk3r/media/Capture_zpsnvcxysb3.png.html]

[/URL]

Works without any problems when I run it later by myself:
[URL=http://s1065.photobucket.com/user/Jendk3r/media/Capture_zpss5pkfis0.png.html][/URL]

The error is: key_parse_private2: missing begin marker

Have you experienced such problems? I know it may be the problem with the access permissions, but I don’t see any reasonable reason why it could be like this. As always, thank you very much for your help, in advance :slight_smile:


#22

hi guys,
I have similar situation.regarding the HPC user account.I found if I don’t add $usecp lines in the MoM config and share the /data folder through NFS. The job will fail. Do we need create individual user account and configure ssh keyless access between headnode and compute node for all HPC user? Thanks


#23

Hi Joey,

The short answer is yes, you need to create accounts and setup pasword-free ssh access between the submission machines and the execution hosts. Please refer to section 12.8 of the PBS Pro Administrator’s Guide located here: http://www.pbsworks.com/SupportGT.aspx?d=PBS-Professional,-Documentation

Thanks,

Mike


#24

And does anyone have any idea why the authorisation may not work in my case as described in my previous post?

Thank you for your help :slight_smile:


#25

You need to check whether password-less ssh access is working between the two hosts in question for that particular user who submitted the job.

Regards,
Subhasis


#26

Hi, mkaro

I entered the same issue, but when I tried to add node as root, it return error like this:

[root@pbs-master linux]# qmgr -c "create nodes pbs-slave"
qmgr: Error (15066) returned from server

I was trying to install pbs in a virtual environment, the OS is CentOS 7.2, please help me

Thank you


#27

Hello @honeyxdyj,

The first thing you want to check is the qmgr command you used. It should be “create node” rather than “create nodes”. The second thing is to determine whether the host “pbs-slave” resolves on your system. Try using the command “host pbs-slave” to see if the lookup is happening correctly. If not, you’ll need to address the hostname resolution issue on your network.

Mike


#28

Hi, mkaro

The command “host pbs-slave” returned error info like below:

[linux@pbs-master ~]$ host pbs-slave
Host pbs-slave not found: 3(NXDOMAIN)

For the reason I used the virtual machine created by openstack, I asked my colleague,that because the DNS server on our testing environment is not available, but I have configured the /etc/hosts, so it can ping.

So, do you have any ideas?


#29

I’m assuming you also have a pbs-master host? Entries for both must exist in the /etc/hosts file and you must be able to ping each host from the other. At that point, you should be able to add the pbs-slave node to your complex.

Mike


#30

Hi, mkaro

I wonder know that if I install the PBS Pro with root, is there any ways to let me submit jobs as root?

Thanks


#31

To submit jobs as root, please run the below command:
qmgr -c “set server acl_roots=root”

By default , root user job submissions are disabled.


#32

Hi, adarsh

qmgr -c “set server acl_roots=root”

When you say the “server” , if it means the hostname? And I got this error below:

Unknown Host.
qmgr: cannot connect to server acl_roots=root”


#33

server is not the hostname of the server: qmgr -c “set server acl_roots=root”
is the correct command.

Please check whether you can run any qmgr commands as root user ?

  • check your pbs server services are running

#34

qmgr -c “set server acl_roots+=root”

Missing the “+” symble, now it works well.
Thank you very much, adarsh.