Posts Tagged ‘extremez-ip.exe’

ExtremeZ-IP Security Overview: ACLs and Unix Permissions

Friday, December 31st, 2010

Redirected to https://kb.acronis.com/content/39390

Command line options for EZIPUTIL.exe

Wednesday, April 2nd, 2008

Summary:

The following commands can be issued to ExtremeZ-IP as command-line parameters using the provided utility eziputil.exe. They can be issued through a command prompt, a batch file, or other mechanisms.

Description:

You can get this information by running EZIPUTIL with no arguments:

        EZIPUTIL VOLUME           For syntax on managing volumes.
        EZIPUTIL SERVER           For syntax on server commands.
        EZIPUTIL PRINT            For syntax on managing print queues.

If you run “EZIPUTIL VOLUME”, you get a detailed list of all possible volume commands. All available commands are listed below:

To start ExtremeZ-IP:

        EZIPUTIL SERVER /START
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To stop ExtremeZ-IP:

        EZIPUTIL SERVER /STOP
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To suspend file services:

        EZIPUTIL SERVER /SUSPEND
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'
                [/DELAY:minutes]                    delay in minutes (1-60min). Default is 2min.
                [/MESSAGE:message]                  message to send to client
                [/ALLOW-LOGIN]                      allow client to login during scheduled suspend

To cancel scheduled suspend and resume file services:

        EZIPUTIL SERVER /RESUME
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To get server statistics from ExtremeZ-IP:

        EZIPUTIL SERVER /INFO
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To get a list of open files from ExtremeZ-IP:

        EZIPUTIL SERVER /FILES
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To get a list of currently logged-in users from ExtremeZ-IP:

        EZIPUTIL SERVER /USERS
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To refresh settings from the registry:

        EZIPUTIL SERVER /REFRESH_REGISTRY
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To manage ExtremeZ-IP’s Service Connection Point:

        EZIPUTIL SERVER /SCP
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

                [/N=fully-qualified-domain-name] (default = local machine name)]
                [/I] to Install the SCP (which overwrites any previously defined SCP)
                [/U] to uninstall the SCP
                [/D] to Display the SCP
                [/Q] 'quiet' mode - output or prompts will not be written to the window.
                [/L] to Log the results of the operation to '.\EzScpManager.log'
                [/S=ServiceName] to override 'ExtremeZ-IP' stored in SCP when installing.

                Note: /I, /U, and /D are mutually exclusive.

To spool the debug log:

        EZIPUTIL SERVER /SPOOL_LOG
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To add a volume (items in bold are available in ExtremeZ-IP 5.2 and later):

        EZIPUTIL VOLUME /ADD
                /NAME:volumename
                /PATH:root directory path
                [/READONLY:TRUE|FALSE]          The default is FALSE.
                [/GUESTSALLOWED:TRUE|FALSE]     The default is TRUE.
                [/PASSWORD:password]            The default is no password.
                [/MAXUSERS:number|UNLIMITED]    The default is unlimited.
                [/PERSIST:TRUE|FALSE]           The default is TRUE.
                [/HOMEDIRECTORY:TRUE|FALSE]     The default is FALSE.
                [/SEARCHINDEX:TRUE|FALSE]       The default is TRUE.
                [/SEARCHINDEXPATH:index path]   The default is the root of the
                                                volume.
                [/RESET_PERMISSIONS:TRUE|FALSE] The default is FALSE.
                [/FILENAME_POLICY:TRUE|FALSE]   The default is FALSE.
                [/IS_TM_VOLUME:TRUE|FALSE]      The default is FALSE.
                [/USE_TM_QUOTA:TRUE|FALSE]      The default is FALSE.
                [/TM_QUOTA:number]              The default is 100.
                [/SUPPORT_ACLS:TRUE|FALSE]      The default is FALSE.
                [/SUPPORT_SPOTLIGHT:TRUE|FALSE] The default is FALSE.
                [/SERVERNAME:servername]        if not local
                [/SERVICENAME:servicename]      if not 'ExtremeZ-IP'

To edit a volume (items in bold are available in ExtremeZ-IP 5.2 and later):

        EZIPUTIL VOLUME /EDIT
                /NAME:volumename
                [/PATH:root directory path]
                [/READONLY:TRUE|FALSE]          The default is FALSE.
                [/GUESTSALLOWED:TRUE|FALSE]     The default is TRUE.
                [/PASSWORD:password]            The default is no password.
                [/MAXUSERS:number|UNLIMITED]    The default is unlimited.
                [/HOMEDIRECTORY:TRUE|FALSE]     The default is FALSE.
                [/SEARCHINDEX:TRUE|FALSE]       The default is TRUE.
                [/SEARCHINDEXPATH:index path]   The default is the root of the
                                                volume.
                [/RESET_PERMISSIONS:TRUE|FALSE] The default is FALSE.
                [/FILENAME_POLICY:TRUE|FALSE]   The default is FALSE.
                [/IS_TM_VOLUME:TRUE|FALSE]      The default is FALSE.
                [/USE_TM_QUOTA:TRUE|FALSE]      The default is FALSE.
                [/TM_QUOTA:number]              The default is 100.
                [/SUPPORT_ACLS:TRUE|FALSE]      The default is FALSE.
                [/SUPPORT_SPOTLIGHT:TRUE|FALSE] The default is FALSE.
                [/SERVERNAME:servername]        if not local
                [/SERVICENAME:servicename]      if not 'ExtremeZ-IP'

To remove a volume:

        EZIPUTIL VOLUME /REMOVE
                /NAME:volumename
                [/DISCONNECT:TRUE|FALSE]        The default is FALSE.
                                                If TRUE, connected users
                                                will be disconnected.
                [/SERVERNAME:servername]        if not local
                [/SERVICENAME:servicename]      if not 'ExtremeZ-IP'

To suspend a volume:

        EZIPUTIL VOLUME /SUSPEND
                /NAME:volumename
                [/DISCONNECT:TRUE|FALSE]        The default is FALSE.
                                                If TRUE, connected users
                                                will be disconnected.
                [/SERVERNAME:servername]        if not local
                [/SERVICENAME:servicename]      if not 'ExtremeZ-IP'

To restart a volume:

        EZIPUTIL VOLUME /RESTART
                /NAME:volumename
                [/DISCONNECT:TRUE|FALSE]        The default is FALSE.
                                                If TRUE, connected users
                                                will be disconnected.
                [/SERVERNAME:servername]        if not local
                [/SERVICENAME:servicename]      if not 'ExtremeZ-IP'

To rebuild volume’s search index:

        EZIPUTIL VOLUME /REINDEX
                /NAME:volumename
                [/SERVERNAME:servername]        if not local
                [/SERVICENAME:servicename]      if not 'ExtremeZ-IP'

To get a list of volumes:

        EZIPUTIL VOLUME /LIST
                [/SERVERNAME:servername]        if not local
                [/SERVICENAME:servicename]      if not 'ExtremeZ-IP'

To configure options on a volume:

        EZIPUTIL VOLUME /SET
                /NAME:volumename
                [/OS9ICON:path to OS 9 icon]
                [/OSXICON:path to OS X icon]
                [/SERVERNAME:servername]        if not local
                [/SERVICENAME:servicename]      if not 'ExtremeZ-IP'

To migrate SFM shares (ExtremeZ-IP 5.2 and later only):

        EZIPUTIL VOLUME /MIGRATE_SFM
                [/SERVERNAME:servername]        if not local
                [/SERVICENAME:servicename]      if not 'ExtremeZ-IP'

To replicate SMB shares (ExtremeZ-IP 5.2 and later only):

        EZIPUTIL VOLUME /REPLICATE_SMB
                [/SERVERNAME:servername]        if not local
                [/SERVICENAME:servicename]      if not 'ExtremeZ-IP'

To add a print queue:

        EZIPUTIL PRINT /ADD
                /NAME:queuename
                /METHOD:method                      Processing method (see
                                                    below)
                [/PPD:PPD file path]
                [/PPD_ONLY_FROM_SERVER:TRUE|FALSE]  The default is FALSE.
                [/PERSIST:TRUE|FALSE]               The default is TRUE.
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

When using the /ADD command, you may pass the following options to specify the processing method:

                /METHOD:APPLETALK  /ZONE:zone     /PRINTER:printer
                /METHOD:WINDOWS    /PRINTER:printer
                /METHOD:LPR        /HOST:host     [/QUEUE:queue]
                /METHOD:DIRECTORY  /PATH:path to directory

To rename a print queue:

        EZIPUTIL PRINT /RENAME
                /NAME:queuename
                /NEWNAME:newqueuename
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To remove a print queue:

        EZIPUTIL PRINT /REMOVE
                /NAME:queuename
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To get a list of print queues:

        EZIPUTIL PRINT /LIST
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To refresh validation code text files for all queues:

        EZIPUTIL PRINT /REFRESH_CODES
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To export the print processing log to a text file:

        EZIPUTIL PRINT /EXPORT_LOG
                [/CLEARLOG:TRUE|FALSE]              The default is FALSE.
                /PATH:fullpathoflogfile
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To restart a print queue:

        EZIPUTIL PRINT /RESTART
                /NAME:queuename
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To suspend a print queue:

        EZIPUTIL PRINT /SUSPEND
                /NAME:queuename
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

To replicate shared Windows queues (ExtremeZ-IP 5.2 and later only):

        EZIPUTIL PRINT /IMPORT:WINDOWS
                /NAME:queuename
                [/SERVERNAME:servername]            if not local
                [/SERVICENAME:servicename]          if not 'ExtremeZ-IP'

When I save a file using SMB protocol, what information is saved in the “dot-underscore” (._) files? How is this information stored on an NTFS file system?

Monday, March 6th, 2006

Question:

When I save a file using SMB protocol, what information is saved in the “dot-underscore” (._) files? How is this information stored on an NTFS file system?

Answer:

Answer: Macintosh files have 2 parts;

The data fork: This is where the data is saved by an application. It is the equivalent of a “file” on the PC.

The resource fork: This hidden file fork contains additional information about the file depending upon what application created it. For example, BBedit, a text editing application, stores the text of a document in the data fork like any other application, but also saves the location of the cursor in the resource fork so that the next time you open the document the cursor will be right where you left off. Although different applications use the resource fork for different purposes, in general, it is used to store additional information about a file beyond the generic data.

In addition to the two forks that make up a Macintosh file, the Mac maintains information within the file system itself about each file. This information is called “metadata” (data about data). The metadata, maintained by Mac OS X, is required to provide the full Macintosh user experience. It includes information such as owner, type, creator, date modified, date created, name, label, and visibility. Some of this metadata (such as creation date and owner) is common to both Windows and the Mac file systems. Other metadata (such as type, creator and label) are unique to just the Macintosh.

Example file types are “text” or “JPEG”. Applications can use this file “type” information to determine how to handle the file when it is opened. The “creator” metadata tells a Mac what application created the file and should be used to open the file when it is double-clicked by the user.

How is this Mac specific metadata and resource fork stored on a Windows NTFS file system?

When connecting to a volume that does not support Macintosh metadata or resource forks such as an SMB/CIFS share, the Mac client will use a special format called AppleDouble to encode the metadata and resource fork. As one would expect from the name, the AppleDouble format uses two files, the data fork and another file that contains the combined metadata and resource fork information.

This second file is the so called “dot-underscore” (._) file. Because the dot-underscore file contains the metadata for the file in addition to the resource fork, if this information is lost, you will lose the linkage between the file & it’s creating application. In cross platform environments this is a frequent occurrence because when Windows users move the file to a new folder, the dot-underscore will not be moved at the same time. Also it is a fairly common occurrence for a Windows user to delete the “._” extra file with a similar name, because they do not know what it is!

How does ExtremeZ-IP Improve Macintosh File Compatibility?

ExtremeZ-IP saves all of the Macintosh file information as a single file on the Windows NTFS file system.

ExtremeZ-IP supports Macintosh resource forks and metadata using Windows NTFS alternate data streams. ExtremeZ-IP’s use of alternate data streams is compatible with Microsoft’s “Services for Macintosh,” meaning that files saved using SFM can be shared by ExtremeZ-IP without the needs to migrate or convert the data. However, ExtremeZ-IP offers also supports the 3.x versions of the Apple Filing Protocol and that Mac OS X introduced.

Unlike the SMB format that uses two files to keep track of the data fork, resource fork, and metadata, ExtremeZ-IP uses one file that has a main data stream, and two alternate data streams. These streams are the main stream for the data fork, the AFP_Info stream that contains metadata about the file (finder info), and the AFP_Resource stream that contains the resource fork if one is present. All files created by the Mac will have an AFP_Info stream to maintain the Finder information, but not all files will have a resource fork. Because the NTFS file system shows all of these data streams as one file, when a Windows user moves this file to a new folder, the entire file including all three streams will be moved to the new folder and all of the Macintosh metadata such as type and creator will be maintained.