To change the Odin Business Automation Standard (OBAS) system hostname, use the following instructions.
- Make sure that the new hostname is resolving properly to the IP address assigned to the OBAS server.
Set the new hostname for the OBAS server using the following commands on the Virtuozzo hardware node where your OBAS container resides:
~# vzctl stop %CTID% ~# vzctl set %CTID% --hostname %NEWHOSTNAME% --save ~# vzctl start %CTID%
%NEWHOSTNAME%variable in the command above should be replaced with the new hostname to be assigned to the OBAS system and
%CTID%should be replaced with the real ID of the container.
Execute the following command inside the OBAS server:
~# hspc-config --reset-hostname
Check the OBAS Store URL on the
Top > Commerce Director > Store Manager > Configure Storescreen in your Provider Control Panel and update it if required using the Edit button.
- If SSL is configured for the Provider Control Panel, you will need to update the SSL certificate on the
Top > Configuration Director > Miscellaneous settings > SSL Setupscreen to avoid a warning message regarding SSL certificate mismatch.
For a OBAS server running on SUSE Enterprise Linux, make sure you have hostname set in FQDN form. For example:
if hostname is "
myhost.mydomain.com", then all is correct. if hostname is just "
myhost", then execute
# hostname myhost.mydomain.com
- Changing the hostname for a running container with a running MySQL server could cause issues with MySQL server behavior. This is because MySQL server initscripts/tools depend on "
hostname" output and, when the container hostname is changed in runtime, MySQL server might be unable to find some runtime files (the pid file, for example) which were created before hostname was changed.