Visit Open-E website
Results 1 to 10 of 15

Thread: iSCSI Failover

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2010
    Location
    GA
    Posts
    935

    Default

    Quote Originally Posted by Slijfer
    So it is not possible to use a Failover configuration for active/active?

    Because the whole idea was to set up a configuration in which the 2nd server will take over the tasks of the first server and vice versa. This is not possible through volume replication because the server will than only backup the data and client computers wont be able to access the storage when there primary server is down.


    Greetings
    Active / Active is not possible yet......

    In failover, if Pri goes down, Sec WILL take over, no problem.
    When Primary comes back you have to fail back... manually.
    The only issue here is the manual part of failing back...... but keep in mind, the hosts will continue to use the targets the whole time, with no problem.

  2. #2
    Join Date
    Aug 2008
    Posts
    236

    Default

    If you are willing to make an investment in some scripts and learning the API, you can have your cake and eat it too

    1. Externalize the HA (e.g. the virtual ip) using a load balancer
    2. Create a script or program that leverages the API to cause the volume replication to "flip"

    Open-E, the API should allow for one to control volume replication and iSCSI Targets correct?

  3. #3
    Join Date
    Oct 2010
    Location
    GA
    Posts
    935

    Default

    Open-E, the API should allow for one to control volume replication and iSCSI Targets correct?
    Yes, and No.....
    Target manipulation can be achieved in the API, but the replication switching can be a bit tricky.. I havent tested it, but it may be possible.
    got a test box around, and want to test this, i can throw ya some commands if u want.....

  4. #4
    Join Date
    Aug 2008
    Posts
    236

    Default

    I'm going to take you up on that offer next week. I need to do some prep of my dev environment.

  5. #5

    Default

    I have some more but let me know if this helps.

    create_iscsilv - Creates a logical iSCSI Volume.
    volume_iscsi_remove - Removes a logical iSCSI volume
    volume_replication - Adds and removes replication to volume.
    volume_status - Displays storage info.


    FAILOVER:

    Usage: failover --status | --actions | --start | --stop | --failover | --synchronize | --failback

    This function allows you to stop, run or change the operation mode for the
    given server.

    Options:
    -h, --help show this help message and exit
    --status show iSCSI Failover status.
    --actions show available iSCSI Failover actions.
    --start start iSCSI Failover. On the primary server the Start
    action
    controls both servers. On the secondary server, it
    controls
    the secondary server only.
    --stop stop iSCSI Failover. On the primary server the Stop action
    controls both servers. On the secondary server, it
    controls
    the secondary server only.
    --failover failover action delegate (switch) active server state
    to the
    passive server.
    --synchronize synchronize data from the secondary/active server to the
    primary server
    --failback failback action will return the active server state to the
    primary server.
    All the best,

    Todd Maxwell


    Follow the red "E"
    Facebook | Twitter | YouTube

  6. #6
    Join Date
    Oct 2010
    Location
    GA
    Posts
    935

    Default

    A few more on iSCSI:

    iscsi_target_assign - Assign lv with given name to existing iSCSI target.
    iscsi_target_create - Creates a new iSCSI target.
    iscsi_target_list - Lists iSCSI targets (syntax: alias;name).
    iscsi_target_restart - Restart iSCSI target service.
    iscsi_target_sessions - Shows and manages iSCSI target sessions.
    iscsi_target_status - Lists the parameters of the selected target.
    iscsi_target_unassign - Unassign from given iSCSI target lvname.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •