====== VIOS Agent (VA) Setup ====== The VIOS agent is already installed as part of VIOS. Changes to the configuration are performed on the VIOS server itself. IBM PMR 00078 currently open for VIOS agent as this is not returning data for most installs. 1. Login as padmin to the VIOS server (e.g b0017-vios1sd). 2. List available agents on the VIOS server: $ lssvc 3. List configuration information for the VIOS agent: $ cfgsvc –ls ITM_premium 4. Set the configuration values for the agent: $ cfgsvc ITM_premium -attr Restart_On_Reboot=true hostname=itmprtem.unix.brm.pri managing_system=hmc1.brm.pri 5. On the HMC to get the authkey for the agent: viosvrcmd -m Server-9119-595-1-SN83724B2 -p B0017-VIOS1SD -c "cfgsvc -key ITM_premium" 6. On the HMC add the authkey to the HMCs authorized_keys2 file: $ mkauthkeys --add 'output from viosvrcmd' 7. On the VIOS server ensure that the known_hosts file exists with the correct permissions. $ touch /home/padmin/.ssh/known_hosts $ chown padmin:system /home/padmin/.ssh/known_hosts $ ssh hscroot@hmc1.brm.pri (and confirm the ssh prompt) 8. On the VIOS server update the /opt/IBM/ITM/config/va.ini file to add the following lines for agent autonomy mode: CTIRA_RECONNECT_WAIT=600 CTIRA_PRIMARY_FALLBACK_INTERVAL=1500 9. On the VIOS server start the agent $ startsvc ITM_premium The startup may complain about being unable to establish authenticity but the agent but should still start. 10. See the example below for setup on B0017-VIOS2SD: ON VIOS SERVER: $ lssvc ITM_premium ITM_cec TSM_base ITUAM_base TPC_data TPC_fabric DIRECTOR_agent perfmgr ipsec_tunnel $ cfgsvc -ls ITM_premium MANAGING_SYSTEM HOSTNAME RESTART_ON_REBOOT $ cfgsvc ITM_premium -attr Restart_On_Reboot=true hostname=itmprtem.unix.brm.pri managing_system=hmc1.brm.pri mirror=itmprtemf.unix.brm.pri Agent configuration started... Agent configuration completed... ON THE HMC: hscroot@b0019:~> viosvrcmd -m Server-9119-595-1-SN83724B2 -p B0017-VIOS2SD -c "cfgsvc -key ITM_premium" ssh-rsa AAAB3NzaC1yc2EAAAABIwAAAQEA0bbTSOxf61vEOXMq3xXkp1dmpLb/l ...edited... yGvS+RbB71zeFHlx5iAz2q7fTGoPjvCbIOIxxUGlkCc6+q4/09iM6RpZdJKupwDu63UjU h+PUNKTf4I9aEDsp7JjmHyF7kvoMfZpx29UotD1wrcfKYgrQ== root@B0017-VIOS2SD’ hscroot@b0019:~> mkauthkeys --add 'ssh-rsa AAAB3NzaC1yc2EAAAABIwAAAQEA0bb TSOxf61vEOXMq3xXkp1dmpLb/lovjr4AnQqQZoDcQRn4gED/rbQi8qa8hyd+OA9COQX ...edited... 9iM6RpZdJKupwDu63UjUh+PUNKTf4I9aEDsp7JjmHyF7kvoMfZpx29UotD1wrcfKYgrQ == root@B0017-VIOS2SD’ ON VIOS SERVER: $ ssh root@hmc1.brm.pri The authenticity of host 'hmc1.brm.pri (10.87.48.55)' can't be established. RSA key fingerprint is 38:0d:0a:d4:0e:63:f5:67:8b:a1:da:5b:c8:a9:11:60. Are you sure you want to continue connecting (yes/no)? $ startsvc ITM_premium Starting Premium Monitoring Agent for VIOS ... Premium Monitoring Agent for VIOS started