|
Oracle VM Manager Web Services API Reference Release 2.2.0 E15446-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerPoolManagement
This class provides management funtionality for the Server pools and associated virtual servers.
1.Validation for Server Operation.
2.Validation for Server Pool Operation.
3.Server Operation Support.
4.Server Pool Operation Support.
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 |
blackoutServer(long virtualServerID) Black out server API, after server become blackout status. |
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[] userIDArray) 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) Deprecated. Replaced by deleteServerPool(ServerPool,boolean). deleteServerPool(ServerPool,boolean) .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 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. |
void |
endBlackoutServer(long virtualServerID) End blackout status for one server. |
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. |
ServerPool[] |
getAllHVMServerPools() |
ServerPool[] |
getAllHVMServerPoolsByUserId(java.lang.Long userId) |
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 logId. 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 virtualServer) Deprecated. Replaced by getVirtualServerById(VirtualServer) getVirtualServerById(VirtualServer) .Return a specific instance of the virtual server by virtualServer logId. server ID must be pointed. |
VirtualServer |
getServerByName(ServerPool serverPool, VirtualServer virtualServer) Deprecated. Replaced by getVirtualServerByName(String serverPoolName, 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. |
ServerPool |
getServerPool(ServerPool serverPool) Deprecated. Replaced by getServerPoolById(ServerPool). getServerPoolById(ServerPool) .Returns instances of server pool by logId managed by the system. pool ID must be pointed. |
ServerPool |
getServerPoolById(java.lang.Long poolId) Returns instances of server pool by logId managed by the system. pool ID must be pointed. |
ServerPool |
getServerPoolById(ServerPool serverPool) Deprecated. Replaced by getServerPoolById(Long poolId). Returns instances of server pool by logId managed by the system. pool ID must be pointed. |
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 serverPoolName) 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 logId, 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 logId. |
VirtualServer |
getVirtualServerById(VirtualServer virtualServer) Return a specific instance of the virtual server by virtualServer logId. 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[] virtualServerIDArray) 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 virtualServer) 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 virtualServer) Deprecated. |
void |
removeMember(VirtualServer virtualServer, boolean force) Deprecated. |
void |
removeMember(VirtualServer virtualServer, 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 virtualServer) Shuts down the virtual server. server ID must be pointed. |
void |
updateServerPool(java.lang.Long poolId, boolean HAStatus, java.lang.String newPoolName) Deprecated. Update server pool info, including: 1.Update name of server pool; 2.Enable/Disable HA status for server pool. |
void |
updateServerPool(java.lang.Long poolId, boolean HAStatus, java.lang.String newPoolName, java.lang.String ServerPoolVirtualIP) Update server pool Info, add parameter virtual ip for OVM Manager 2.2 usage. |
void |
updateUserList4ServerPool(java.lang.Long serverPoolId, java.lang.Long[] userIDArray) 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) Deprecated. Replace by updateVirtualServerById(VirtualServer, boolean,List). Update Virtual Server information by server ID. |
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) Deprecated. Replaced by updateVirtualServerById(VirtualServer,boolean,List)
|
void |
updateVirtualServerById(VirtualServer vs, boolean force, java.util.List warningMessageList) Update Virtual Server information by server logId. 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 pool, VirtualServerConfig[] serverConfigs) Pre-check for server addition into serverPool. |
void |
validateBlackoutServer(long virtualServerID) Validation for blackout server operation. |
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) Deprecated. |
void |
validateRemoveMember(VirtualServer vs, boolean force) Deprecated. Replace by #validateRemoveMember(VirtualServer vs,boolean force,List warningMessageList) This API does such validation jobs: 1.The server's master agent can be connected or not. 2.Running vm in the server will be checked. 3.Prefer server list will be checked. 4.If the server is a master server, so the server couldn't be removed directly. If force=true, upper checking message will be added into warningMessageList; If force=false, upper checking will thrown error exception. |
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. |
Method Detail |
---|
java.util.Map getClusterRootByServerPoolId(java.lang.Long serverPoolId) throws oracle.ovs.biz.exception.OVSException
serverPoolId
- Server Pool IDoracle.ovs.biz.exception.OVSException
java.util.Map getStorageRepositoriesByServerPoolId(java.lang.Long serverPoolId) throws oracle.ovs.biz.exception.OVSException
serverPoolId
- Server Pool IDoracle.ovs.biz.exception.OVSException
VirtualServerMetrics[] getVirtualServerMetrics(java.lang.Long[] virtualServerIDArray) throws oracle.ovs.biz.exception.OVSException
virtualServerIDArray
- Array of virtualServerID( Data type is Long)oracle.ovs.biz.exception.OVSException
ServerPoolMetrics getServerPoolMetricsByServerPoolId(java.lang.Long serverPoolId) throws oracle.ovs.biz.exception.OVSException
serverPoolId
- Server Pool IDoracle.ovs.biz.exception.OVSException
ServerPoolMetrics
VirtualServer[] getVirtualServers(ServerPool pool, VirtualServer vs, java.lang.Long loginUserId)
pool
- Server Poolvs
- Virtual ServerloginUserId
- Current login usre logIdServerPool[] getAllHVMServerPools()
ServerPool[] getAllHVMServerPoolsByUserId(java.lang.Long userId)
VirtualServer[] addMembers(ServerPool serverPool, VirtualServerConfig[] serverConfigs) throws oracle.ovs.biz.exception.OVSException
serverPool
- Add members for which server poolserverConfigs
- Array for VirtualServerConfigoracle.ovs.biz.exception.OVSException
VirtualServerConfig
void validateBlackoutServer(long virtualServerID) throws oracle.ovs.biz.exception.OVSException
virtualServerID
-oracle.ovs.biz.exception.OVSException
- If validation checked out some 'Not allow' conditions, OVSException will be thrown.void blackoutServer(long virtualServerID) throws oracle.ovs.biz.exception.OVSException
virtualServerID
-oracle.ovs.biz.exception.OVSException
- If blackout action failed, OVSException will be thrown.void endBlackoutServer(long virtualServerID) throws oracle.ovs.biz.exception.OVSException
virtualServerID
-oracle.ovs.biz.exception.OVSException
- If end blackout action failed, OVSException will be thrown.void checkVirtualServerCompatibility(MasterVirtualServer masterVS, VirtualServer vs) throws oracle.ovs.biz.exception.OVSException
masterVS
-vs
-oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.server.ServerException
oracle.ovs.biz.exception.OVSException
ServerPool createServerPool(ServerPoolConfig serverPoolConfig) throws oracle.ovs.biz.exception.OVSException
serverPoolConfig
- @see oracle.ovs.api.datamodel.serverPool.config.ServerPoolConfigoracle.ovs.biz.exception.OVSException
ServerPool createServerPool(ServerPoolConfig serverPoolConfig, java.lang.Long[] userIDArray) throws oracle.ovs.biz.exception.OVSException
serverPoolConfig
-userIDArray
-oracle.ovs.biz.exception.OVSException
void checkHAAbility4ServerPoolById(java.lang.Long poolId) throws oracle.ovs.biz.exception.OVSException
poolId
-oracle.ovs.biz.exception.OVSException
void checkServerConnection(VirtualServer vs) throws oracle.ovs.biz.agent.AgentException, oracle.ovs.biz.exception.OVSException, oracle.ovs.biz.server.ServerException
vs
- Virtual Serveroracle.ovs.biz.exception.OVSException
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.server.ServerException
void deleteServerPool(ServerPool serverPool) throws oracle.ovs.biz.exception.OVSException
deleteServerPool(ServerPool,boolean)
.serverPool
-oracle.ovs.biz.exception.OVSException
void deleteServerPool(ServerPool serverPool, boolean isDelWorkDirectory) throws oracle.ovs.biz.exception.OVSException
serverPool
- pool ID must be pointed.isDelWorkDirectory
- Use this flag to decide delete physical working directory or not.oracle.ovs.biz.exception.OVSException
void deleteServerPool(ServerPool serverPool, boolean isDelWorkingDir, boolean force, java.util.List warningMessageList) throws oracle.ovs.biz.exception.OVSException
serverPool
-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
java.lang.String getAgentVersion(VirtualServer server) throws oracle.ovs.biz.exception.OVSException
server
-oracle.ovs.biz.exception.OVSException
java.util.Map getMinimumAgentVersion(java.lang.Long[] serverPoolIDs)
serverPoolIDs
- Server Pool ID ArrayVirtualServer[] getAllMembers(ServerPool serverPool)
serverPool
-ServerPool[] getAllServerPools()
ServerPool[] getServerPools(ServerPool serverPool, java.lang.Long loginUserId)
serverPool
- all of its field value will be looked as query condtion value, except null field.loginUserId
- current login user logIdjava.lang.String getAgentVersion(java.lang.Long serverId)
serverId
-java.lang.String getMinSupportedOVSAgentVersion()
MasterVirtualServerStatus getMasterAgentStatus(ServerPool serverPool)
serverPool
-pool ID must be pointed.
MasterVirtualServer getMasterServer(ServerPool serverPool)
serverPool
-VirtualServer[] getVirtualServerByServerPool(java.lang.Long serverPoolID)
serverPoolID
-VirtualServer getVirtualServerById(VirtualServer virtualServer)
virtualServer
-VirtualServer getVirtualServerById(java.lang.Long vsID)
vsID
- virtual server IdVirtualServer getServer(VirtualServer virtualServer)
getVirtualServerById(VirtualServer)
.virtualServer
-VirtualServer getServerByName(ServerPool serverPool, VirtualServer virtualServer)
serverPool
-virtualServer
-VirtualServer getVirtualServerByName(java.lang.String serverPoolName, java.lang.String virtualServerName)
serverPoolName
- Virtual Server Pool NamevirtualServerName
- Virtual Server NameServerPool getServerPoolById(ServerPool serverPool)
serverPool
- query will get one server pool info by its logIdServerPool getServerPoolById(java.lang.Long poolId)
poolId
- serverPoolIDServerPool getServerPool(ServerPool serverPool)
getServerPoolById(ServerPool)
.serverPool
- serverPool logId is neededServerPool[] getServerPoolByName(ServerPool serverPool)
serverPool
- server pool name is neededServerPool getServerPoolByName(java.lang.String serverPoolName)
serverPoolName
- VirtualServerPoolNamejava.util.Map getNetworkBridges(ServerPool serverPool) throws oracle.ovs.biz.exception.OVSException
serverPool
-java.lang.Exception
oracle.ovs.biz.exception.OVSException
java.util.Map getNetworkBridgesByServerIP(VirtualServer virtualServer) throws oracle.ovs.biz.exception.OVSException
virtualServer
- server's ip must be pointed.oracle.ovs.biz.exception.OVSException
void rebootServer(VirtualServer virtualServer) throws oracle.ovs.biz.exception.OVSException
virtualServer
-oracle.ovs.biz.exception.OVSException
void refreshServerPool(ServerPool pool)
pool
- refresh the server poolvoid removeMember(VirtualServer virtualServer, boolean force, java.util.List warningMessageList) throws oracle.ovs.biz.exception.OVSException
virtualServer
-force
- Force remove virtual server or not?warningMessageList
- List of warnning message for force remove virtual server operation.oracle.ovs.biz.exception.OVSException
void removeMember(VirtualServer virtualServer, boolean force) throws oracle.ovs.biz.exception.OVSException
virtualServer
-force
-oracle.ovs.biz.exception.OVSException
removeMember(VirtualServer, boolean,List)
void removeMember(VirtualServer virtualServer) throws oracle.ovs.biz.exception.OVSException
virtualServer
-oracle.ovs.biz.exception.OVSException
removeMember(VirtualServer, boolean,List)
void shutdownServer(VirtualServer virtualServer) throws oracle.ovs.biz.exception.OVSException
virtualServer
-oracle.ovs.biz.exception.OVSException
void updateVirtualServer(VirtualServerConfig serverConfig) throws oracle.ovs.biz.exception.OVSException
Replace by updateVirtualServerById(VirtualServer, boolean,List). updateVirtualServerById(VirtualServer,boolean)
Update Virtual Server information by server ID.
1.Change virtual server agent password stored in ovm db, by this way, can populate agent password from agent side to OVM side.
2.Change utility virutl server login password store in ovmdb, by using this way, can populate virtual server login password from server side to OVM side.
3.Change server pool's utility/virtual server, for example: you can replace one obsolete virtual server by starting using a new virtual server.
serverConfig
- using VirtualServer or UtilityVirtualServer object to construct VirtualServerConfig.oracle.ovs.biz.exception.OVSException
void updateServerPool(java.lang.Long poolId, boolean HAStatus, java.lang.String newPoolName) throws oracle.ovs.biz.exception.OVSException
poolId
- Which server pool will be updated.HAStatus
- New server pool ha statusnewPoolName
- New server pool nameoracle.ovs.biz.exception.OVSException
void updateServerPool(java.lang.Long poolId, boolean HAStatus, java.lang.String newPoolName, java.lang.String ServerPoolVirtualIP) throws oracle.ovs.biz.exception.OVSException
poolId
-HAStatus
- High Availibility ModenewPoolName
- Server Pool NameServerPoolVirtualIP
- Server Pool Virtual IPoracle.ovs.biz.exception.OVSException
- if any exception occure, throw OVSException.void validateAddMembers(ServerPool pool, VirtualServerConfig[] serverConfigs) throws oracle.ovs.biz.exception.OVSException
pool
-serverConfigs
-oracle.ovs.biz.exception.OVSException
void validateCreateServerPool(ServerPoolConfig poolConfig) throws oracle.ovs.biz.exception.OVSException
poolConfig
-oracle.ovs.biz.exception.OVSException
void validateDeleteServerPool(ServerPool serverPool) throws oracle.ovs.biz.exception.OVSException
serverPool
-oracle.ovs.biz.exception.OVSException
void validateRebootServer(VirtualServer vs) throws oracle.ovs.biz.exception.OVSException
vs
- Virtual Serveroracle.ovs.biz.exception.OVSException
void validateRemoveMember(VirtualServer vs, boolean force, java.util.List warningMessageList) throws oracle.ovs.biz.exception.OVSException
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
void validateRemoveMember(VirtualServer vs, boolean force) throws oracle.ovs.biz.exception.OVSException
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
void validateRemoveMember(VirtualServer vs) throws oracle.ovs.biz.exception.OVSException
vs
- virtual serveroracle.ovs.biz.exception.OVSException
void validateShutdownServer(VirtualServer vs) throws oracle.ovs.biz.exception.OVSException
vs
-oracle.ovs.biz.exception.OVSException
void validateUpdateVSAgentPassword(java.lang.String hostName, java.lang.String oldPassword) throws oracle.ovs.biz.exception.OVSException
hostName
- Hostname/IPoldPassword
- Old passwordoracle.ovs.biz.exception.OVSException
void updateVirtualServerAgentPassword(java.lang.String hostName, java.lang.String oldPassword, java.lang.String newPassword) throws oracle.ovs.biz.exception.OVSException
hostName
- Hostname/IPoldPassword
- Old passwordnewPassword
- New passwordoracle.ovs.biz.exception.OVSException
void validateUpdateUtilityServerPassword(java.lang.String hostName, java.lang.String oldPassword) throws oracle.ovs.biz.exception.OVSException
hostName
- Hostname/IPoldPassword
- Old Passwordoracle.ovs.biz.exception.OVSException
void updateUtilityServerPassword(java.lang.String hostName, java.lang.String oldPassword, java.lang.String newPassword) throws oracle.ovs.biz.exception.OVSException
hostName
- Hostname/IPoldPassword
- Old PasswordnewPassword
- New Passwordoracle.ovs.biz.exception.OVSException
void updateVirtualServerById(VirtualServer vs, boolean force) throws oracle.ovs.biz.exception.OVSException
updateVirtualServerById(VirtualServer,boolean,List)
Update Virtual Server information by server logId.
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).
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.void updateVirtualServerById(VirtualServer vs, boolean force, java.util.List warningMessageList) throws oracle.ovs.biz.exception.OVSException
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
void restoreVirtualServerPoolByManagerData(java.lang.Long serverPoolId) throws oracle.ovs.biz.exception.OVSException
serverPoolId
- ServerPool IDoracle.ovs.biz.exception.OVSException
- if any exception occur, OVSException will be thrown.void updateUserList4ServerPool(java.lang.Long serverPoolId, java.lang.Long[] userIDArray)
serverPoolId
- Server Pool IDuserIDArray
- Array of User ID
|
Oracle VM Manager Web Services API Reference Release 2.2.0 E15446-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |