New-DPMServerScope
Cria um objeto de escopo do servidor DPM.
Sintaxe
New-DPMServerScope
[[-DPMServerName] <String>]
[-ObjectType] <ScopedObjectType>
[-ObjectId] <String[]>
[-AlertType <AlertEnum>]
[-ErrorId <Int32>]
[-DetailedErrorId <Int32>]
[<CommonParameters>]
Description
O cmdlet New-DPMServerScope cria um objeto de escopo de servidor do System Center - Data Protection Manager (DPM). Você pode criar uma conexão de servidor DPM com escopo usando o cmdlet com um objeto de escopo.
Exemplos
Exemplo 1: Criar escopo de servidor para uma conexão
PS C:\>$ServerScope = New-DPMServerScope -DPMServerName "DPMServer07" -ObjectType ProtectionGroup -ObjectID "Protection Group 01"
PS C:\> $DpmServer = Connect-DPMServer -DPMServerScope $ServerScope
O primeiro comando cria um escopo de servidor para o servidor DPM chamado DPMServer07 e, em seguida, armazena esse escopo na variável $ServerScope. O comando especifica ProtectionGroup como o tipo de objeto, com uma ID de objeto do Grupo de Proteção 01.
O segundo comando usa o cmdlet Connect-DPMServer para criar uma conexão que usa o escopo do servidor em $ServerScope.
Exemplo 2: Criar escopo de servidor com alertas especificados
PS C:\>$ServerScope = New-DPMServerScope -DPMServerName "DPMServer07" -ObjectType Datasource -ObjectID "70fd1133-1bab-4178-8e8c-24d928b6b16c" -AlertType BackupToTapeFailedAlert -DetailedErrorID 910 -ErrorID 3113
PS C:\> $DpmServer = Connect-DPMServer -DPMServerScope $ServerScope
O primeiro comando cria um escopo de servidor para o servidor DPM chamado DPMServer07 e, em seguida, armazena esse escopo na variável $ServerScope. O comando especifica Datasource como o tipo de objeto e especifica uma ID de objeto. O comando também especifica um tipo de alerta e um ID de erro detalhado e um ID de erro.
O segundo comando usa o cmdlet Connect-DPMServer para criar uma conexão que tenha o escopo do servidor em $ServerScope.
Parâmetros
-AlertType
Especifica o tipo de alerta para o escopo da conexão.
Os valores aceitáveis para este parâmetro são:
- RestoreDBAlert
- NullType
- AgentIncompatibleAlert
- AgenteInacessívelAlerta
- MediaVerificationFailedAlert
- MediaEraseFailedAlert
- DetailedInventoryFailedAlert
- MediaDecommissionedAlert
- MediaDataEraseAlert
- FreeMediaThresholdAlert
- DataSetCopyFailedAlert
- BackupToTapeFailedAlert
- BackupToTapeCatalogFailedAlert
- LibraryDriveAlert
- LibraryNotAvailableAlert
- LibraryNotWorkingEfficientAlert
- MediaRequiredAlert
- ReplicaInitializationInProgressAlert
- SynchronizationFailedAlert
- StopProtectionFailedAlert
- RecoveryInProgressAlert
- RecoveryPartiallySuccessfulAlert
- RecoverySuccessfulAlert
- RecoveryFailedAlert
- ShadowCopyFailedAlert
- ReplicaInMissingStateAlert
- ReplicaInInvalidStateAlert
- PartialDeployedClusterAlert
- AgentTaskFailAlert
- SqmOptInAlert
- DiskThresholdCrossedAlert
- VerificaçãoInProgressAlert
- DiskMissingAlert
- CatalogThresholdCrossedAlert
- DatasetDataVerificationFailed
- SCDiskThresholdCrossedAlert
- ConfigureProtectionFailedAlert
- ReplicaManualLoadPendingAlert
- ReplicaInitializationPendingAlert
- CertificateExpiringAlert
- EvalShareInquiryAlert
- ShadowCopyConsolidationRequired
- PathChangedForShareAlert
- BackupMetadataEnumerationFailedAlert
- DuplicateDisksDetectedAlert
- DataCorruptionDetectedAlert
- DataCorruptionDetectedDuringReadAlert
- StagingAreaRestoreInProgressAlert
- StagingAreaRestoreParcialmenteSuccessfulAlert
- StagingAreaRestoreSuccessfulAlert
- StagingAreaRestoreFailedAlert
- AgentePropriedadeExigidoAlerta
- AutoInstanceProtectionFailedAlert
- AgentAttachFailedAlert
- BackupSLAFailedAlert
- DpmoRPCreationFailureAlert
- DOCVolumeMissing
- SharepointROAddedAlert
- SharepointRORemovedAlert
- ParcialBackupSuccessAlert
- GlobalDbNotAvailable
- LibraryDevicesDisabledAlert
- LdmWarningThresholdReachedAlert
- LdmErrorThresholdReachedAlert
- CertificadoExpirarAvisoAlerta
- CertificateExpiryErrorAlert
- RecoveryFailedWarningAlert
- Alerta Externo
- OnlineBackupServiceUnreachableAlert
- OnlineBackupPoliciesInconsistentAlert
- CloudBackupFailedAlert
- ParcialCloudBackupSuccessAlert
Tipo: | AlertEnum |
Valores aceites: | NullType, AgentIncompatibleAlert, AgentUnreachableAlert, MediaVerificationFailedAlert, MediaEraseFailedAlert, DetailedInventoryFailedAlert, MediaDecommissionedAlert, MediaDataEraseAlert, FreeMediaThresholdAlert, DataSetCopyFailedAlert, BackupToTapeFailedAlert, BackupToTapeCatalogFailedAlert, LibraryDriveAlert, LibraryNotAvailableAlert, LibraryNotWorkingEfficientlyAlert, MediaRequiredAlert, ReplicaInitializationInProgressAlert, SynchronizationFailedAlert, StopProtectionFailedAlert, RecoveryInProgressAlert, RecoveryPartiallySuccessfulAlert, RecoverySuccessfulAlert, RecoveryFailedAlert, ShadowCopyFailedAlert, ReplicaInMissingStateAlert, ReplicaInInvalidStateAlert, PartialDeployedClusterAlert, AgentTaskFailAlert, SqmOptInAlert, DiskThresholdCrossedAlert, VerificationInProgressAlert, DiskMissingAlert, CatalogThresholdCrossedAlert, DatasetDataVerificationFailed, SCDiskThresholdCrossedAlert, ConfigureProtectionFailedAlert, ReplicaManualLoadPendingAlert, ReplicaInitializationPendingAlert, CertificateExpiringAlert, EvalShareInquiryAlert, ShadowCopyConsolidationRequired, PathChangedForShareAlert, BackupMetadataEnumerationFailedAlert, DuplicateDisksDetectedAlert, DataCorruptionDetectedAlert, DataCorruptionDetectedDuringReadAlert, StagingAreaRestoreInProgressAlert, StagingAreaRestorePartiallySuccessfulAlert, StagingAreaRestoreSuccessfulAlert, StagingAreaRestoreFailedAlert, AgentOwnershipRequiredAlert, AutoInstanceProtectionFailedAlert, AgentAttachFailedAlert, BackupSLAFailedAlert, DpmoRPCreationFailureAlert, DOCVolumeMissing, SharepointROAddedAlert, SharepointRORemovedAlert, PartialBackupSuccessAlert, GlobalDbNotAvailable, LibraryDevicesDisabledAlert, LdmWarningThresholdReachedAlert, LdmErrorThresholdReachedAlert, CertificateExpiryWarningAlert, CertificateExpiryErrorAlert, RecoveryFailedWarningAlert, ExternalAlert, OnlineBackupServiceUnreachableAlert, OnlineBackupPoliciesInconsistentAlert, CloudBackupFailedAlert, PartialCloudBackupSuccessAlert, SLAMissedAlert, OfflineInitialCloudBackupPendingAlert, RestoreDBAlert |
Position: | Named |
Default value: | None |
Necessário: | False |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-DetailedErrorId
Especifica a ID de um erro detalhado.
Tipo: | Int32 |
Position: | Named |
Default value: | None |
Necessário: | False |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-DPMServerName
Especifica o nome de um servidor DPM para o qual esse cmdlet cria um escopo de servidor.
Tipo: | String |
Position: | 1 |
Default value: | None |
Necessário: | False |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-ErrorId
Especifica a ID de um erro.
Tipo: | Int32 |
Position: | Named |
Default value: | None |
Necessário: | False |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-ObjectId
Especifica uma matriz de IDs para objetos cujo escopo é uma conexão.
Tipo: | String[] |
Position: | 3 |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-ObjectType
Especifica o tipo de objetos definidos no parâmetro ObjectId.
Os valores aceitáveis para este parâmetro são:
- Fonte de dados. DatasourceID.
- Grupo de proteção. ProtectionGroupID/ProtectionGroupName.
- ProductionServer. ProductionServerID/ProductionServerName.
- Disco. DiskID.
- Volume. VolumeID.
- Biblioteca. ID da biblioteca.
- Conduzir. DriveID.
- AdhocAction. ActionID.
- DPMServer. DPMServerName.
Tipo: | ScopedObjectType |
Valores aceites: | DpmServer, Datasource, ProtectionGroup, ProductionServer, Disk, Volume, Library, Drive, AdhocAction |
Position: | 2 |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |