Skip to content

Change VM state ​

A Managed OS VM can operate under various service states, each offering different levels of access and control. Understanding these states will help you optimize your interactions with the VM.

The Managed OS VM can be set to one of the following service states:

  • Full Managed
  • Provider Maintenance
  • Customer Maintenance
  • Temp Admin

Full Managed ​

TIP

Swisscom is responsible for the server

This is the default state for a Managed OS VM, customers do not have administrative or root permissions on the Operating System. If the Managed OS VM operates outside of the default state, it will have no Service Level Agreement (SLA) and monitoring enabled.

Provider Maintenance ​

TIP

Swisscom is responsible for the server

The customer does not have any administrative or root permissions on the Operating System. Swisscom can carry out maintenance work on the server. This status is especially useful during the scheduled Operating System patching, as it avoids any disruptive influences during the process. The customer cannot switch into this state.

Customer Maintenance ​

TIP

The customer is responsible for the server

  • There is no guaranteed Service Level Agreement (SLA)
  • No Operating System monitoring is provided

In this state, the customer can perform certain actions, such as reconfiguring, rebooting or shutting down the Managed OS VM, without having to switch to the Temp Admin state. Service Level Agreements at the Operating System level are suspended in this state.

Temp Admin ​

TIP

The customer is responsible for the server

  • There is no guaranteed Service Level Agreement (SLA)
  • No Operating System monitoring is provided
  • The Managed OS VM is regularly patched in this state at the predefined patch window

The customer is granted temporary administrative or root permission to the Operating System. Service Level Agreements at Operating System level are suspended in this state. This state should only be temporary. The Managed OS VM should be switched back to the Full Managed as soon as the required administrative tasks are completed.

Check current state ​

  1. Navigate to Virtual Machines and use the search bar to locate the desired VM. In the details panel, find the power state section. The current state of the VM is displayed next to it. Details

Change to Customer Maintenance state ​

  1. Navigate to Virtual Machines and click on the VM details panel.

Action state change

  1. In the Actions panel of the VM choose Change Managed OS State

Action state change

  1. In the pop-up window, select Customer Maintenance from the list of states, then click Submit.

Customer Maintenance

  1. The progress can be monitored, and once the process is complete, the state in the Managed OS panel will be updated automatically.

Customer Maintenance

Customer Maintenance

Change to Temp Admin state ​

  1. Navigate to Virtual Machines and click on the VM details panel.

Action state change

  1. In the Actions panel of the VM choose Change Managed OS State

Action state change

  1. In the pop-up window, select Temp Admin from the list of states. Define a password for the temporary admin user custadm in the password field, then click Submit.

Temp Admin

Once the transition to the Temp Admin state is complete, the VM enters a state that allows you to perform administrative tasks with temporary privileges. The custadm user has the necessary rights to execute commands with elevated permissions. You can use this account to install software and manage the VM as required. Refer to this guide for installing software: Installing Software

WARNING

The set password for the custadm user is only valid for 60 days. After 60 days, the password will expire and you will need to change to the Temp Admin state again and set a new password.

Change back to Full Managed state ​

  1. Navigate to Virtual Machines and click on the VM details panel.

Action state change

  1. In the Actions panel of the VM choose Change Managed OS State

Action state change

  1. In the pop-up window, select Full Managed from the list of states.

Full Managed

The Change Managed OS State action back to Full Managed triggers the Swisscom compliance check. This process verifies that the VM meets Swisscom’s security and configuration standards. Completing this check is mandatory to ensure the VM is secure and stable before being returned to Full Managed state.

The result of the compliance check is displayed in the portal.

  • If the compliance check passes, the VM will automatically transition back to the Full Managed state, and you can continue using it as a fully managed VM.
  • If the compliance check fails, review the error message for details on the issue and follow the recommended mitigation steps. Once resolved, repeat the Change Managed OS State action to return the VM to the Full Managed state.

For more information about the compliance check, refer to the Technical Description

Check which user changed the state ​

  1. Navigate to Virtual Machines and click on the VM details panel.

Action state change

  1. To view which user changed the state of the VM, navigate to the Request History tab. Look for entries with the type UPDATE: VM_CHANGE_MANAGED_OS_STATE. The name of the user who performed the action is displayed in the Requested By column.

User