Monday, October 17, 2022

JDE 64 Bit Full Package

 

In order to do first 64 Bit Full package for Fresh Install (when 32 bit Package not build), then add these specs to Base Full package. 

Add Specs to Full Package -
INSERT INTO DV920.F98710DV920FA SELECT * FROM DV920.F98710 WHERE THOBNM = 'F00942T';
INSERT INTO DV920.F98710DV920FA SELECT * FROM DV920.F98710 WHERE THOBNM = 'F98780R';
INSERT INTO DV920.F98710DV920FA SELECT * FROM DV920.F98710 WHERE THOBNM = 'F98780H';


INSERT INTO DV920.F98711DV920FA SELECT * FROM DV920.F98711 WHERE TDOBNM = 'F00942T';
INSERT INTO DV920.F98711DV920FA SELECT * FROM DV920.F98711 WHERE TDOBNM = 'F98780R';
INSERT INTO DV920.F98711DV920FA SELECT * FROM DV920.F98711 WHERE TDOBNM = 'F98780H';


INSERT INTO DV920.F98712DV920FA SELECT * FROM DV920.F98712 WHERE TPOBNM = 'F00942T';
INSERT INTO DV920.F98712DV920FA SELECT * FROM DV920.F98712 WHERE TPOBNM = 'F98780R';
INSERT INTO DV920.F98712DV920FA SELECT * FROM DV920.F98712 WHERE TPOBNM = 'F98780H';


INSERT INTO DV920.F98713DV920FA SELECT * FROM DV920.F98713 WHERE TLOBNM = 'F00942T';
INSERT INTO DV920.F98713DV920FA SELECT * FROM DV920.F98713 WHERE TLOBNM = 'F98780R';
INSERT INTO DV920.F98713DV920FA SELECT * FROM DV920.F98713 WHERE TLOBNM = 'F98780H';

Friday, October 14, 2022

Start Weblogic Admin Server, Node Manager and Server Manager Agent on Linux

 

Start Weblogic Admin Server, Node Manager and Server Manager Agent on Linux


1 Create system service files:

1.1 adminserver system service file

# vi /usr/lib/systemd/system/wls_adminserver.service

----------------------------------------------------

[Unit]

Description=WebLogic Adminserver Service

After=network.target 

[Service]

Type=simple

WorkingDirectory=/apps/oracle/middleware/user_projects/domains/E1_HTTP

ExecStart=/apps/oracle/middleware/user_projects/domains/E1_HTTP/bin/startWebLogic.sh

ExecStop=/apps/oracle/middleware/user_projects/domains/E1_HTTP/stopWebLogic.sh

User=oracle

Group=oinstall

[Install]

WantedBy=multi-user.target


1.2 nodemanager system service file

# vi /usr/lib/systemd/system/wls_nodemanager.service

------------------------------------------------------

[Unit]

Description=WebLogic NodeManager Service

After=network.target 

[Service]

Type=simple

WorkingDirectory=/apps/oracle/middleware/user_projects/domains/E1_HTTP

ExecStart=/apps/oracle/middleware/user_projects/domains/E1_HTTP/bin/startNodeManager.sh

ExecStop=/apps/oracle/middleware/user_projects/domains/E1_HTTP/bin/stopNodeManager.sh

User=oracle

Group=oinstall

[Install]

WantedBy=multi-user.target



1.3 JDE SM Agent system service file

# vi /usr/lib/systemd/system/wls_smagent.service

------------------------------------------------------

[Unit]

Description=Server Manager Agent Service

After=network.target


[Service]

Type=oneshot

WorkingDirectory=/apps/jde_home_agent/SCFHA

ExecStart=/apps/jde_home_agent/SCFHA/bin/startAgent

ExecStop=/apps/jde_home_agent/SCFHA/bin/stopAgent

RemainAfterExit=yes

User=oracle

Group=oinstall


[Install]

WantedBy=multi-user.target



3) Test the system service :

3.1 start system service

# systemctl start wls_adminserver.service

# systemctl start wls_nodemanager.service

# systemctl start wls_smagent.service

3.2 stop system service

# systemctl stop wls_adminserver.service

# systemctl stop wls_nodemanager.service

# systemctl stop wls_smagent.service

4) Set the service to start automatically at systm reboot :

# systemctl enable wls_adminserver.service

# systemctl enable wls_nodemanager.service

# systemctl enable wls_smagent.service

# systemctl list-unit-files|grep wls