|
Oracle VM Manager Web Services API Reference Release 2.1.5 E14979-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ovs.api.ServerPoolManagementImpl
public class ServerPoolManagementImpl
This class provides management funtionality for the virtualServer pools and associated virtual servers.
Constructor Summary | |
---|---|
ServerPoolManagementImpl() Default constructor. |
Method Summary | |
---|---|
VirtualServer[] |
addMembers(ServerPool serverPool, VirtualServerConfig[] serverConfigs) Add virtual servers to a server pool. Server ID and Server Pool ID must be pointed. |
void |
checkHAAbility4ServerPoolById(java.lang.Long poolId) Check HA ability for the server pool. |
void |
checkServerConnection(VirtualServer vs) Check Server can be connected or not. |
void |
checkVirtualServerCompatibility(MasterVirtualServer masterVS, VirtualServer vs) Check Virtual server compatibility, so as to decide these server can be within one server pool or not. Such compatibility rules will be richful. 1.Check CPU Architecture. 2.Check CPU Platform. |
ServerPool |
createServerPool(ServerPoolConfig serverPoolConfig) Creates a new server pool for the system. |
ServerPool |
createServerPool(ServerPoolConfig serverPoolConfig, java.lang.Long[] userIDList) For OVM Manager UI and CLI usage, this api didn't do precheck to avoid performance issue, so before call this api, please call validateCreateServerPool firstly. |
void |
deleteServerPool(ServerPool serverPool) |
void |
deleteServerPool(ServerPool serverPool, boolean isDelWorkDirectory) Remove a server pool completely from the system (not physical destruction of the server pool). pool ID must be pointed. |
void |
deleteServerPool(ServerPool serverPool, boolean isDelWorkingDir, boolean force, java.util.List warningMessageList) Remove a server pool from ovm db and unregister the server pool from agent db. When the flag force is true, following attentions need be paid: 1.If Master server agent is alive, the server pool info will be removed from OVM DB and Agent DB. 2.If Master server agent is unreachable, the server pool info will be removed just from OVM DB. 3.Some ongoing task will not be checked for the server pool, such as importing resource, running vm. |
java.lang.String |
getAgentVersion(java.lang.Long serverId) Get current server's agent version number. Through getting the agent version, can do some useful estimations. |
java.lang.String |
getAgentVersion(VirtualServer server) Get Virtual Server agent's version directly from agent side. |
VirtualServer[] |
getAllMembers(ServerPool serverPool) Returns all virtual servers for the server pool. pool ID must be pointed. |
ServerPool[] |
getAllServerPools() Returns an array of all server pools managed by the system. |
java.util.Map |
getClusterRootByServerPoolId(java.lang.Long serverPoolId) Return the root actual server pool shared storage(eg, mount point:/OVS, actual mount point: /dev/sdxx or nfs server:/export_point |
MasterVirtualServerStatus |
getMasterAgentStatus(ServerPool serverPool) Returns the current status of the master server, for a server pool. Agent Status: Active/Unreachable. |
MasterVirtualServer |
getMasterServer(ServerPool serverPool) Returns the mater server configured for the server pool by pool id. pool ID must be pointed. |
java.util.Map |
getMinimumAgentVersion(java.lang.Long[] serverPoolIDs) Get minimum agent version in server pools. |
java.lang.String |
getMinSupportedOVSAgentVersion() Get minimum OVS agent version that is required for the OVM API to perform correctly. |
java.util.Map |
getNetworkBridges(ServerPool serverPool) Get xen bridge from a server pool. pool ID must be pointed. |
java.util.Map |
getNetworkBridgesByServerIP(VirtualServer virtualServer) Get xen brige by virtualServer ip |
VirtualServer |
getServer(VirtualServer vs) Deprecated. replaced by getVirtualServerById(VirtualServer) . |
VirtualServer |
getServerByName(ServerPool serverPool, VirtualServer vs) Deprecated. |
ServerPool |
getServerPool(ServerPool serverPool) Deprecated. replaced by getServerPoolById(ServerPool) . |
ServerPool |
getServerPoolById(java.lang.Long poolId) Returns instances of server pool by id managed by the system. pool ID must be pointed. |
ServerPool |
getServerPoolById(ServerPool serverPool) Deprecated. |
ServerPool[] |
getServerPoolByName(ServerPool serverPool) Returns instance of specific server pools managed by the system, by (%)its name(%). ServerPool name must be pointed. |
ServerPool |
getServerPoolByName(java.lang.String poolName) Returns an instance of a specific server pool managed by the system, query condition is its name. pool name must be pointed. |
ServerPoolMetrics |
getServerPoolMetricsByServerPoolId(java.lang.Long serverPoolId) Get the sum of cpus, chips and cpu speed(MHZ) in one serverPool. |
ServerPool[] |
getServerPools(ServerPool serverPool, java.lang.Long loginUserId) More generic query for server pool, user can query server pools by server pool id, server pool name and server pool status More generic query for server pool, user can query server pools by server pool id, server pool name and server pool status |
java.util.Map |
getStorageRepositoriesByServerPoolId(java.lang.Long serverPoolId) Return all mounted storage repositories, like /OVS/:/dev/sdc;/OVS/uuid:nfs:/export_point; |
VirtualServer |
getVirtualServerById(java.lang.Long vsID) Return a specific instance of the virtual server by virtualServer id. |
VirtualServer |
getVirtualServerById(VirtualServer vs) Return a specific instance of the virtual server by virtualServer id. server ID must be pointed. |
VirtualServer |
getVirtualServerByName(java.lang.String serverPoolName, java.lang.String virtualServerName) Returns an instance of the virtual server by pool name and server name from a server pool. pool name and server name must be pointed. |
VirtualServer[] |
getVirtualServerByServerPool(java.lang.Long serverPoolID) Get Server By Server Pool ID |
VirtualServerMetrics[] |
getVirtualServerMetrics(java.lang.Long[] virtualServerIDList) Get statistics for a set of VirtualServers, this covers memory and CPU statistics. |
VirtualServer[] |
getVirtualServers(ServerPool pool, VirtualServer vs, java.lang.Long loginUserId) Get servers which belong to the server pool and currnt login user can access . |
void |
rebootServer(VirtualServer server) Reboots the virtual server. server ID must be pointed. |
void |
refreshServerPool(ServerPool pool) Refresh server and server pool status , synchronize db data between EM-OVM and Agent db. |
void |
removeMember(VirtualServer server) Deprecated. |
void |
removeMember(VirtualServer server, boolean force) Deprecated. |
void |
removeMember(VirtualServer server, boolean force, java.util.List warningMessageList) Removes a virtual server from the server pool (logical de-referencing). server ID must be pointed. When the flag force is true, following attentions need be paid: 1.Some ongoing task will not be checked for the virtual server, such as running vm. 2.If the virtual server is unreachable, the virtual server still will be removed from OVM db and agent DB. Otherwise,removeMember will check following validations: 1.Is there any running vm in this virtual server? |
void |
restoreVirtualServerPoolByManagerData(java.lang.Long serverPoolId) Populate Server Pool data from Manager DB to Agent DB. |
void |
shutdownServer(VirtualServer server) Shuts down the virtual server. server ID must be pointed. |
void |
updateServerPool(java.lang.Long poolId, boolean HAStatus, java.lang.String newPoolName) Update server pool info, including: 1.Update name of server pool; 2.Enable/Disable HA status for server pool. |
void |
updateUserList4ServerPool(java.lang.Long serverPoolId, java.lang.Long[] userIDList) Update User List for server pool. |
void |
updateUtilityServerPassword(java.lang.String hostName, java.lang.String oldPassword, java.lang.String newPassword) Update password for utility virtual server. |
void |
updateVirtualServer(VirtualServerConfig serverConfig) |
void |
updateVirtualServerAgentPassword(java.lang.String hostName, java.lang.String oldPassword, java.lang.String newPassword) Update virtual server agent's password. |
void |
updateVirtualServerById(VirtualServer vs, boolean force) |
void |
updateVirtualServerById(VirtualServer vs, boolean force, java.util.List warningMessageList) Update Virtual Server information by server id. 1.Change virtual server informaion stored in ovm db, such as agent password, by this way, can populate agent password from agent side to OVM side. 2.Change utility virutl server informaion stored in ovm db, such as login password store in ovmdb, by using this way, can populate utility virtual server login password from server side to OVM side. 3.Change the virtual server role: Including: a)Reassign one virtual server role(Master/Utility/VirtualServer) to another virtual server; b)Change one virtual server role(Master/Utility/VirtualServer). Notes: a) For virtual server, running vm and prefer server list will be checked. |
void |
validateAddMembers(ServerPool serverPool, VirtualServerConfig[] serverConfigs) Pre-check for server addition into serverPool. |
void |
validateCreateServerPool(ServerPoolConfig poolConfig) Pre-check for create server pool. |
void |
validateDeleteServerPool(ServerPool serverPool) Pre-check for server pool deletion. |
void |
validateRebootServer(VirtualServer vs) This API done such validation jobs: The server's agent and its master agent can be connected or not? |
void |
validateRemoveMember(VirtualServer vs) |
void |
validateRemoveMember(VirtualServer vs, boolean force) |
void |
validateRemoveMember(VirtualServer vs, boolean force, java.util.List warningMessageList) Pre-check for server removal from the serverPool. |
void |
validateShutdownServer(VirtualServer vs) This API done such validation jobs: 1.Check the server's agent can be connected or not. 2.Check the server's master agent can be connected or not. 3.Check the server's agent version, if version number is 212, the operation shutdown server is unsupported. |
void |
validateUpdateUtilityServerPassword(java.lang.String hostName, java.lang.String oldPassword) Validation user and password for utility server. 1.Try to connect utility virtual server using oldpassword. 2.If connection failed, then validtion will fail, and throw error exception message. |
void |
validateUpdateVSAgentPassword(java.lang.String hostName, java.lang.String oldPassword) Validation virtual server agent password can be updated or not. 1.Try to connect virtual server agent usting oldPassword. 2.If failed, then validationg will fail, and throw error exception message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerPoolManagementImpl()
Method Detail |
---|
public VirtualServer[] getVirtualServers(ServerPool pool, VirtualServer vs, java.lang.Long loginUserId)
getVirtualServers
in interface ServerPoolManagement
pool
- Server Poolvs
- Virtual ServerloginUserId
- Current login usre idpublic java.lang.String getMinSupportedOVSAgentVersion()
getMinSupportedOVSAgentVersion
in interface ServerPoolManagement
public java.lang.String getAgentVersion(java.lang.Long serverId)
getAgentVersion
in interface ServerPoolManagement
public java.lang.String getAgentVersion(VirtualServer server) throws oracle.ovs.biz.exception.OVSException
getAgentVersion
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
public java.util.Map getClusterRootByServerPoolId(java.lang.Long serverPoolId) throws oracle.ovs.biz.exception.OVSException
getClusterRootByServerPoolId
in interface ServerPoolManagement
serverPoolId
- Server Pool IDoracle.ovs.biz.exception.OVSException
public java.util.Map getStorageRepositoriesByServerPoolId(java.lang.Long serverPoolId) throws oracle.ovs.biz.exception.OVSException
getStorageRepositoriesByServerPoolId
in interface ServerPoolManagement
serverPoolId
- Server Pool IDoracle.ovs.biz.exception.OVSException
public void updateUserList4ServerPool(java.lang.Long serverPoolId, java.lang.Long[] userIDList)
updateUserList4ServerPool
in interface ServerPoolManagement
serverPoolId
- Server Pool IDuserIDList
- Array of User IDpublic ServerPoolMetrics getServerPoolMetricsByServerPoolId(java.lang.Long serverPoolId) throws oracle.ovs.biz.exception.OVSException
getServerPoolMetricsByServerPoolId
in interface ServerPoolManagement
serverPoolId
- Server Pool IDoracle.ovs.biz.exception.OVSException
ServerPoolMetrics
public VirtualServerMetrics[] getVirtualServerMetrics(java.lang.Long[] virtualServerIDList) throws oracle.ovs.biz.exception.OVSException
getVirtualServerMetrics
in interface ServerPoolManagement
virtualServerIDList
- Array of virtualServerID( Data type is Long)oracle.ovs.biz.exception.OVSException
public void updateVirtualServer(VirtualServerConfig serverConfig) throws oracle.ovs.biz.exception.OVSException
updateVirtualServer
in interface ServerPoolManagement
serverConfig
- using VirtualServer or UtilityVirtualServer object to construct VirtualServerConfig.oracle.ovs.biz.exception.OVSException
public void validateAddMembers(ServerPool serverPool, VirtualServerConfig[] serverConfigs) throws oracle.ovs.biz.exception.OVSException
validateAddMembers
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
public VirtualServer[] addMembers(ServerPool serverPool, VirtualServerConfig[] serverConfigs) throws oracle.ovs.biz.exception.OVSException
addMembers
in interface ServerPoolManagement
serverPool
- Add members for which server poolserverConfigs
- Array for VirtualServerConfigoracle.ovs.biz.exception.OVSException
VirtualServerConfig
public void validateCreateServerPool(ServerPoolConfig poolConfig) throws oracle.ovs.biz.exception.OVSException
validateCreateServerPool
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
public void checkHAAbility4ServerPoolById(java.lang.Long poolId) throws oracle.ovs.biz.exception.OVSException
checkHAAbility4ServerPoolById
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
public ServerPool createServerPool(ServerPoolConfig serverPoolConfig) throws oracle.ovs.biz.exception.OVSException
createServerPool
in interface ServerPoolManagement
serverPoolConfig
- @see oracle.ovs.api.datamodel.serverPool.config.ServerPoolConfigoracle.ovs.biz.exception.OVSException
public ServerPool createServerPool(ServerPoolConfig serverPoolConfig, java.lang.Long[] userIDList) throws oracle.ovs.biz.exception.OVSException
createServerPool
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
public void validateDeleteServerPool(ServerPool serverPool) throws oracle.ovs.biz.serverPool.ServerPoolException, oracle.ovs.biz.agent.AgentException, oracle.ovs.biz.server.ServerException
validateDeleteServerPool
in interface ServerPoolManagement
oracle.ovs.biz.serverPool.ServerPoolException
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.server.ServerException
public void deleteServerPool(ServerPool serverPool, boolean isDelWorkDirectory) throws oracle.ovs.biz.exception.OVSException
deleteServerPool
in interface ServerPoolManagement
serverPool
- pool ID must be pointed.isDelWorkDirectory
- Use this flag to decide delete physical working directory or not.oracle.ovs.biz.exception.OVSException
public void deleteServerPool(ServerPool serverPool, boolean isDelWorkingDir, boolean force, java.util.List warningMessageList) throws oracle.ovs.biz.exception.OVSException
deleteServerPool
in interface ServerPoolManagement
isDelWorkingDir
- Use this flag to decide delete physical working directory or not.force
- if force=true, the server pool will be forced deleted.warningMessageList
- List of OVSWarningMessage
oracle.ovs.biz.exception.OVSException
OVSWarningMessage
public void deleteServerPool(ServerPool serverPool) throws oracle.ovs.biz.exception.OVSException
deleteServerPool
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
public VirtualServer[] getAllMembers(ServerPool serverPool)
getAllMembers
in interface ServerPoolManagement
public ServerPool[] getAllServerPools()
getAllServerPools
in interface ServerPoolManagement
public MasterVirtualServerStatus getMasterAgentStatus(ServerPool serverPool)
getMasterAgentStatus
in interface ServerPoolManagement
pool ID must be pointed.
public MasterVirtualServer getMasterServer(ServerPool serverPool)
getMasterServer
in interface ServerPoolManagement
public VirtualServer getVirtualServerById(VirtualServer vs)
getVirtualServerById
in interface ServerPoolManagement
public VirtualServer getVirtualServerById(java.lang.Long vsID)
getVirtualServerById
in interface ServerPoolManagement
vsID
- virtual server Idpublic VirtualServer[] getVirtualServerByServerPool(java.lang.Long serverPoolID)
getVirtualServerByServerPool
in interface ServerPoolManagement
public VirtualServer getServer(VirtualServer vs)
getVirtualServerById(VirtualServer)
.getServer
in interface ServerPoolManagement
public VirtualServer getServerByName(ServerPool serverPool, VirtualServer vs)
getServerByName
in interface ServerPoolManagement
public java.util.Map getMinimumAgentVersion(java.lang.Long[] serverPoolIDs)
getMinimumAgentVersion
in interface ServerPoolManagement
serverPoolIDs
- Server Pool ID Arraypublic VirtualServer getVirtualServerByName(java.lang.String serverPoolName, java.lang.String virtualServerName)
getVirtualServerByName
in interface ServerPoolManagement
serverPoolName
- Virtual Server Pool NamevirtualServerName
- Virtual Server Namepublic ServerPool getServerPoolById(ServerPool serverPool)
getServerPoolById
in interface ServerPoolManagement
serverPool
- query will get one server pool info by its idpublic ServerPool getServerPoolById(java.lang.Long poolId)
getServerPoolById
in interface ServerPoolManagement
poolId
- serverPoolIDpublic ServerPool getServerPool(ServerPool serverPool)
getServerPoolById(ServerPool)
.getServerPool
in interface ServerPoolManagement
serverPool
- serverPool id is neededpublic ServerPool[] getServerPools(ServerPool serverPool, java.lang.Long loginUserId)
getServerPools
in interface ServerPoolManagement
serverPool
- all of its field value will be looked as query condtion value, except null field.loginUserId
- current login user idpublic ServerPool[] getServerPoolByName(ServerPool serverPool)
getServerPoolByName
in interface ServerPoolManagement
serverPool
- server pool name is neededpublic ServerPool getServerPoolByName(java.lang.String poolName)
getServerPoolByName
in interface ServerPoolManagement
poolName
- VirtualServerPoolNamepublic void validateRebootServer(VirtualServer vs) throws oracle.ovs.biz.exception.OVSException
validateRebootServer
in interface ServerPoolManagement
vs
- Virtual Serveroracle.ovs.biz.exception.OVSException
public void rebootServer(VirtualServer server) throws oracle.ovs.biz.exception.OVSException
rebootServer
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
public void validateRemoveMember(VirtualServer vs, boolean force, java.util.List warningMessageList) throws oracle.ovs.biz.exception.OVSException
validateRemoveMember
in interface ServerPoolManagement
vs
- virtual server to be validate its removalforce
- user want to force remove or not? if force is true, validate will not check running virtual machine for the virtual server.warningMessageList
- warning message list, it is a output parameter.oracle.ovs.biz.exception.OVSException
public void validateRemoveMember(VirtualServer vs, boolean force) throws oracle.ovs.biz.exception.OVSException
validateRemoveMember
in interface ServerPoolManagement
vs
- virtual server to be validate its removalforce
- user want to force remove or not? if force is true, validate will not check running virtual machine for the virtual server.oracle.ovs.biz.exception.OVSException
public void validateRemoveMember(VirtualServer vs) throws oracle.ovs.biz.exception.OVSException
validateRemoveMember
in interface ServerPoolManagement
vs
- virtual serveroracle.ovs.biz.exception.OVSException
public void removeMember(VirtualServer server) throws oracle.ovs.biz.exception.OVSException
removeMember
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
ServerPoolManagement.removeMember(VirtualServer, boolean,List)
public void removeMember(VirtualServer server, boolean force, java.util.List warningMessageList) throws oracle.ovs.biz.exception.OVSException
removeMember
in interface ServerPoolManagement
force
- Force remove virtual server or not?warningMessageList
- List of warnning message for force remove virtual server operation.oracle.ovs.biz.exception.OVSException
public void removeMember(VirtualServer server, boolean force) throws oracle.ovs.biz.exception.OVSException
removeMember
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
ServerPoolManagement.removeMember(VirtualServer, boolean,List)
public void validateShutdownServer(VirtualServer vs) throws oracle.ovs.biz.exception.OVSException
validateShutdownServer
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
public void shutdownServer(VirtualServer server) throws oracle.ovs.biz.exception.OVSException
shutdownServer
in interface ServerPoolManagement
oracle.ovs.biz.exception.OVSException
public java.util.Map getNetworkBridges(ServerPool serverPool) throws oracle.ovs.biz.agent.AgentException, oracle.ovs.biz.serverPool.ServerPoolException
getNetworkBridges
in interface ServerPoolManagement
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.serverPool.ServerPoolException
public java.util.Map getNetworkBridgesByServerIP(VirtualServer virtualServer) throws oracle.ovs.biz.exception.OVSException
getNetworkBridgesByServerIP
in interface ServerPoolManagement
virtualServer
- server's ip must be pointed.oracle.ovs.biz.exception.OVSException
public void refreshServerPool(ServerPool pool)
refreshServerPool
in interface ServerPoolManagement
pool
- refresh the server poolpublic void validateUpdateVSAgentPassword(java.lang.String hostName, java.lang.String oldPassword) throws oracle.ovs.biz.exception.OVSException
validateUpdateVSAgentPassword
in interface ServerPoolManagement
hostName
- Hostname/IPoldPassword
- Old passwordoracle.ovs.biz.exception.OVSException
public void updateVirtualServerAgentPassword(java.lang.String hostName, java.lang.String oldPassword, java.lang.String newPassword) throws oracle.ovs.biz.exception.OVSException
updateVirtualServerAgentPassword
in interface ServerPoolManagement
hostName
- Hostname/IPoldPassword
- Old passwordnewPassword
- New passwordoracle.ovs.biz.exception.OVSException
public void validateUpdateUtilityServerPassword(java.lang.String hostName, java.lang.String oldPassword) throws oracle.ovs.biz.exception.OVSException
validateUpdateUtilityServerPassword
in interface ServerPoolManagement
hostName
- Hostname/IPoldPassword
- Old Passwordoracle.ovs.biz.exception.OVSException
public void updateUtilityServerPassword(java.lang.String hostName, java.lang.String oldPassword, java.lang.String newPassword) throws oracle.ovs.biz.exception.OVSException
updateUtilityServerPassword
in interface ServerPoolManagement
hostName
- Hostname/IPoldPassword
- Old PasswordnewPassword
- New Passwordoracle.ovs.biz.exception.OVSException
public void checkVirtualServerCompatibility(MasterVirtualServer masterVS, VirtualServer vs) throws oracle.ovs.biz.exception.OVSException
checkVirtualServerCompatibility
in interface ServerPoolManagement
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.server.ServerException
oracle.ovs.biz.exception.OVSException
public void checkServerConnection(VirtualServer vs) throws oracle.ovs.biz.agent.AgentException, oracle.ovs.biz.exception.OVSException, oracle.ovs.biz.server.ServerException
checkServerConnection
in interface ServerPoolManagement
vs
- Virtual Serveroracle.ovs.biz.exception.OVSException
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.server.ServerException
public void updateServerPool(java.lang.Long poolId, boolean HAStatus, java.lang.String newPoolName) throws oracle.ovs.biz.exception.OVSException
updateServerPool
in interface ServerPoolManagement
poolId
- Which server pool will be updated.HAStatus
- New server pool ha statusnewPoolName
- New server pool nameoracle.ovs.biz.exception.OVSException
public void updateVirtualServerById(VirtualServer vs, boolean force) throws oracle.ovs.biz.exception.OVSException
updateVirtualServerById
in interface ServerPoolManagement
vs
- virtual server info, The API will update the server info by getting serverId.force
- this flag is an option for user,oracle.ovs.biz.exception.OVSException
- if any exception occur, OVSException will be thrown.public void updateVirtualServerById(VirtualServer vs, boolean force, java.util.List warningMessageList) throws oracle.ovs.biz.exception.OVSException
updateVirtualServerById
in interface ServerPoolManagement
vs
- virtual server info, The API will update the server info by getting serverId.force
- this flag is an option for user, the API execute some default operations or thrown some exception message once need user to confirm.warningMessageList
- List of OVSWarningMessageoracle.ovs.biz.exception.OVSException
- if any exception occur, OVSException will be thrown.OVSWarningMessage
public void restoreVirtualServerPoolByManagerData(java.lang.Long serverPoolId) throws oracle.ovs.biz.exception.OVSException
restoreVirtualServerPoolByManagerData
in interface ServerPoolManagement
serverPoolId
- ServerPool IDoracle.ovs.biz.exception.OVSException
- if any exception occur, OVSException will be thrown.
|
Oracle VM Manager Web Services API Reference Release 2.1.5 E14979-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |