Question

In: Computer Science

Understand (1) CPU affinity. (2) What issues may be involved in VM migration?

Understand (1) CPU affinity. (2) What issues may be involved in VM migration?

Solutions

Expert Solution

Answer:-

1)answer

CPU affinity:-

CPU affinity enables binding a process or multiple processes to a specific CPU core in a way that the processes will run from that specific core only. When trying to perform performance testing on a host with many cores, it is wise to run multiple instances of a process, each one on different core. This enables higher CPU utilization.

CPU affinity, or CPU pinning enables the binding and unbinding of a process or a thread to a central processing unit (CPU) or a range of CPUs, so that the process or thread will execute only on the designated CPU or CPUs rather than any CPU. This can be viewed as a modification of the native central queue scheduling algorithm in a symmetric multiprocessing operating system. Each item in the queue has a tag indicating its kin processor. At the time of resource allocation, each task is allocated to its kin processor in preference to others.

2)What issues may be involved in VM migration?

these are following issues arise when VM migration

Check migration settings or reconnect the host servers

VM migration between servers requires that both servers enable migration in the first place. For example, two servers using VMware ESX or ESXi must enable vMotion on both servers. If two Hyper-V servers must handle a migration, it's important to verify that Live Migration is available and enabled on both servers. With VMware ESX or ESXi, vMotion is enabled deep in the Configuration tab for the specific vSphere client, so it's important for IT administrators to use the documentation that accompanies each hypervisor and enable migration on each server.

Alternately, a technician can use the hypervisor's console to logically disconnect and reconnect each host server. For example, VMware ESX and ESXi hosts can be selectively disconnected, then reconnected through the vSphere client's host Inventory. Once the disconnect task is complete, return to the inventory, select the host and connect it again. Try the migration again after the hosts are reconnected successfully through vSphere.

In some cases, migration may be disrupted because of software bugs with the hypervisor, and it might be necessary to toggle migration settings off and on again at either (or both) of the affected servers. For example, this type of problem is known to have occurred on VMware ESX/ESXi 4.0 prior to Update 2, and technicians had to toggle the Migrate.Enabled setting on each host's vSphere Configuration tab. Patching ESX/ESXi 4.0 to Update 2 or later should resolve the problem.

Check for compatible server hardware and device dependencies

Virtualized servers are specifically intended to abstract the underlying hardware from the workloads running on top -- this abstraction is what makes workload migration possible -- but some rare situations may result in hardware discontinuities between the source and destination servers that prevent a successful migration.

It's important to start a troubleshooting effort by reviewing the server hardware and its configuration. As a simple example, source and destination servers need to use an identical processor for successful workload migration. Other hardware problems might arise from subtle differences in the processor or I/O virtualization settings in each system's BIOS.

Migration problems can also crop up when a VM relies on the presence of a hardware device that is not available on the destination server. For example, hypervisors like VMware ESX/ESXi allow VMs to connect to physical drives. If the VM relies on a physical drive connected to the source server -- but not present on the destination server -- the migration can be disrupted. Try safely disconnecting any local physical drives or other client devices from the VM on the source server and try the migration again.

Check network connectivity between the servers

Migration depends on network connectivity, so any connectivity problems at the source or destination server can easily disrupt migration actions. The most straightforward approach is to test connectivity between the source and destination servers using a ping utility. For example, VMware provides the vmkping utility, which can ping a destination server using a command shell at the source server. Simply enter the hostname or IP address of the destination server and look for a successful ping response, such as:

vmkping 192.168.1.1

You can also easily use a standard ping command through a Windows Command Prompt or Linux command line. If the ping is successful, you know that the source and destination servers can indeed communicate across the LAN. If not, there may be an issue with compatibility between the network interface cards (NICs) on the servers.

One common compatibility issue is the use of jumbo frames. For example, if one server NIC is configured for jumbo frames and the other is not, the two (although both fully functional) will not communicate successfully and workload migration will be impossible until the two NICs are configured identically. Another common problem occurs when an attempt to ping uses the destination server's hostname. If the hostname ping fails but the IP address ping works, there may be an issue with hostname resolution, which must be resolved to overcome the connectivity problem.

Check computing resources on the destination server

A workload cannot migrate to a destination server if it does not have the computing resources required to support it. Migration problems can occur when the destination server lacks adequate processor cores, memory space or NIC ports or has a storage shortage, and cannot reserve resources for the new workload. This is an increasingly common problem as physical server counts drop and workload consolidation levels increase.

For example, resource shortages can happen unexpectedly if the destination server has already received additional workloads failed over from other systems. Shortages can also occur if existing workloads on the destination server have received additional computing resources to accommodate greater resource demands due to factors like increased user activity and so on. Try migrating the workload to another system with adequate computing resources (such as an idle or spare server), or perform workload balancing to free resources on the required server.

One common issue is a shortage of disk space on the destination server, so inspect the disk space available. For example, VMware ESX/ESXi users can open a console to the destination server and use the df -h command to check the amount of used space (or use the vdf –hcommand to check space on a VMFS volume). If there isn't enough free space to store the migrated workload, an administrator will need to free space or migrate the workload to another system. If storage is provided through a storage area network (SAN), verify that both the source and destination servers are configured to use the same zoning.

Migrating workloads between physical servers is an essential feature of a virtualized environment, but the process is fraught with potential problems. Factors like hypervisor bugs, migration settings, unexpected hardware dependencies, network connectivity problems and configuration issues, resource shortages, and SAN setups can all conspire to prevent successful workload migrations. Fortunately, IT professionals can usually isolate and correct many migration snafus once they understand the most common problem areas.


Related Solutions

Computer Architecture 1.The C in CPU stands for what word? 2.The P in CPU stands for...
Computer Architecture 1.The C in CPU stands for what word? 2.The P in CPU stands for what word? 3.The U in CPU stands for what word? 4.What are the 3 major components of the CPU?
What issues are involved in monetary disintegration?
What issues are involved in monetary disintegration?
What issues are involved in monetary disintegration?
What issues are involved in monetary disintegration?
please no handwriting Learning Outcome: Understand the issues involved with transfer pricing in multidivisional companies (question...
please no handwriting Learning Outcome: Understand the issues involved with transfer pricing in multidivisional companies (question 1) Provide an appreciation of logistics activities and their relationship to supply chain management, other business functions and enterprises. (Question 2) ECR in the UK Dutchman Paul Polman, now CEO of Unilever, did a stint as General Manager of Procter & Gamble UK and Eire from 1995 to 1999. While admiring the UK’s advanced retailing systems, he saw opportunities for all four of the...
please no handwriting Learning Outcome: Understand the issues involved with transfer pricing in multidivisional companies (question...
please no handwriting Learning Outcome: Understand the issues involved with transfer pricing in multidivisional companies (question 1) Provide an appreciation of logistics activities and their relationship to supply chain management, other business functions and enterprises. (Question 2) CASE STUDY ECR in the UK Dutchman Paul Polman, now CEO of Unilever, did a stint as General Manager of Procter & Gamble UK and Eire from 1995 to 1999. While admiring the UK’s advanced retailing systems, he saw opportunities for all four...
please no handwriting Learning Outcome: Understand the issues involved with transfer pricing in multidivisional companies (question...
please no handwriting Learning Outcome: Understand the issues involved with transfer pricing in multidivisional companies (question 1) Provide an appreciation of logistics activities and their relationship to supply chain management, other business functions and enterprises. (Question 2) CASE STUDY ECR in the UK Dutchman Paul Polman, now CEO of Unilever, did a stint as General Manager of Procter & Gamble UK and Eire from 1995 to 1999. While admiring the UK’s advanced retailing systems, he saw opportunities for all four...
Discuss 1) The Sanger method and 2) Affinity chromatography
Discuss 1) The Sanger method and 2) Affinity chromatography
1. What are the issues involved in climate change/environment and what are countries doing to address...
1. What are the issues involved in climate change/environment and what are countries doing to address them? What is the "tragedy of the commons"? 2. How does population growth affect economic resources and world conflict? 3. What policies have countries adopted to deal with the problem of increasing population? 4. How can information be used as a tool for or against governments? 5. Why are cultural imperialism and ethnocentrism issues in international relations?
1.What are the feasibility study issues? 2.Requirements may change throughout the life of a computer based...
1.What are the feasibility study issues? 2.Requirements may change throughout the life of a computer based system. Explain. 3.Suggest who might be stakeholders in a university student records system. Explain why it is almost inevitable that the requirements of different stakeholders will conflict in some ways. 4.In software engineering why do we desperately need good design at all levels? 5.Explain with example that how the modular design reduces the design complexity? What are common characteristics of a system?
What factors will influence the migration rate in CE? What factors may increase the resolution of...
What factors will influence the migration rate in CE? What factors may increase the resolution of CE?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT