Agent Install Guide - JAVA and
Agent Install Guide - JAVA and
Agent Install Guide - JAVA and
RELEASE AUTOMATION
Doc v1.6
CONTENTS
.NET (Windows)
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
NOTE: Make sure you replace hostname with the name of the server .
Please enter just the SERVER NAME instead of the full name/FQDN of the server
Example: HOSTNAME should be entered as WPQMA534 instead of WPQMA534.ads.aexp.com
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
10
11
12
Step 2 (Continuing Uninstallation)
Click Next when prompted.
13
JAVA (Linux)
15
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
16
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
17
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
18
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
19
cp nolio_agent_linux_5_5_2_b191.sh /tmp
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
20
pbrun /bin/su -
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
21
chmod +X nolio_agent_linux_5_5_2_b191.sh
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
22
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
23
cd /opt/CA/NolioAgent/conf
(NOTE: Agent can only be installed on port 6600)
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
24
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
25
26
27
28
If you accidentally installed the Agent using the wrong execution server or hostname, it is possible to fix this without reinstalling the Agent. You must have
root access to make the necessary changes.
Step 1 (Logging into target server)
Log into the target server using your UNIX ID.
29
cd /opt/Nolio/NolioAgent/conf
30
31
If you installed the Agent on the wrong execution server, navigate to the supernode element. Change the supernode to the correct execution server.
32
JAVA (Solaris)
34
SOLARIS 9 x86
First, you must download the Agent from: http://wpdcldwa00321.ads.aexp.com:8080/rasoftware/nolio_agent_solaris-x86-jre6_5_5_2_b191.sh
Click Continue to this website
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
35
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
36
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
37
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
38
Solaris 9
cp nolio_agent_solaris-x86-jre6_5_5_2_b191.sh /tmp
Solaris 10, 11
cp nolio_agent_solaris-x86_5_5_2_b191.sh /tmp
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
39
pbrun /bin/su -
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
40
chmod +X nolio_agent_solaris-x86jre6_5_5_2_b191.sh
Solaris 10, 11
chmod +X nolio_agent_solaris-x86_5_5_2_b191.sh
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
41
Step 9 (Installing Agent)
Command for Agent installation (Solaris 9) Note: Please Remove -jre6 in the command
below for Solaris 10, 11
$ /tmp/ nolio_agent_solaris-x86-jre6_5_5_2_b191.sh -q Vsys.installationDir=/opt/CA/NolioAgent -Vnolio.nimi.node.id=HOSTNAME Vnolio.nimi.port=6600 -Vinstall.service.lsa$Boolean=true Vnolio.nimi.secured$Boolean=false -Vnolio.execution.name=wvpma947.gso.aexp.com Vnolio.execution.port=6600
NOTE: Make sure you replace hostname with the name of the server .
Please enter just the SERVER NAME instead of the full name/FQDN of the server
Example: HOSTNAME should be entered as lpdwa888 instead of lpdwa888.trcw.us.aexp.com
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
42
cd /opt/CA/NolioAgent/conf
(NOTE: Agent can only be installed on port 6600)
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
43
Note: The screens are for representation purposes only. Actual Version#s may be different than the one shown
44
45
46
47
If you accidentally installed the Agent using the wrong execution server or hostname, it is possible to fix this without reinstalling the Agent. You must have
root access to make the necessary changes.
Step 1 (Logging into target server)
Log into the target server using your UNIX ID.
48
cd /opt/Nolio/NolioAgent/conf
49
50
If you installed the Agent on the wrong execution server, navigate to the supernode element. Change the supernode to the correct execution server.
51
JAVA (zLinux)
53
54
PREREQUISITES
Download the Generic Agent Installer. Link http://wpdcldwa00321.ads.aexp.com:8080/rasoftware/nolio_agent_5_5_2_b191.sh
LARA uses JRE 1.7 (32-bit) or later and JRE 1.7 (31-bit) needed to run agent installation on zLinux servers
Any client used to transfer the Nolio Agent file for staging needs to ensure they are using "binary" transfer or the file will get
corrupted. If one chooses to use SCP via command line to transfer the shell file, the file is transferred as is and one does not have to
specifically set transfer mode to "binary
IMPORTANT: For zLinux/AIX servers, you must use the Generic Nolio Agent: nolio_agent_5_5_2_b191.sh [NOT the one with OS type:
nolio_agent_linux_5_5_2_b191.sh or installation will fail! ]
Step 4 Run the following two commands to ensure the installation is pointing to the correct java version of your choice.
Note: /usr/java/jre1.7.0_60/bin/java will equal your java installation path. If you do not run these commands,
it'll use the base version of java (java -version).
Command:
ln -sf /usr/java/jre1.7.0_60/bin/java /etc/alternatives/java
ln -sf /etc/alternatives/java /usr/bin/java
55
56
Step 7
Open the nimi_config.xml file within the /opt/bin/CA/nolioAgent/conf directory.
Verify that the <supernode> shows the correct LARA server installed as port 6600 using DNS instead of IP.
For the specific installation used to build these instructions, the server was "wvpma1020.gso.aexp.com:6600
Under the first <supernode> tag add another <supernode> tag with wvpma1021.gso.aexp.com:6600
So it would look like
<supernodes>
<supernode>wvpma1020.gso.aexp.com:6600</supernode>
<supernode>wvpma1021.gso.aexp.com:6600</supernode>
</supernodes>
Step 8
Navigate to /opt/CA/NolioAgent and run service nolioagent restart
Step 9
Validate that the agent is running locally.
Command:
ps -aef | grep Nolio
57
Example:
[root@LPSHA503 NolioAgent]# ps -aef | grep Nolio
root
27923
1 0 14:32 ?
00:00:00 /opt/CA/NolioAgent/bin/wrapper-linuxx86-32 /opt/CA/NolioAgent/conf/wrapper.conf wrapper.syslog.ident=NolioAgent
wrapper.pidfile=/opt/CA/NolioAgent/./NolioAgent.pid wrapper.name=NolioAgent
wrapper.displayname=Nolio Deployer Agent Service wrapper.daemonize=TRUE
wrapper.statusfile=/opt/CA/NolioAgent/./NolioAgent.status
wrapper.java.statusfile=/opt/CA/NolioAgent/./NolioAgent.java.status
wrapper.lockfile=/var/lock/subsys/NolioAgent
root
27925 27923 0 14:32 ?
00:00:04 ./jre/bin/NolioAgent Djava.ext.dirs=./jre/lib/ext:./lib:./libNoUpgrade:./lib/ext:./lib/db -Duser.country=US
-Duser.language=en -Djava.library.path=./lib:./bin -classpath ./lib/wrapper.jar Dwrapper.key=_qAYyQzjzpu914d7Brbxe1RAvlx6V2H2 -Dwrapper.port=32001 Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 Dwrapper.disable_console_input=TRUE -Dwrapper.pid=27923 -Dwrapper.version=3.5.6-st Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 Dwrapper.jvmid=1 -Dwrapper.lang.domain=wrapper -Dwrapper.lang.folder=../lang
com.nolio.platform.deployer.AgentWrapper com.nolio.platform.agent.Deployer
root
28211 27673 0 14:47 pts/1
00:00:00 grep Nolio
[root@LPSHA503 NolioAgent]#
--FINISHED!-Everything should now be correctly configured. LARA team should be able to validate the agent is running from their end to
ensure proper installation. Please Open a SEV 5 incident with LARA_AXP_AM if you are facing any issues with the agent
installation.