ressyncsymsrdfs

package
v3.0.0-rc21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() resource.Driver

Types

type T

type T struct {
	ressync.T
	resource.Restart
	SymDG    string
	SymID    string
	RDFG     int
	Nodes    []string
	DRPNodes []string
}

T is the driver structure.

func (*T) DriverID

func (t *T) DriverID() driver.ID

func (*T) Info

func (t *T) Info(ctx context.Context) (resource.InfoKeys, error)

func (*T) Ingest

func (t *T) Ingest(ctx context.Context) error

func (*T) Label

func (t *T) Label(_ context.Context) string

Label implements Label from resource.Driver interface, it returns a formatted short description of the Resource

func (*T) Manifest

func (t *T) Manifest() *manifest.T

Manifest ...

func (*T) Pause

func (t *T) Pause(ctx context.Context) error

Pause stops the replication and leaves R2 read-only

func (*T) Resume

func (t *T) Resume(ctx context.Context) error

Pause starts again the replication

func (*T) Split

func (t *T) Split(ctx context.Context) error

Split stops replication and makes both R1 and R2 writeable

func (*T) Start

func (t *T) Start(ctx context.Context) error

func (*T) Status

func (t *T) Status(ctx context.Context) status.T

func (*T) Update

func (t *T) Update(ctx context.Context) error

type XDGList

type XDGList struct {
	XMLName xml.Name    `xml:"SymCLI_ML"`
	DGs     []XDGListDG `xml:"DG"`
}

<?xml version="1.0" standalone="yes" ?> <SymCLI_ML>

<DG>
  <DG_Info>
    <name>TOOLS</name>
    <type>RDF2</type>
    <symid>000000000193</symid>
    <valid>Yes</valid>
    <std_devs>2</std_devs>
    <gk_devs>0</gk_devs>
    <all_bcvs>0</all_bcvs>
    <all_vdevs>0</all_vdevs>
    <all_tgts>0</all_tgts>
    <in_cg>No</in_cg>
    <num_sgs>0</num_sgs>
  </DG_Info>
</DG>
<DG>
  <DG_Info>
    <name>ADM</name>
    <type>RDF1</type>
    <symid>000000000193</symid>
    <valid>Yes</valid>
    <std_devs>1</std_devs>
    <gk_devs>0</gk_devs>
    <all_bcvs>0</all_bcvs>
    <all_vdevs>0</all_vdevs>
    <all_tgts>0</all_tgts>
    <in_cg>No</in_cg>
    <num_sgs>0</num_sgs>
  </DG_Info>
</DG>

</SymCLI_ML>

type XDGListDG

type XDGListDG struct {
	XMLName xml.Name        `xml:"DG"`
	DGInfo  XDGListDGDGInfo `xml:"DG_Info"`
}

T is the driver structure.

type XDGListDGDGInfo

type XDGListDGDGInfo struct {
	XMLName xml.Name `xml:"DG_Info"`
	Name    string   `xml:"name"`
	Type    string   `xml:"type"`
	SymID   string   `xml:"symid"`
}

T is the driver structure.

type XDGListLD

type XDGListLD struct {
	XMLName xml.Name    `xml:"SymCLI_ML"`
	DG      XDGListLDDG `xml:"DG"`
}

<SymCLI_ML>

  <DG>
    <DG_Info>
      <name>pmax1</name>
      <type>RDF1</type>
      <symid>000000000193</symid>
    </DG_Info>
    <Device>
      <Dev_Info>
	<dev_name>003AD</dev_name>
	<configuration>RDF1+TDEV</configuration>
	<ld_name>DEV001</ld_name>
	<status>Ready</status>
      </Dev_Info>
      <Front_End>
	<Port>
	  <pd_name>/dev/sdq</pd_name>
	  <director>07E</director>
	  <port>1</port>
	</Port>
      </Front_End>
    </Device>
  </DG>

</SymCLI_ML>

type XDGListLDDG

type XDGListLDDG struct {
	XMLName xml.Name            `xml:"DG"`
	Devices []XDGListLDDGDevice `xml:"Device"`
}

T is the driver structure.

type XDGListLDDGDevice

type XDGListLDDGDevice struct {
	XMLName  xml.Name                  `xml:"Device"`
	DevInfo  XDGListLDDGDeviceDevInfo  `xml:"Dev_Info"`
	FrontEnd XDGListLDDGDeviceFrontEnd `xml:"Front_End"`
}

T is the driver structure.

type XDGListLDDGDeviceDevInfo

type XDGListLDDGDeviceDevInfo struct {
	XMLName       xml.Name `xml:"Dev_Info"`
	Status        string   `xml:"status"`
	Configuration string   `xml:"configuration"`
	LDName        string   `xml:"ld_name"`
	DevName       string   `xml:"dev_name"`
}

T is the driver structure.

type XDGListLDDGDeviceFrontEnd

type XDGListLDDGDeviceFrontEnd struct {
	XMLName  xml.Name `xml:"Front_End"`
	Director string   `xml:"director"`
	Port     int      `xml:"port"`
}

T is the driver structure.

type XDevList

type XDevList struct {
	XMLName   xml.Name          `xml:"SymCLI_ML" json:"-"`
	Symmetrix XDevListSymmetrix `xml:"Symmetrix" json:"Symmetrix"`
}

T is the driver structure.

type XDevListSymmetrix

type XDevListSymmetrix struct {
	XMLName  xml.Name                     `xml:"Symmetrix" json:"-"`
	Devices  []arraysymmetrix.Device      `xml:"Device" json:"Device"`
	SymmInfo arraysymmetrix.SymmInfoShort `xml:"Symm_Info" json:"Symm_Info"`
}

T is the driver structure.

type XInqIdentifierDeviceName

type XInqIdentifierDeviceName struct {
	XMLName   xml.Name                          `xml:"SymCLI_ML"`
	Inquiries []XInqIdentifierDeviceNameInquiry `xml:"Inquiry"`
}

<?xml version="1.0" standalone="yes" ?> <SymCLI_ML>

<Inquiry>
  <Dev_Info>
    <pd_name>/dev/sdb</pd_name>
    <dev_name>000F1</dev_name>
    <symid>000000000561</symid>
    <dev_ident_name>TOOLS</dev_ident_name>
  </Dev_Info>
  <Product>
    <vendor>EMC</vendor>
  </Product>
</Inquiry>
<Inquiry>
  <Dev_Info>
    ...

type XInqIdentifierDeviceNameInquiry

type XInqIdentifierDeviceNameInquiry struct {
	XMLName xml.Name                               `xml:"Inquiry"`
	DevInfo XInqIdentifierDeviceNameInquiryDevInfo `xml:"Dev_Info"`
}

T is the driver structure.

type XInqIdentifierDeviceNameInquiryDevInfo

type XInqIdentifierDeviceNameInquiryDevInfo struct {
	XMLName      xml.Name `xml:"Dev_Info"`
	SymID        string   `xml:"symid"`
	DevName      string   `xml:"dev_name"`
	DevIdentName string   `xml:"dev_ident_name"`
}

T is the driver structure.

type XRDFQuery

type XRDFQuery struct {
	XMLName xml.Name    `xml:"SymCLI_ML"`
	DG      XRDFQueryDG `xml:"DG"`
}

<?xml version="1.0" standalone="yes" ?> <SymCLI_ML>

  <DG>
    <DG_Info>
      <name>TOOLS</name>
      <type>RDF1</type>
      <symid>000000000193</symid>
      <microcode_version>5978</microcode_version>
      <remote_symid>000000000197</remote_symid>
      <remote_microcode_version>5978</remote_microcode_version>
      <ra_group_num>1</ra_group_num>
      <ra_group_num_hex>00</ra_group_num_hex>
      <rdfa_session_num>0</rdfa_session_num>
      <rdfa_cycle_num>0</rdfa_cycle_num>
      <rdfa_session_active>False</rdfa_session_active>
      <rdfa_consistency_exempt_devices>No</rdfa_consistency_exempt_devices>
      <rdfa_wpace_exempt_devices>No</rdfa_wpace_exempt_devices>
      <rdfa_avg_cycle_time>00:00:00</rdfa_avg_cycle_time>
      <rdfa_avg_transmit_cycle_time>00:00:00</rdfa_avg_transmit_cycle_time>
      <duration_of_last_cycle>00:00:00</duration_of_last_cycle>
      <session_priority>33</session_priority>
      <transmit_queue_depth_on_r1_side>0</transmit_queue_depth_on_r1_side>
      <tracks_not_committed_to_r2_side>0</tracks_not_committed_to_r2_side>
      <rdfa_tracks_not_committed_to_r2_side>0</rdfa_tracks_not_committed_to_r2_side>
      <rdfa_time_r2_is_behind_r1>00:00:00</rdfa_time_r2_is_behind_r1>
      <rdfa_r2_image_capture_time>N/A</rdfa_r2_image_capture_time>
      <r2_data_is_consistent>N/A</r2_data_is_consistent>
      <rdfa_min_cycle_time>00:00:15</rdfa_min_cycle_time>
      <rdfa_session_priority>33</rdfa_session_priority>
      <rdfa_r1_percent_cache_in_use>0</rdfa_r1_percent_cache_in_use>
      <rdfa_r2_percent_cache_in_use>0</rdfa_r2_percent_cache_in_use>
      <rdfa_r1_dse_used_trks>0</rdfa_r1_dse_used_trks>
      <rdfa_r2_dse_used_trks>0</rdfa_r2_dse_used_trks>
      <rdfa_transmit_idle_time>00:00:00</rdfa_transmit_idle_time>
      <rdfa_r1_shared_trks>0</rdfa_r1_shared_trks>
    </DG_Info>
    <RDF_Pair>
      <link_status>Ready</link_status>
      <mode>Synchronous</mode>
      <device_domino>Disabled</device_domino>
      <adaptive_copy>Disabled</adaptive_copy>
      <rdfa_consistency_state>N/A</rdfa_consistency_state>
      <consistency_state>Disabled</consistency_state>
      <consistency_exempt_state>Disabled</consistency_exempt_state>
      <exempt_state>Disabled</exempt_state>
      <pair_state>Synchronized</pair_state>
      <r2_larger_than_r1>False</r2_larger_than_r1>
      <r1_r2_device_size>Equals</r1_r2_device_size>
      <Source>
	<ld_name>DEV001</ld_name>
	<dev_name>00321</dev_name>
	<state>Ready</state>
	<r1_invalids>0</r1_invalids>
	<r2_invalids>0</r2_invalids>
      </Source>
      <Target>
	<dev_name>00321</dev_name>
	<state>Write Disabled</state>
	<r1_invalids>0</r1_invalids>
	<r2_invalids>0</r2_invalids>
      </Target>
    </RDF_Pair>
    <RDF_Pair_Totals>
      <Source>
	<r1_invalids>0</r1_invalids>
	<r2_invalids>0</r2_invalids>
	<r1_invalid_mbs>0.0</r1_invalid_mbs>
	<r2_invalid_mbs>0.0</r2_invalid_mbs>
      </Source>
      <Target>
	<r1_invalids>0</r1_invalids>
	<r2_invalids>0</r2_invalids>
	<r1_invalid_mbs>0.0</r1_invalid_mbs>
	<r2_invalid_mbs>0.0</r2_invalid_mbs>
      </Target>
    </RDF_Pair_Totals>
  </DG>

</SymCLI_ML>

type XRDFQueryDG

type XRDFQueryDG struct {
	XMLName  xml.Name             `xml:"DG"`
	DGInfo   XRDFQueryDGInfo      `xml:"DG_Info"`
	RDFPairs []XRDFQueryDGRDFPair `xml:"RDF_Pair"`
}

T is the driver structure.

func (XRDFQueryDG) PairState

func (t XRDFQueryDG) PairState() string

type XRDFQueryDGInfo

type XRDFQueryDGInfo struct {
	XMLName     xml.Name `xml:"DG_Info"`
	Name        string   `xml:"name"`
	Type        string   `xml:"type"`
	SymID       string   `xml:"symid"`
	RemoteSymID string   `xml:"remote_symid"`
}

T is the driver structure.

type XRDFQueryDGRDFPair

type XRDFQueryDGRDFPair struct {
	XMLName   xml.Name `xml:"RDF_Pair"`
	PairState string   `xml:"pair_state"`
	Mode      string   `xml:"mode"`
}

T is the driver structure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL