1.4. Oracle VDI 发行版本 3.3 中弃用的 VDA 子命令、参数和属性

1.4.1. 密码属性
1.4.2. 池设置
1.4.3. 用户目录设置
1.4.4. 远程访问子命令
1.4.5. 强行删除用户目录

本部分列出了 Oracle VDI 发行版本 3.3 中弃用的 VDA 子命令、参数和属性。

弃用项目在 Oracle VDI 的先前发行版本中仍可工作。不过,由于这些项目在 Oracle VDI 的未来发行版本中可能不可用,因此最好尽早停止使用。

1.4.1. 密码属性

所有对子命令提供密码的属性均已弃用。现在仅当提示时才会提供密码。

子命令

弃用的密码属性

pool-create-sysprep

domain-passwordadmin-password

pool-create-fastprep

domain-passwordadmin-password

provider-vc-create

password

provider-vc-setprops

password

provider-add-host

password

provider-host-setprops

password

provider-add-storage

password

provider-replace-storage

password

provider-storage-setprops

password

directory-add

password

directory-setprops

password

对于上述命令,当指定用户名属性时,命令会自动提示输入相应密码。

对于 provider-vc-setpropsprovider-host-setpropsprovider-storage-setpropsdirectory-setprops 子命令,如果您只想要更新密码而无需更改用户名,则使用 password-prompt 属性。

1.4.2. 池设置

池 Sun Ray 设置 hotdeskinghotdesking-action 替换。

# sbin/vda pool-setprops --help
Edit the properties of the pool

Usage:
 vda pool-setprops [-p <prop1>=<value1>,<prop2>=<value2> |
                   --properties=<prop1>=<value1>,<prop2>=<value2>] [-u <userdir>
                   | --userdir=<userdir>] <name>
 -?, --help                Print this help list
Options:
*-p <prop1>=<value1>,<prop2>=<value2>, --properties=<prop1>=<value1>,<prop2>=<value2> 
                           The list of properties to set
 -u <userdir>, --userdir=<userdir> 
                           The name of the user directory for the pool
Properties:
[...]
 hotdesking=<hotdesking>   DEPRECATED: use the hotdesking-action property
                           instead.
                           Enable or disable optimized hotdesking behaviour for
                           Sun Ray client sessions. Valid values are 'enabled'
                           and 'disabled'
 hotdesking-action=<hotdesking-action> 
                           The Sun Ray Connector reconnection behavior on
                           hotdesking of Sun Ray client sessions. Valid values
                           are 'nodisconnect', 'reconnect' and 'autoreconnect'
[...]

1.4.3. 用户目录设置

用户目录设置已从全局设置(settings-getpropssettings-setpropssettings-resetprops 子命令)移动至用户目录设置(directory-getpropsdirectory-setpropsdirectory-resetprops 子命令)。

设置子命令中的 Oracle VDI 3.2.x 属性名称

目录子命令中的 Oracle VDI 3.3 属性名称

帮助文本

directory.white.list

whitelist

以逗号分隔的 Active Directory 全局目录服务器列表,始终用于 LDAP 查询。白名单中的服务器顺序很重要。如果 Oracle VDI 无法联系列表中的第一个服务器,则尝试联系下一个

directory.black.list

blacklist

以逗号分隔的 Active Directory 服务器列表,从不用于 LDAP 查询(这将覆盖任何白名单设置)

directory.mail.domain

user.auth.mail.domain

用户目录中用户的电子邮件域。例如,.example.com。允许用户使用其电子邮件地址登录

directory.default.domain

user.auth.default.domain

验证用户使用电子邮件地址时的默认验证域

ldap.user.object.filter

ldap.user.object.filter

用于标识用户类型对象的 LDAP 过滤器

ldap.user.search.filter

ldap.user.search.filter

用于根据搜索条件搜索用户的 LDAP 过滤器。可以使用 user-search 命令或在 Web 管理控制台中完成用户搜索。$SEARCH_STRING 是搜索条件的占位符

ldap.user.member.attributes

ldap.user.member.attributes

某一用户对象的以逗号分隔的 LDAP 属性列表,其中存储该用户所属的组

ldap.userid.attributes

ldap.userid.attributes

以逗号分隔的 LDAP 属性列表,其中存储用户对象的用户 ID 值。用于在给定用户 ID 的情况下查找用户

ldap.group.object.filter

ldap.group.object.filter

用于标识组类型对象的 LDAP 过滤器

ldap.group.search.filter

ldap.group.search.filter

用于根据搜索条件搜索组的 LDAP 过滤器。可以使用 user-search 命令或在 Web 管理控制台中完成组搜索。$SEARCH_STRING 是搜索条件的占位符

ldap.group.member.attributes

ldap.group.member.attributes

某一组对象的以逗号分隔的 LDAP 属性列表,其中存储该组的用户成员

ldap.group.short.attributes

ldap.group.short.attributes

存储短期成员信息的组对象上的以逗号分隔的 LDAP 属性列表

ldap.container.object.filter

ldap.container.object.filter

LDAP

用于标识容器类型对象的 过滤器。在 Web 管理控制台中,可将容器选作自定义组过滤器的根

ldap.container.search.filter

ldap.container.search.filter

在为自定义组过滤器选择根时,Web 管理控制台用来根据搜索条件搜索容器的 LDAP 过滤器。$SEARCH_STRING 是搜索条件的占位符

ldap.default.attributes

ldap.default.attributes

查找对象时在高速缓存中加载的 LDAP 分隔属性的列表。

ldap.search.wildcard

ldap.search.wildcard

确定是否使用通配符扩展用户或组搜索。有效值被 启用禁用

ldap.vdicenter.displayname.attributes

ldap.vdicenter.displayname.attributes

有关包含显示名称的 Oracle VDI 中心对象的以逗号分隔的 LDAP 属性列表

ldap.vdihost.object.filter

ldap.vdihost.object.filter

用于匹配 Oracle VDI 中心内 Oracle VDI 主机对象的 LDAP 过滤器

ldap.vdihost.dnsname.attributes

ldap.vdihost.dnsname.attributes

有关包含显示 DNS 名称或 IP 地址的 Oracle VDI 主机对象的以逗号分隔的 LDAP 属性列表

ldap.user.vdicenter.attributes

ldap.user.vdicenter.attributes

有关包含其 Oracle VDI 中心 DN 的用户对象的以逗号分隔的 LDAP 属性列表

1.4.4. 远程访问子命令

remote-access-setpropsremote-access-getprops 子命令已弃用。

Remote Subcommands:
   remote-access-setprops:    DEPRECATED: Remote access is now possible using
                              the Webservice API.
                              Enable and disable remote access and specify the
                              listening port
   remote-access-getprops:    DEPRECATED: Remote access is now possible using
                              the Webservice API.
                              Displays remote access properties which include
                              enabled state and port

1.4.5. 强行删除用户目录

The option on the directory-remove 子命令中的 --force 选项不再起任何作用,因为在删除目录之前必须删除池。

# sbin/vda directory-remove --help
Remove the user directory configuration from the system

Usage:
 vda directory-remove [-f | --force] [<userdir>]
 -?, --help                Print this help list
Options:
 -f, --force               DEPRECATED: pre-conditions to remove a user directory
                           have changed. It is not possible to remove user
                           directories which have pools.
                           Force removal of the user directory configuration
                           when the user directory is in use, because some users
                           are assigned to desktops or associated to tokens
Operand:
 <userdir>                 The name of the user directory
'*' denotes mandatory parameters.