Tuesday, April 6, 2010

Netatalk Installation and Configuration

1. Download and Install Netatalk

2. ./configure --enable-redhat; make;make install. Look at the installation summary and make backend dbd is enabled.

3. Start the atalkd to start automatically upon restart. chkconfig atalk on

4. Edit the /usr/local/etc/netatalk/netatalk.conf and set the ATALKD_RUN=no. Dont need since we use TCP

5. Edit the afpd daemon properties file, /usr/local/etc/netatalk/afpd.conf and append
- -transall -uamlist uams_randnum.so,uams_dhx.so -advertise_ssh -umask 775

6. vi /usr/local/etc/netatalk/AppleVolumes.default. This is the file to add file system which can be accessed by MAC Hosts natively. The Redhat Linux authing Active Directory in this case. So access to users are provided by adding members to group.

Append the the following line on AppleVolumes.default

/mnt/design "Design_Data" allow:@ rwlist:@ options:upriv dperm:0770 fperm:0660 cnidscheme:dbd dbpath:/etc/netatal
kdb/design

7. mkdir /mnt/design;chmod -R 775 /mnt/design;chmod -R g+s /mnt/design; chown -Rh root.AD Group /mnt/design

8. Adjust the netatalk pam file to refer system-auth so netatalk recognizes the AD Accounts.

9. Start the atalk. /etc/init.d/atalk restart

10. Open the Finder on MAC and click on Go and then "Connect to Server". The username must be your login name, not "Last Name, First Name" as shown by MAC.

11. Create a file/folder and it must be created with SGID which means only group members can add/delete.

drwxrwsr-x 3 4096 Apr 6 10:27 test









Monday, June 29, 2009

Yemeni airliner crashes in Indian Ocean 150 people reportedly on board; fate unknown

Mitsamiouli



Monday, June 15, 2009

VMware VCP - Section 2 – Deploy ESX Server

Objective 2.1 --Install VMware ESX server in different environments including
local storage and boot from SAN.


Knowledge

· Build disk partition
· Configure networking
· Specify boot volume
· Identify the difference between a SAN volume and local volume
· Understand the requirements of ESX Server boot from SAN
· Add and verify unserved license files
· Configure NTP - New in 3.5
· Verify successful installation

Tools

· ESX Admin guide
· Product documentation
· Installation and configuration guide

Major Components of VMware Infrastructure:-

. ESX Server - A Virtualization layer that abstracts hardware in to multiple virtual machines.

. VirtualCenter Server - This server allows the use of advanced features such as DRS, HA, and VMotion

. VirtualCenter Plugins - VMware Converter, Update Manager, etc.

. VI Client - Console to Guests, Admin interface to vCenter server and ESX Server Hosts.

. Web Access

. Liecense Server

. Database






VMware VCP - Section 1 - Objective 1.1

Section 1 – Virtual Infrastructure

Objective 1.1 --Identify the characteristics of the products in the VMware product
line and when to use each product.

Compare ESX Server with Vmware Server.

ESX Server

*Hypervisor based Enterprose level solution
*Runs on a OS customized for ESX Server.
*Pay for it
*Bare Metal Solution
*Better performance.
*Better consolidation Ratio, 4-8 Guests.
*Better CPU Allocation
*Hardware Limitation
*Supports high speed VMFS
*More Integration to VC, VMotion, Storage vMotion, DRS, HA,and VCB.

VMWare Server

*Hosted Virtualization
*Free
*No SAN Connectivity, Fibre Support.
*Formerly known as GSX
*2-4 Guests per server
*Not integrated with VC
*Limited set of Utilities and Tools

· Identify the characteristics of Virtual Infrastructure Solutions
o Lab Manager - New in 3.5
o VDI
o Site Recovery Manager – New in 3.5

o Lab Manager

*Easily create lab environments for customers, partners and development.

*Create and manage a library of commonly used configurations and dynamically provision them in seconds with a simple mouse click.

*With its Shared Image Library and shared pool of virtualized servers, LAB Manager lets you efficiently store and share multi-machine configuration across teams and geographies.

*Maintain a complete library of commonly used systeme environments for on-demand use.

*Suspend and Capture system Confgurations "in state" and reset them to clean "previous state"

*Deploy multiple instances of the same configuration simultaneously for ultimate flexibility without causing any network conflicit.

*Create multi-machine configurations in seconds using machine templates.

*Get LiveLink capability - URL Based sharing of captured live config.

*Setup machines in a configuration to boot in controlled sequence.


o VDI

*VDI is part of VMware View.

*Thin Client Technology

*Universal Client, provides end user same view from his computer, smart phone.

*Use a single management tool to provision new desktops or group of desktops.

*Monitor and Audit Desktop Activity as well as multiple Windows Terminal Servers.

*Supports Virtual Printing

*Use SSL tunneling to ensure all connections are completely encrypted.

*Get full support of RSA SecureID and the added two-factor authentication.

*Deliver high availability with no single point of failure.

*Get support for wide varietly of thin client devices.

*VMware View Composer uses VMware Linked Clone Technology to rapidly create desktop images that share virtual disks with a master image to conserve diskspace and and streamline management. Users data and settings are seperated from desktop image. All desktops linked to master desktop can be patched without affecting users settings or data.

*Vmware ThinApp application virtualization sofware decouples applications from OS and packages them into an isolated and encapsulted file. This allows you to run multiple version of application on single desktop w/o any conflicit.

*Offline Desktop allows an end user to access Virtual Desktop while not connected to the network and syncornise later. This allows the Virtual Desktop to be moved between Datacenter and Physical Desktop Device.

o Site Recovery Manager

*SRM automates the recovery process and eliminates the complex manual recovery steps.

*Create and manage Recovery Plans directly from Vmware vCenter Server.

Nice overview of VMware Prodcuts. Credit to Nathan Coutinho.



Monday, May 18, 2009

How to list Open Files?

Perl One liner
lsof | perl -lane '$x{"$F[0]:$F[1]"}++; END { print "$x{$_}\t$_" for sort {$x{$a}<=>$x{$b}} keys %x}'

Bash Command

lsof | awk '{print $2}' | sort -n | uniq -c | sort -n|tail -n 20


Friday, May 1, 2009

Bulls broke my heart!!

It was great game last night b/w celtics and bulls!!! It was s the 4th game with OT. Boston blew a decent lead on 4th qtr.  Rondo missed couple of free thorws and Brad Miller made open 3 which closed the gap. Ray Allen was awefullly good, and made 51.  PP, Perkins, Glen Davis all fouled out. On the final play, Rose blocked Rondo which sealed the game. 

I hate Jkim Noah!! Never in my life thought I wud hate that name that much!!

Next game on Garden. I guess Boston will win the series and host Orlando.

I picked Celtics, Nuggets, Mavs and Hawks to win the series. So far I am 2-0. I have no doubt Hawks will seal the deal, but not very sure about Celtics though.  

Happy Hoops!!


Friday, April 24, 2009

How to Determine RPM Architecture?

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' rpm name