Archive
Opsware Core unable to communicate to agent running on Symantec PureDisk SuSE server.
Having issue to talk back to Symantec PureDisk SuSE server, port 1002 is closed on PD firewall (iptables). To add this as an exception do the following
1)login to PD server
2) cp -p /etc/puredisk/custom_iptables_rules /etc/puredisk/custom_iptables_rules.orig
3) vi /etc/puredisk/custom_iptables_rules
4) add the following entry
# protocol (tcp,udp,tcmp,all) source[/mask] port
tcp 10.10.10.1 1002
# where 10.10.10.1 is your Opsware CORE IP
5) make the permament change based on the edits and restart firewall
sh /opt/pdconfigure/scripts/installers/ChangeIPTables.sh
6) confirm changes by running iptables -L and make sure that port 1002 for TCP from your core server is there.
7) then go to opsware web gui and run communication test to reestablish your connection back.
Thats it.
If you do like this or any other documents please support my efforts by clicking on any of the AD links.
Server Automation: Gateway name resolution error – gateway.proxyError
Problem
|
|
|
Minimum permissions required to change “Server Use” or “Deployment Stage”
|
Server Automation / opsware Inventory Model
If you would like to connect to the API documentation that describes the SA Plataform API, you should do the following:
1. You must copy to your local system the certificate (p12 file) available in your SA Core under /var/opt/opsware/crypto/spin/ directory.
2. When importing the certificate, it requires the password provided in the response file used during the installation. The password is included in the %decrypt_passwd parameter.
3. After importing the certificate, access the API documentation. Specify the following URL in your browser:
opsware:1032/twister/docs/index.html Or: opsware:443/twister/docs/index.html
The host is the IP address or host name of the core server running the SA Web Client component.
How to import media into HP Opsware Server Automation (SA)
Here is an example what I did to import media to HP Opsware SA:
[root@opsware sunos]# import_media --opsware-username=cw mediasrv/media/opsware/sunos/sol-10-u6-ga1-sparc-dvd Opsware password: Server: mediasrv Path: /media/opsware/sunos/sol-10-u6-ga1-sparc-dvd Detecting OS Version... Detected OS Version: SunOS 5.10 OS Version: SunOS 5.10 Will upload to folder "/Package Repository/OS Media/SunOS 5.10" (ID: 1810001) Created new OS Media: SunOS 5.10 OS Media Path: 'nfs://mediasrv/media/opsware/sunos/sol-10-u6-ga1-sparc-dvd' OS Media Size: 1999 Mbytes Linking software packages to OS Media... Import OS Media success. A log has been created at /var/log/opsware/mm_wordbot/import_media.log [root@opsware sunos]#
[root@opsware sunos]# /opt/opsware/mm_wordbot/util/import_media --opsware-username=cw mediasrv/media/opsware/linux/rhel4.7-x86_64-as-dvd Opsware password: Server: mediasrv Path: /media/opsware/linux/rhel4.7-x86_64-as-dvd Detecting OS Version... Detected OS Version: Red Hat Enterprise Linux AS 4 X86_64 OS Version: Red Hat Enterprise Linux AS 4 X86_64 Will upload to folder "/Package Repository/OS Media/Red Hat Enterprise Linux AS 4 X86_64" (ID: 1520001) Created new OS Media: Red Hat Enterprise Linux AS 4 X86_64 (mediasrv) OS Media Path: 'nfs://mediasrv/media/opsware/linux/rhel4.7-x86_64-as-dvd' OS Media Size: 2353 Mbytes Linking software packages to OS Media... Import OS Media success. A log has been created at /var/log/opsware/mm_wordbot/import_media.log [root@opsware sunos]#
[root@opsware sunos]# import_media --opsware-username=cw mediasrv.ny.perfekt.net/media/opsware/linux/rhel-server-5.3-x86_64-dvd Opsware password: Server: mediasrv.ny.perfekt.net Path: /media/opsware/linux/rhel-server-5.3-x86_64-dvd Detecting OS Version... Detected OS Version: Red Hat Enterprise Linux Server 5 X86_64 OS Version: Red Hat Enterprise Linux Server 5 X86_64 Will upload to folder "/Package Repository/OS Media/Red Hat Enterprise Linux Server 5 X86_64" (ID: 2110001) Created new OS Media: Red Hat Enterprise Linux Server 5 X86_64 OS Media Path: 'nfs://mediasrv.ny.perfekt.net/media/opsware/linux/rhel-server-5.3-x86_64-dvd' OS Media Size: 3132 Mbytes Linking software packages to OS Media... Import OS Media success. A log has been created at /var/log/opsware/mm_wordbot/import_media.log Read more...
opsware modyfying configs in Linux Provisioning Images
I have all bunch os Sun x86 servers, they have serial and ilom ports, currently with opsware when I do provision servers I do not get output back on my console eithere that is serial or ilom, so I had to modify slightly opsware to be able to accomodate those outputs. Anyway here is what I needed to do:
There are 2 vectors to consider here. First there’s the initial provisioning, then there’s the post-provision activities.
For the initial provisioning, login as root on your OS prov server as root, then:
- cd /opt/opsware/boot/tftpboot/pxelinux.cfg
- cp -p default default.20090310
- vi default
how to reinstall opsware agent
In order to reinstall opsware agent on your client server you first need to move agent file from opsware server, location is /var/opt/opsware/agent_installers/.
scp -p user@opsware/var/opt/opsware/agent/installers/opsware-agent-32h.0.0.34-solaris-5.10 /var/tmp/
then you need to uninstall previous agent if that the case:
/opt/opsware/agent/bin/agent_uninstall.sh
Powered by Yahoo! Answers