Update 2017/01/09: After some discussions with colleagues… you need to know, that for Data Protector clients “systemd” is used and only on Cell Manager the legacy mode with “xinetd” is leveraged. Even with the legacy mode there is no need to change to “systemd”, as “xinetd” is supported on RHEL too.
There are Data Protector customers interested to use systemd on RHEL 7, instead of xinetd. A colleague (Michael S.) sent a short how to with the required steps.
- Modify file
/etc/xinetd.d/omniand change the parameter disable:disable = yes. Optional: Move the file to another location or delete it. - Create the file
data-protector.socketin folder/etc/systemd/systemand add the following entries:
[Unit] Description=Data Protector Socket [Socket] ListenStream=5555 Accept=yes BindIPv6Only=both [Install] WantedBy=sockets.target
- Create the file
data-protector@.servicein folder/etc/systemd/systemand add the following entries:
[Unit] Description=Data Protector Server [Service] ExecStart=/opt/omni/lbin/inet -log /var/opt/omni/log/inet.log User=root StandardInput=socket
- Restart daemon
xinetdto deactivate port 5555:systemctl restart xinetd - Enable the socket
data-protector.socketusing the command:systemctl enable data-protector.socket - Start the socket
data-protector.socketusing the command:systemctl start data-protector.socket - Verify port 5555 using the command:
netstat –an | grep 5555orss –ln | grep 5555orss –l | grep omni - If possible try to restart the server to verify the changes made are psersistent.
- As usual, you could leverage telnet for the verification:
[root@rheldp908 ~]# telnet rheldp907 5555 Trying 192.128.253.132... Connected to rheldp907. Escape character is '^]'. HP Data Protector A.09.00: INET, internal build 110, built on Thu Aug 11 12:37:31 2016 Connection closed by foreign host.