Skip to main content

Installation Operation Agent 11.0.44 on Solaris SPARC (10)

1. Copy Operation Agent https Installation Master from HPOM to managed node using SCP/SFTP

2. Edit Host file at /etc/hosts and add line for HPOM mgmt FQDN

3. test the connection using ping and telnet to HPOM mgmt server

4. check prerequisites with "./oasetup.sh -install -precheckonly" command Results should be:
root@prodapp01 # ./oasetup.sh -install -precheckonly
INFO: Validating pre-requisites for installation on prodapp01

Requirements:
--------------
[ PASS ] Is user root
[ PASS ] Is Operating system Solaris
[ PASS ] Is processor sparc
[ PASS ] Check if DCE Agent is not installed [ PASS ] Check if version of
Operations Agent installed is supported for upgrade [ PASS ] 450 MB free disk
space required for opt and var together [ PASS ] Is SUNWlibC package
installed [ PASS ] Is SUNWlibms package installed [ PASS ] Is SUNWmfrun
package installed [ PASS ] Is SUNWxwplt package installed

Recommendations:
-----------------
[ PASS ] SNMP Agent for MIB Monitoring

STATUS: All checked prerequisites are OK.

INFO: prodapp01 meets all pre-requisites

root@siptprodapp01 #


5. install the operation agent using "./oasetup.sh -install -management_server
-certificate_server ", example
root@prodapp01 # ./oasetup.sh -install -management_server hpom.mgmt.com -certificate_server hpom.mgmt.com

6. after installation there will be ERROR message:
[11/02/12 14:50:45] [HPOvEaAgt] [configure] [INFO] Activation parameters are :
-srv = hpom.mgmt.com , -cert_srv = hpom.mgmt.com , -configure =
Starting opcactivate utility.

NOTE: opcactivate script will use the values:
OVO Server hostname: hpom.mgmt.com
Certificate Server hostname: hpom.mgmt.com
OV Control Core boot entry: true

ERROR: Cert server could not be reached
Setting OV Control boot entry to true
NOTE: Not disabling remote trace access.
Starting PERF.
Starting OVC.
Starting OPCAGT.
opcactivate successfully ended.
[11/02/12 14:50:58] [HPOvEaAgt] [configure] [ERROR] Product activation failure.
Refer log file for more detail
[11/02/12 14:50:58] [oasetup] [oasetup] [ERROR] Product activation failure. Refer
log file for more detail


7. run command "./ovcoreid" and make sure you noted this in your notepad/textpad, example:
e166b3cc-855e-7561-18a7-d5711dd7a82e

8. Go to HPOM mgmt server, and add the managed node manually using node editor

9. while adding make sure to untick auto deployment located in "network" tab,

10. and from the "system" tab, tick the certificate section to "allow automatic granting of certificate"

11. still at HPOM mgmt open a command prompt and issue a certificate for that
particular node using the core id noted before, example:
C:\Users\Administrator>ovcm -issue -file prodapp01 -name prodapp01 -pass 123 -coreid e166b3cc-855e-7561-18a7-d5711dd7a82e

12. copy the certificate file to the managed node using SFTP/SCP (prodapp01 file)

13. Go to the managed node and run "ovcert -importcert -file /tmp/prodapp01" put in the password (in this case "123" see point no. 11)

14. check for ov config parameter, should be missing some parameter, example: [agtrep]
ACTION_TIMEOUT=3
INSTANCE_DELETION_THRESHOLD=5

[conf.server]
NOMULTIPLEPOLICIES=mgrconf,msgforwarding,servermsi,ras

[ctrl]
START_ON_BOOT=true

[eaagt]
OPC_INSTALLATION_TIME=Fri Nov 2 09:47:03 WIB 2012
OPC_INSTALLED_VERSION=11.00.044

[sec.core]
CORE_ID=e166b3cc-855e-7561-18a7-d5711dd7a82e


15. edit the ov config parameter until looks like below: [agtrep]
ACTION_TIMEOUT=3
INSTANCE_DELETION_THRESHOLD=5

[conf.server]
NOMULTIPLEPOLICIES=mgrconf,msgforwarding,servermsi,ras

[ctrl]
START_ON_BOOT=true

[eaagt]
INSTALL_OPCAUTH=true
OPC_INSTALLATION_TIME=Fri Nov 2 14:11:58 WIB 2012
OPC_INSTALLED_VERSION=11.00.044
OPC_NODENAME=prodapp01
OPC_PERL_LIB_DIR=/opt/OV/nonOV/perl/a/lib

[eaagt.lic.data]
ovoagt=1
ovoagteval=1
rtimeeval=1

[eaagt.sysdata]
agtbits=32
cpu=96
cputype=sparc
osbits=64
osfamily=unix
osname=SunOS
ostype=SunOS
osvendor=Sun
osversion=5.10
timestamp=Thu Nov 1 16:10:50 2012

[sec.cm.certificates]
CERT_INSTALLED=TRUE
LAST_CERT_UPDATE=Fri Nov 2 14:14:51 2012 LAST_TRUSTED_CERT_UPDATE=Thu Nov 1
15:49:50 2012

[sec.cm.client]
CERTIFICATE_SERVER=hpom.mgmt.com

[sec.core]
CORE_ID=e166b3cc-855e-7561-18a7-d5711dd7a82e

[sec.core.auth]
MANAGER=hpom.mgmt.com
MANAGER_ID=ce5af242-3da2-7561-0ddc-d544b03c2a3c

*note: take note that this info (other paramaters) can be found by running
"ovconfchg -edit" from the HPOM management server

16. kill the agent using "ovc -kill"

17. start the agent using "ovc -start"

18. check the certificate using "ovcert -list" "ovcert -check" "ovcert -status", if all OK go to next step

19. check the bbc communication from the node to the HP OM server using "bbcutil -ping hpom.mgmt.com" and vice versa "bbcutil –ping prodapp01” from HP OM to managed node

20. Go to HPOM mgmt Server and check if ovcoreid of the node is already installed and the node is already using coreid that just created

21. deploy some policies, done!

Comments

Popular posts from this blog

Menginstall Nginx, MySQL, PHP on Ubuntu Bionic Beaver (18.04 LTS)

TAHAP I - INSTALL NGINX ns@ubuntu:~$ sudo apt install nginx TEST INSTALLASI NGINX ns@ubuntu:~$ curl http://ip_localhost TAHAP II - INSTALL MYSQL ans@ubuntu:~$ sudo apt install mysql-server ans@ubuntu:~$ sudo mysql_secure_installation Set password untuk mySql secure connection ans@ubuntu:~$ sudo mysql mysql> SELECT user,authentication_string,plugin,host FROM mysql.user; mysql>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; dimana 'password' di set sesuai keperluan lalu cek lagi, mysql> SELECT user,authentication_string,plugin,host FROM mysql.user; TAHAP III - INSTALL PHP ans@ubuntu:~$ sudo apt install php-fpm php-mysql ubah cgi.fix_pathinfo dari 1 menjadi 0 di file php.ini ans@ubuntu:~$ sudo nano /etc/php/7.2/fpm/php.ini cgi.fix_pathinfo=0 restart service php: ans@ubuntu:~$ sudo systemctl restart php7.2-fpm KONFIG AGAR NGINX MENGGUNAKAN PHP PROCESSOR edit file def

Darkstat - Nework Traffic Analyzer atau Monitor Jaringan

Darkstat - Nework Traffic Analyzer atau Monitor Jaringan Apa itu Darkstat? Darkstat adalah pengumpul statistik jaringan. Secara efektif, ini adalah paket sniffer yang berjalan sebagai proses latar belakang pada Kabel / DSL router, mengumpulkan segala macam statistik berguna tapi menarik, Dan melayani mereka melalui HTTP. Fitur Darkstat Grafik lalu lintas Melacak lalu lintas per host. Melacak lalu lintas per port TCP dan UDP untuk setiap host. Embedded web-server dengan deflate compression. Asynchronous reverse DNS resolution menggunakan proses child. Kecil. Portable. Single-threaded. Efisien. Instalasi Darkstat di Ubuntu ~$ sudo Apt-get install darkstat Ini akan menyelesaikan instalasi. Setelah Anda menyelesaikan instalasi, Anda perlu mengedit file yang terletak di /etc/darkstat/init.cfg START_DARKSTAT = no menjadi START_DARKSTAT = iya Start darkstat  # / Etc / init.d / darkstat start Ini akan memulai proses darkstat Arahkan browser Anda di http:

Mount ISO image file on HP-UX

There are 2 ways to mount iso file in hp-ux 1) using LVM method (to copy ISO into a logical volume) is the same as for older HP-UX releases: 1. Find out the size of the ISO image: # du -k /data/myImage.iso NOTE: The size will be in Kb. 2. Create a logical volume for the ISO image: # lvcreate -L -n iso /dev/vg00 NOTE: The name of the logical volume will be /dev/vg00/iso 3. Copy the ISO file to the raw logical volume: # dd if=/data/myImage.iso of=/dev/vg00/riso bs=64k 4. Create a temporary directory and mount the /dev/vg00/iso volume # mkdir /iso_image # mount /dev/vg00/iso /iso_image NOTE: For HP-UX 11.11 you must install the latest CDFS patches: PHCO_25841 Add Rock Ridge extension to mount_cdfs(1M) PHKL_26269 Rock Ridge extension for ISO-9660 PHKL_34153 CDFS cumulative patch 2) Available in HP-UX 11.31 0909: ISOIMAGE-ENH. Provides a new DLKM module fspd. Required to mount, read and umount the ISO image file. The comm