Installing Apache Ambri on Ubuntu 14.04

If you have error like this:

ERROR 2015-08-25 13:33:54,601 Controller.py:143 - Cannot register host with not supported os type, hostname=h2.hadoopxyz.abc, serverOsType=ubuntu14, agentOsType=ubuntu14

 

You have to edit :

mc -e  /usr/lib/ambari-server/lib/ambari_commons/resources/os_family.json
mc -e /usr/lib/ambari-agent/lib/ambari_commons/resources/os_family.json

 

And change version number:

  "ubuntu": {
    "distro": [
      "ubuntu",
      "debian"
    ],
    "versions": [
      14
    ]
  },

 

ambri_errd

EMC Recover Point – how to recreate repository volume

We have to recreate repository volume of our RP but I could not find any guidance from EMC site. So I’m documenting my steps here for further usage:

Procedure overview:
On EMC storage:

  1. Create about 6-8 GB LUN.
  2. Present that LUN to storage group of RP nodes.

On RP appliances:
On last cluster member:

  1. Detach RPA from cluster
  2. Format repository volume
  3. Reboot
  4. Attach RPA to cluster

On each subsequent appliance:

  1. Detach RPA from cluster
  2. Select repository volume
  3. Reboot
  4. Attach RPA to cluster

This is a transcript of console sessions:
Continue reading “EMC Recover Point – how to recreate repository volume”

VLAN trunking in Hyper-V. Virtual switch to VM

1.  get interface

PS C:\Windows\system32> Get-VMNetworkAdapter -VMName pfs3|fl adapterid,ipaddresses


AdapterId   : 258ffea6-f8ea-46af-a376-7c2b912fe68e
IPAddresses : {200.40.8.103, 200.40.8.100, fe80::215:5dff:fe05:a869}

AdapterId   : 39aeda55-19b3-403c-9c89-d0bf937a4930
IPAddresses : {200.40.19.243, 200.40.19.252, 200.40.19.17, fe80::215:5dff:fe05:a86a...}

AdapterId   : e579b3aa-8bc6-4ca0-9c39-3fbb568dd205
IPAddresses : {200.40.19.131, fe80::215:5dff:fe05:a86d}

2. set VLANs

PS C:\Windows\system32> Get-VMNetworkAdapter -VMName pfs4 |Where-Object {$_.adapterid -eq '5d488e8c-b066-4350-acfb-b4ccc
57a9ee7'}|Set-VMNetworkAdapterVlan -trunk -AllowedVlanIdList 1901-1924 -NativeVlanId 1924

 

EMC VNX SMI installation

C:\Program Files\EMC\SYMCLI\bin>

C:\Program Files\EMC\SYMCLI\bin>cd “C:\Program Files\EMC\ECIM\ECOM\bin”

C:\Program Files\EMC\ECIM\ECOM\bin>TestSmiProvider.exe

Connection Type (ssl,no_ssl,native) [no_ssl]:

Host [localhost]:

Port [5988]:

Username [admin]:

Password [#1Password]:

Log output to console [y|n (default y)]:

Log output to file [y|n (default y)]:

Logfile path [Testsmiprovider.log]:

Connecting to localhost:5988

Using user account ‘admin’ with password ‘#1Password’

########################################################################

##                                                                    ##

##                  EMC SMI Provider Tester                           ##

##   This program is intended for use by EMC Support personnel only.  ##

##   At any time and without warning this program may be revised      ##

##   without regard to backwards compatibility or be                  ##

##   removed entirely from the kit.                                   ##

########################################################################

slp    – slp urls                     slpv    – slp attributes

cn     – Connect                      dc      – Disconnect

disco  – EMC Discover                 rc      – RepeatCount

addsys – EMC AddSystem                remsys  – EMC RemoveSystem

refsys – EMC RefreshSystem

ec     – EnumerateClasses             ecn     – EnumerateClassNames

ei     – EnumerateInstances           ein     – EnumerateInstanceNames

ens    – EnumerateNamespaces          miner   – Mine classes

a      – Associators                  an      – AssociatorNames

r      – References                   rn      – ReferenceNames

gi     – GetInstance                  gc      – GetClass

ci     – CreateInstance               di      – DeleteInstance

mi     – ModifyInstance               eq      – ExecQuery

gp     – GetProperty                  sp      – SetProperty

tms    – TotalManagedSpace            tp      – Test pools

ecap   – Extent Capacity              pd      – Profile Discovery

im     – InvokeMethod                 active  – ActiveControls

ind    – Indications menu             tv      – Test views

st     – Set timeout value            lc      – Log control

sl     – Start listener               dv      – Display version info

ns     – NameSpace                    vtl     – VTL menu

chp    – consolidated host provider menu

q      – Quit                         h       – Help

########################################################################

Built with EMC SMI-S Provider: V4.6.2

Namespace: root/emc

repeat count: 1

(localhost:5988) ? addsys

Add System {y|n} [n]: y

ArrayType (1=Clar, 2=Symm) [1]:

One or more IP address or Hostname or Array ID

Elements for Addresses

IP address or hostname or array id 0 (blank to quit): 10.xx.xx.ab

IP address or hostname or array id 1 (blank to quit): 10.xx.xx.cd

IP address or hostname or array id 2 (blank to quit):

Address types corresponding to addresses specified above.

(1=URL, 2=IP/Nodename, 3=Array ID)

Address Type (0) [default=2]:

Address Type (1) [default=2]:

User [null]: admin

Password [null]: xxxxxxxxx

++++ EMCAddSystem ++++

OUTPUT : 0

Legend:0=Success, 1=Not Supported, 2=Unknown, 3=Timeout, 4=Failed

5=Invalid Parameter

4096=Job Queued, 4097=Size Not Supported

Note: Not all above values apply to all methods – see MOF for the method.

System : //10.xx.ab.ef/root/emc:Clar_StorageSystem.CreationClassName=”Clar_Stora

geSystem”,Name=”CLARiiON+CKM00133801649″

In 12.599952 Seconds

Please press enter key to continue…