Further it is supposed that WebLogic server is already installed on the machine and domains are configured.
Let us take "base_domain" as the domain name in the following example commands.
1. Create OS user
> useradd -g bea -m ndmgr
> passwd ndmgr
add WL_HOME/common/bin to the PATH variable.
It is recommended that node manager user should be different that WebLogic software owner, but they must be in the same group.
2. Configure security.
> ssh-keygen -t rsa -b 2048
> mkdir .ssh
> chmod 700 .ssh
> touch .ssh/authorized_keys2
> chmod 700 .ssh/authorized_keys2
> cat id_dsa.pub >> .ssh/authorized_keys2
connect through ssh to the localhost and accept the key.
3. Configure node manager
connect as ndmgr, then
> $WL_HOME/common/bin/wlst.sh
> connect('weblogic','weblogic','t3://192.168.1.100:7001')
> nmEnroll('/home/ndmgr/clustdomain','/home/ndmgr')
> exit()
|