LPIC-1 Linux Professional Institute Certification Study Guide: Exam 101-400 and Exam 102-400

LPIC-1 Linux Professional Institute Certification Study Guide: Exam 101-400 and Exam 102-400

I read the book as good source to review and update my knowledge in Linux, since I have been working in Cisco gear only for quite time, and I’ve found a very good guide mix between exam material and what you need to learn and should practice. I believe the contents are updated as relevant learning Linux in 2018 even if the changes happen every time on its components until kernel 5 is released.

About the exam, I have done the first of two and found it more difficult than the mock exam with relative new questions and subjects not covered in the book. I know this is mostly true of any certification guide, but I wanted to make clear that getting to know other resources is very important to the exam. As usual, the exam guide/blueprint contains the relevant updates.

I do intend to read it a 3rd time next year to refresh knowledge before jumping into learning level 2, authors made a concise reading and technical quality material. If you are going read with a computer to practice, perhaps ebook versions will be easier than the big paper book, as it more than 600 pages and won’t stay open itself with some support. Even so, printed book is good quality for a medium desktop. As for the ebook, Kindle version works great in an iPad and should on any Kindle device or Android ones.

Last, you get access to online testing resources for a year on Wiley’s portal. Having 80% or acing the mock exam won’t guarantee passing on it but it is helpful reviewing the knowledge. Please, mind that questions covered some quite more material than the book and mock exam at time I took it in April/2018. Good luck.

Advertisements

My 7 most used iCloud enabled apps

iCloud is one of the much helpful Apple features that many people don’t know and can be a timing saver when using multiple devices. Not only iCloud can be used to save iOS device backups automatically, it is widely used by Apple apps such as Pages, Numbers, iMovies, Books among others. You can start a document anywhere, let’s say your home Mac, make most of changes on other device, maybe an iPhone during commute, continue during the day and wrap up at home. It all works automatically most of the times. For example, I keep résumés versions on Pages on few languages and I can quickly edit on the iPhone and export a PDF customised for a specific role. In Numbers, I use a mileage spreadsheet where I keep fuel consumption when filling up, and I can easily review at home in my Mac for reports.

So, apart of Apple apps, there are 7 excellent iCloud enabled apps I use frequently in my Mac, iPhone and iPad. All of them use iCloud to sync information and some allows other services such as DropBox (it allows integration with Windows versions where available).

MindNode

MindNode is mind map application where you can draw and link ideas, turn them into tasks and track them, use an infinity canvas, set different colour layouts and finally, export into Markup language and import in other applications. I usually layout ideas for writing in MindNode before moving them into Ulysses for writing. It allows focusing on main items first, develop few subitems before starting writing and getting details.

Project managers benefit of mind map when developing WBS (Work Breakdown Structures). While it does not expand for collaboration in MindNode it can be used in minor to medium projects to start up WBS and dependencies.

As for iCloud use, it does support Continuity so if you start a project on a Mac and open your iPad within same iCloud account, you should be prompted to continue working on the iPad. MindNode support iPhone as well and while not practical to use in a small screen, it can be helpful for quick edits. Once it is done, you can pick it up back on the Mac or in the iPad.

MindNode showing an example of mind map project
MindNode showing an example of mind map project

Ulysses

Ulysses is also one the veteran apps used a lot for writing, blogging, essays and notes, using iCloud mainly for storage. Having versions for iOS and macOS it is super useful for writing most type of documents anywhere. You can organise your writing in a single sheet or multiple ones into groups. Groups can be main chapters and sheets subtopics, and sheets and groups can be reordered.

Ulysses focus is on writing so you won’t be presented regular word processor tools that takes space on your screen and cause distraction. You mainly use Markup language to do few formatting such as starting headers, item lists or make text bold or italic. All of them can be accessed using the mouse or track pad, but the intention is to get out the writer’s way by the use of keyboard shortcuts and preferable, the markup codes. It gets sometime to learn them but once memorised, those are time-savers.

You can write a lot on Mac and move to iPad or iPhone on commute, again, with different usability levels and continue working normally on the project. iCloud will keep all synchronised across the devices. I like using dark theme and sometime type write mode so screen space is dedicated to writing instead of tools fighting for attention. Often, I will have main ideas drew on MindNode and split the screen on the Mac with Ulysses or export and import as markdown. If I have some idea, I can quickly add on the go via the iPhone version.

Last, when document is ready, you can preview it formatted as a web page and export it to DOCX, ePub, among others and a few blogging platforms (WordPress and Medium). Ulysses website has an extensive tutorials and tips on how to use if you are a frequent writer or student.

Money Pro

Money Pro is a personal finance organiser where you can quickly create accounts such as banking, credit card, savings and assets and start tracking them. Being an iCloud enable app, all your financial data is synch’d via Apple servers, so be aware of privacy issues. Having said that, I use it a lot on the iPhone to record transactions on the go, categorise spending by type and merchants and hopefully know where and how my money goes. It allows me generate reports by categories where I can trim down expenses I can cut or help me prepare a budget (I do this one or twice a year).

Both macOS and iOS versions are kept with same data quickly and you can import and export data from both versions. If your bank provides you QIF or OFX files, it can make easier to bulk upload them once a month. Since I use Money Pro on the iPhone, I usually don’t import anything but the option is there. Also, via in-app subscription you can enable automatic transaction import if you bank and card issuer supports it. Another advanced feature by subscription is inter-profiles synchronisation, so a family can have its data synch’d to one main account. As an example, could join their spending as most likely they will be using different iCloud accounts. As a bonus, it offers Apple Watch app which you can use for quick reports and entries.

While Money Pro does not track advanced accounts like investment ones, it is most useful to keep tracks on spending.

Tyme 2

Tyme 2 is another awesome iCloud tool to help you keep track of spent time in work, in study, as a contractor, and many others. Both macOS and iOS versions are similar, and synchronise projects, activities/tasks and generate beautiful reports. You can start a project in any device, including the watch, and finish on other. Particularly I find quicker to create projects on the Mac but it can be done easily on iOS devices, and use them on the road to track projects.

Mac version allows import and export as CSV, so you can reuse data on different apps and it has integration with GrandTotal (for expense report and invoicing).

All tasks and projects can be colour coded and have different billing rates applied so it is easier to bill customers.

There is a team feature paid by subscription where you can share projects and track their times among your peers.

Lifecraft

Lifecraft is a journal app which also uses iCloud to transfer data between devices. It allows multiple journals and mood selectors (in-app subscription), multiple photo insertion, word tagging and location setting. If you want to keep a personal log or journal, maybe one for work or travel, it is easy to separate them in the same interface.

PDF Expert

PDF Expert is one of the most powerful PDF managers of macOS and iOS. It supports using iCloud File feature and Continuity and among many features, it can do annotations, drawings, merge file operations, reordering, signatures and forms. I use it mainly on organising PDFs in iCloud File/Drive when reading on the Mac or on the iPad (it works also on the iPhone). I don’t have an iPad Pro nor an Apple Pencil but those count as pros for PDF Expert on iOS if you need to use annotation a lot, draw over texts or make changes.

1Password

1Password is also a veteran in Mac world, having many advancements in last few years and iCloud integration with its mobile sibling. The main use of 1Password is to save your site credentials into its vaults (credential repositories, you can have many of them) and kept those in synch with iPad and iPhones. It all happens automatically with no issues, but it does not stops with site credentials feature. 1Password also allows software license categories, so if you have purchases along the years outside Mac App Store, this is a super helpful feature. You can also register your credit card information, documents, identities and logins, and finally both macOS and iOS support One Time Passwords (OTP) for sites requiring multiple factor authentication (MFA). So if your needs go beyond Safari and Keychain password management, 1Password should be very helpful.

So those are my most used iCloud apps besides stock Apple ones, but there are many others such as Fantastical for quick calendar entries and management, Spark email client from Readdle (PDF Expert), both the amazing Affinity Designer and Affinity Photo (Mac and iPad but not iPhone), Pixelmator and MacFamily Tree 8. Hope some of them can be useful for you.

Organising ideas and writing with MindNode and Ulysses

Professional and amateur writers have several tools and methods when working, and the idea that the content is more important than the tool is always valid. It is up to everyone finding the best workflow, and working on short texts such as blogs, minor essays, I’ve found that having a structure ahead of the content can help when developing.

Mind mapping

One of the many tools used for connecting ideas, developing project requirements and GTD (getting things done) list is mind mapping. They are similar to paper and white boarding and post-it likes but with the advantage of being able to quickly move ideas around, erase, insert, annotate, export and share.

I am describing a flow using MindNode for macOS and iOS because files can be stored in iCloud and I can switch from my desktop to iPad and iPhone and draw everywhere (and it is beautiful), however there are numerous tools around similar, for Windows and online for use directly within web browsers. The topic is extensive, mind mapping can do a lot and I recommend checking out tools and ideas. And again, the best tool fits your workflow and blends in!

Using MindNode you can describe ideas in topics, sub-topics to several levels, design lists and annotate general idea of the text you are going to write.

I made a very simple example with an introduction node, few topics and sub-topics. The annotation to the right helps remembering ideas you want to develop later.

Once you are done at least with main structure of the text topics, you can export it using the markdown format. On macOS, save it to a file first that you can open or drag into Ulysses later. When using iOS, use the share sheet to select export to markdown format followed by the send to app and copy to Ulysses.

Writing into Ulysses

Ulysses is another writing tool that helps in organising writing in sheets that can be moved around, grouped together, and exported to several formats such as PDF, HTML, ePub and Word. Just like MindNode, it is very versatile, works with iCloud and both macOS and iOS, so you can seamlessly write in all those platforms. Ulysses uses Markup-based editor, which means, it gets out of the way when writing so you don’t waste time and be distracted by fonts, colours, rules and tons of features. It is still very powerful but because you don’t see and need to use all features right away. Just check it out some demo videos on their web site.

Back to simple writing, once you have Ulysses opened into a group you want to use, just drag the .md file from MindNode into it and you should get something similar to this.

Once you are editing the sheet, you can see main idea name from MindNode is added as header level 1 with a ‘#’ followed by the topics as second level ones and “##”. Any annotation on a node will appear as simple text below the topic where you can develop the ideas.

The last node level is added in Ulysses as an unordered list because that’s how MindNode exports to Markdown, so subtopic 3.1 and 3.2 are lists. However, you can fix this manually or make a hierarchical list in MindNode to all levels needed to overcome this before exporting. Simply, just add a 3.1.0 sub-topic and both 3.1 and 3.2 should be as third level headers added as “###” in Ulysses.

Now with main ideas ready you can start developing them within Ulysses, move between platforms at any time and iCloud synch should take of it most of the time. Ulysses has some statistics over the written material and an idea of time needed to read it. So those are useful for the ones with goals set.

You can add few elements such as pictures, annotations, footnotes and get it more complex depending on the type of document.

Exporting your work

Once it is completed there are several ways to follow, having a Word document produced, maybe for layout changes, pictures and others. You can use text export as simple text, markup, PDF and HTML and ePub.

You can publish online to regular WordPress web site, selecting one of your accounts, into a custom WordPress site if you host one and into Medium platform if you integrated Ulysses with it.

This text was written in Ulysses and published both into Medium and WordPress as an example. Hope it helps with writing ideas and mostly with the content instead with the tool set behind!

Tracking time in projects with Tyme 2

Tracking project time, personal or professional ones, expenses, transportation and reporting can be made easier with iOS and macOS app Tyme 2. Tyme 2 runs on both main Apple platforms making good use of iCloud synchronisation services which makes it practical to start some project on the road, make some quick entries or use stop-watch per project activity and update in more details back on the Mac or view project tasks information in a larger screen. Mac version is not required but is a good complement to iOS version. Newest iOS version also works with Apple Watch which I haven’t tried but could be useful on quick starting and ending some projects over stop-watch.

Project entry and classification

As you add new projects to Tyme, you can describe what they are, categorise them by type and choose different banner colours to highlight them. Projects can have a name and hourly rates and planned budgets, but not a long description. Once you have main projects listed and organised, you can add multiple tasks to the projects, add different bill rates and define time rounding and due date.

Sample iPhone project list

Entering tasks and activities information

Registering task usage can be done by the use of a stop-watch timer like feature or by manually entering information. Again, iCloud comes handy here as you can start the timer in a device and stop it on another and it is possible to run multiple timers if needed.

Sample timer

It is possible to create sub-tasks if it makes sense splitting them into more detail. Both tasks and sub-tasks support adding time entries which will help making the report later on. Once tasks are complete they can be marked as so and moved below in the list. The active tasks appear on the first rows. Once a project has all tasks complete, you can mark it as complete as well and projects can be archived as well moved away from the main project list.

Getting some reports

Once there are few project entries, around a week or month of time, a report can be generated in macOS or iOS devices showing time spent on each activity or task, total in projects and categories. Each entry can be marked as billed or as paid. The report can show either time incurred or revenue.

The reports on macOS can be customised to show revenue on graphics and breaks, less or more detail. Last you can review archived projects, unarchive them and delete them.

Besides reporting on iOS and macOS which are very helpful, all the information can be exported (on both platforms) in several formats, PDF, CSV, JSON, HTML, and database backup in case you need to move data to another profile or device, and several options about summaries, revenue, billed or not hours and notes. I find them very well organised for self-employed professionals bringing good-looking and honest reporting on activities.

Other features

I haven’t tested it but macOS version will integrate with third party plugins to transfer information to other apps such as Grand Central 4 which helps with more advanced invoicing.

Tyme 2 can also integrate with Mac and iPhone/iPad calendars showing a view of activities and display alarms for due tasks. It complements the Record view and it is optional as some people will prefer a cleaner calendar view. Personally I found it shows too much information in weekly and monthly once I had tracked too many activities, but still it can be useful in some workflows and with alarms.

Both macOS and iOS versions look very smooth and pleasant to work with, no slowness at all even in devices with 3 years old. I’ll continue to use Tyme to help me track project time for the weekly time-sheet reporting period and I hope might be useful for some of you.

Common aspects between veganism and sustainability

The veganism has some good common aspects with sustainability regarding conscious consume. Whilst most known idea to people regarding veganism is related with decreasing greenhouse gases emissions, methane mainly and deforestation for cattle, issue goes beyond reaching supply chain, world wide market and producers.

Vegans defend animals are conscious beings that understand what is around them, therefore, they feel fear and pain, and suffer on being used for human consumption and that all animals should have the right to live with minimal interference from us. Vegans by avoiding consuming any animal derived product contribute for a change in the supply chain causing decreasing demand for animal derived product. The most common examples are meat like red, pig, chicken or fish, eggs and dairy while no less important but not well known, leather, honey, silk and wool (still, some products like cosmetics and medicines can be made from animals and be hard to get to know disclosed information). By decreasing demand for those products e replacing them by others make animal-free safe, generally vegetables, supply chain and production are forced to review their offers and the economics start to change gradually.

Animal made products will still have for a while smaller cost given production and distribution scale, while vegan products are generally considered premium rate to pioneer consumers and more expensive initially, until production and consume ramp up and more offers are created. As those products get more popular and more producers join the market, price tends to decrease.

And what veganism has to do with sustainability?

When we speak of sustainability, more known issues are energy efficiency on lighting, heating and cooling on less energy demanding devices and through better design, and hydric efficiency, or water racional use in such modern fixtures, and water reuse for less noble purposes like irrigation and flushing. Green building programs like Acua, LEED or Referencial Casa handle those very well.

However, just like veganism, sustainability programs also take care of supply chain or fair markets issues, be through recommendations, be through certification policies or mandates. So, just like vegans lead the market to  alternative products from the common, green building programs stimulate certified sources by third party, audited and that make up less impact on their operations.

Less known public known examples are the use of certified wood, purchased from audited and accredited sources, certified by entities like the FSC and from safe certified materials by entities like the Cradle to Cradle Products Innovation Institute. Those are two program examples that help consumers or their procurement decision for construction and operation.

The Brazilian program Referencial Casa also goes beyond usual and demands the construction workers are formally hired according to Brazilian labour laws, and suggests that capacitation programs for the community are brought in for those people to develop them with safer practices, recycling, read and writing skills as examples, not excluding others.

Those programs, by considering the impact on supply chain, production, transport of goods and on people’s life, make that consumers are more aware of from where they get their products, results of their life cycle on society and on the environment and bring changes on the market as a whole, just like vegan product consumption pattern that transforms meal market.

Both themes have in common the way the seek to reach moral and economics goals, seeking to push the market through changes in demand and as an outcome, production. This has a bigger transformation potencial than laws, although both are complementary.

Quick vMotion lab setup instructions for home lab using VMWare Fusion and ESXi 5.

This is short recipe guide to test VMWare vMotion at home lab with not too costly equipment. I used a Macbook Pro 2012 with 512GB SSD and 16GB RAM, 2.7GHz Core i7 processor and VMWare Fusion but similar setup will run on VMWare Workstation in Linux and Windows with some adaptations.

This lab basically has an NSF exported folder as a shared datastore for two VMWare ESXi hosts, which is a requirement for vMotion, plus two ESXi 5.0.0 virtual machines inside VMWare Fusion which in turn can migrate a Linux or Cisco UCS emulator between them. The OS X server component servers as DNS service to the environment. The Macbook needs to keep a fixed IP address and it supports Airport wireless interface without issues. The ESXi virtual hosts would be physical hosts, blade servers, instances in some platforms, that would generally connected into a SAN (Storage Area Network) sharing their data stores so vMotion could occur.

This requires some previous experience with standalone VMWare ESXi, VMWare Fusion, Windows Server 2003 and licenses for vCenter as well. This will not describe whole Windows Server and vCenter installation process. Scott Lowe excellent book shows all about ESXi and vCenter installation, plus full vMotion explanation as well whole ESXi features > http://amzn.com/1118661141

Here what you will need:

– VMWare Fusion 7 and OS X Yosemite with Server App ($30 in app store).
– A share created in /Users/Volume for NFS sharing.
– Two ESXi standard licenses, one per virtual ESXi hosts and vCenter.
– VMWare vCenter and a Windows Server 2003 R2 64-bit installation disk.
– VMware ESXi 5.0.0 ISO files. Minor versions like 5.1 and 5.5 should work as well.
– A Linux distribution or any other light operation system to test.
– Core i7 with 512SSD and 16GB RAM machine running OS X 10.8 and VMWare 5 and above. In this setup I am running latest versions OS X 10.10 and Fusion 7 Professional but it does not seem required.

So, how is this setup?

VMWare vCenter will control an entity Data Center named Macbook and inside it, a cluster (cluster 1) that has the two virtual ESXi servers as members. By having both ESXi virtual hosts sharing a local NFS exported folder, and a secondary network adapter in a vSwitch for vMotion, vCenter will enable a live migration with little interruption.
This is not the only way to set up a vMotion and variations can be tried for real data center application simulation.

vMotion requires: Both hosts (ESXi) be on compatible versions, compatible hardware at some conditions (for example, moving a virtual machine from AMD processor to Intel might not be possible if virtual machine was allowed to use processor specific functions). Also, the hosts must belong to a cluster and have share storage known as data store in VMWare, plus a dedicated network interface reachable between the hosts (those usually are on a vMotion vlan).

Once all is set up and running, you can right initiate a live migration from one host to another. With this setup, you should lose one echo packet before the machine is reachable and responding again. In large virtual machines and environments, this can be slower, but usually a data center would be designed to minimize this to no loss at all.

PastedGraphic-2015-01-26-08-35.pngPastedGraphic2-2015-01-26-08-35.png
PastedGraphic1-2015-01-26-08-35.png

Setup of VMWare Fusion, DNS server, Share and ESXi hosts.

Quick recipe:

  • Set the IP address of the Mac interface to 192.168.1.100/24 with gateway 192.168.1.1.
  • Install VMWare Fusion > http://www.vmware.com/products/fusion/features.html
  • Install the Server App
  • Open the Server app, enable DNS and create a domain lab.inc, with hosts macbook.lab.inc as 192.168.1.100. Create hosts ESXi-Host1.lab.inc and ESXi-Host2.lab.inc with IP addresses 192.168.1.61 and 192.168.1.62. Create a vCenter server host as vcenter.lab.inc with IP address 192.168.1.111.

PastedGraphic3-2015-01-26-08-35.png

  • Open the Terminal command prompt using <Command-Space> and type terminal followed by <Return>
  • Move into the /Users/Shared/ folder by typing ‘cd /Users/Shared
  • Create the shared folder as NFS using command ‘sudo mkdir nfs’ and type OS X administrator account password.

Macbook:~ Rodrigo$ cd /Users/Shared
Macbook:Shared Rodrigo$ sudo mkdir NSFNEW
Password:
Macbook:Shared Rodrigo$ ls -la
total 1459104
drwxrwxrwt@ 20 root wheel 680 26 Jan 15:35 .
drwxr-xr-x 7 root admin 238 22 Jan 12:07 ..
-rw-r–r–@ 1 Rodrigo wheel 10244 24 Jan 14:42 .DS_Store
-rw-r–r– 1 root wheel 0 9 Set 19:16 .localized
drwxrwxr-x+ 2 root wheel 68 23 Jan 10:49 nfs

Would should have a new nfs folder. Now, let’s export it so it can be accessed by NFS clients. Go to folder /private/etc/ using command ‘cd /private/etc’ and edit the exports file to add the folder nfs to be exported in NFS server.

Type ‘sudo pico exports’ to edit and create the file if it does not exist. Would should have the text editor like this.
PastedGraphic4-2015-01-26-08-35.png

  • Start a new line if needed, add the /Users/Shared/nfs -maproot=root:wheel line to enable sharing of nfs folder with root rights. A warning here. This is not the most secure way to do this and in fact would should have a non-privileged account for a non-lab environment for this (where a Mac server or any other Unix or NFS server could be a server to a specific deployment but I won’t get into details on how to do it, but keep in mind you should have quote and access control for it, possible auditing). Type <Control-X> and <Y> to save it.
  • Make sure you test NFS export is working.

Macbook:etc Rodrigo$ nfsstat -e
Exported Directory Info:
Requests Read Bytes Write Bytes
0 0 0 /Users/Shared/nfs
Macbook:etc Rodrigo$

If not, you might want to restart the nfsd (daemon) with command ‘sudo nsfd restart’.

Now you should have a proper server to host the 3 virtual machines and a shared data store.

Create two ESXi Hosts on Fusion

This time we are going to create two very similar virtual machines for ESXi host. So, open the VMWare Fusion virtual machine library, click on the Plus signal to create a new virtual machine choosing:

  1. Virtual machine type as VMWare ESXi v5.
  2. Two network adapters set as auto detect
  3. Two core processor cores and 2048MB of RAM (2GB) and Enable hypervisor applications in this virtual machine check box.
  4. Make a virtual disk of 40GB, and uncheck Split into multiple files and Pre-Allocate disk space checkboxes. We are not going to use anything like that disk space.
  5. Set up CD/DVD to the ESXi v5 ISO image.

Save the virtual machine and start it up with ISO mounted to start ESXi installation. In a regular process, you should end up with new ESXi host and name it ESXi-Host1.lab.inc using IPv4 address of 192.168.1.61/24 and a root administration end user and password written down. Please, repeat the virtual machine creating process for the second host ESXi-Host2 using IPv4 address 192.168.1.62/24. Overtime you power up those virtual machines, OS X will ask you for the password of an administrator end user to enable the network interfaces to monitor the system, for each interface, so twice per virtual machine, even if your end user is an administrator one.

Create the vCenter server on Fusion

This is a part where it takes some time and Windows knowledge to deploy vCenter server. Again, a new virtual machine needs to be created with 2 processors, 2GB of RAM, Windows Server 2003 64 Enterprise Edition and 400GB of disk. Again, the disk is thin provisioned so the space used will be much less than that. Remember to point the server to use 192.168.1.100 as DNS server and have a secondary public address to reach updates for it.

Install Windows Server 2003, service packs and updates (assuming they won’t brake vCenter later here). Once stable, have the vCenter ISO and install it using a internal SQL database. Remember, for larger deployments it could and should probably be external server to handle data center size. Here, vCenter installation is not complicated but some previous knowledge helps on issues, which are rare by the way.

Create data center and cluster on vCenter.

Once vCenter is running, connect to it using the vSphere client directly on Windows Server you installed vCenter and create a data center by going on the Inventory > Hosts and Clusters menu. Named it Macbook and inside this data center, create a cluster named Cluster1 with not HA option enabled.

By now you can add both virtual ESXi hosts to this cluster. Select cluster1 before adding the hosts and you should be able to add them by their FQDN ‘esxi-host1.lab.inc’. At this time you will be asked to confirm or enter VMWare license for this vCenter server.

PastedGraphic5-2015-01-26-08-35.png

Now, we can add a new shared data store to them. Click on the first host, followed by the Configuration tab and select Storage on the left panel. You should see the first datastore in the 40GB disk we created for this ESXi host. Click o Add Storage command on the right upper side of the screen.

  1. Select Network File System Type.
  2. On the server enter macbook.lab.inc and on the folder line enter /Users/Shared/nfs/ which is the folder we share before.
  3. Name the data store as NFS (capital letters).
  4. Click on Finish and make sure you have a new data store listed for this virtual machine. If any errors occur is because nfs export is not working or there is some access right issues. You might want to grant your OS X end user rights to the NFS folder using the Finder and retry.
  5. Repeat this process to the second virtual machine hosting ESXi-Host2.

PastedGraphic6-2015-01-26-08-35.png

It is normal a warning about Store I/O Control for this lab, but you should be able to see free space and use it.

It is time to add a vMotion interface to both ESXi hosts. This is a requirement for vMotion to work, so click on Networking option on the left panel to bring up the network interfaces and virtual switches.

  1. Click on Add Networking and on VMKernel type and on <Next>
  2. Select a new virtual switch that will be used with this vMotion network interface.
  3. On the next screen, name the network label as vMotion and click on Enable this port group for vMotion.
  4. Enter the IP address of another network and by now choose only to use IPv4 (by the way. Mac runs natively with IPv6 very well, so vCenter under Windows Server 2003 and ESXi v5 and you enhance this lab later to us IPv6 only on vMotion if you want to try it with address auto configuration and local link addresses).
  5. Before clicking on Finish, make sure you had the second network interface attached to the new vSwitch. And you should have similar to this:

PastedGraphic7-2015-01-26-08-35.png

I used 10.0.0.1/8 IP for this which is unusual but fits the lab. Please, repeat the process on the second ESXi host using 10.0.0.2/8 address.

We should be all set to test a live VM migration.

Well, go ahead and create a small VM in ESXi-Host1 using the shared data store to hold the virtual machine and disk(s) and power it on. In a previous version of this lab I have used a Slackware 14 64-bit version with 16GB of disk (1 for swap partition and rest for the root file system and volume). This video shows a live migration and you should have similar results.

https://www.youtube.com/watch?v=BU7wbugGjjo

I know this setup can go wrong a few times and being far from VMWare experienced, there are still unknowns here. Be aware of shared datastore creation might not work and you might end up with two of them. Also, remember to have both ESXi hosts in a single cluster in a data center for the migration to list the server to where you want to move the virtual machine.

Fire up the virtual machine inside the virtual hypervisors (how’s cool that?) and once it is started up and quiet, proceed with right clicking it and choosing Migrate. Select the Change Host option and under cluster1 view, the second host (you should have a validation succeed message as well before going on). Click on <Next> , select High Priority, <Next>, check the summary screen and click on <Finish>. You should see the migration going on live like screen below. (using Cisco UCS Platform Emulator at this time). Hope this is useful to get you started on vMotion. There is much more to explore on > https://www.youtube.com/watch?v=iQfTuAdLfYw

PastedGraphic8-2015-01-26-08-35.png

Fiverr – Nova estrela no mercado de ofertas de trabalho on-line.

Mercado de freelancers online já tem boa visibilidade e tem dado uma boa amadurecida, mas gostei bastante do Fiverr que tem um modelo onde se cobram US$5 por trabalho ou gig (ou freela!), e que permite criar gigs múltiplas, estimar tempo para atendimento e cobrar extra para apressar um pedido. Teste comprar uma caricatura e foi bem tranquilo, mas gostaria de testar fazer trabalhos online por um tempo. Quem sabe numa das férias… 😉