Phase 1 scripts, Phase 2 scripts, 45 phase 2 scripts – HP StoreEasy 1000 Storage User Manual

Page 45: Ad lds role and instance

Advertising
background image

Phase 1 scripts

Phase 1 scripts are located in the c:\hpnas\components\postinstaller\adlds folder. You
enable AD LDS NFS mapping by running factory-setup-adlds.cmd. The command is run without any
arguments. The script installs two Roles and one Instance:

Active Directory Lightweight Directory Services (AD LDS) Role

An AD LDS Instance named NFSInstance.

Services for Network File System (NFS) under the File Services Role

To verify the installation of the AD LDS Role and Instance, in Administrative Tools, select Server
Manager. If the AD LDS Role was successfully installed, you will see Active Directory Lightweight
Directory Services listed under Roles. Click on it and you will see NFSInstance listed under
SystemServices if that instance was successfully installed.

Figure 22 AD LDS Role and Instance

.

To verify the installation of the Services for Network File System (NFS) Role, in Server Manager, under
Roles, click File Services. In the System Services table, Server for NFS is listed.

Phase 2 scripts

Phase 2 scripts are located in the c:\hpnas\components\ADLDS folder. You create NFS mappings
for users and groups by running the nfs-adlds-config.js script. This script takes as inputs a standard
UNIX password file and a standard UNIX group file. For each user or group in these files a Windows
user or group account is created if one does not already exist. Next, the script examines the UNIX
password file to extract the User ID and Group ID of each user. From these, a mapping is created on
the Windows system that associates the User ID and Group ID with the UNIX account that has the
same User ID and Group ID. Similarly, the script examines the UNIX group file, extracts the Group
ID, and forms a mapping on the Windows system that associates the Group ID with the UNIX group

X1000 G2 Network Storage System User Guide

45

Advertising