UCCX 8.5 HA NTP issues (virtual servers)

Hello,
I'm working with an UCCX HA server that is having NTP issues. It reports that it is synchronized, but at stratum 16, which is considered to be unsynchronized. Also, it's always exactly 3 seconds off. I'm not sure if this is related, yet, but every time the servers failover, agents get licensing errors and cannot log into CAD.
PRIMARY UCCX
admin:utils ntp status
ntpd (pid 17380) is running...
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*198.147.23.5    139.78.135.14    2 u  291  512  377   37.758    5.479   0.298
+173.203.211.73  71.252.193.25    3 u  164  512  377   14.891   -1.871   0.106
+204.13.164.164  140.142.16.34    2 u  157  512  377   68.322   -0.486   0.053
synchronised to NTP server (198.147.23.5) at stratum 3
   time correct to within 57 ms
   polling server every 512 s
Current time in UTC is : Mon Mar 11 16:01:09 UTC 2013
Current time in America/Denver is : Mon Mar 11 10:01:09 MDT 2013
HA UCCX
admin:utils ntp status
ntpd (pid 16801) is running...
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*10.10.130.12    198.147.23.5     3 u   24   64   17   56.269  -2318.6   1.887
synchronised to NTP server (STEP) at stratum 16
   time correct to within 251 ms
   polling server every 64 s
Current time in UTC is : Mon Mar 11 16:01:12 UTC 2013
Current time in America/Denver is : Mon Mar 11 10:01:11 MDT 2013
Additionally, the following alert shows up in RTMT
At Wed Feb 13 11:11:17 MST 2013 on node 10.10.111.12; the following SyslogSeverityMatchFound events generated: SeverityMatch : Critical MatchedEvent : Feb 13 11:11:06 MVTUCCXHA2 user 2 ntpRunningStatus.sh: The local NTP client is off by more than the acceptable threshold of 3 seconds from its remote NTP system peer. The normal remedy is for NTP Watch Dog to automatically restart NTP. However; an unusual number of automatic NTP restarts have already occurred on this node. No additional automatic NTP restarts will be done until NTP time synchronization stabilizes. This is likely due to an excessive number of VMware Virtual Machine migrations or Storage VMotions. Please consult your VMware Infrastructure Support Team. AppID : Cisco Syslog Agent ClusterID : NodeID : MVTUCCXHA2 TimeStamp : Wed Feb 13 11:11:06 MST 2013
The servers are installed in a VMWare vSphere virtual environment on Cisco-approved IBM hosts. They have not been vmotioned or storage vmotioned.
Originally, the servers were configured to get time from Microsoft domain controllers. Since they use SNTP and UC servers require NTPv4, I configured the primary UCCX server to use public NTPv4 servers. I have updated vmware tools on both servers and rebooted the servers and restarted ntp services, but nothing will get time to synchronize on the HA server.
Finally, there are other UC servers (CUCM & CUC) set up to use the same NTP servers, but the HA servers cannot synchronize their time no matter what I do. I've tried different NTP servers both on the LAN and public ones. I thought I would include this detail since my gut is telling me that this issue has something to do with the virtual environment.
HA CUC
admin:utils ntp status
ntpd (pid 14554) is running...
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
10.10.111.11    204.13.164.164   3 u    -   64    1   50.504  431.491 221.689
unsynchronised
  time server re-starting
   polling server every 64 s
Current time in UTC is : Mon Mar 11 15:20:22 UTC 2013
Current time in America/Denver is : Mon Mar 11 09:20:22 MDT 2013
I can see NTP traffic between the two servers:
admin:utils network capture port 123
Executing command with options:
size=128                count=1000              interface=eth0
src=                    dest=                   port=123              
ip=                  
09:29:28.051951 IP MVTCUCNXHA.mvte.com.ntp > MVTCUCNXPRI.mvte.com.ntp: NTPv4, Client, length 48
09:29:28.105679 IP MVTCUCNXPRI.mvte.com.ntp > MVTCUCNXHA.mvte.com.ntp: NTPv4, Server, length 48
09:29:30.049773 IP MVTCUCNXHA.mvte.com.ntp > MVTCUCNXPRI.mvte.com.ntp: NTPv4, Client, length 48
09:29:30.100371 IP MVTCUCNXPRI.mvte.com.ntp > MVTCUCNXHA.mvte.com.ntp: NTPv4, Server, length 48
09:29:32.051282 IP MVTCUCNXHA.mvte.com.ntp > MVTCUCNXPRI.mvte.com.ntp: NTPv4, Client, length 48
09:29:32.103161 IP MVTCUCNXPRI.mvte.com.ntp > MVTCUCNXHA.mvte.com.ntp: NTPv4, Server, length 48
09:29:34.049279 IP MVTCUCNXHA.mvte.com.ntp > MVTCUCNXPRI.mvte.com.ntp: NTPv4, Client, length 48
09:29:34.100112 IP MVTCUCNXPRI.mvte.com.ntp > MVTCUCNXHA.mvte.com.ntp: NTPv4, Server, length 48
09:29:36.050723 IP MVTCUCNXHA.mvte.com.ntp > MVTCUCNXPRI.mvte.com.ntp: NTPv4, Client, length 48
09:29:36.101990 IP MVTCUCNXPRI.mvte.com.ntp > MVTCUCNXHA.mvte.com.ntp: NTPv4, Server, length 48
09:29:38.052193 IP MVTCUCNXHA.mvte.com.ntp > MVTCUCNXPRI.mvte.com.ntp: NTPv4, Client, length 48
09:29:38.103854 IP MVTCUCNXPRI.mvte.com.ntp > MVTCUCNXHA.mvte.com.ntp: NTPv4, Server, length 48
09:29:40.050156 IP MVTCUCNXHA.mvte.com.ntp > MVTCUCNXPRI.mvte.com.ntp: NTPv4, Client, length 48
09:29:40.100831 IP MVTCUCNXPRI.mvte.com.ntp > MVTCUCNXHA.mvte.com.ntp: NTPv4, Server, length 48
Any ideas?
Thanks!
Pashtoun

Thanks for the reply Graham! I'm aware that windows does not implement NTP correctly, which is why I was trying NTPv4 and IOS time servers.The NTP issue I was troubleshooting actually ended up being a combination of a couple issues:
1. Cisco Bug CSCtw46611
2. The virtual UC servers need to be configured with the same NTP server as those configured on the VMWare hosts they run in.
The time issue on CUCM and CUC was resolved by the workaround in (1) and the changes made on the hosts regarding (2). The time issue on UCCX was resolved by (2) since it is not affected by the bug. There were some really bizarre issues that went away once NTP was fixed: UCCX would lose data sync with CUCM every time CUCM was rebooted, the voice ports on the HA CUC server had terrible voice quality or would never pick up (eternal ringback), and UCCX failover didn't work (licensing errors, etc as explain in my original post).

Similar Messages

  • Issue on virtual servers on sun one web server

    Hi all,
    I configured sun webserver 6.1 sp8 on windows 2003 server
    I configured php,asp,jsp succesfully on different virtual servers.
    as
    www.abc.com:80
    www.php.com:2222
    www.asp.com:3333
    www.jsp.com:4444
    Now the issue is
    I want to run the applications by using url with out portno in the browser
    like www.php.com instead of www.php.com:2222
    my DNS is aware of the www.abc.com,www.php.com,asp.com,jsp.com
    From Internet I can access www.abc.com:80 as www.abc.com becoz it is running on port 80.
    If I type www.php.com it is directing to www.abc.com not to www.php.com:2222.
    In the host file under windows/system32/drivers/etc I added the following lines
    10.129.149.196 www.abc.com
    10.129.149.196 www.php.com
    10.129.149.196 www.asp.com
    10.129.149.196 www.jsp.com
    I want to run the applications without entering portno along with url in the browser.
    Can any one help me please.
    Thanks in advance

    Dear M.V,
    I choose one server(www.xyz.com) that is running on port 80,in its server.xml I added
    <VS id="https-pqr" connections="ls1" mime="mime1" aclids="acl1" urlhosts="www.pqr.com" state="on">
    <PROPERTY name="docroot" value="D:/Sun/WebServer6.1/docs"/>
    <USERDB id="default"/>
    <SEARCH>
    <WEBAPP uri="/search" path="D:/Sun/WebServer6.1/bin/https/webapps/search" enabled="true"/>
    </SEARCH>
    <WEBAPP uri="/" path="D:/Sun/WebServer6.1/https-pqr/webapps/https-pqr" enabled="true"/>
    </VS>
    which is of pqr virtual server that is running on port 3333
    Now with out port no ie, with www.pqr.com I am able to see the home page of application running on pqr virtual server.
    With this configuration I need to check at client environment
    If u find mistakes from the above configuration please let me know
    Thanks alot
    Bye

  • ANM 4.1 virtual servers issues

    I just loaded ANM 4.1 and imported my ACE modules and I am seeing some odd behavior in the Operations/Virtual servers tab. My virtual servers are showing up with multiple different VIP addresses under the IP Address:Protocol:Port.
    For Example VIP-WEB-80 shows up with the VIPs 192.168.1.1:80 and 192.168.2.35:443.  Only one of these addresses is associated with the VIP.  The other is associated with another VIP in a different context and different Policy Map.  Has anybody else seen this?  Is this a bug?  What can I do to fix this.

    Hello Doug-
    Looks like - CSCtk63104.
    Try checking the vips under the advanced configuration section, do they show up correctly?
    Regards,
    Chris Higgins

  • Best practices for setting up virtual servers on Windows Server 2012 R2

    I am creating a Web server from scratch with Windows Server 2012 R2. I expect to have a host server, and then 3 virtual servers...one that runs all of the web apps as a web server, another as a Database Server, and then on for session state.  I
    expect to use Windows Server 2012 R2 for the Web Server and Database Server, but Windows 7 for the session state.
    I have an SATA2 Intel SROMBSASMR RAID card with battery back up that I am attaching a small SSD drive that I expect to use for the session state, and an IBM Server RAID M1015 SATA3 card that I am running Intel 520 Series SSD's that I expect to
    use for Web server and Database server.
    I have some questions. I am considering using the internal USB with a flash drive to boot the Host off of, and then using two small SSD's in a Raid 0 for the Web server (theory being that if something goes wrong, session state is on a different drive), and
    then 2 more for the Database server in a RAID 1 configuration.
    please feel free to poke holes in this and tell me of a better way to do it.
    I am assuming that having the host running on a slow USB drive that is internal has no effect on the virtual servers after it is booted up, and the virtual servers are booted up?
    DCSSR

    I am creating a Web server from scratch with Windows Server 2012 R2. I expect to have a host server, and then 3 virtual servers...one that runs all of the web apps as a web server, another as a Database Server, and then on for session state.  I
    expect to use Windows Server 2012 R2 for the Web Server and Database Server, but Windows 7 for the session state.
    I have an SATA2 Intel SROMBSASMR RAID card with battery back up that I am attaching a small SSD drive that I expect to use for the session state, and an IBM Server RAID M1015 SATA3 card that I am running Intel 520 Series SSD's that I expect to
    use for Web server and Database server.
    I have some questions. I am considering using the internal USB with a flash drive to boot the Host off of, and then using two small SSD's in a Raid 0 for the Web server (theory being that if something goes wrong, session state is on a different drive), and
    then 2 more for the Database server in a RAID 1 configuration.
    please feel free to poke holes in this and tell me of a better way to do it.
    I am assuming that having the host running on a slow USB drive that is internal has no effect on the virtual servers after it is booted up, and the virtual servers are booted up?
    There are two issues about RAID0:
    1) It's not as fast as people think. So with a general purpose file system like NTFS or ReFS (choice for Windows is limited) you're not going to have any great benefits as there are very low chances whole RAID stripe would be updated @ the same time (I/Os
    need to touch all SSDs in a set so 256KB+ in a real life). Web server workload is quite far away from sequential reads or writes so RAID0 is not going to shine here. Log-structures file system (or at least some FS with logging capabilities, think about ZFS
    and ZIL enabled) *will* benefit from SSDs in RAID0 properly assigned. 
    2) RAID0 is dangerous. One lost SSD would render whole RAID set useless. So unless you build a network RAID1-over-RAID0 (mirror RAID sets between multiple hosts with a virtual SAN like or synchronous replication solutions) - you'll be sitting on a time bomb.
    Not good :)
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • Can I use virtual Servers in private cloud for RAC

    Hello  to all
    We are going to install an Oracle RAC on two servers
    But our Hardware Administrator says to us   “I Allocate two virtual servers in the our private cloud not two physical Servers (or real Servers)”
    Do you think it’s practical and reasonable to using virtual Server for Oracle RAC  in production environment ?
    Which one is better physical server or virtual server  for RAC?
    Please write your reasons
    Thanks

    Using virtual machines is officially  supported for RAC only in a few cases which can be found here:
    http://www.oracle.com/technetwork/database/virtualizationmatrix-172995.html
    Make sure that you meet these requirements in your private cloud. Some cases like vmware are still somewhat supported despite beeing not on the list.
    Beside this you should make sure that your 2 virtual machines run on different hardware servers in the cloud, otherwise you lose most parts of the rac advantage regarding high availability, when both virtual servers happen to run on the same hardware during a crash
    Virtual servers are used in production environments, but you will have to take greater care for many aspects of rac compared to physical hardware, e.g.. something like "live migration" of vmware can kill a rac node due to timeout.
    I would prefer hardware for rac anytime over virtual servers and spare me the hassle of dealing with all possible issues arising from the virtualization.
    And check oracles licensing policy...
    Running an enterprise edition rac on e.g. a large vmware cluster is insanely expensive, you pay every cpu core the rac COULD run on -> the entire cluster!
    If you must use virtual hardware but don't want to and need an argument against it use the license issue.
    Regards
    Thomas

  • ACE 4710 Operations Virtual Servers showing Oper State as N/A

    Hi All,
    Just wondering if anyone has come across the following issue before:
    We currently have a pair of ACE4710 in HA running A3(2.7) and when we have added new virtual servers any new ones show up under the Operations - Virtual Servers window as showing their Oper State as N/A. as follows:
    However, clicking on the N/A brings up a window showing that the virtual server is Active and inservice and handling traffic. This doesn't appear to be affect the services using the VIPs that have N/A against them as all appears to be fine.
    Just wonder if anyone had seen this before and if there is a reason for it.
    Thanks for you help in advance.
    Ryan

    Thanks for you reply bhartsfield. I mostly work from the CLI as the network engineer but we have server engineers who use the GUI to take things in and out of service if they are conductinh maintenence on the servers. So along with the N/A status it also is missing the current connection count which is also used by the server guys.
    The last time I created a VIP I did it via the GUI to see if it was a GUI issue not syncing with the CLI. I have also forced the DM to sync with CLI, but it still has the same results.
    Thanks again for your reply, at least I know I am not alone in seeing this behaviour
    Regards
    Ryan

  • ODI Agent and Virtual Servers (VMWare)

    Hi
    We are planning on moving to virtual servers (VMware product) in the near future.
    Has anyone had experience running ODI agent on a virtualised server. I can't envisage any problems, but Oracle do not specificallly support running on VM Ware (as they have their own VM product!!).
    Just wondering if theres anyone out there who has already tried this?
    Thanks for looking

    I agree, seen ODI and agents running on VMWare without any issues on many occasions.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Pvlans and virtual servers

    folks
    not sure if this is the correct place to post but i'm hopeful someone here will have used this scenario
    i have a existing and working pvlan with the usual community and isolated ports but i need to add a new setup to it
    i have a requirement to add a virtual server which will host serveral virtuals and they will all be on the same switch port
    has anyone any experience of this and if so are there any pitfalls to look out for
    the virtual servers shouldn't need to talk to each other and should only be talking to the promiscuous port on the default gateway
    thanks to anyone taking the time to read this or to reply

    Hi Bro
    I’ve never configured PVLAN in any of my deployments but I’m familiar with the do’s and don’t’s of PVLAN.
    Basically, your question here is, in a physical server, you’ll have many virtual servers. Each of these virtual servers will have a different IP Address, but same MAC Address, connected to a single switchport of a Cisco Switch.
    Even if you were to configure that particular switchport as “isolated”, this still wouldn’t resolve your issue. This is because you want to have a complete separation from one virtual server to another virtual server, within the same physical server connected to a single switchport of a Cisco Switch.
    I did some homework for you, and I believe VMWARE can do this. Please do refer to
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1010691
    P/S: If you think this comment is useful, please do rate them nicely :-)

  • Virtual servers are rebooting automatically

    Hello All,
    I am having an issue with Virtual Servers.
    I have 5 node cluster. Last week due to storage firmware upgradation we had some problems. after that we contacted storage expert and get it rectified. Now One of cluster node is having a issue. Once i move the VMs (This node is the owner of VMs) then the
    virtual servers are automatically rebooting. Now this node is ideal. In addition to that we checked all updates and run the failover test also..every thing is showing green.
    Can any one have solution for this, please help me.
    Thank you.
    Karan

    Hi Karan,
    Unfortunately, the available information is not enough to have a clear view of the occurred behavior. Could you provide more information about your environment. For example,
    the exact text of any error messages that you received that are associated with this problem? 
    The server version of the problem on, when you experience this issue what are you trying to do, when this problem occurs the system log record information, screenshots is the best information.
    The 1146 event just can offer us the cluster fail, but we still need more information, please post your cluster log. You can refer the following article to generate the cluster
    log.
    How to create the cluster.log in Windows Server 2008 Failover Clustering
    http://blogs.msdn.com/b/clustering/archive/2008/09/24/8962934.aspx
    If you are using 2008r2 cluster please install the Recommended hotfixes and updates for Windows Server 2008 R2 SP1 Failover Clusters updates then monitor this issue again.
    http://support.microsoft.com/kb/2545685
    More information:
    Event Logs
    http://technet.microsoft.com/en-us/library/cc722404.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Defining virtual servers using content-rules

    Can multiple virtual servers be "bound" to a single real server when all of the virtual servers have the same ip address and port, with the only difference between each virtual server being a unique content rule applied to each? (This is more of a migration issue, than a load-balance issue)

    I assume you are saying Web(HTTP) and the answer is yes.
    1. Your server should has name-based virtual hosting enabled if your server only use 1 IP address.
    2. In CSS, you can use single service for this server or use different services with different keepalive uri for each service.
    3. You can use a number of unique Content rules (same VIP, TCP 80 with different URLs) and add the service to it.
    Remarks: If you want to use unique Content rules, you should make them difference with URL, otherwise all the content rules are the same and you can't activate all.
    Another suggestion: If your server already support Name-VHOST, you can use just single L4 Content rule and all the traffic would be handled by that server (service).

  • Oracle has not certified Hyperion products on virtualized servers

    Hyperion's official stance:
    Oracle has not certified Hyperion products on virtualized environments;
    I'm surprised that there are users in this forum who are using VMware instead of physical servers. If you run into a bug, Oracle tech support require you to replicate that bug in physical servers before they will help you.
    Also, consultants tell us that data has been known to be lost by virtual servers.
    Has anyone good results from running Planning and Essbase on VMware?

    Thats right I dont personally have access to Metalink2.
    I found a statement on Metalink3:
    Click the knowledge tab, go to Advanced Search, tick all sources and in the Doc ID field enter 588303.1. Hit Search!
    You get the following statement:
    Hyperion Essbase
    Goal
    Describe support for Oracle's Hyperion Products in virtualized environments.
    Solution
    Oracle has not certified Hyperion products on third-party virtualized environments; however, Oracle Support will assist customers running Oracle’s Hyperion products on third-party virtualized environments as follows:
    When a customer logs a previously unreported issue, Oracle Support may require the issue to be diagnosed in a non-virtualized environment when there is reason to believe that the virtual environment is a contributing factor. Oracle Support may refer customers to the third-part virtualization vendor for issues that can not be duplicated in non-virtualized environments.
    When a problem has been previously reported and a resolution is available, Oracle support will recommend the appropriate solution on the non-virtualized OS. If that solution does not work in the virtual environment, the customer will be referred to their virtualization software vendor for support. If the customer demonstrates that the Oracle solution does not work when running on a non-virtualized OS, Oracle will resume support, including logging a bug with Oracle Development for investigation if required.
    While Oracle’s Hyperion products are expected to function properly in virtual environments, there may be performance implications, which can invalidate Oracle’s typical sizing recommendations. An analysis should be performed within the context of the specific application to be hosted in the virtual environment to mitigate potential resource contention, as this can result in degradation of performance and scalability, particularly under peak load.
    For further information on support for Hyperion products running on Oracle VM, please see Note 466538.1 and Note 464754.1 in MetaLink2 (a href="https://metalink.oracle.com)
    Hope this helps.
    Seb

  • How to customize search in WS 7 and for multiple virtual servers?

    I'm not clear on how to customize search results pages in Sun Web Server 7. The documentation (the Adminstrator's Guide, page 215) says:
    You can take a look at the default search application located at /bin/https/webapps/search as a sample application
    but I'm not seeing any such thing. I did a find . -name search -type d from the server root and instance root but the only search directories I'm seeing are subdirectories within the generated directory and they look like system generated jsps that I shouldn't touch (So I didn't :-)
    So one question is, where is the default app? A second question is, how do we set up different branding for different virtual servers?
    We're currently using WS 6.1 and it has a field in the GUI for the directory containing the web app to use for search. That seems to have disappeared in WS 7.
    Any help would be appreciated. Thanks.
    Dave

    I don't use the search engine, so I'm afriad I don't have direct experience here.
    What I'd probably do is modify the app so that it looks at the Host data to determine which directory it should point to for graphics, formatting, etc. You could also use the obj.conf with variables to pull graphics from directories appropriately branded. Something like:
    1) Create "additional doc directory" for images
    2) Find the entry in the obj.conf that points to the new directory
    3) Modify the path to something like /path/to/$host/images
    4) Make sure you create directories like:
    /path/to/foobar.com/images/
    /path/to/www.foobar.com/images/
    /path/to/baz.com/images/
    /path/to/www.baz.com/images/

  • Running SAP on Microsoft Virtual Servers

    Is anyone running SAP on Microsoft Virtual Servers?  If so, what has been your experience with this?  We are installing NetWeaver 2004s on three virtual servers (running on the same Physical Windows server). We are using the Microsoft Virtual Server software (not VM Ware).
    Thanks in advance for any information.

    Check Note 674851 - Virtualization on Windows:
    VMware, GSX Server, VMware workstation, Microsoft Virtual Server
    Due to their restriction to 32-bit, single CPU and host/guest operation, these virtualization products are not suitable for productive SAP applications.
    It may be advisable to use one of these products to operate non-production systems (demo systems, test systems, development systems and so on).
    I would not use Microsoft Virtual Server for productive installations, additionally, depending on the database used, it may or may not supported by the database vendor and thus also may or may not supported by SAP.
    In worst case you will need to reinstall the application on a non-virtualized environment and reproduce a problem there before SAP support will accept the problem.
    Markus

  • Multiple Virtual servers, one listener setup

    I am trying SJS 7 as a Proof of Concept project to replace our existing iPlaney 6 and Netscape 2 server instances.
    My question is how do I setup SJS to have one http listener on port 80, but be able to handle multiple websites? I want to use a CNAME under our DNS and then have the SJS environment look to see what the domain name is and point it to the correct directory when called upon via web browser.
    Under our DNS, each stub file has something like:
    mysite IN CNAME devsite.mydomain.com
    mysite2 IN CNAME devsite.mydomain.com
    Under our Apache's virthost.conf, I just need to do the following:
    <VirtualHost mysite.com>
    ServerName mysite.com
    DocumentRoot /web/mysite.com/htdocs
    ErrorLog /var/web/mysite.com/error_log
    CustomLog /var/web/mysite.com/access_log common
    ScriptAlias /cgi-bin/ "/web/mysite.com/htdocs/"
    <Directory /web/mysite.com>
    Options Indexes FollowSymLinks Multiviews +Includes
    AllowOverride All
    </Directory>
    </VirtualHost>
    <VirtualHost mysite2.com>
    ServerName mysite2.com
    DocumentRoot /web/mysite2.com/htdocs
    ErrorLog /var/web/mysite2.com/error_log
    CustomLog /var/web/mysite2.com/access_log common
    ScriptAlias /cgi-bin/ "/web/mysite2.com/htdocs/"
    <Directory /web/mysite2.com>
    Options Indexes FollowSymLinks Multiviews +Includes
    AllowOverride All
    </Directory>
    </VirtualHost>
    I setup two virtual servers under one configuration, but the http-listener-1 instance only wants to point to one virtual server instance rather than the pair. I tried to add a 2nd http-listener, but it won't allow me to use the same CNAME address nor port 80 for it as well.
    How do I do the same thing that I do with Apache virthosting under SJS 7?
    -- Michael

    I took a look at the server.xml file, and I currently have this:
    <http-listener>
    <name>http-listener-1</name>
    <ip>sjsdev.mysite.com</ip>
    <port>80</port>
    <server-name>sjsdev.mysite.com</server-name>
    <default-virtual-server-name>screwball</default-virtual-server-name>
    </http-listener>
    <virtual-server>
    <name>screwball</name>
    <http-listener-name>http-listener-1</http-listener-name>
    <host>sjsdev.mysite.com</host>
    <object-file>screwball-obj.conf</object-file>
    <document-root>/web/screwball.mysite.com/htdocs</document-root>
    <log-file>/web/screwball.mysite.com/logs/server.log</log-file>
    </virtual-server>
    <virtual-server>
    <name>fastball</name>
    <http-listener-name>http-listener-1</http-listener-name>
    <host>sjsdev.mysite.com</host>
    <object-file>fastball-obj.conf</object-file>
    <document-root>/web/fastball.mysite.com/htdocs</document-root>
    <log-file>/web/fastball.mysite.com/logs/server.log</log-file>
    </virtual-server>
    I bounced the listener and virtual hosts then tried using a browser for testing.
    If I go to http://screwball.mysite.com, it goes to the correct htdocs directory.
    If I go to http://fastball.mysite.com, it goes to the screwball htdocs directory instead.
    Also, is it possible to make these configuration changes via the Administration web GUI?
    Trying to document this as much as possible, mostly via screenshots, for other team members.
    -- Michael

  • Help with J2EE SDK 1.4 Virtual Servers please!

    H!
    Are we doomed to have just one virtual server pointing to port 80??
    I have a Win2K computer with J2EE App Server 1.4. In this computer I stopped the IIS 5.0 in order to use the HTTP Server included with the product. I also run the DNS on the same machine with 3 domains. All name resolutions for these 3 domains work fine.
    Now I want to enter to any of the 3 domains freely and execute JSP apps. But I don't want to enter ports numbers like this:
    http://www.mytest.com:8081/hello.jsp
    I just want to enter:
    http://www.mytest.com/hello.jsp
    So I defined a new http-port listener pointing to the 80 port on this server. With no SSL support.
    Name: http-port80
    IP Address: 0.0.0.0
    POrt: : 80
    Then I defined a new virtual server using the http-port listener. I set the following fields:
    ID: mytest
    Hosts: www.mytest.com
    HTTP Listener: http-port80 (This is the name of the port listener)
    Everything seems to be fine. I can enter http://www.mytest.com and call the hello.jsp it's ok.
    But then I create a new virtual server for http://www.mytest2.com exactly as the one for the www.mytest.com, except for the host field: http://www.mytest2.com
    Then when I restart the app server I got the message on the log: "Port already in use".
    I don't want to enter http://www.mytest2.com:<port> but I've read that you cannot assign the same http-listener to 2 virtual servers, so I created another listener pointing to the same port 80. But I still have the same error.
    Any ideas how to handle this?
    Am I doing something wrong on the configuration?
    Thank you very much!!

    I can help you out with this, because I just solved this problem using the Apache web server 2.0 with mod_proxy and mod_proxy_http.
    this is how the configuration works.
    setup sunone creating one virtual host for each http-listener on a different port. and make sure these ports are any port except the 80. -- we will configure apache on this port and then use it as a reverse proxy to get to our hosts.
    like this
    virtual-listener-1 - port 8081
    virtual-listener-2 - port 8082
    virtual-listener-3 - port 8083
    virtual-host-1: www1.domain.com bind to: virtual-listener-1
    virtual-host-2: www2.domain.com bind to: virtual-listener-2
    virtual-host-3: www3.domain.com bind to: virtual-listener-3
    now download apache with all the modules http://www.apache.org
    in your httpd.conf add the following lines of code.
    #the code below will tell apache to enable the proxy for your host
    <IfModule mod_proxy.c>
    # Proxy Server directives. Uncomment the following lines to
    # enable the proxy server:
    ProxyRequests On
    <Proxy *>
    Order deny,allow
    Deny from all
    Allow from www1.domain.com
    Allow from www2.domain.com
    Allow from www3.domain.com
    </Proxy>
    # Enable/disable the handling of HTTP/1.1 "Via:" headers.
    # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
    # Set to one of: Off | On | Full | Block
    ProxyVia On
    # End of proxy directives.
    </IfModule>
    NameVirtualHost *:80
    <VirtualHost *:80>
    ServerName www1.domain.com
    <Location />
    Order allow,deny
    Allow from all
    ProxyPass http://sunoneserver:8081/
    </Location>
    </VirtualHost>
    <VirtualHost *:80>
    ServerName www2.domain.com
    <Location />
    Order allow,deny
    Allow from all
    ProxyPass http://sunoneserver:8082/
    </Location>
    </VirtualHost>
    <VirtualHost *:80>
    ServerName www3.domain.com
    <Location />
    Order allow,deny
    Allow from all
    ProxyPass http://sunoneserver:8083/
    </Location>
    </VirtualHost>
    note the sunone server indicates the server where you installed sunone-as (J2EE 1.4). this will give you the result you are looking for: all three of these sites will run on port 80 and each of them will respond to a different web application on sunone.
    there are naturally limits because when you run out of ports on your application server this won't work any more but then again there are about 60000 of those free and i don't think you will be able to run that many sites on one server anyway.
    Chris.

Maybe you are looking for

  • Receipt in recent iTunes update

    My work recently issued me an iPod touch (the only reason I have an Apple product) and I purchased an app for work. I need a receipt to be reimbursed. I made the purchase over 72 hours ago and have not recited an email, and yes, I checked my junk mai

  • IPhone 4 not recognised on iTunes 11.2.2

    I've updated to iTunes 11.2.2, tried to sync my iPhone 4 with my USB cable, but it only charges and doesn't come up in devices. I've read MANY other complaints about this issue, and it's a huge oversight to whoever designed the update. I've already f

  • Problem in executing query

    Hi I am executing a query where the query gets data from a source system through infosets. So query fetch the data by Infosets using synonym concept.We have structure in BW system and synonym is created in the source system pointing to the BW structu

  • HD footage in 4:3 timeline project comes out stretched during playback!

    Hello Fellow Final Cutters, I am doing some projections for a theatre show, and need to project in 4:3 aspect to maximize screen area on an unusual shaped screen. I am using FCP6 and monitoring onto both my Apple 20" display and/or NEC (native 4:3) p

  • Movement types 631 & 661

    All, In which transactions we will use movement types 631 and 661 ? These cannot be used in MB1A,MB1Cand MB1B . So where this can be used ? regards