Bug #34284 Enterprise Manager - agent installer unable to veryfy hostname / IP address
Submitted: 4 Feb 2008 14:57 Modified: 4 Mar 2008 18:24
Reporter: Bogdan Kecman Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:1.3 OS:Any
Assigned to: BitRock Merlin CPU Architecture:Any
Tags: Agent, hostname verification, installation, mem, Merlin

[4 Feb 2008 14:57] Bogdan Kecman
Description:
When agent is installed on a server with multiple IP aliases, installer fails to verify IP address. The server is running with 10+ IP aliases (all of them properly in DNS). Separate mysqld process is binded to each virtual IP.

How to repeat:
[root@dc01mdb-01 ~]# ./mysqlserviceagent-1.2.0.7879-linux-x86_64-glibc2.3-installer.bin
----------------------------------------------------------------------------
Welcome to the MySQL Enterprise Service Agent Setup Wizard.

----------------------------------------------------------------------------
Please specify the directory where MySQL Enterprise Service Agent will be installed

Installation directory [/opt/mysql/enterprise/agent]:

----------------------------------------------------------------------------
Monitored Database Information

MySQL hostname or IP address [127.0.0.1]: bpmdb-vip

Validate MySQL hostname or IP address [Y/n]: y

Hostname to display []: bpmdb-vip (DEV)

MySQL Port [3306]:

MySQL Username []: merlin_agent

MySQL Password :
Re-enter :
Warning: Please enter a valid hostname or IP address
Press [Enter] to continue :
----------------------------------------------------------------------------
Monitored Database Information

MySQL hostname or IP address [bpmdb-vip]:
[1]+ Stopped ./mysqlserviceagent-1.2.0.7879-linux-x86_64-glibc2.3-installer.bin
[root@dc01mdb-01 ~]# host bpmdb-vip
bpmdb-vip.xxx.xxx.xxx has address 10.149.204.14
[root@dc01mdb-01 ~]# fg
./mysqlserviceagent-1.2.0.7879-linux-x86_64-glibc2.3-installer.bin
bpmdb-vip

Validate MySQL hostname or IP address [Y/n]:

Hostname to display [bpmdb-vip (DEV)]:

MySQL Port [3306]:

MySQL Username [merlin_agent]:

MySQL Password [********] :
Re-enter [********] :
Warning: Please enter a valid hostname or IP address
Press [Enter] to continue :
[root@dc01mdb-01 ~]# 

Suggested fix:
make the validation understand the virtual addresses
[4 Feb 2008 15:04] Bogdan Kecman
Workaround
 - If you enter IP address instead of hostname, installer will properly verify it

Workaround1
 - if you do skip the verification the agent will work properly with the hostname
[15 Feb 2008 18:55] BitRock Merlin
Patch sent to Keith.
[26 Feb 2008 20:39] Keith Russell
Patch applied in build revisions => 8933
[4 Mar 2008 18:24] Peter Lavin
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.
Added to the changelog for version 1.3.