Install oms agent
sh omsagent-1.4.3-174.universal.x64.sh --install --enable-opsmgr
Check the OMI version is omi-1.4.1-0
Run command with root account
/opt/omi/bin/omicli iv root/mysql { MySQL_Server } UpdateCredentials { Port 3306 BindAddress 127.0.0.1 Username root Password xxxxx }
Run command with scxuser account
/opt/omi/bin/omicli iv root/mysql { MySQL_Server } UpdateCredentials { Port 3306 BindAddress 127.0.0.1 Username scxuser Password xxxx }
Upgrade Omi to omi-1.4.3-1
rpm -U omi-1.4.3-1.ulinux.x64.rpm
Run command with root account
/opt/omi/bin/omicli iv root/mysql { MySQL_Server } UpdateCredentials { Port 3306 BindAddress 127.0.0.1 Username root Password xxxxx }
Run command with scxuser account
/opt/omi/bin/omicli iv root/mysql { MySQL_Server } UpdateCredentials { Port 3306 BindAddress 127.0.0.1 Username scxuser Password xxxx }
Expect: command worked well under scxuser account.
Actually: the command will hung at step 7
Env: a24p64-cent6-01 10.150.103.19