HP Matrix Operating Environment Software manual Example Usage, Physical Server Maintenance Example

Page 75

6 Example Usage

The web service operations may be called individually for targeted purposes or they may be sequenced to perform more complex actions.

Physical Server Maintenance Example

If a physical server in use by an infrastructure service experiences a hardware failure, one may wish to move it to the Maintenance pool in IO and use another server in the infrastructure service. The following sequence of operations may be used for that purpose. (Note: Error handling is not considered in this example.)

Find the logical server associated with the server hostname. findLogicalServer

hostId = hostname

The result is a logicalServer.

Deactivate the logical server.

deactivateLogicalServers

serviceName = logicalServer.serviceName

logicalServers = { logicalServer.name }.

The result is requestId1.

Wait for the deactivateLogicalServers operation to complete. getRequestInfo

requestId = requestId1

Repeat periodically until the returned request.status is a terminal status.

Move the server to the IO Maintenance pool. moveServerToServerPool

destinationPoolName = “Maintenance” serverResourceId = logicalServer.resourceId

Activate the logical server.

activateLogicalServers

serviceName = logicalServer.serviceName

logicalServers = { logicalServer.name }

The result is requestId2.

Wait for the activateLogicalServers operation to complete. getRequestInfo

requestId = requestId2

Repeat periodically until the returned request.status is a terminal status.

Physical Server Maintenance Example 75

Image 75
Contents Abstract API and CLI Operations Reference Guide7.1 7.1 Update 1Contents CMS Data Model Contents Example Usage ExceptionsSample Java Client Accessing the Chargeback Web Service InterfacesRequiredParameterException Part I Matrix API Introduction New features in 7.1 Update Integration interface overviewIntroduction New features PowerCycleLogicalServersNew features in 7.1 LogicalServerInfo EditLogicalServers RemoveLogicalServersQuiesceCms UnquiesceCms GetCmsQuiesceStatus LogicalServerGroupDetailsTemplateInfo ServiceInfoChargeback RequestInfoSecurity Accessing the Web Service InterfacesAccessing Wsdl Command Line InterfaceList TemplateInfo OperationsImportTemplate ExportTemplateCreateService ServiceListServices GetServiceDeactivateService DeleteServiceActivateService ChangeServiceLeasePowerOffService ListRequests PowerOnServiceDeleteReplicaService RequestContinueRequest GetRequestInfoGetRequest SetRequestApprovalStateAddServersToLogicalServerGroup CancelRequestLogical Server Group GetLogicalServerGroupAddNewDiskToLogicalServerGroup AddDiskToLogicalServerGroupRawMappingTypeEnum SetLogicalServerGroupActiveServerCountLogicalServerDetails GetLogicalServerDeactivateLogicalServers LogicalServerInfoLogicalServerNotFound Exception Logical Server PowerOffLogicalServersPowerOnLogicalServers ActivateLogicalServersByteSizeEnum PowerCycleLogicalServersEditLogicalServers RemoveLogicalServersCreateServerPool Server PoolListServerPools GetServerPoolDeleteServerPool MoveServerToServerPoolAssignUsersToServerPool GetVmHost ServerUnassignUsersFromServerPool GetComputeServerSubnet SoftwareGetSanVolumeTemplate ListSanVolumesGetSanVolume ListSanVolumeTemplatesAssignTemplateToOrganization OrganizationListOrganizations GetOrganizationOrganizationName Returns None Exceptions By a Service Provider AdministratorAssignServerToOrganization UnassignServerFromOrganizationAssignSubnetToOrganization UnassignSubnetFromOrganizationAssignSoftwareToOrganization BeginCmsMaintenance UnassignSoftwareFromOrganizationSyncOrganizations QuiesceCms EndCmsMaintenanceCountRunningRequestsForCms AddCmsAddLoadBalancer LoadBalancerGetCmsQuiesceStatus ListLoadBalancersRemoveLoadBalancerCertificate SetLoadBalancerPasswordRemoveLoadBalancer AddLoadBalancerCertificateDeleteLogicalLoadBalancerGroup UnsetLoadBalancerPasswordLogicalLoadBalancer CreateLogicalLoadBalancerGroupGetFirewallRuleGroup FirewallRuleGroupAddLogicalLoadBalancerGroupMember RemoveLogicalLoadBalancerGroupMemberName AddRuleToFirewallRule AddRuleToFirewallRuleGroupRemoveRuleFromFirewallRuleGroup SyncFirewallRuleGroupsRemoveFloatingIPAddress FloatingIPAddressAddFloatingIPAddress MoveFloatingIPAddressListServerSnapshots ServerSnapshotReleaseFloatingIPAddress ListUnassociatedFloatingIPAddressesCreateServerSnapshot RevertServerSnapshotDeleteServerSnapshot Snapshot, recursively. Defaults to false Data Model Data ModelCmsQuiesceState ByteSizeByteSizeEnum CidrIpRangeCustomAddressAssignmentTypeAttribute CostCostFrequency CostFrequencyEnumCustomTemplateAttributes CustomStorageVolumeAttributeCustomProcessorAttribute CustomSubnetBindingAttributeDrMode DeploymentServiceDeploymentServiceType DeploymentServiceTypeEnumImageType FirewallRuleFirewallRuleGroupInfo FirewallRuleGroupDetailsLoadBalancerInfo IPTypeIPTypeEnum LeasePeriodLogicalDisk LogicalFirewallRuleGroupLogicalIPAddress LogicalLoadBalancerGroupMember LogicalLoadBalancerDetailsLogicalLoadBalancerGroupDetails LogicalLoadBalancerGroupInfoLogicalServerDetails LogicalLoadBalancerProtocolLogicalLoadBalancerProtocolEnum LogicalNetworkInterfaceServiceEntityStatus status LogicalServerGroupInfoLogicalServerInfo LogicalSubnet LogicalSoftwareNatType MessageSeverityMessageSeverityEnum NatEntryProcessorArchitectureEnum PacketProtocolPacketProtocolEnum ProcessorArchitectureRequestHistoryItemLevelEnum RequestDetailsRequestHistoryItem RequestHistoryItemLevelRequestTypeEnum RequestStatusRequestStatusEnum RequestTypeSanVolume SanVolumeStateSanVolumeStateEnum IDs of the cloud capacity pools in the server pool SanVolumeTemplateServerPool State cannot be determinedServerResource ServiceActionServiceActionTrigger trigger ServerPoolResourceNoteServiceEntityStatus ServiceActionTriggerServiceActionTriggerEnum ServiceDetailsSoftwareTypeEnum ServiceInfoSoftwareDiskDefinition SoftwareTypeStorageTypeEnum StorageProvisioningTypeStorageProvisioningTypeEnum StorageTypeTemplateInfo VirtualizationTypeVirtualizationTypeEnum Workflow VirtualSwitchVmHost VmHostDataStoreExceptions OrganizationNotFoundException SanVolumeNotFoundExceptionSanVolumeTemplateNotFoundException ServiceNotFoundExceptionUserNotFoundException SoftwareNotFoundExceptionSubnetNotFoundException TemplateNotFoundExceptionPhysical Server Maintenance Example Physical Server Maintenance ExampleExample Usage Sample Java Client Sample CodeSample Java Client Sample Code Sample Java Client IOClientPasswordHandler.java Sample Java Client Add this code Sample VisualStudio/.NET/C# ClientString.Format0s, DateTime.Now Sample VisualStudio/.NET/C# ClientPage Part II Chargeback API Chargeback Soap API Chargeback Soap APIAccessing the Chargeback Web Service Interfaces Accessing the Chargeback Web Service InterfacesHttps//cms-ip-address55443/hpio/chargeback/soap/v1?wsdl Operations Summary Usage ReportDetailed Usage Report List ServiceFilter Aggregated Usage ReportOne entry with consolidated data for the entire period ServiceUsagePage Data Model Period ServiceFilterServiceFilterAttribute enum FilterConnector enumDiskUsageSummary ServiceInformationResourceUsageSummary ServerUsageSummaryServiceUsageDetailPage ServiceUsagePageServiceUsageSummary AggregateServiceUsageIpAddressUsageDetail DiskUsageDetailChargebackException AuthenticationExceptionAuthorizationException ChargebackDataBaseExceptionPeriodStartDateGreaterThanEndDateException PeriodStartDateGreaterThanEndDateExceptionPeriodStartDateTooOldException RequiredParameterExceptionSample Python Client Sample Python ClientPage Pageindex = Example 2 reports.pyPage Sample Python Client 101 Sample Python Client 103 Example 3 GUI.pySample Python Client 105 Example 4 reportsfile.py 107 Sample Chargeback Usage ReportReferences ReferencesInformation to collect before contacting HP How to contact HPSupport and other resources Information to collect before contacting HPSubscribing to security bulletins Warranty informationHP authorized resellers Documentation feedbackRelated information Documentation and supportRelated information
Related manuals
Manual 79 pages 57.42 Kb Manual 12 pages 7.25 Kb

Matrix Operating Environment Software specifications

HP Matrix Operating Environment (MOE) is an innovative software platform designed to deliver efficient management and orchestration of IT resources across physical, virtual, and cloud infrastructures. It provides a comprehensive solution for organizations that require a robust and flexible environment to manage their IT operations seamlessly.

One of the main features of HP MOE is its ability to optimize resource utilization by automating the provisioning and management of infrastructure components. This includes the ability to rapidly deploy servers, storage, and networking resources in a manner that meets the dynamic needs of modern businesses. This automation significantly reduces the time and effort required for manual configurations, enabling IT teams to focus on strategic initiatives rather than routine tasks.

The software offers a unified management interface that provides visibility into the entire IT environment. Users can monitor performance metrics, track resource allocation, and manage workflows through a single dashboard. This centralized control not only simplifies operations but also enhances decision-making capabilities by providing real-time insights into system health and performance.

Another critical characteristic of HP MOE is its support for both physical and virtual resources. The platform is designed to seamlessly integrate with existing infrastructure, making it easier for organizations to adopt virtualization and hybrid cloud strategies. Its compatibility with industry-standard hypervisors allows businesses to leverage their current investments while taking advantage of the benefits of virtualization.

HP MOE incorporates advanced technologies such as automation scripts, APIs, and tools for workload balancing. This technological backbone enables organizations to implement elasticity in their environments, allowing them to scale resources up or down based on demand. The software also supports a service-oriented architecture, facilitating integration with other enterprise applications and systems.

Security is a top priority in the design of HP MOE. The software provides robust security features that ensure data integrity and protect against unauthorized access. This includes role-based access controls, encryption, and compliance reporting, all of which contribute to a secure operating environment.

In summary, HP Matrix Operating Environment Software is a powerful solution that addresses the complexities of managing modern IT resources. Its key features include automation, unified management, support for physical and virtual environments, and strong security measures. With its ability to enhance efficiency and streamline operations, HP MOE is an essential tool for organizations looking to stay competitive in an increasingly digital landscape.