merkel
Goto Top

Vspehre Admin Command Line Script in Vspehre 6.00 bringt Fehler im Bash

Hallo,

gemäss dieser Anleitung möchte ich einen Vcenter registrieren

https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere ...

Leider geht es noch nicht mit der Webseite wie beschrieben:
https://www.vladan.fr/how-to-register-vsphere-web-client-with-vcenter-vs ...

https://192.168.1.18:9443/admin-app
Es erscheint dann 404 - Page not found

wie ich verstehe muss das per SSh passieren

12

Er bringt Bash No such file or directory. Das Admin-cmd.sh finde ich aber auch in dem Pfad nicht

gruss
Jonas

Content-Key: 494159

Url: https://administrator.de/contentid/494159

Printed on: April 19, 2024 at 13:04 o'clock

Member: SlainteMhath
SlainteMhath Sep 12, 2019 at 13:34:15 (UTC)
Goto Top
Moin,

Fragen:
1. Ist deine vCenter/VCSA Version tatsächlich noch 5.x?
2. Bist du da auf der vCenter Server Appiiance aufgewählt?
3. 192.168.1.18 ist die VCSA?

Wechsle doch mal nach /usr/lib/vmware-vsphere-client/scripts und sieh nach was da an Scripts herum liegt.

lg,
Slainte
Member: merkel
merkel Sep 12, 2019 updated at 14:00:26 (UTC)
Goto Top
Hallo,

wir haben Version 6.00. Ist eben für das LAB. Hat mal ein Vorgänger installiert.
Vsphere hat es eben zerrissen.
Ich habe mich per SSH connected. Zuvor SSH und Bash enabled.
192.168.1.18 per SSH auf dem VCenter connected.

Scripte liegen da gross nicht rum

pi

Beim Register hatte ich den Command
https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere ...

Register vCenter Server with the vSphere Web Client from the Command-line
If you are using the VMware vCenter Server Apppliance, you must register a vCenter Server 5.0 system with the vSphere Web Client from the command-line.

Because the admin-app user interface is not available on the vCenter Server Appliance, to register a vCenter Server system with the vSphere Web Client, you must register from the command-line using admin-cmd.sh.

Procedure

Enter the following command on the vCenter Server Appliance:

/usr/lib/vmware-vsphere-client/scripts/admin-cmd.sh register

https://<WebClient_IPorHostName>:<WebClient_HttpsPort>/vsphere-client <VC_IP> <VC_Admin-User> <VC_Admin-Passwd>

Example: Passwords with Special Characters
If you use any special characters for the administrator password, you must enclose the password in single quotes.

/usr/lib/vmware-vsphere-client/scripts/admin-cmd.sh register https://webclient.mydomain.com:9443/vsphere-client vc.mydomain.com administrator 'CENSORED'

Gruss
Jonas
Member: SlainteMhath
SlainteMhath Sep 13, 2019 at 07:06:31 (UTC)
Goto Top
wir haben Version 6.00.
Die von dir verlinkten Anleitungen beziehen sich auf die 5.x - ich denke das wird das Problem sein.

Vsphere hat es eben zerrissen.
Wenn das ne Lab Umgebung ist, dann setz doch einfach einen frischen VCSA auf und häng deine Hosts inkl VM da ran.
Member: merkel
merkel Sep 13, 2019 at 09:06:14 (UTC)
Goto Top
Hallo,

ich habe es nun geprüft. Ich konnte mit unserere Lizenz doch höher gehen. Mit 6.5 konnte ich nun das ESXI connecten.
HAbe nun nur 1 Problem. Wie kann ich den Administrator@vsphere.local so ändern. Das ich einfach mit Administrator einloggen kann.

Gruss
Jonas
Member: SlainteMhath
SlainteMhath Sep 13, 2019 at 12:23:49 (UTC)
Goto Top
ie kann ich den Administrator@vsphere.local so ändern. Das ich einfach mit Administrator einloggen kann.
Gar nicht. Du kannst die AD-Anmeldung im vCenter konfigurieren, aber auch dann musst du bei der Anmeldung deine Domäne mitgeben.
Member: merkel
merkel Sep 18, 2019 at 16:01:55 (UTC)
Goto Top
Danke. Es geht nun alles.
Wie rufe ich eigentlich das Vsphere Update Center auf.

Gruss
Jonas
Member: SlainteMhath
Solution SlainteMhath Sep 19, 2019 at 07:56:12 (UTC)
Goto Top
Über den vCenter Client.
Evtl. solltest du dich einfach mal in das Thema VMware vSphere einlesen. Auf der VMWare Website gibts dazu ausführliche Dokumentationen und Youtube ist voll von guten Videos.