You use a tab-separated file to import customers and rules to vCloud Usage Meter. You can manually generate the file, or you can base the file on an exported customers and customers rules list from vCloud Usage Meter.

About this task

Important:

You cannot import restricted customers. You must be enter restricted customers manually. For more information, see Add a Customer.

Prerequisites

  • Prepare, or obtain from export, a tab-separated file. See Export Customers and Rules. If you are transferring customer data from one vCloud Usage Meter virtual appliance to another, obtain a tab-separated file by export.

  • Verify that the tab-separated file does not contain duplicate customer names.

  • Verify that countries are listed in alpha-2 code format. See http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm.

  • Every vCenter Server in the tab-separated file must be configured in the target vCloud Usage Meter.

  • The vCenter Server inventory must be synced in the target vCloud Usage Meter through Manage > Product > Synchronize All vCenter Inventories.

Procedure

  1. Click Customers in the top right menu bar of the Web application.
  2. In the Import area, click Browse to locate the tab-separated file on your system.
  3. Click Import.

Results

  • If the import is successful, a page appears with a confirmation message.

  • If the import fails, an error message appears that indicates the type of error and the line number producing the error.

Tab-Separated File Format for Importing Customers and Rules

This example shows the format for tab-separated rows and columns for several sample customers and rules.

Table 1. Tab-Separated File Format for Importing Customers and Rules

Row

Column A

Column B

Column C

Column D

Column E

1

# vCloud Usage Meter Customer Export

2

# Version: 3.5.1

3

# Customers

4

# Name

Country

Postal Code

5

NewCo

AF

44

6

YourCo

US

94555

7

TheCo

8

ThisCo

US

95555

9

# Rules

10

# Example rule: Exact string folder match for abc for customer CloudCo

11

# CloudCo

Folder

Exact String

abc

12

# Customer

vCenter

Object Type

Value Type

Value

13

NewCo

10.255.79.10

VM

Unique ID

vm-100

14

NewCo

10.255.79.10

Host

Unique ID

host-77

15

NewCo

VM DNS name

Exact string

ad

16

NewCo

10.255.79.10

vApp

Unique ID

resgroup-v99

17

NewCo

10.255.79.10

VM

Unique ID

vm-103

18

NewCo

10.255.79.10

vApp

Unique ID

resgroup-v91

19

TheCo

192.168.128.1

Data Center

Unique ID

datacenter-2