How self regulating and consensus based industry standards and policies can make better world.

Usually there are lots of news covering how some business hurt an industry reputation and the environment around it. There are the amount of bad news over it, people forget sometimes to look for the good ones, the exception and innovative ones. It does not need to be this way, and we can have a mind change over this issue and list some quite positive things happening and how they are going.

Should we always expect regulation as the only way corporations respect consumers, their industry and the environment? 

I don’t believe so. Those are needed sometimes and this varies globally as cultural, economic, social and political scenario acts differently in several places. And what if markets start self-regulating with increasing standards and volunteered participation from industry? To develop better processes, materials and operating standards?

Well, this happens for some quite long time in building industry along with its supply chain. The green building movement has more than 20 years and is a good example of how certifications aligned with volunteer participation and a dose of market demand can make it last. The green building certification programs like LEED from USGBC most used in Americas, BREEAM in Europe, Green Globes from Canada among others, are set to make not only buildings themselves less demanding on natural resources but to transform sourcing providers and improve occupants life and productivity.

Most known program, LEED, is consensus based and its participation is optional. Member companies and steering committees will design and envolve standards together to make better use of resources. Not only direct people involved in building design and construction are affected but the whole supply chain. Customers are asking more about the environmental and social impact of the products they buy. Companies are listening to them and working on bringing more products and solutions. For green building business this means supply chain can today not only offer better energy and water systems but also building, finishing and furniture materials. New projects seeking certification will need to need to focus more on materials starting with LEED v4. Also, indoor environmental quality which is closed related with materials and quality of work environment will be used more over next few years as companies design newer office spaces. So, few changes I am seeing right now.

More responsible supply chain 

Expect to see more FSC (Forest Stewardship Council) certified wood requests from building constructors, Green-E providers for RECs and carbon offsets purchases (both from companies and their suppliers as they are required to reduce impact on their operations) and other office materials like carpets, painting, furniture and furnishing to be audited and checked for their impacts on extraction, processing, shipping and reuse, recycling or taking back. Products extracted from questionable sources such as polluting ones, based on slavery or exploration of poor communities will suffer social media exposition and so the manufactures that buy raw or processed material from them. Those who can change early will have a better positioning and experience doing their part and auditing sources or looking for third party certification entities. I believe this shift slowly to more consensual practice than something mandated from law.

Products will be analyzed for their life cycle impact not only on extraction and logistics but on health impact over installation. US Health Product Declaration and European REACH codes for chemicals will help choosing less damage causing substances. If at first some of those replacement cost more, eventually they be sought by public even if not on legislation because corporations cannot hide it from public and many are truly changing their culture for the better. Another good outcome is that new business on the third-party certification will growth to help manufactures safer with their products and increase their reputation and sales value.

More engagement from the public

We can expect more participation from the public in their desires to see a better and less impacts on world resources. People working for corporations all sizes will see some examples such as location of their offices, specially in green buildings, how their furniture is responsible produced and reused or discarded. New markets will be created and we will see positive shift on the world labor market. There will always be things and process to improve which is opportunity for entrepreneurs in small and larger corporations.

In the end, corporations can and are shifting to a self-regulating standards (there are quite some old guilds around the world) which will help with reputation and marketability. While we cannot say tight legislation is a thing of the past, a better balance over it and industry value standards seem to be getting clear ahead.

Advertisements

Sustentabilidade e rentabilidade

Não faz muito tempo John Elkington, autor de inúmeros livros sobre ecologia, economia sustentável e comportamento social, baseado numa ideia anterior, lançou Cannibal With Forks tornando popular o conceito chamado de Triple Bottom Line que relaciona desenvolvimento econômico, com uso racional de recursos do planeta e que promovam justiça social. Conceito também conhecido como 3 Ps, para People, Planet e Profit. A ideia por trás disso é que o desenvolvimento econômico considere as relações e influencias às pessoas e ao meio ambiente, o que tradicionalmente parece ser conflitante. Saindo da ideia tradicional de maximizar lucros aos acionistas (shareholders), vai-se para entender como são afetados todas pessoas afetadas pelas decisões (os stakeholders).

Criado no começo da década de 90 o U.S. Green Building Council ou USGBC, cuja missão é “Transformar a maneira como edifícios e comunidades são desenhados, construídos e operados permitindo um ambiente que seja responsável, saudável e próspero melhorando a qualidade de vida“, promove o desenvolvimento de construções que sejam menos impactantes ao mesmo tempo que façam sentido economicamente. Para isso, o USGBC promove advocacia de formas melhores de construção, exposições e desenvolvimento de novos produtos. O programa LEED de certificação de prédios sustentáveis dispõe de ações que contribuem em 7 categorias de impacto por ordem de prioridade:

  • Reverter contribuição para as mudanças climáticas globais
  • Melhorar saúde e bem estar individual
  • Proteger e restaurar os recursos hídricos
  • Proteger, melhorar e restaurar ecossistema e biodiversidade
  • Promover ciclo de materiais sustentáveis e regenerativos
  • Construir uma economia verde
  • Melhorar equidade social, justiça ambiental e qualidade de vida das comunidades

Através destas categorias de impacto são definidos, para diversos tipos de construções, itens a serem explorados na construção que ajudarão a melhorar os itens do Triple Bottom line. Cada construção certificada aumenta o seu valor de venda ou locação devido à procura no mercado, seja por intenção contribuir para um mundo melhor, seja para atrair mais consumidores ou seja por benefícios operacionais. Ao se considerar custo de ciclo de vida (life cycle cost), os prédios certificados mostram economia de uso de água e energia (com isso, menor gasto direto em operações), além aumento de produtividade com redução de absenteísmo por doenças respiratórias, melhor ergonomia, ventilação e iluminação que trarão conforto adicional. Outro foco do programa além da economia em operações, é estimular o uso de transporte alternativo, redução de materiais extraídos, reuso e reciclagem nesta ordem de importância, transporte alternativo, integração com a comunidade e economias locais e saúde pessoal. Para saber mais sobre o programa LEED acesse a página principal do programa no USGBC. Em estudos recentes nos EUA, encontrou-se:

Projetos certificados apresentam em média 25% de economia com gastos de fornecimento de energia elétrica. Estes projetos tem um custo de operações cerca de 19% menor que a média nacional. Também mostram 36% de redução de emissões de CO2 e 27% de aumento em satisfação dos usuários, o que se traduz em melhor capacidade de atrair e reter talentos.

Indo além dos programas de construções, companhias de qualquer tamanho contribuem através de ações em comunidades locais. Exemplos mais interessantes são empresas que reciclam ou reutilizam materiais de forma inteligente como a Interface que consegue reciclar placas de carpete em redes de pesca reduzindo descarte e lixo ambiental enquanto auxilia economia local.

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… 😉

How does mobile technology help me with daily workflow – part 1

It is well known that we use phones (we don’t even need to name them celular, smartphone or mobile anymore) for different kind of tasks, past time in queues, and mostly whastapping (there is no texting or SMS anymore) and selfing. Come on, every one does some of this one and while, no biggie.
Apart of that I have tried some app sets that let me build some workflows to accomplish very interesting results working together. I’ll show some iOS ones that might have similar Android and Windows apps.
IMG_9731-2014-07-1-19-41.PNG IMG_9734-2014-07-1-19-41.PNG IMG_9738-2014-07-1-19-41.PNG

Take for example some health apps and there are a huge amount of them to be able to list them all. It all started when I got Withings Health Mate blood pressure monitor (BP) device in 2012 which connects via old 30-pin Apple connector (current model is Bluetooth now, way better). It will manage not only you BP history thru the device and manual entrees but allows height, height and sleep measuring with 3rd party apps and devices. For example, it gets calories taken of Runkeeper app and minutes of exercise per period and account for. Runkeeper can have your exercises data pulled from Withings Healthmate and you have a consolidate Cal intake against outtake.

IMG_9741-2014-07-1-19-41.PNG IMG_9742-2014-07-1-19-41.PNG IMG_9743-2014-07-1-19-41.PNG

The third app I use integrated with Healthmate is My Fitness Pal where I register meal’s data like serving size, Cals, vitamins and Proteins. It is a little work to get regular food intake added to the app but when you repeat meal usage in the next few days, you will get suggestions or similar meal.

IMG_9721-2014-07-1-19-41.PNG IMG_9729-2014-07-1-19-41.PNG IMG_9727-2014-07-1-19-41.PNG

So, once you get all added regularly, you can have a good picture of health habits, meal history and some data present to your physician. Does app will not replace their full diagnostics but help provide BP, colesterol intake rate, Cal burn rate and other information. Well, what is next? Apple iOS 8 will have a new set of features these apps can better integrate inside the phone without requiring you to create external accounts to sync data, at the same time it gets standard set of data providers and type. There is huge amount of them to try free and paid with premium services for all. If you have used something similar, other experience, I’d love to hear it.

Vantagem competitiva e benchmarking?

Por que falamos sempre nisso em trabalhos de graduação, pós, reuniões? Parece modismo as vezes. “Faremos benchmarking para melhorar nossas técnicas de construção e engenharia…” mas, isto é catching up com o que fazem os outros, ou o termo horrível “correr atrás do prejuízo”.

Não há como alcançar objetivos desafiadores ou maiores sendo muito conversador ou preocupado com riscos a ponto de empacar iniciativas. Em TI vejo muito dogmas do tipo, “nunca instale uma versão maior .0 de um software, espere a correção”, em alimentação, repete-se o que os outros fazem.

Novamente, vantagem competitiva é logo perdida com as imitações mas dá saída na frente organizações grandes ou empreendedores menores que começam a buscar formas de causar disrupção de mercado ou indústria.

Enquanto a NASA busca contractos lobbistas tradicionais em armamentos, para foguetes que não precisam ir muito longe, Elon Musk da PayPal melhora a cada dia seu projeto na Space X de levar payloads ao espaço usando querosene em motores modernos (sonho do Werner von Braum). Sua companhia garantiu em 2012 contrato de US$1.6bi com NASA para levar 12 voos para a ISS e tirar a dependência dos russos para isso, verdadeiro empreendedor do espírito americano original! Tesla Motors é outro exemplo para carros elétricos de longo alcance e mercado premium por enquanto. mas com planos para espalhar o mercado com modelos menores. Boa briga.

O que me parece certo é arriscar e inovar, em maior grau com um pouco mais de frequência pois cada negócio tem uma dinâmica diferente. Entretanto não espere muito empresas de celulares fizeram para entender que outro tipo concorrente inesperado apareça. Outro exemplo, a Cisco anunciou entrada em mercados de servidores em 2009 e analisando o que montaram até 2013 com computação unificada, virtualização completa de servidores, rede, software, orquestração de processamento e máquinas virtuais e SDN (software defines network), a fez tomar segundo lugar nos EUA. Brasil ainda é mais tímida a participação porque o preço de entrada nesta infra é maior e muitos gestores tem medo de mudança, além do momento econômico mais delicado. Lembro que em 2002 eu já insistia para iniciarmos experiência com virtualização (se podia fazer em casa) e logo após telefonia IP com equipamentos de rede mais capaz. Chegamos tarde demais nos dois e compramos tecnologia no final do ciclo de vida… Apesar de mais barata, não usaremos tanto tempo quanto o que usaríamos se tivéssemos entrado antes, principalmente telefonia IP tradicional.