Visit Open-E website
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: iSCSI Failover

  1. #11
    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?

  2. #12
    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.....

  3. #13
    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.

  4. #14

    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

  5. #15
    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
  •