Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for site (0.17 sec)

  1. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. Makefile

    	@echo "Running tests for automatic site replication of IAM (with LDAP)"
    	@(env bash $(PWD)/docs/site-replication/run-multi-site-ldap.sh)
    
    test-site-replication-oidc: install-race ## verify automatic site replication
    	@echo "Running tests for automatic site replication of IAM (with OIDC)"
    	@(env bash $(PWD)/docs/site-replication/run-multi-site-oidc.sh)
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  6. cmd/bucket-policy-handlers.go

    	}
    
    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketPolicyConfig, configData)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Call site replication hook.
    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, madmin.SRBucketMeta{
    		Type:      madmin.SRBucketMetaTypePolicy,
    		Bucket:    bucket,
    		Policy:    bucketPolicyBytes,
    		UpdatedAt: updatedAt,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. docs/site-replication/README.md

    # Automatic Site Replication
    
    This feature allows multiple independent MinIO sites (or clusters) that are using the same external IDentity Provider (IDP) to be configured as replicas. In this situation the set of replica sites are referred to as peer sites or just sites. When site-replication is enabled on a set of sites, the following changes are replicated to all other sites:
    
    - Creation and deletion of buckets and objects
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. docs/bucket/replication/setup_2site_existing_replication.sh

    	exit 1
    fi
    
    sitea_count=$(cat /tmp/sitea_dirs.txt | wc -l) # need to do it this way to avoid filename in the output
    siteb_count=$(cat /tmp/siteb_dirs.txt | wc -l) # need to do it this way to avoid filename in the output
    sitea_out=$(cat /tmp/sitea_dirs.txt)
    siteb_out=$(cat /tmp/siteb_dirs.txt)
    
    if [ $sitea_count -ne 0 ]; then
    	echo "BUG: expected no 'directory objects' left after deletion: ${sitea_out}"
    	exit 1
    fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    	}
    
    	actualSize := size
    	var idxCb func() []byte
    	if isCompressible(r.Header, object) && size > minCompressibleSize {
    		// Storing the compression metadata.
    		metadata[ReservedMetadataPrefix+"compression"] = compressionAlgorithmV2
    		metadata[ReservedMetadataPrefix+"actual-size"] = strconv.FormatInt(size, 10)
    
    		actualReader, err := hash.NewReader(ctx, reader, size, md5hex, sha256hex, actualSize)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		Code:           "XMinioSiteReplicationConfigMissingError",
    		Description:    "Site not found in site replication configuration",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSiteReplicationIAMConfigMismatch: {
    		Code:           "XMinioSiteReplicationIAMConfigMismatch",
    		Description:    "IAM configuration mismatch between sites",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminRebalanceAlreadyStarted: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
Back to top