Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for site (0.15 sec)

  1. cmd/site-replication-utils.go

    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    //go:generate msgp -file=$GOFILE
    
    // SiteResyncStatus captures current replication resync status for a target site
    type SiteResyncStatus struct {
    	Version int `json:"version" msg:"v"`
    	// Overall site status
    	Status                        ResyncStatusType            `json:"st" msg:"ss"`
    	DeplID                        string                      `json:"dId" msg:"did"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.9K bytes
    - Viewed (1)
  2. cmd/site-replication.go

    const (
    	srStatePrefix = minioConfigPrefix + "/site-replication"
    	srStateFile   = "state.json"
    )
    
    const (
    	srStateFormatVersion1 = 1
    )
    
    var (
    	errSRCannotJoin = SRError{
    		Cause: errors.New("this site is already configured for site-replication"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRDuplicateSites = SRError{
    		Cause: errors.New("duplicate sites provided for site-replication"),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  3. cmd/site-replication-metrics.go

    			Count: float64(minuteTotals.N),
    			Bytes: minuteTotals.Size,
    		},
    		LastHour: madmin.RStat{
    			Count: float64(hourTotals.N),
    			Bytes: hourTotals.Size,
    		},
    		Totals: madmin.RStat{
    			Count: float64(rt.SinceUptime.Count),
    			Bytes: rt.SinceUptime.Bytes,
    		},
    		ErrCounts: errCounts,
    	}
    }
    
    func (rt *RTimedMetrics) addsize(size int64, err error) {
    	// failures seen since uptime
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. cmd/site-replication_test.go

    			},
    			set.CreateStringSet("dep1", "dep2", "dep3"),
    			set.CreateStringSet("dep1"),
    			[]string{"minio2", "minio3"},
    		},
    		// Test2: new site added that is not in replicated setup
    		{
    			[]madmin.PeerInfo{{Endpoint: "minio1:9000", Name: "minio1", DeploymentID: "dep1"}, {Endpoint: "minio2:9000", Name: "minio2", DeploymentID: "dep2"}, {Endpoint: "minio3:9000", Name: "minio3", DeploymentID: "dep3"}},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-oidc.sh

    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy create minio1 projecta ./docs/site-replication/rw.json
    sleep 5
    
    # Generate STS credential with STS call to minio1
    STS_CRED=$(MINIO_ENDPOINT=http://localhost:9001 go run ./docs/site-replication/gen-oidc-sts-cred.go)
    
    MC_HOST_foo=http://${STS_CRED}@localhost:9001 ./mc ls foo
    if [ $? -ne 0 ]; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. cmd/admin-handlers-site-replication.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	// Report the ILMExpiryStats only if at least one site has replication of ILM expiry enabled
    	var replicateILMExpiry bool
    	for _, site := range info.Sites {
    		if site.ReplicateILMExpiry {
    			replicateILMExpiry = true
    			break
    		}
    	}
    	if !replicateILMExpiry {
    		// explicitly send nil for ILMExpiryStats
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-ldap.sh

    site1_pid=$!
    minio server --config-dir /tmp/minio-ldap --address ":9002" /tmp/minio-ldap-idp2/{1...4} >/tmp/minio2_1.log 2>&1 &
    site2_pid=$!
    minio server --config-dir /tmp/minio-ldap --address ":9003" /tmp/minio-ldap-idp3/{1...4} >/tmp/minio3_1.log 2>&1 &
    site3_pid=$!
    
    sleep 10
    
    export MC_HOST_minio1=http://minio:minio123@localhost:9001
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 14 04:51:23 GMT 2024
    - 10K bytes
    - Viewed (1)
  8. docs/site-replication/run-multi-site-minio-idp.sh

    export MC_HOST_minio30=http://minio:minio123@localhost:9030
    
    ./mc admin replicate add minio1 minio2
    
    site_enabled=$(./mc admin replicate info minio1)
    site_enabled_peer=$(./mc admin replicate info minio10)
    
    [[ $site_enabled =~ "is not enabled" ]] && {
    	echo "expected both peers to have same information"
    	exit_1
    }
    
    [[ $site_enabled_peer =~ "is not enabled" ]] && {
    	echo "expected both peers to have same information"
    	exit_1
    }
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. cmd/site-replication-metrics_gen_test.go

    Poorna <******@****.***> 1693382459 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 30 08:00:59 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  10. cmd/site-replication-metrics_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "LastHour"
    	o = append(o, 0x84, 0xa8, 0x4c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x75, 0x72)
    	o, err = z.LastHour.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "LastHour")
    		return
    	}
    	// string "SinceUptime"
    	o = append(o, 0xab, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65)
    	// map header, size 2
    	// string "Count"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
Back to top