/**
  * {@inheritdoc}
  * @see \Scalr\Modules\PlatformModuleInterface::ResumeServer()
  */
 public function ResumeServer(DBServer $DBServer)
 {
     $cs = $DBServer->GetEnvironmentObject()->cloudstack($this->platform);
     try {
         $cs->instance->start($DBServer->GetProperty(CLOUDSTACK_SERVER_PROPERTIES::SERVER_ID));
     } catch (NotFoundException $e) {
         throw new InstanceNotFoundException($e->getMessage(), $e->getCode(), $e);
     }
     $remoteIp = CloudstackHelper::getSharedIP($DBServer);
     if ($remoteIp) {
         $DBServer->remoteIp = $remoteIp;
     }
     parent::ResumeServer($DBServer);
     return true;
 }
 /**
  * Constructor
  *
  * @param   string    $platform  The name of the cloudstack based platform
  */
 public function __construct($platform = \SERVER_PLATFORMS::CLOUDSTACK)
 {
     parent::__construct($platform);
 }