Mirroring a server

Hello i have an Xserve G5 and i have to initiate a Round Robin (loadbalancing) configuration for a website. Can someone tell me how to make an automatic mirror of the server. (If a file was deletet on one of them, on the it will be deletet automatic, same for writing, renaming etc.)It would be nice to have it in a way that the configuration would be mirrored too.
Can it be done ? And if yes, how ?´

You may be able to use Mac OS X's built-in UNIX utility RSYNC. It could be used to accomplish this to a certain extent.

Similar Messages

  • How to mirror file server?

    I run a small office network with Mac OS X Server 10.4.x doing various services including AFP. My wife and I also work from home and we would like to be able to access remotely various files which are held on the server.
    We can do this over the internet, but the connections are not too quick. Ideally I would like to be able to run a mirrored copy of the file server on a little server at home, so that we can access the files locally and then have the servers keep each other up to date across the internet.
    Is this possible?
    TIA
    James

    Can anybody help me with this?
    TIA

  • Mirroring Windows Server to a Solaris Server using filesync & NFS

    I am trying to mirror the data from a Windows 2000 server to a Solaris 10 server using filesync over NFS. I have been able to do this from one solaris/sparc machine to another without problems, but this heterogeneous sync is failing. The Windoze machine is running Hummingbird NFS Maestro Server. I've tried both an old version of Maestro (5.x) and the newest version. On the solaris machine, I craft the .packingrules file by hand and issue "filesync -o src" to copy from the nfs mounted source to a local directory. The initial copy seems to go well, albeit with numerous complaints about ownership and permissions. On either the second or third running of "filesync -o src", it wants to delete all of the files that it just wrote. Argh! Sometimes it works, sometimes it does not.
    Perhaps I need to mirror in some other way. If all else fails, next I'll compile rsync on the solaris machine, trying it over NFS.
    I'd appreciate any suggestions of how best to mirror.
    By the way, my goal here is to show to Windoze PC users that this Solaris server can do everything that the Windows server can do, and more. With hopes, I'll be able to migrate completely off of the Windoze server.
    Thanks

    smbmount doesnt exist for solaris 10.
    The functionality would require a smbfs kernel module which is not available in solaris 10.
    I think there might be a commercial product that provides this functionality, but its name escapes me at the moment..

  • Database Mirroring - Witness Server

    Hi,
    Can I have a setup where both the Primary and the Mirror servers are running on SQL Server 2008 and Witness is running on SQL Server 2005? Somehere, I read that the witness can be of any edition, however the version has to match with the Primary and the
    Mirror setup.
    Could someone please confirm?
    Also, if SQL Server 2008 Standard Edition supports automatic failover on Database Mirroring?
    Thanks,

    In the Microsoft SQL 2014 docs I see: 
    "We strongly recommend that the witness reside on a separate computer from the partners. Database mirroring partners are supported
    only by SQL Server Standard edition and by SQL Server Enterprise edition.
    Witnesses, in contrast, are also supported by SQL Server Workgroup and by SQL Server Express."
    I figured I'd post this, since I ended up here looking for an answer to this question.  

  • How to get the SQL Primary and Mirrored Database Server Name from Witness Server

    Hello,
                    Can Someone help me with the way to get SQL Primary and Mirrored server name from Witness server?
    Any Powershell script/SQL Query..etc or share the alternative?
    Regards,
    Julie

    select principal_server_name,mirror_server_name,* from sys.database_mirroring_witnesses
    -Prashanth

  • Database Mirroring and Replication in SQL Server 2008 R2

    I have configured the mirroring and replication between 4 servers (A,B,C,D).i.e, Mirroring between A to B and C to D, Replication between A and C. The configuration was a success and I am able test the replication(B to C) when I have failed over the mirroring
    dbs(A to B). The replication works fine after the mirroring fail over but I am not able to check its status in the Replication monitor. When I am having any insert in a table which is replicated in B, it is reflected back to C..it means the replication is
    working fine.
    Any thought on how I can view the status of replication from mirrored server. I tried adding the publisher in the monitor, but no luck. If I check the snapshot agent status, it says could not retrieve the info, same with the log reader agent status.
    Any suggestions on this please.
    Thanks, Siri

    For example in your case...
    Server A is principal and Server B is Mirror with either Manual or Automatic Failover.
    Server A is replicated to Server B ( publisher & B is subscriber )
    In Server A Database named Test_Mirror_Replication is configured for both mirroring and Replication.
    Now you have failed over your Database 'Test_Mirror_Replication' from Server A to Server B.
    After the Failover Server A will act as Mirror for DB 'Test_Mirror_Replication' & Server B will act as Principal for DB 'Test_Mirror_Replication'
    Hope my understanding is correct ?
    If yes then have you tried monitoring the replication after registering in other instance with current principal database sql instance name ? I mean current Publisher database name sql instance ? not your old sql instance name which was before the mirroring
    role change or failover...
    Hope you are trying with mirror database server name ?
    Raju Rasagounder MSSQL DBA

  • Timeout expired error when inserting into a mirrored server

    We have 3 SQL Server 2012 servers.
    All 3 SQL Server has the same database, ie myDB.
    In 2 of the servers (say server A and B), myDB is mirrored, and on the 3rd server myDb is NOT mirrored.
    When the program calls a stored procedure to insert a record into a table in the database, on the mirrored servers (server A and B) sometimes it takes up to 7 seconds and gave an error "Timeout expired.  The timeout period elapsed prior
    to completion of the operation or the server is not responding.  This failure occured while attempting to connect to the Principle server." This doesn't happen all the time, but happens often enough throughout the day.
    The 3rd server (that is NOT mirrored) never gives this Timout expired error.
    Will mirrored server cause slowness in writing, thus causes the Timeout expired error ?
    Thank you.

    Since we can live with some missing data, I think we should use asynchronous mirroring instead of synchronous, do you agree ?
    That may be an options, provided that you are on Enterprise Edition. As I recall, Standard Edition only has synchronhous mirroring.
    There are caveats with asynchronous mirroring. One is data loss in case of a failover, which you say that you can live with. There may be more caveats, though. Unfortunately, since my role is more of a developer than a DBA, I'm not too well versed in
    the details. Maybe someone else can fill in?
    Can a firewall issue cause mirror latency, that in turn causes the delay in writing to the principal database ?
    Firewalls and other network hiccups certainly can cause a latency.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • SQL Server Agent fails to connect to DB after enabling mirror on failover cluster

    Hello:
    We have multiple databases running in a Failover Cluster instance: SQL 2012SP1 on Server 2008 R2 failover cluster (NOT AlwaysOn). We are trying to add a high-performance mirror in a standalone instance for DR. My understanding is that should be a perfectly
    normal, supported configuration.
    The mirroring is working properly; however, the clustered SQL Server agent is unable to run jobs that run in the mirrored databases.
    We get the following in the job log: Unable to connect to SQL Server 'VIRTUALSERVERNAME\INSTANCE'.  The step failed.
    There is a partner message in the agent log: [165] ODBC Error: 0, Connecting to a mirrored SQL Server instance using the MultiSubnetFailover connection option is not supported. [SQLSTATE IMH01]
    The cluster is not a mulitsubnet cluster. All hosts are connected to the same subnets and there is no storage replication. I can not find any place where I can adjust the connect string options for SQL Agent.
    Any guidance or suggestions on how to resolve this would be appreciated.
    ~joe

    SQL Team - MSFT:
    Thank you for taking the time to research and provide a clear answer.
    This seems very much a workaround and very unsatisfactory.
    You are correct, there is an IP dependency with OR condition. Moving to an AND condition is not viable for us. The whole point is to provide network redundancy. With an AND condition, if EITHER network interface fails, the service will go offline or fail
    to come online without manual intervention. This is arguably worse for uptime than having a single interface available.
    We are in process of rewriting all our SQL jobs to start in tempdb before transitioning to the appropriate target database. If this works for all of our jobs, I will mark the above response as answer.
    Again, thank you for the answer.
    Regards,
    Joe M.

  • Lync 2013 Server / Roles & Components

    Lync
    2013 Server / Roles & Components 
    Front End
    User authentication and registration
    Presence information and contact card exchange
    Address book services and distribution list expansion
    IM functionality, including multiparty IM conferences
    Web conferencing, PSTN Dial-in conferencing and A/V conferencing (if deployed)
    Application hosting, for both applications included with Lync Server (for example, Conferencing Attendant and Response Group application), and third-party applications
    Primary store for user and conference data.  Information about each user is replicated among Front End Servers in the pool
    Optionally, Monitoring, to collect usage information in the form of call detail records (CDRs) and call error records (CERs). This information provides metrics about the quality of the media (audio and video) traversing your network for both Enterprise
    Voice calls and A/V conferences.
    Web components to supported web-based tasks such as web scheduler and join launcher.
    One Front End pool runs the Central Management Server DB, which manages and deploys basic configuration data to all servers running Lync
    Optionally, Archiving, to archive IM communications and meeting content for compliance reasons.
    Optionally, if Persistent chat is enabled, Persistent Chat Web Services for Chat Room Management and Persistent Chat Web Services for File Upload/Download.
    Back End
    Database server running Microsoft SQL Server
    Provide the DB services for the Front End pool
    Acts as backup store for the pool’s user and conference data
    Primary stores for other DB’s like Response Group
    High Availability for the BE DB is provided via SQL Mirroring
    Optional Witness to enable automatic failover for BE
    SQL Sever 2008 R2 or higher required for SQL Mirroring
    Edge Server
    Enable users to communicate and collaborate with users outside the organization’s firewall
    Comprises four separate server roles
    Access Edge – Acts as a secure proxy for all remote Lync signaling traffic
    Remote Access
    Federation
    Public IM Connectivity (PIC)
    Web Conferencing Edge – Enable remote users to participate in Web conferences with internal or remote workers
    A/V Edge – Responsible for secure relay of A/V media among internal, external, and federated contacts
    XMPP Gateway – Allows IM/P with XMPP federated contacts
    Reverse Proxy
    Simple URL Publishing – Required for users to join Lync meetings
    Web Conferencing Content – Users download meeting content (PowerPoint, Whiteboard, and Poll data) via Lync Web Services when in meeting
    Address Book & Distribution List Expansion – Required for users to download Lync Address Book and perform DL expansion
    User Certificates – Provides client certificate authentication via Lync Web Services
    Device Updates – Provides software updates to Lync IP endpoints
    Mobility – Provides connectivity for mobile clients via Lync Web Services
    Mediation Server
    Translates signaling and media between Lync Server and PSTN, IP-PBX, or SIP Trunk
    Can be co-located on Front End or separated as stand-alone Server dependent on call volume
    Role facilitates dial-in conferencing
    Capacity
    Co-located = 150 Concurrent Calls
    Standalone =  1100 Concurrent Calls
    Persistent Chat
    Enable users to participate in multiparty, topic-based conversations that persist over time
    Pchat Front End server role runs persistent chat service
    Pchat Back End server stores chat content and compliance events
    Geographic DR is provided via stretched pool and SQL log shipping to replicate DB info
    150k provisioned users / 80k concurrent users
    Archiving
    Uses SQL Server 2008 R2 or SQL Server 2012 for DB
    Capable of archiving the following:   
    Peer-to-peer IM
    Multiparty IM
    Web Conferences, including uploaded content and events
    A/V for peer-to-peer IM and web conferences
    Web conferencing annotations and polls
    Monitoring
    Agent that runs on each Front End Server that collects and manages information from the Front End and Mediation Servers
    Stored on SQL Server DB
    Leverages SQL Server Reporting Services for creation of reports related to call quality and metrics
    Office Web Apps Server
    External server leveraged for rendering PowerPoint slides within the Lync client and Lync Web App
    Typically leveraged within SharePoint deployments to deliver browser-based versions of Microsoft Office applications
    System Center Ops Mgr
    Health configuration in Lync Server 2013 is built around System Center Operations Manager and the use of Lync Server Management Packs. These Management Packs include a number of new features and enhancements, including:
    Feature
    Description
    Synthetic Transactions
    Windows PowerShell cmdlets that can be run from various locations to ensure that end user scenarios such as sign-in, presence, IM, and conferencing are readily available to end users.
    Call Reliability Alerts
    Database queries for Call Detail Records (CDR). These records are written by Front End Servers to reflect whether end users were able to connect to a call or why a call was terminated. These queries result in alerts that indicate when a wide range of end
    users are experiencing connectivity issues for peer-to-peer calls or basic conferencing functionality.
    Media Quality Alerts
    Database queries that look at Quality of Experience (QoE) reports published by clients at the end of each call. These queries result in alerts that pinpoint scenarios where users are likely to be experiencing poor media quality during calls and conferences.
    The data is built upon key metrics such as packet latency and loss, metrics that are known to directly contribute to call quality.
    Component Health
    Individual server components raise alerts by using event logs and performance counters. These alerts indicate failure conditions that can severely impact one or more end user scenarios. These alerts can also indicate a variety of other failure conditions,
    including services not running, high failure rates, high message latency, or connectivity issues.
    Dependency Health
    Failures can occur for a variety of external reasons. The management packs now monitor and collect data for some of the critical external dependencies that might indicate severe issues, including IIS availability, CPU and memory usage of servers and processes,
    and disk metrics.
    Exchange UM
    http://www.contactcenterarchitects.com/lync-2013-server-roles-components/

    Hi,
    Thank you for sharing the information. It is useful for others who not understand Lync Server Roles and Components. You time and effort are appreciated.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • DataBase unavailable and Mirrored Db role has chnaged.

    Hello All,
    We got below errors in our principal and Mirror db servers.
    1) The mirroring connection to "TCP://servername.domain.com:5022" has timed out for database "Db name" after 10 seconds without a response.  Check the service and network connections.(Mirror Server).
    2) Database mirroring is inactive for database 'DB Name'. This is an informational message only. No user action is required.(Pricipal)
    2) The command failed because the database mirror is busy. Reissue the command later. .(Pricipal)
    3) The mirrored database "Db" is changing roles from "PRINCIPAL" to "MIRROR" because the mirroring session or availability group failed over due to role synchronization. This is an informational message only. No user action
    is required. .(Pricipal)
    Before the first error we got an alert that db is unavailable. After 1 min of this alert the issue has started.
    After a successful fail-over of that particular db to mirror again it was rolled back to principle automatically. After that I can see a server shut down with below errors.and mirroring failed on all the dbs.
    Database mirroring connection error 4 'The connection was closed by the remote end, or an error occurred while receiving data: 55(The specified network name is no longer available.)'' for 'TCP://Server Name.Domain.com:5022'.(Mirror)
    Database mirroring connection error 4 'An error occurred while receiving data: '1054(An existing connection was forcibly closed by the remote host.)'.' 'TCP://Server Name.Domain.com:5022'. .(Mirror)
    SQL Server is terminating because of a system shutdown. This is an informational message only. No user action is required. (Pricipal)
    The connection has been lost with Microsoft Distributed Transaction Coordinator (MS DTC). Recovery of any in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC) will begin once the connection is re-established.
    This is an informational message only. No user action is required. (Pricipal)
    SQL Server cannot accept new connections, because it is shutting down. The connection has been closed. [CLIENT: IP. (Pricipal)
    I am very confused that why this db unavailable before the issue. I don’t have any information about this.
    Can some body help me to find out the root cause why this unexpected fail over and
     sql shutdown.

    Hello,
    It looks like something was updated or done to the end system as:
     'An error occurred while receiving data: '1054(An existing connection was forcibly closed by the remote host.)'
    Is generally caused by a firewall. Please double check software and hardware firewalls (including endpoint protection software) and make sure the exceptions for port 5022 tcp exist.
    -Sean
    The views, opinions, and posts do not reflect those of my company and are solely my own. No warranty, service, or results are expressed or implied.

  • Logs for 'Operating mode' change in mirroring

    Logs for 'Operating mode' change in mirroring
    Hi Everyone,
    Is there any log,that shows when the Operating mode of a database involved in mirroring(SQL SERVER 2008 R2) has been changed from asynchronous to synchrous(or vise versa).
    Regards,
    Aspet
    A.G

    Try looking into trace log files
    DECLARE @filename VARCHAR(100), @filenum int
    SELECT @filename = CAST(value AS VARCHAR(100))
    FROM fn_trace_getinfo(DEFAULT)
    WHERE property = 2
      AND traceid = 1
      AND value IS NOT NULL
    SELECT @filename
    SELECT @filename = substring(@filename, 0, charindex('_', @filename)+1) + convert(varchar, (convert(int, substring(left(@filename, len(@filename)-4), charindex('_', @filename)+1, len(@filename)))-4)) + '.trc'
    SELECT @filename
    SELECT gt.EventClass, 
           te.Name AS EventName,  
           gt.TEXTData, 
           gt.NTUserName, 
           gt.NTDomainName, 
           gt.HostName, 
           gt.ApplicationName, 
           gt.LoginName, 
           gt.SPID, 
           gt.StartTime, 
           gt.EndTime, 
           gt.ObjectName, 
           gt.DatabaseName, 
           gt.FileName 
    FROM [fn_trace_gettable](@fileName, DEFAULT) gt 
    JOIN sys.trace_events te ON gt.EventClass = te.trace_event_id 
    WHERE EventClass = 116 
      AND TEXTData LIKE '%Alter
    database%' 
    ORDER BY StartTime; 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Blog:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance

  • Oracle 9iAS Orion Server Crashes on Running RWSERVLET

    We are developing a product with JSP as front end,EJB as middle tier and Oracle as DB.Oracle 9iAS is the deployment environment.We are using the RWSERVLET configuration. We have configured Orion to communicate with RWSERVLET.Rwservlet copied to web-inf/classes folder,entry given in web.xml accordingly.Two JAR files copied to lib folder.When the first request goes from client the report is getting displayed fine.
    There is a delay in displaying the output of the request.If in case another request is sent from the same client before the first request is served by the reports server,the RWServlet makes the Orion of Oracle 9iAS to crash.The middle tier aborts with the following message..
    # HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
    # Error ID: 4F533F57494E13120E43505002D4
    abnormal program termination
    Also, in reports there is no way of finding whether the report server is still serving the request or has finshed the request,so that atleast we can stop the user from making the second request,if the report server is serving the first request.IS IT A BUG IN RWSERVLET???? - Oracle Reports Team.Has it been rectified??.Is there a way of finding whether the report server has served the request or not??.We are in the end of our project and Oracle Reports have created this problem for us....
    Please help Oracle Reports Team.Help!!!!!!
    Gracelin

    hello,
    for your problem with the crash of OC4J, i would contact oracle support services.
    if you set up the reports server database queues, it will mirror the server queue into a database table, where you can check what the status of your job is.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Three-way mirror disk requirement

    In Windows 2012 Storage Space, why 3-way mirror requires minimum 5 disks instead of 3? How does 3 way mirror works? I tried to find the tech paper on MS website but either I didn't try hard enough or the info is not there.

    Hi,
    The reason is that a 3-way mirror uses a quorum.  In order to keep running, the mirror space must keep over 50% of the disks functioning.  So a 3-way mirror must have at least 5 physical disks to be able to survive the loss of up to 2 physical disks.
    For more detailed information, please refer to the links belwo:
    Tip Of the Day: 3-way Mirrors
    http://blogs.technet.com/b/tip_of_the_day/archive/2013/08/29/tip-of-the-day-3-way-mirrors.aspx
    mirror in storage pool
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/2e6955b7-b293-4880-8fb3-8b4ce0e02ec9/mirror-in-storage-pool?forum=winserver8gen
    You could also refer to the article below to know more about three-way mirror:
    Windows Server 2012 SMB 3.0 File Shares: An Overview
    http://www.petri.co.il/windows-server-2012-smb-3-file-shares.htm
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    Mandy
    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.

  • Database Mirroring Scenarios

    Hi Everyone,
    I am doing some test for database mirroring. I come with come with these two scenarios i unable to test out.
    1) The principal database server disks full. In these case is the database mirroring failover will happen?
    2) The principal database server and mirror database server disk full. In these case what will happen to database mirroring?

    Hi,
    No. Database mirroring endpoints use Transmission Control Protocol (TCP) to send and receive messages between the server instances participating database mirroring sessions. Automatic failover will occur if the principal
    server has lost communication with the rest of the database mirroring configuration, while the mirror and witness retain quorum. If all server instances lose communication, however, and the witness and the mirror server later regain communication, automatic
    failover does not occur.
    See ‘Conditions required for an Automatic failover’ section in the below link:
    http://technet.microsoft.com/en-us/library/ms189590(v=sql.105).aspx
    Additional information:
    Possible Failures During Database Mirroring
    http://technet.microsoft.com/en-us/library/ms190913(v=sql.105).aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Mavericks server time machine restore problem

    i have a mac mini with mavericks server installed
    i have backed up my imac to the mac mni server without any problems can enter time machine and install files but when trying to do a system restore
    This is where my trouble arises, initially the window is populated with a username of "root" which is of course the user name I'm running under on the install disk, I change that to my user name or user nickname (have tried both) and enter my password for the osxbackup.local machine and I end up getting a dialog box with "There was a problem connecting to the server osxbackup.local" it goes on to say Check the server name and ip address and if problem continues contact my administrator.   So I'm stuck here, I know my username and password are correct I've tried variations between my name and nick name but always get the same error.  I get the same error if I use a 10.9.0 install disk as well.  It seems that it is unable to contact the server based on the message but clearly the network is operating or we wouldn't have gotten this far.  The only thing I see is in the error message it says "osxbackup.local." note the period after local.  I assume that is a formatting thing and not an incorrect address and I know of no way to change this anyway. So what I thought would be a "simple matter" has like most things turned into an ordeal getting stuck on something that should be very simple.  Hopefully someone can shed some light on this?

    Do not rely on Time Machine to backup OSX Server. It does not work for restores and Apple says not to use it for server. Use Carbon Copy Cloner.
    Also, you should Raid 1 mirror the server drives so if one drive fails you have the 2nd drive that keeps running and you just swap out the bad drive and redo the mirror. You also need to have another backup and disaster recovery plan in place in case both hard drives fail. This mean an external backup drive to run carbon copy cloner to. Also some sort of offsite backup is also needed.

Maybe you are looking for

  • Select-options for time stamp

    Any ideas on which data element to be used for select-options for timestamp on the screen so that a user is able to f4 help too. i am using data element 'tzntstmps' but i am not getting f4 help for it.

  • Outlook 2007 hangs when Calendar tab is clicked

    I am using Windows Vista on a Sony Notebook with Outlook 2007 SP1 connected to exchange server 2003.  I had a problem that my outlook worked fine except for one thing: it hanged whenever I clicked on the calendar tab.  I then had to restart my outloo

  • How to stop core files?

    Ever since Mac keeper was on my computer (Now successfully removed) i have these mysterious core files filling my hard drive with in two hours. These core files are filling the only 64 gb remaining on my hard drive. Is there a way of stopping these p

  • Update Locations for Customer accounts

    Hi all, I am trying to use TCA update_location API to update location information for customer accounts. I know that the tables involved here are the following: HZ_PARTIES HZ_LOCATIONS HZ_PARTY_SITES HZ_CUST_ACCOUNTS I'm trying to find a way where I

  • Startup Password unknown

    My laptop model c2l87UA#ABL boots and asks me for a startup password.  No idea what is is or why it now wants one.  I cant get past that.  Can anyone offer a password?  Tried a few mentioned in these posts with no luck. This question was solved. View