1. A system for managing resources in a virtualized environment, comprising: an operating support system (OSS) and its associated network management system (NMS) and element management system (EMS), service delivery platform, master node, slave node, network switch and shared storage devices, and at least one virtual machine runs on said slave node, wherein: said service delivery platform is connected with said OSS, and forwards a resource request from the user to the master node; said master node is connected with said slave node and receives resource requests from the service delivery platform, said master node controls the slave node and said master node controls said virtual machine running on the slave node, and said master node includes a job submission description language (JSDL) agent module, Application Program, resource manager and transaction manager, wherein: said JSDL agent module parses resource requests and policy defined by user in JSDL file into transactions, calculates the resources required for each transaction execution, and sends transaction requests to said Application Program, wherein said JSDL file is transmitted to said JSDL agent module from the service delivery platform using JSDL protocol; said Application Program receives request from said JSDL agent module, defines transactions within transaction boundaries and accessible resources, and specifies a series of resource operations; said resource manager manages computer resources centrally, including physical device resources and virtual device resources, and is responsible for state control and unified resource location; said transaction manager controls the life cycle of transaction, including transaction begin and transaction end, and determines transaction scheduling and transaction routing based on transaction scheduling and routing information; there is at least one said slave node, which is connected to said network switch and shared storage device and said EMS, and interacts with said master node, said slave node further comprises: a resource manager agent module connected with said resource manager, and reports resource state information to master node using TCP protocol; a transaction implementation module connected with said transaction manager, is responsible for transaction commit; a Libvirt module connected with said transaction implementation module, provides a common API for common functions implemented by virtual machine monitor (VMM); said shared storage device is connected to network switch, slave node, and master node, respectively.